| 1 |
@import "ColumnViewCommon.less"; |
| 2 |
|
| 3 |
.nihilo .dojoxCalendarMonthColumnView { |
| 4 |
cursor: default; |
| 5 |
-webkit-user-select: none; |
| 6 |
|
| 7 |
.dojoxCalendarScrollContainer { |
| 8 |
left: 0; |
| 9 |
right: 0; |
| 10 |
bottom: 0; |
| 11 |
top: @column-header-height; |
| 12 |
position: absolute; |
| 13 |
overflow-y: hidden; |
| 14 |
overflow-x: hidden; |
| 15 |
border-bottom: @outer-border; |
| 16 |
.border-box; |
| 17 |
} |
| 18 |
|
| 19 |
.dojoxCalendarGrid { |
| 20 |
position: absolute; |
| 21 |
top: 0; |
| 22 |
left: 0; |
| 23 |
right: 0; |
| 24 |
} |
| 25 |
|
| 26 |
.dojoxCalendarGridTable { |
| 27 |
border-collapse: collapse; |
| 28 |
table-layout: fixed; |
| 29 |
width: 100%; |
| 30 |
position: relative; |
| 31 |
margin: 0; |
| 32 |
padding: 0; |
| 33 |
|
| 34 |
|
| 35 |
td { |
| 36 |
border-top: dotted 1px #B5BCC7; |
| 37 |
border-right: @inner-border; |
| 38 |
.border-box; |
| 39 |
} |
| 40 |
|
| 41 |
td span { |
| 42 |
padding-left:3px; |
| 43 |
} |
| 44 |
|
| 45 |
tr:first-child td { |
| 46 |
border-top: 1px solid transparent; |
| 47 |
} |
| 48 |
|
| 49 |
/* |
| 50 |
* The dojoxCalendarToday & dojoxCalendarWeekend classes is added by the |
| 51 |
* ColumnView.styleGridColumn method that can be subclassed to add/remove css classes |
| 52 |
*/ |
| 53 |
.dojoxCalendarToday { |
| 54 |
background-color: @today-color; |
| 55 |
font-weight: bold; |
| 56 |
color: @today-label-color; |
| 57 |
} |
| 58 |
|
| 59 |
.dojoxCalendarHiddenEvents { |
| 60 |
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAF0lEQVQYlWP4z8Dw/1dU1H8GXGBkKAAA+IglWfcls2QAAAAASUVORK5CYII=) repeat-y; |
| 61 |
} |
| 62 |
|
| 63 |
.dojoxCalendarToday.dojoxCalendarHiddenEvents { |
| 64 |
background: @today-color url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAF0lEQVQYlWP4z8Dw/1dU1H8GXGBkKAAA+IglWfcls2QAAAAASUVORK5CYII=) repeat-y; |
| 65 |
} |
| 66 |
|
| 67 |
tr td.last-child { |
| 68 |
border-right: @outer-border; |
| 69 |
} |
| 70 |
|
| 71 |
tr td.first-child { |
| 72 |
border-left: @outer-border; |
| 73 |
} |
| 74 |
|
| 75 |
|
| 76 |
tr:first-child td.dojoxCalendarToday { |
| 77 |
border-top: 1px solid @today-color; |
| 78 |
} |
| 79 |
|
| 80 |
.dojoxCalendarWeekend { |
| 81 |
background-color: @week-end-color; |
| 82 |
color: @week-end-label-color; |
| 83 |
} |
| 84 |
|
| 85 |
tr:first-child td.dojoxCalendarWeekend { |
| 86 |
border-top: 1px solid @week-end-color; |
| 87 |
} |
| 88 |
|
| 89 |
} |
| 90 |
|
| 91 |
.dojoxCalendarContainer { |
| 92 |
position: absolute; |
| 93 |
top: 0; |
| 94 |
left: 0; |
| 95 |
right: 0; |
| 96 |
cursor: default; |
| 97 |
} |
| 98 |
|
| 99 |
.dojoxCalendarContainerTable { |
| 100 |
border-collapse: collapse; |
| 101 |
table-layout: fixed; |
| 102 |
width: 100%; |
| 103 |
position: relative; |
| 104 |
margin: 0; |
| 105 |
padding: 0; |
| 106 |
} |
| 107 |
|
| 108 |
.dojoxCalendarContainerTable td { |
| 109 |
height: 100%; |
| 110 |
padding: 0; |
| 111 |
vertical-align: top; |
| 112 |
} |
| 113 |
|
| 114 |
.dojoxCalendarContainerColumn { |
| 115 |
position: relative; |
| 116 |
margin-left: 35px; |
| 117 |
margin-right: 5px; |
| 118 |
} |
| 119 |
|
| 120 |
.dojoxCalendarEventContainer { |
| 121 |
position: absolute; |
| 122 |
overflow: hidden; |
| 123 |
.select-none; |
| 124 |
} |
| 125 |
|
| 126 |
.dojoxCalendarColumnHeader { |
| 127 |
position: absolute; |
| 128 |
height: @column-header-height; |
| 129 |
left: 0; |
| 130 |
right: 0; |
| 131 |
top: 0; |
| 132 |
cursor: default; |
| 133 |
} |
| 134 |
|
| 135 |
.dojoxCalendarColumnHeaderTable { |
| 136 |
border-collapse: collapse; |
| 137 |
table-layout: fixed; |
| 138 |
position: relative; |
| 139 |
margin: 0; |
| 140 |
padding: 0; |
| 141 |
width: 100%; |
| 142 |
height: 100%; |
| 143 |
|
| 144 |
td { |
| 145 |
overflow:hidden; |
| 146 |
white-space: nowrap; |
| 147 |
vertical-align: middle; |
| 148 |
text-align: center; |
| 149 |
.header-background; |
| 150 |
border-right: @inner-border; |
| 151 |
border-top: @outer-border; |
| 152 |
border-bottom: @outer-border; |
| 153 |
.select-none; |
| 154 |
color: @label-color; |
| 155 |
.transition-duration(0.2s); |
| 156 |
} |
| 157 |
|
| 158 |
td.last-child { |
| 159 |
border-right: @outer-border; |
| 160 |
} |
| 161 |
|
| 162 |
td.first-child { |
| 163 |
border-left: @outer-border; |
| 164 |
} |
| 165 |
|
| 166 |
td.Hover{ |
| 167 |
cursor: pointer; |
| 168 |
.header-hover-background; |
| 169 |
} |
| 170 |
|
| 171 |
td.Active{ |
| 172 |
.header-active-background; |
| 173 |
} |
| 174 |
} |
| 175 |
|
| 176 |
.dojoxCalendarDecoration { |
| 177 |
position: absolute; |
| 178 |
background-color: rgb(167, 23, 68); |
| 179 |
.opacity(20); |
| 180 |
} |
| 181 |
|
| 182 |
.dojoxCalendarEvent { |
| 183 |
position: absolute; |
| 184 |
text-align: left; |
| 185 |
color: #FFF; |
| 186 |
cursor: default; |
| 187 |
overflow: hidden; |
| 188 |
|
| 189 |
.bg { |
| 190 |
position: absolute; |
| 191 |
left: 0; |
| 192 |
right: 0; |
| 193 |
top: 0; |
| 194 |
bottom: 0; |
| 195 |
z-index: -1; |
| 196 |
border: @event-border; |
| 197 |
.rounded-corners; |
| 198 |
background-color: @event-bg-color; |
| 199 |
.opacity(90); |
| 200 |
} |
| 201 |
|
| 202 |
.startTime { |
| 203 |
font-weight: bold; |
| 204 |
} |
| 205 |
|
| 206 |
.endTime { |
| 207 |
position: absolute; |
| 208 |
font-weight: bold; |
| 209 |
bottom:3px; |
| 210 |
left: 6px; |
| 211 |
} |
| 212 |
|
| 213 |
.beforeIcon { |
| 214 |
text-align: center; |
| 215 |
} |
| 216 |
|
| 217 |
.afterIcon { |
| 218 |
position: absolute; |
| 219 |
bottom: 2px; |
| 220 |
width: 100%; |
| 221 |
text-align: center; |
| 222 |
} |
| 223 |
|
| 224 |
.handle { |
| 225 |
.glass-view; |
| 226 |
} |
| 227 |
|
| 228 |
.moveHandle { |
| 229 |
position: absolute; |
| 230 |
top:0; |
| 231 |
width:100%; |
| 232 |
bottom:0; |
| 233 |
cursor:move; |
| 234 |
} |
| 235 |
|
| 236 |
.resizeStartHandle { |
| 237 |
position: absolute; |
| 238 |
top:0; |
| 239 |
width:100%; |
| 240 |
height:10px; |
| 241 |
cursor:n-resize; |
| 242 |
} |
| 243 |
|
| 244 |
.resizeEndHandle { |
| 245 |
position: absolute; |
| 246 |
bottom:0; |
| 247 |
width:100%; |
| 248 |
height:10px; |
| 249 |
cursor:n-resize; |
| 250 |
} |
| 251 |
|
| 252 |
dl { |
| 253 |
margin: 0; |
| 254 |
} |
| 255 |
|
| 256 |
dd { |
| 257 |
margin: 0; |
| 258 |
padding: 0 3px; |
| 259 |
text-align: left; |
| 260 |
} |
| 261 |
} |
| 262 |
|
| 263 |
.dojoxCalendarEvent.Hovered .bg { |
| 264 |
background-color: #CC0000; |
| 265 |
} |
| 266 |
|
| 267 |
.dojoxCalendarEvent.Selected .bg { |
| 268 |
background-color: #660000; |
| 269 |
} |
| 270 |
|
| 271 |
.dojoxCalendarEvent.Edited .bg { |
| 272 |
border: dashed 1px #FFFFFF; |
| 273 |
.opacity(70); |
| 274 |
} |
| 275 |
|
| 276 |
.dojoxCalendarEvent.Focused .bg { |
| 277 |
border: dashed 1px #FFFFFF; |
| 278 |
} |
| 279 |
|
| 280 |
.dojoxCalendarVScrollBar { |
| 281 |
position: absolute; |
| 282 |
top: @column-header-height; |
| 283 |
bottom: 0; |
| 284 |
overflow-y: scroll; |
| 285 |
overflow-x: hidden; |
| 286 |
} |
| 287 |
|
| 288 |
} |