Changeset 12734
- Timestamp:
- 10/10/07 16:15:28 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.helper.datamanager/static/jscript-calendar/jscalendar.css
r8 r12734 1 1 /* The main calendar widget. DIV containing a table. */ 2 2 3 .calendar {3 div.calendar { 4 4 position: relative; 5 5 display: none; … … 15 15 } 16 16 17 .calendar table {17 div.calendar table { 18 18 border-top: 1px solid #000; 19 19 border-right: 1px solid #fff; … … 29 29 /* Header part -- contains navigation buttons and day names. */ 30 30 31 .calendar .button { /* "<<", "<", ">", ">>" buttons have this class */32 text-align: center; 33 padding: 1px; 34 border-top: 1px solid #fff; 35 border-right: 1px solid #000; 36 border-bottom: 1px solid #000; 37 border-left: 1px solid #fff; 38 } 39 40 .calendar .nav {31 div.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ 32 text-align: center; 33 padding: 1px; 34 border-top: 1px solid #fff; 35 border-right: 1px solid #000; 36 border-bottom: 1px solid #000; 37 border-left: 1px solid #fff; 38 } 39 40 div.calendar .nav { 41 41 background: transparent url(menuarrow.gif) no-repeat 100% 100%; 42 42 } 43 43 44 .calendar thead .title { /* This holds the current "month, year" */44 div.calendar thead .title { /* This holds the current "month, year" */ 45 45 font-weight: bold; 46 46 padding: 1px; … … 51 51 } 52 52 53 .calendar thead .headrow { /* Row <TR> containing navigation buttons */54 } 55 56 .calendar thead .daynames { /* Row <TR> containing the day names */57 } 58 59 .calendar thead .name { /* Cells <TD> containing the day names */53 div.calendar thead .headrow { /* Row <TR> containing navigation buttons */ 54 } 55 56 div.calendar thead .daynames { /* Row <TR> containing the day names */ 57 } 58 59 div.calendar thead .name { /* Cells <TD> containing the day names */ 60 60 border-bottom: 1px solid #000; 61 61 padding: 2px; … … 64 64 } 65 65 66 .calendar thead .weekend { /* How a weekend day name shows in header */66 div.calendar thead .weekend { /* How a weekend day name shows in header */ 67 67 color: #f00; 68 68 } 69 69 70 .calendar thead .hilite { /* How do the buttons in header appear when hover */70 div.calendar thead .hilite { /* How do the buttons in header appear when hover */ 71 71 border-top: 2px solid #fff; 72 72 border-right: 2px solid #000; … … 77 77 } 78 78 79 .calendar thead .active { /* Active (pressed) buttons in header */79 div.calendar thead .active { /* Active (pressed) buttons in header */ 80 80 padding: 2px 0px 0px 2px; 81 81 border-top: 1px solid #000; … … 88 88 /* The body part -- contains all the days in month. */ 89 89 90 .calendar tbody .day { /* Cells <TD> containing month days dates */90 div.calendar tbody .day { /* Cells <TD> containing month days dates */ 91 91 width: 2em; 92 92 text-align: right; 93 93 padding: 2px 4px 2px 2px; 94 94 } 95 .calendar tbody .day.othermonth {95 div.calendar tbody .day.othermonth { 96 96 font-size: 80%; 97 97 color: #aaa; 98 98 } 99 .calendar tbody .day.othermonth.oweekend {99 div.calendar tbody .day.othermonth.oweekend { 100 100 color: #faa; 101 101 } 102 102 103 .calendar table .wn {103 div.calendar table .wn { 104 104 padding: 2px 3px 2px 2px; 105 105 border-right: 1px solid #000; … … 107 107 } 108 108 109 .calendar tbody .rowhilite td {110 background: #e4e0d8; 111 } 112 113 .calendar tbody .rowhilite td.wn {109 div.calendar tbody .rowhilite td { 110 background: #e4e0d8; 111 } 112 113 div.calendar tbody .rowhilite td.wn { 114 114 background: #d4d0c8; 115 115 } 116 116 117 .calendar tbody td.hilite { /* Hovered cells <TD> */117 div.calendar tbody td.hilite { /* Hovered cells <TD> */ 118 118 padding: 1px 3px 1px 1px; 119 119 border-top: 1px solid #fff; … … 123 123 } 124 124 125 .calendar tbody td.active { /* Active (pressed) cells <TD> */125 div.calendar tbody td.active { /* Active (pressed) cells <TD> */ 126 126 padding: 2px 2px 0px 2px; 127 127 border-top: 1px solid #000; … … 131 131 } 132 132 133 .calendar tbody td.selected { /* Cell showing selected date */133 div.calendar tbody td.selected { /* Cell showing selected date */ 134 134 font-weight: bold; 135 135 border-top: 1px solid #000; … … 141 141 } 142 142 143 .calendar tbody td.weekend { /* Cells showing weekend days */143 div.calendar tbody td.weekend { /* Cells showing weekend days */ 144 144 color: #f00; 145 145 } 146 146 147 .calendar tbody td.today { /* Cell showing today date */147 div.calendar tbody td.today { /* Cell showing today date */ 148 148 font-weight: bold; 149 149 color: #00f; 150 150 } 151 151 152 .calendar tbody .disabled { color: #999; }153 154 .calendar tbody .emptycell { /* Empty cells (the best is to hide them) */152 div.calendar tbody .disabled { color: #999; } 153 154 div.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ 155 155 visibility: hidden; 156 156 } 157 157 158 .calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */158 div.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ 159 159 display: none; 160 160 } … … 162 162 /* The footer part -- status bar and "Close" button */ 163 163 164 .calendar tfoot .footrow { /* The <TR> in footer (only one right now) */165 } 166 167 .calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */164 div.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ 165 } 166 167 div.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ 168 168 background: #f4f0e8; 169 169 padding: 1px; … … 174 174 } 175 175 176 .calendar tfoot .hilite { /* Hover style for buttons in footer */177 border-top: 1px solid #fff; 178 border-right: 1px solid #000; 179 border-bottom: 1px solid #000; 180 border-left: 1px solid #fff; 181 padding: 1px; 182 background: #e4e0d8; 183 } 184 185 .calendar tfoot .active { /* Active (pressed) style for buttons in footer */176 div.calendar tfoot .hilite { /* Hover style for buttons in footer */ 177 border-top: 1px solid #fff; 178 border-right: 1px solid #000; 179 border-bottom: 1px solid #000; 180 border-left: 1px solid #fff; 181 padding: 1px; 182 background: #e4e0d8; 183 } 184 185 div.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ 186 186 padding: 2px 0px 0px 2px; 187 187 border-top: 1px solid #000; … … 193 193 /* Combo boxes (menus that display months/years for direct selection) */ 194 194 195 .calendar .combo {195 div.calendar .combo { 196 196 position: absolute; 197 197 display: none; … … 209 209 } 210 210 211 .calendar .combo .label,212 .calendar .combo .label-IEfix {213 text-align: center; 214 padding: 1px; 215 } 216 217 .calendar .combo .label-IEfix {211 div.calendar .combo .label, 212 div.calendar .combo .label-IEfix { 213 text-align: center; 214 padding: 1px; 215 } 216 217 div.calendar .combo .label-IEfix { 218 218 width: 4em; 219 219 } 220 220 221 .calendar .combo .active {221 div.calendar .combo .active { 222 222 background: #c4c0b8; 223 223 padding: 0px; … … 228 228 } 229 229 230 .calendar .combo .hilite {230 div.calendar .combo .hilite { 231 231 background: #048; 232 232 color: #fea; 233 233 } 234 234 235 .calendar td.time {235 div.calendar td.time { 236 236 border-top: 1px solid #000; 237 237 padding: 1px 0px; … … 240 240 } 241 241 242 .calendar td.time .hour,243 .calendar td.time .minute,244 .calendar td.time .ampm {242 div.calendar td.time .hour, 243 div.calendar td.time .minute, 244 div.calendar td.time .ampm { 245 245 padding: 0px 3px 0px 4px; 246 246 border: 1px solid #889; … … 249 249 } 250 250 251 .calendar td.time .ampm {252 253 text-align: center; 254 } 255 256 .calendar td.time .colon {251 div.calendar td.time .ampm { 252 253 text-align: center; 254 } 255 256 div.calendar td.time .colon { 257 257 padding: 0px 2px 0px 3px; 258 258 font-weight: bold; 259 259 } 260 260 261 .calendar td.time span.hilite {261 div.calendar td.time span.hilite { 262 262 border-color: #000; 263 263 background-color: #766; … … 265 265 } 266 266 267 .calendar td.time span.active {267 div.calendar td.time span.active { 268 268 border-color: #f00; 269 269 background-color: #000;
