485 lines
10 KiB
Plaintext
485 lines
10 KiB
Plaintext
/* CSS */
|
|
|
|
@bodyColor: @tableBackground;
|
|
@weekHoverColor: @tableBackgroundHover;
|
|
@barsColor: @navbarBackground;
|
|
@barsHoverColor: @navbarLinkBackgroundHover;
|
|
@navBarTextColor: @navbarText;
|
|
|
|
#dynarch {
|
|
.font() {
|
|
font: 11px "lucida grande", tahoma, verdana, sans-serif;
|
|
}
|
|
|
|
.user-select(@value) {
|
|
-moz-user-select: @value;
|
|
-webkit-user-select: @value;
|
|
user-select: @value;
|
|
}
|
|
}
|
|
|
|
.DynarchCalendar {
|
|
table {
|
|
background-color: inherit;
|
|
border-spacing: inherit;
|
|
#dynarch > .font();
|
|
}
|
|
}
|
|
|
|
/* CSS */
|
|
|
|
.DynarchCalendar {
|
|
#dynarch > .font();
|
|
#dynarch > .user-select(none);
|
|
|
|
border: 1px solid #aaaaaa;
|
|
background: #e8e8e8;
|
|
line-height: 14px;
|
|
position: relative;
|
|
cursor: default;
|
|
}
|
|
|
|
|
|
.DynarchCalendar table {
|
|
border-collapse: collapse;
|
|
line-height: 14px;
|
|
}
|
|
|
|
|
|
.DynarchCalendar-topBar {
|
|
border-bottom: 1px solid #aaaaaa;
|
|
background: @barsColor;
|
|
padding: 5px 0 0 0;
|
|
}
|
|
|
|
|
|
|
|
table.DynarchCalendar-titleCont {
|
|
font-size: 130%;
|
|
font-weight: bold;
|
|
color: @navBarTextColor;
|
|
text-align: center;
|
|
z-index: 9;
|
|
position: relative;
|
|
margin-top: -6px;
|
|
}
|
|
.DynarchCalendar-title div {
|
|
padding: 5px 17px;
|
|
text-shadow: 1px 1px 1px #777777;
|
|
}
|
|
.DynarchCalendar-hover-title div {
|
|
background-color: @barsHoverColor;
|
|
border: 1px solid black;
|
|
padding: 4px 16px;
|
|
background-image: url("img/calendar/drop-down.gif");
|
|
background-repeat: no-repeat;
|
|
background-position: 100% 50%;
|
|
}
|
|
.DynarchCalendar-pressed-title div {
|
|
border: 1px solid black;
|
|
padding: 4px 16px;
|
|
background-color: @barsHoverColor;
|
|
color: white;
|
|
background-image: url("img/calendar/drop-up.gif");
|
|
background-repeat: no-repeat;
|
|
background-position: 100% 50%;
|
|
}
|
|
.DynarchCalendar-bottomBar {
|
|
border-top: 1px solid #aaaaaa;
|
|
background: @barsColor;
|
|
padding: 2px;
|
|
position: relative;
|
|
text-align: center;
|
|
}
|
|
.DynarchCalendar-bottomBar-today {
|
|
color: @navBarTextColor;
|
|
padding: 2px 15px;
|
|
}
|
|
.DynarchCalendar-hover-bottomBar-today {
|
|
border: 1px solid black;
|
|
background-color: @barsHoverColor;
|
|
padding: 1px 14px;
|
|
}
|
|
.DynarchCalendar-pressed-bottomBar-today {
|
|
border: 1px solid black;
|
|
background-color: @barsHoverColor;
|
|
color: white;
|
|
padding: 1px 14px;
|
|
}
|
|
|
|
|
|
.DynarchCalendar-body {
|
|
background-color: @bodyColor;
|
|
position: relative;
|
|
overflow: hidden;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.DynarchCalendar-first-col {
|
|
padding-left: 5px;
|
|
}
|
|
.DynarchCalendar-last-col {
|
|
padding-right: 5px;
|
|
}
|
|
.DynarchCalendar-animBody-backYear {
|
|
position: absolute;
|
|
top: -100%;
|
|
left: 0;
|
|
}
|
|
.DynarchCalendar-animBody-back {
|
|
position: absolute;
|
|
top: 5px;
|
|
left: -100%;
|
|
}
|
|
.DynarchCalendar-animBody-fwd {
|
|
position: absolute;
|
|
top: 5px;
|
|
left: 100%;
|
|
}
|
|
.DynarchCalendar-animBody-now {
|
|
position: absolute;
|
|
top: 5px;
|
|
left: 0;
|
|
}
|
|
.DynarchCalendar-animBody-fwdYear {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
}
|
|
.DynarchCalendar-dayNames {
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
.DynarchCalendar-dayNames div {
|
|
font-weight: bold;
|
|
color: @weekHoverColor;
|
|
text-shadow: 1px 1px 1px #777777;
|
|
}
|
|
.DynarchCalendar-navBtn {
|
|
position: absolute;
|
|
top: 5px;
|
|
z-index: 10;
|
|
}
|
|
.DynarchCalendar-navBtn div {
|
|
background-repeat: no-repeat;
|
|
background-position: 50% 50%;
|
|
height: 15px;
|
|
width: 16px;
|
|
padding: 1px;
|
|
}
|
|
.DynarchCalendar-hover-navBtn div {
|
|
border: 1px solid black;
|
|
padding: 0;
|
|
background-color: @barsHoverColor;
|
|
}
|
|
.DynarchCalendar-navDisabled {
|
|
opacity: 0.3;
|
|
filter: alpha(opacity=30);
|
|
}
|
|
.DynarchCalendar-pressed-navBtn div {
|
|
border: 1px solid black;
|
|
padding: 0;
|
|
background-color: @barsHoverColor;
|
|
color: white;
|
|
}
|
|
.DynarchCalendar-prevMonth {
|
|
left: 25px;
|
|
}
|
|
.DynarchCalendar-nextMonth {
|
|
left: 100%;
|
|
margin-left: -43px;
|
|
}
|
|
.DynarchCalendar-prevYear {
|
|
left: 5px;
|
|
}
|
|
.DynarchCalendar-nextYear {
|
|
left: 100%;
|
|
margin-left: -23px;
|
|
}
|
|
.DynarchCalendar-prevMonth div {
|
|
background-image: url("img/calendar/nav-left.gif");
|
|
}
|
|
.DynarchCalendar-nextMonth div {
|
|
background-image: url("img/calendar/nav-right.gif");
|
|
}
|
|
.DynarchCalendar-prevYear div {
|
|
background-image: url("img/calendar/nav-left-x2.gif");
|
|
}
|
|
.DynarchCalendar-nextYear div {
|
|
background-image: url("img/calendar/nav-right-x2.gif");
|
|
}
|
|
.DynarchCalendar-menu {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #dddddd;
|
|
overflow: hidden;
|
|
opacity: 0.85;
|
|
filter: alpha(opacity=85);
|
|
}
|
|
.DynarchCalendar-menu table td div {
|
|
text-align: center;
|
|
font-weight: bold;
|
|
padding: 3px 5px;
|
|
}
|
|
.DynarchCalendar-menu table td div.DynarchCalendar-menu-month {
|
|
width: 4em;
|
|
text-align: center;
|
|
}
|
|
.DynarchCalendar-menu table td div.DynarchCalendar-hover-navBtn {
|
|
border: 1px solid black;
|
|
padding: 2px 4px;
|
|
background-color: @barsHoverColor;
|
|
color: black;
|
|
}
|
|
.DynarchCalendar-menu table td div.DynarchCalendar-pressed-navBtn {
|
|
border: 1px solid black;
|
|
padding: 2px 4px;
|
|
background-color: @barsHoverColor;
|
|
color: white !important;
|
|
}
|
|
.DynarchCalendar-menu-year {
|
|
text-align: center;
|
|
font: 16px "lucida grande", tahoma, verdana, sans-serif;
|
|
font-weight: bold;
|
|
}
|
|
.DynarchCalendar-menu-sep {
|
|
height: 1px;
|
|
font-size: 1px;
|
|
line-height: 1px;
|
|
overflow: hidden;
|
|
border-top: 1px solid #888888;
|
|
background: white;
|
|
margin-top: 4px;
|
|
margin-bottom: 3px;
|
|
}
|
|
.DynarchCalendar-time td {
|
|
font-weight: bold;
|
|
font-size: 120%;
|
|
}
|
|
.DynarchCalendar-time-hour,
|
|
.DynarchCalendar-time-minute {
|
|
padding: 1px 3px;
|
|
}
|
|
.DynarchCalendar-time-down {
|
|
background: url("img/calendar/time-down.png") no-repeat 50% 50%;
|
|
width: 11px;
|
|
height: 8px;
|
|
opacity: 0.5;
|
|
}
|
|
.DynarchCalendar-time-up {
|
|
background: url("img/calendar/time-up.png") no-repeat 50% 50%;
|
|
width: 11px;
|
|
height: 8px;
|
|
opacity: 0.5;
|
|
}
|
|
.DynarchCalendar-time-sep {
|
|
padding: 0 2px;
|
|
}
|
|
.DynarchCalendar-hover-time {
|
|
background-color: #444444;
|
|
color: white;
|
|
opacity: 1;
|
|
}
|
|
.DynarchCalendar-pressed-time {
|
|
background-color: black;
|
|
color: white;
|
|
opacity: 1;
|
|
}
|
|
.DynarchCalendar-time-am {
|
|
padding: 1px;
|
|
width: 2.5em;
|
|
text-align: center;
|
|
}
|
|
|
|
/* body */
|
|
|
|
.DynarchCalendar-hover-week {
|
|
background-color: @weekHoverColor;
|
|
}
|
|
|
|
.DynarchCalendar-dayNames div,
|
|
.DynarchCalendar-day,
|
|
.DynarchCalendar-weekNumber {
|
|
width: 1.7em;
|
|
padding: 3px 4px;
|
|
text-align: center;
|
|
}
|
|
.DynarchCalendar-weekNumber {
|
|
border-right: 1px solid #aaaaaa;
|
|
margin-right: 4px;
|
|
width: 2em !important;
|
|
padding-right: 8px !important;
|
|
}
|
|
.DynarchCalendar-day {
|
|
text-align: right;
|
|
color: #222222;
|
|
}
|
|
.DynarchCalendar-day-othermonth {
|
|
color: #888888;
|
|
}
|
|
.DynarchCalendar-weekend {
|
|
color: #cc2222;
|
|
}
|
|
.DynarchCalendar-day-today {
|
|
color: blue;
|
|
font-weight: bold;
|
|
}
|
|
.DynarchCalendar-day-disabled {
|
|
opacity: 0.5;
|
|
text-shadow: 2px 1px 1px white;
|
|
}
|
|
.DynarchCalendar-hover-date {
|
|
padding: 2px 3px;
|
|
background-color: #eeeeff;
|
|
border: 1px solid #8888cc;
|
|
margin: 0 !important;
|
|
color: black;
|
|
}
|
|
.DynarchCalendar-day-othermonth.DynarchCalendar-hover-date {
|
|
border-color: #aaaaaa;
|
|
color: #888888;
|
|
}
|
|
.DynarchCalendar-dayNames .DynarchCalendar-weekend {
|
|
color: #cc2222;
|
|
}
|
|
.DynarchCalendar-day-othermonth.DynarchCalendar-weekend {
|
|
color: #dd8888;
|
|
}
|
|
.DynarchCalendar-day-selected {
|
|
padding: 2px 3px;
|
|
margin: 1px;
|
|
background-color: #aaaaaa;
|
|
color: black !important;
|
|
}
|
|
.DynarchCalendar-day-today.DynarchCalendar-day-selected {
|
|
background-color: #999999;
|
|
}
|
|
/* focus */
|
|
|
|
.DynarchCalendar-focusLink {
|
|
position: absolute;
|
|
opacity: 0;
|
|
filter: alpha(opacity=0);
|
|
}
|
|
.DynarchCalendar-focused {
|
|
border-color: black;
|
|
}
|
|
.DynarchCalendar-focused .DynarchCalendar-topBar,
|
|
.DynarchCalendar-focused .DynarchCalendar-bottomBar {
|
|
background-color: @barsColor;
|
|
border-color: #333366;
|
|
}
|
|
.DynarchCalendar-focused .DynarchCalendar-hover-week {
|
|
background-color: @weekHoverColor;
|
|
}
|
|
.DynarchCalendar-tooltip {
|
|
position: absolute;
|
|
top: 100%;
|
|
width: 100%;
|
|
}
|
|
.DynarchCalendar-tooltipCont {
|
|
margin: 0 5px 0 5px;
|
|
border: 1px solid #aaaaaa;
|
|
border-top: 0;
|
|
padding: 3px 6px;
|
|
background: #dddddd;
|
|
}
|
|
.DynarchCalendar-focused .DynarchCalendar-tooltipCont {
|
|
background: #cccccc;
|
|
border-color: black;
|
|
}
|
|
@media print {
|
|
.DynarchCalendar-day-selected {
|
|
padding: 2px 3px;
|
|
border: 1px solid black;
|
|
margin: 0 !important;
|
|
}
|
|
}
|
|
|
|
/* This is for Gecko-based browsers */
|
|
|
|
.DynarchCalendar {
|
|
-moz-border-radius: 5px;
|
|
-webkit-border-radius: 5px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.DynarchCalendar-title, .DynarchCalendar-title div {
|
|
-moz-border-radius: 0 0 4px 4px;
|
|
-webkit-border-radius: 0 0 4px 4px;
|
|
border-radius: 0 0 4px 4px;
|
|
}
|
|
|
|
.DynarchCalendar-topBar {
|
|
-moz-border-radius: 4px 4px 0 0;
|
|
-webkit-border-radius: 4px;
|
|
border-radius: 4px 4px 0 0;
|
|
}
|
|
|
|
.DynarchCalendar-bottomBar {
|
|
-moz-border-radius: 0 0 4px 4px;
|
|
-webkit-border-radius: 0 0 4px 4px;
|
|
border-radius: 0 0 4px 4px;
|
|
}
|
|
|
|
.DynarchCalendar-bottomBar-today {
|
|
-moz-border-radius: 4px;
|
|
-webkit-border-radius: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.DynarchCalendar-navBtn, .DynarchCalendar-navBtn div {
|
|
-moz-border-radius: 4px;
|
|
-webkit-border-radius: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.DynarchCalendar-menu {
|
|
-moz-border-radius: 5px;
|
|
-webkit-border-radius: 5px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.DynarchCalendar-menu table td div {
|
|
-moz-border-radius: 4px;
|
|
-webkit-border-radius: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.DynarchCalendar-weekNumber {
|
|
-moz-border-radius: 4px 0 0 4px;
|
|
-webkit-border-radius: 4px 0 0 4px;
|
|
border-radius: 4px 0 0 4px;
|
|
}
|
|
|
|
.DynarchCalendar-day {
|
|
-moz-border-radius: 4px;
|
|
-webkit-border-radius: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.DynarchCalendar-day-disabled {
|
|
-moz-border-radius: 0;
|
|
-webkit-border-radius: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.DynarchCalendar-tooltipCont {
|
|
-moz-border-radius: 0 0 5px 5px;
|
|
-webkit-border-radius: 5px;
|
|
}
|
|
|
|
.DynarchCalendar-time-hour, .DynarchCalendar-time-minute {
|
|
-moz-border-radius: 3px 0 0 3px;
|
|
-webkit-border-radius: 3px;
|
|
}
|
|
|
|
.DynarchCalendar-time-am {
|
|
-moz-border-radius: 3px;
|
|
-webkit-border-radius: 3px;
|
|
}
|