Showing
3 changed files
with
505 additions
and
0 deletions
static/css/main1.css
0 → 100644
| 1 | +/* DayGridView | ||
| 2 | +--------------------------------------------------------------------------------------------------*/ | ||
| 3 | +/* day row structure */ | ||
| 4 | +.fc-dayGridWeek-view .fc-content-skeleton, | ||
| 5 | +.fc-dayGridDay-view .fc-content-skeleton { | ||
| 6 | + /* there may be week numbers in these views, so no padding-top */ | ||
| 7 | + padding-bottom: 1em; | ||
| 8 | + /* ensure a space at bottom of cell for user selecting/clicking */ | ||
| 9 | +} | ||
| 10 | + | ||
| 11 | +.fc-dayGrid-view .fc-body .fc-row { | ||
| 12 | + min-height: 4em; | ||
| 13 | + /* ensure that all rows are at least this tall */ | ||
| 14 | +} | ||
| 15 | + | ||
| 16 | +/* a "rigid" row will take up a constant amount of height because content-skeleton is absolute */ | ||
| 17 | +.fc-row.fc-rigid { | ||
| 18 | + overflow: hidden; | ||
| 19 | +} | ||
| 20 | + | ||
| 21 | +.fc-row.fc-rigid .fc-content-skeleton { | ||
| 22 | + position: absolute; | ||
| 23 | + top: 0; | ||
| 24 | + left: 0; | ||
| 25 | + right: 0; | ||
| 26 | +} | ||
| 27 | + | ||
| 28 | +/* week and day number styling */ | ||
| 29 | +.fc-day-top.fc-other-month { | ||
| 30 | + opacity: 0.3; | ||
| 31 | +} | ||
| 32 | + | ||
| 33 | +.fc-dayGrid-view .fc-week-number, | ||
| 34 | +.fc-dayGrid-view .fc-day-number { | ||
| 35 | + padding: 2px; | ||
| 36 | +} | ||
| 37 | + | ||
| 38 | +.fc-dayGrid-view th.fc-week-number, | ||
| 39 | +.fc-dayGrid-view th.fc-day-number { | ||
| 40 | + padding: 0 2px; | ||
| 41 | + /* column headers can't have as much v space */ | ||
| 42 | +} | ||
| 43 | + | ||
| 44 | +.fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number { | ||
| 45 | + float: right; | ||
| 46 | +} | ||
| 47 | + | ||
| 48 | +.fc-rtl .fc-dayGrid-view .fc-day-top .fc-day-number { | ||
| 49 | + float: left; | ||
| 50 | +} | ||
| 51 | + | ||
| 52 | +.fc-ltr .fc-dayGrid-view .fc-day-top .fc-week-number { | ||
| 53 | + float: left; | ||
| 54 | + border-radius: 0 0 3px 0; | ||
| 55 | +} | ||
| 56 | + | ||
| 57 | +.fc-rtl .fc-dayGrid-view .fc-day-top .fc-week-number { | ||
| 58 | + float: right; | ||
| 59 | + border-radius: 0 0 0 3px; | ||
| 60 | +} | ||
| 61 | + | ||
| 62 | +.fc-dayGrid-view .fc-day-top .fc-week-number { | ||
| 63 | + min-width: 1.5em; | ||
| 64 | + text-align: center; | ||
| 65 | + background-color: #f2f2f2; | ||
| 66 | + color: #808080; | ||
| 67 | +} | ||
| 68 | + | ||
| 69 | +/* when week/day number have own column */ | ||
| 70 | +.fc-dayGrid-view td.fc-week-number { | ||
| 71 | + text-align: center; | ||
| 72 | +} | ||
| 73 | + | ||
| 74 | +.fc-dayGrid-view td.fc-week-number > * { | ||
| 75 | + /* work around the way we do column resizing and ensure a minimum width */ | ||
| 76 | + display: inline-block; | ||
| 77 | + min-width: 1.25em; | ||
| 78 | +} |
static/css/main2.css
0 → 100644
| 1 | + | ||
| 2 | +/* TimeGridView all-day area | ||
| 3 | +--------------------------------------------------------------------------------------------------*/ | ||
| 4 | +.fc-timeGrid-view .fc-day-grid { | ||
| 5 | + position: relative; | ||
| 6 | + z-index: 2; | ||
| 7 | + /* so the "more.." popover will be over the time grid */ | ||
| 8 | +} | ||
| 9 | + | ||
| 10 | +.fc-timeGrid-view .fc-day-grid .fc-row { | ||
| 11 | + min-height: 3em; | ||
| 12 | + /* all-day section will never get shorter than this */ | ||
| 13 | +} | ||
| 14 | + | ||
| 15 | +.fc-timeGrid-view .fc-day-grid .fc-row .fc-content-skeleton { | ||
| 16 | + padding-bottom: 1em; | ||
| 17 | + /* give space underneath events for clicking/selecting days */ | ||
| 18 | +} | ||
| 19 | + | ||
| 20 | +/* TimeGrid axis running down the side (for both the all-day area and the slot area) | ||
| 21 | +--------------------------------------------------------------------------------------------------*/ | ||
| 22 | +.fc .fc-axis { | ||
| 23 | + /* .fc to overcome default cell styles */ | ||
| 24 | + vertical-align: middle; | ||
| 25 | + padding: 0 4px; | ||
| 26 | + white-space: nowrap; | ||
| 27 | +} | ||
| 28 | + | ||
| 29 | +.fc-ltr .fc-axis { | ||
| 30 | + text-align: right; | ||
| 31 | +} | ||
| 32 | + | ||
| 33 | +.fc-rtl .fc-axis { | ||
| 34 | + text-align: left; | ||
| 35 | +} | ||
| 36 | + | ||
| 37 | +/* TimeGrid Structure | ||
| 38 | +--------------------------------------------------------------------------------------------------*/ | ||
| 39 | +.fc-time-grid-container, | ||
| 40 | +.fc-time-grid { | ||
| 41 | + /* so slats/bg/content/etc positions get scoped within here */ | ||
| 42 | + position: relative; | ||
| 43 | + z-index: 1; | ||
| 44 | +} | ||
| 45 | + | ||
| 46 | +.fc-time-grid { | ||
| 47 | + min-height: 100%; | ||
| 48 | + /* so if height setting is 'auto', .fc-bg stretches to fill height */ | ||
| 49 | +} | ||
| 50 | + | ||
| 51 | +.fc-time-grid table { | ||
| 52 | + /* don't put outer borders on slats/bg/content/etc */ | ||
| 53 | + border: 0 hidden transparent; | ||
| 54 | +} | ||
| 55 | + | ||
| 56 | +.fc-time-grid > .fc-bg { | ||
| 57 | + z-index: 1; | ||
| 58 | +} | ||
| 59 | + | ||
| 60 | +.fc-time-grid .fc-slats, | ||
| 61 | +.fc-time-grid > hr { | ||
| 62 | + /* the <hr> TimeGridView injects when grid is shorter than scroller */ | ||
| 63 | + position: relative; | ||
| 64 | + z-index: 2; | ||
| 65 | +} | ||
| 66 | + | ||
| 67 | +.fc-time-grid .fc-content-col { | ||
| 68 | + position: relative; | ||
| 69 | + /* because now-indicator lives directly inside */ | ||
| 70 | +} | ||
| 71 | + | ||
| 72 | +.fc-time-grid .fc-content-skeleton { | ||
| 73 | + position: absolute; | ||
| 74 | + z-index: 3; | ||
| 75 | + top: 0; | ||
| 76 | + left: 0; | ||
| 77 | + right: 0; | ||
| 78 | +} | ||
| 79 | + | ||
| 80 | +/* divs within a cell within the fc-content-skeleton */ | ||
| 81 | +.fc-time-grid .fc-business-container { | ||
| 82 | + position: relative; | ||
| 83 | + z-index: 1; | ||
| 84 | +} | ||
| 85 | + | ||
| 86 | +.fc-time-grid .fc-bgevent-container { | ||
| 87 | + position: relative; | ||
| 88 | + z-index: 2; | ||
| 89 | +} | ||
| 90 | + | ||
| 91 | +.fc-time-grid .fc-highlight-container { | ||
| 92 | + position: relative; | ||
| 93 | + z-index: 3; | ||
| 94 | +} | ||
| 95 | + | ||
| 96 | +.fc-time-grid .fc-event-container { | ||
| 97 | + position: relative; | ||
| 98 | + z-index: 4; | ||
| 99 | +} | ||
| 100 | + | ||
| 101 | +.fc-time-grid .fc-now-indicator-line { | ||
| 102 | + z-index: 5; | ||
| 103 | +} | ||
| 104 | + | ||
| 105 | +.fc-time-grid .fc-mirror-container { | ||
| 106 | + /* also is fc-event-container */ | ||
| 107 | + position: relative; | ||
| 108 | + z-index: 6; | ||
| 109 | +} | ||
| 110 | + | ||
| 111 | +/* TimeGrid Slats (lines that run horizontally) | ||
| 112 | +--------------------------------------------------------------------------------------------------*/ | ||
| 113 | +.fc-time-grid .fc-slats td { | ||
| 114 | + height: 1.5em; | ||
| 115 | + border-bottom: 0; | ||
| 116 | + /* each cell is responsible for its top border */ | ||
| 117 | +} | ||
| 118 | + | ||
| 119 | +.fc-time-grid .fc-slats .fc-minor td { | ||
| 120 | + border-top-style: dotted; | ||
| 121 | +} | ||
| 122 | + | ||
| 123 | +/* TimeGrid Highlighting Slots | ||
| 124 | +--------------------------------------------------------------------------------------------------*/ | ||
| 125 | +.fc-time-grid .fc-highlight-container { | ||
| 126 | + /* a div within a cell within the fc-highlight-skeleton */ | ||
| 127 | + position: relative; | ||
| 128 | + /* scopes the left/right of the fc-highlight to be in the column */ | ||
| 129 | +} | ||
| 130 | + | ||
| 131 | +.fc-time-grid .fc-highlight { | ||
| 132 | + position: absolute; | ||
| 133 | + left: 0; | ||
| 134 | + right: 0; | ||
| 135 | + /* top and bottom will be in by JS */ | ||
| 136 | +} | ||
| 137 | + | ||
| 138 | +/* TimeGrid Event Containment | ||
| 139 | +--------------------------------------------------------------------------------------------------*/ | ||
| 140 | +.fc-ltr .fc-time-grid .fc-event-container { | ||
| 141 | + /* space on the sides of events for LTR (default) */ | ||
| 142 | + margin: 0 2.5% 0 2px; | ||
| 143 | +} | ||
| 144 | + | ||
| 145 | +.fc-rtl .fc-time-grid .fc-event-container { | ||
| 146 | + /* space on the sides of events for RTL */ | ||
| 147 | + margin: 0 2px 0 2.5%; | ||
| 148 | +} | ||
| 149 | + | ||
| 150 | +.fc-time-grid .fc-event, | ||
| 151 | +.fc-time-grid .fc-bgevent { | ||
| 152 | + position: absolute; | ||
| 153 | + z-index: 1; | ||
| 154 | + /* scope inner z-index's */ | ||
| 155 | +} | ||
| 156 | + | ||
| 157 | +.fc-time-grid .fc-bgevent { | ||
| 158 | + /* background events always span full width */ | ||
| 159 | + left: 0; | ||
| 160 | + right: 0; | ||
| 161 | +} | ||
| 162 | + | ||
| 163 | +/* TimeGrid Event Styling | ||
| 164 | +---------------------------------------------------------------------------------------------------- | ||
| 165 | +We use the full "fc-time-grid-event" class instead of using descendants because the event won't | ||
| 166 | +be a descendant of the grid when it is being dragged. | ||
| 167 | +*/ | ||
| 168 | +.fc-time-grid-event { | ||
| 169 | + margin-bottom: 1px; | ||
| 170 | +} | ||
| 171 | + | ||
| 172 | +.fc-time-grid-event-inset { | ||
| 173 | + -webkit-box-shadow: 0px 0px 0px 1px #fff; | ||
| 174 | + box-shadow: 0px 0px 0px 1px #fff; | ||
| 175 | +} | ||
| 176 | + | ||
| 177 | +.fc-time-grid-event.fc-not-start { | ||
| 178 | + /* events that are continuing from another day */ | ||
| 179 | + /* replace space made by the top border with padding */ | ||
| 180 | + border-top-width: 0; | ||
| 181 | + padding-top: 1px; | ||
| 182 | + /* remove top rounded corners */ | ||
| 183 | + border-top-left-radius: 0; | ||
| 184 | + border-top-right-radius: 0; | ||
| 185 | +} | ||
| 186 | + | ||
| 187 | +.fc-time-grid-event.fc-not-end { | ||
| 188 | + /* replace space made by the top border with padding */ | ||
| 189 | + border-bottom-width: 0; | ||
| 190 | + padding-bottom: 1px; | ||
| 191 | + /* remove bottom rounded corners */ | ||
| 192 | + border-bottom-left-radius: 0; | ||
| 193 | + border-bottom-right-radius: 0; | ||
| 194 | +} | ||
| 195 | + | ||
| 196 | +.fc-time-grid-event .fc-content { | ||
| 197 | + overflow: hidden; | ||
| 198 | + max-height: 100%; | ||
| 199 | +} | ||
| 200 | + | ||
| 201 | +.fc-time-grid-event .fc-time, | ||
| 202 | +.fc-time-grid-event .fc-title { | ||
| 203 | + padding: 0 1px; | ||
| 204 | +} | ||
| 205 | + | ||
| 206 | +.fc-time-grid-event .fc-time { | ||
| 207 | + font-size: 0.85em; | ||
| 208 | + white-space: nowrap; | ||
| 209 | +} | ||
| 210 | + | ||
| 211 | +/* short mode, where time and title are on the same line */ | ||
| 212 | +.fc-time-grid-event.fc-short .fc-content { | ||
| 213 | + /* don't wrap to second line (now that contents will be inline) */ | ||
| 214 | + white-space: nowrap; | ||
| 215 | +} | ||
| 216 | + | ||
| 217 | +.fc-time-grid-event.fc-short .fc-time, | ||
| 218 | +.fc-time-grid-event.fc-short .fc-title { | ||
| 219 | + /* put the time and title on the same line */ | ||
| 220 | + display: inline-block; | ||
| 221 | + vertical-align: top; | ||
| 222 | +} | ||
| 223 | + | ||
| 224 | +.fc-time-grid-event.fc-short .fc-time span { | ||
| 225 | + display: none; | ||
| 226 | + /* don't display the full time text... */ | ||
| 227 | +} | ||
| 228 | + | ||
| 229 | +.fc-time-grid-event.fc-short .fc-time:before { | ||
| 230 | + content: attr(data-start); | ||
| 231 | + /* ...instead, display only the start time */ | ||
| 232 | +} | ||
| 233 | + | ||
| 234 | +.fc-time-grid-event.fc-short .fc-time:after { | ||
| 235 | + content: " - "; | ||
| 236 | + /* seperate with a dash, wrapped in nbsp's */ | ||
| 237 | +} | ||
| 238 | + | ||
| 239 | +.fc-time-grid-event.fc-short .fc-title { | ||
| 240 | + font-size: 0.85em; | ||
| 241 | + /* make the title text the same size as the time */ | ||
| 242 | + padding: 0; | ||
| 243 | + /* undo padding from above */ | ||
| 244 | +} | ||
| 245 | + | ||
| 246 | +/* resizer (cursor device) */ | ||
| 247 | +.fc-time-grid-event.fc-allow-mouse-resize .fc-resizer { | ||
| 248 | + left: 0; | ||
| 249 | + right: 0; | ||
| 250 | + bottom: 0; | ||
| 251 | + height: 8px; | ||
| 252 | + overflow: hidden; | ||
| 253 | + line-height: 8px; | ||
| 254 | + font-size: 11px; | ||
| 255 | + font-family: monospace; | ||
| 256 | + text-align: center; | ||
| 257 | + cursor: s-resize; | ||
| 258 | +} | ||
| 259 | + | ||
| 260 | +.fc-time-grid-event.fc-allow-mouse-resize .fc-resizer:after { | ||
| 261 | + content: "="; | ||
| 262 | +} | ||
| 263 | + | ||
| 264 | +/* resizer (touch device) */ | ||
| 265 | +.fc-time-grid-event.fc-selected .fc-resizer { | ||
| 266 | + /* 10x10 dot */ | ||
| 267 | + border-radius: 5px; | ||
| 268 | + border-width: 1px; | ||
| 269 | + width: 8px; | ||
| 270 | + height: 8px; | ||
| 271 | + border-style: solid; | ||
| 272 | + border-color: inherit; | ||
| 273 | + background: #fff; | ||
| 274 | + /* horizontally center */ | ||
| 275 | + left: 50%; | ||
| 276 | + margin-left: -5px; | ||
| 277 | + /* center on the bottom edge */ | ||
| 278 | + bottom: -5px; | ||
| 279 | +} | ||
| 280 | + | ||
| 281 | +/* Now Indicator | ||
| 282 | +--------------------------------------------------------------------------------------------------*/ | ||
| 283 | +.fc-time-grid .fc-now-indicator-line { | ||
| 284 | + border-top-width: 1px; | ||
| 285 | + left: 0; | ||
| 286 | + right: 0; | ||
| 287 | +} | ||
| 288 | + | ||
| 289 | +/* arrow on axis */ | ||
| 290 | +.fc-time-grid .fc-now-indicator-arrow { | ||
| 291 | + margin-top: -5px; | ||
| 292 | + /* vertically center on top coordinate */ | ||
| 293 | +} | ||
| 294 | + | ||
| 295 | +.fc-ltr .fc-time-grid .fc-now-indicator-arrow { | ||
| 296 | + left: 0; | ||
| 297 | + /* triangle pointing right... */ | ||
| 298 | + border-width: 5px 0 5px 6px; | ||
| 299 | + border-top-color: transparent; | ||
| 300 | + border-bottom-color: transparent; | ||
| 301 | +} | ||
| 302 | + | ||
| 303 | +.fc-rtl .fc-time-grid .fc-now-indicator-arrow { | ||
| 304 | + right: 0; | ||
| 305 | + /* triangle pointing left... */ | ||
| 306 | + border-width: 5px 6px 5px 0; | ||
| 307 | + border-top-color: transparent; | ||
| 308 | + border-bottom-color: transparent; | ||
| 309 | +} |
static/css/main3.css
0 → 100644
| 1 | +/* List View | ||
| 2 | +--------------------------------------------------------------------------------------------------*/ | ||
| 3 | +/* possibly reusable */ | ||
| 4 | +.fc-event-dot { | ||
| 5 | + display: inline-block; | ||
| 6 | + width: 10px; | ||
| 7 | + height: 10px; | ||
| 8 | + border-radius: 5px; | ||
| 9 | +} | ||
| 10 | + | ||
| 11 | +/* view wrapper */ | ||
| 12 | +.fc-rtl .fc-list-view { | ||
| 13 | + direction: rtl; | ||
| 14 | + /* unlike core views, leverage browser RTL */ | ||
| 15 | +} | ||
| 16 | + | ||
| 17 | +.fc-list-view { | ||
| 18 | + border-width: 1px; | ||
| 19 | + border-style: solid; | ||
| 20 | +} | ||
| 21 | + | ||
| 22 | +/* table resets */ | ||
| 23 | +.fc .fc-list-table { | ||
| 24 | + table-layout: auto; | ||
| 25 | + /* for shrinkwrapping cell content */ | ||
| 26 | +} | ||
| 27 | + | ||
| 28 | +.fc-list-table td { | ||
| 29 | + border-width: 1px 0 0; | ||
| 30 | + padding: 8px 14px; | ||
| 31 | +} | ||
| 32 | + | ||
| 33 | +.fc-list-table tr:first-child td { | ||
| 34 | + border-top-width: 0; | ||
| 35 | +} | ||
| 36 | + | ||
| 37 | +/* day headings with the list */ | ||
| 38 | +.fc-list-heading { | ||
| 39 | + border-bottom-width: 1px; | ||
| 40 | +} | ||
| 41 | + | ||
| 42 | +.fc-list-heading td { | ||
| 43 | + font-weight: bold; | ||
| 44 | +} | ||
| 45 | + | ||
| 46 | +.fc-ltr .fc-list-heading-main { | ||
| 47 | + float: left; | ||
| 48 | +} | ||
| 49 | + | ||
| 50 | +.fc-ltr .fc-list-heading-alt { | ||
| 51 | + float: right; | ||
| 52 | +} | ||
| 53 | + | ||
| 54 | +.fc-rtl .fc-list-heading-main { | ||
| 55 | + float: right; | ||
| 56 | +} | ||
| 57 | + | ||
| 58 | +.fc-rtl .fc-list-heading-alt { | ||
| 59 | + float: left; | ||
| 60 | +} | ||
| 61 | + | ||
| 62 | +/* event list items */ | ||
| 63 | +.fc-list-item.fc-has-url { | ||
| 64 | + cursor: pointer; | ||
| 65 | + /* whole row will be clickable */ | ||
| 66 | +} | ||
| 67 | + | ||
| 68 | +.fc-list-item-marker, | ||
| 69 | +.fc-list-item-time { | ||
| 70 | + white-space: nowrap; | ||
| 71 | + width: 1px; | ||
| 72 | +} | ||
| 73 | + | ||
| 74 | +/* make the dot closer to the event title */ | ||
| 75 | +.fc-ltr .fc-list-item-marker { | ||
| 76 | + padding-right: 0; | ||
| 77 | +} | ||
| 78 | + | ||
| 79 | +.fc-rtl .fc-list-item-marker { | ||
| 80 | + padding-left: 0; | ||
| 81 | +} | ||
| 82 | + | ||
| 83 | +.fc-list-item-title a { | ||
| 84 | + /* every event title cell has an <a> tag */ | ||
| 85 | + text-decoration: none; | ||
| 86 | + color: inherit; | ||
| 87 | +} | ||
| 88 | + | ||
| 89 | +.fc-list-item-title a[href]:hover { | ||
| 90 | + /* hover effect only on titles with hrefs */ | ||
| 91 | + text-decoration: underline; | ||
| 92 | +} | ||
| 93 | + | ||
| 94 | +/* message when no events */ | ||
| 95 | +.fc-list-empty-wrap2 { | ||
| 96 | + position: absolute; | ||
| 97 | + top: 0; | ||
| 98 | + left: 0; | ||
| 99 | + right: 0; | ||
| 100 | + bottom: 0; | ||
| 101 | +} | ||
| 102 | + | ||
| 103 | +.fc-list-empty-wrap1 { | ||
| 104 | + width: 100%; | ||
| 105 | + height: 100%; | ||
| 106 | + display: table; | ||
| 107 | +} | ||
| 108 | + | ||
| 109 | +.fc-list-empty { | ||
| 110 | + display: table-cell; | ||
| 111 | + vertical-align: middle; | ||
| 112 | + text-align: center; | ||
| 113 | +} | ||
| 114 | + | ||
| 115 | +.fc-unthemed .fc-list-empty { | ||
| 116 | + /* theme will provide own background */ | ||
| 117 | + background-color: #eee; | ||
| 118 | +} |
-
Please register or login to post a comment