epgc.css
197 lines
| 1 | .epgc-calendar-wrapper *, |
| 2 | .epgc-calendar-wrapper *::before, |
| 3 | .epgc-calendar-wrapper *::after { |
| 4 | word-break: initial; |
| 5 | } |
| 6 | |
| 7 | .epgc-calendar-wrapper .fc-view table { |
| 8 | padding: 0; |
| 9 | margin: 0; |
| 10 | } |
| 11 | |
| 12 | .epgc-calendar-wrapper .fc-event { |
| 13 | cursor: pointer; |
| 14 | border: none; |
| 15 | } |
| 16 | |
| 17 | .epgc-calendar-wrapper tr[data-tippy-content] { |
| 18 | cursor: pointer; |
| 19 | } |
| 20 | |
| 21 | .epgc-calendar-wrapper .fc-button { |
| 22 | font-size: initial; |
| 23 | } |
| 24 | |
| 25 | .epgc-calendar-wrapper .fc-toolbar h2 { |
| 26 | font-weight: normal; |
| 27 | font-size: larger; |
| 28 | } |
| 29 | |
| 30 | .epgc-calendar-wrapper .fc-time-grid-container { |
| 31 | max-height: 400px; |
| 32 | } |
| 33 | |
| 34 | .epgc-calendar-wrapper .fc-widget-header { |
| 35 | font-size: initial; |
| 36 | } |
| 37 | |
| 38 | .epgc-calendar-wrapper .fc-timeGridWeek-view .fc-widget-header { |
| 39 | font-size: small; |
| 40 | } |
| 41 | |
| 42 | .epgc-calendar-wrapper .fc-timeGridWeek-view .fc-day-grid, |
| 43 | .epgc-calendar-wrapper .fc-timeGridWeek-view .fc-row.fc-widget-header { |
| 44 | overflow-y: scroll; |
| 45 | } |
| 46 | |
| 47 | .epgc-calendar-wrapper hr.fc-divider::after, |
| 48 | .epgc-calendar-wrapper hr.fc-divider::before, |
| 49 | .epgc-calendar-wrapper h2:before { |
| 50 | display: none; |
| 51 | } |
| 52 | |
| 53 | .epgc-calendar-wrapper hr.fc-divider { |
| 54 | border: 1px solid gray; |
| 55 | border-left: none; |
| 56 | border-right: none; |
| 57 | height: 0; |
| 58 | padding: 0; |
| 59 | margin: 0; |
| 60 | max-width: initial; |
| 61 | overflow: initial; |
| 62 | position: initial; |
| 63 | } |
| 64 | |
| 65 | .epgc-calendar-wrapper table { |
| 66 | overflow: initial; |
| 67 | } |
| 68 | |
| 69 | .epgc-calendar-wrapper a.fc-event { |
| 70 | text-decoration: none; |
| 71 | box-shadow: none; |
| 72 | color: white; |
| 73 | } |
| 74 | |
| 75 | .epgc-calendar-wrapper tr { |
| 76 | border: none; |
| 77 | } |
| 78 | |
| 79 | .epgc-calendar-wrapper .fc-header.fc-widget-header, |
| 80 | .epgc-calendar-wrapper .fc-day-number, |
| 81 | .epgc-calendar-wrapper .fc-axis.fc-widget-content, |
| 82 | .epgc-calendar-wrapper .fc-week-number { |
| 83 | font-size: initial; |
| 84 | } |
| 85 | |
| 86 | .epgc-calendar-wrapper .fc-content { |
| 87 | font-size: smaller; |
| 88 | } |
| 89 | |
| 90 | @media (max-width: 500px) { |
| 91 | .epgc-calendar-wrapper .fc-toolbar { |
| 92 | display: block; |
| 93 | text-align: center; |
| 94 | } |
| 95 | |
| 96 | .epgc-calendar-wrapper .fc-toolbar>div { |
| 97 | margin-bottom: 1rem; |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | /* Start calendar filter styled checkboxes */ |
| 102 | .epgc-calendar-wrapper .epgc-calendar-filter input[type=checkbox]:focus+label span, |
| 103 | .epgc-calendar-wrapper .epgc-calendar-filter input[type=checkbox]:active+label span { |
| 104 | outline: 1px dashed black; |
| 105 | } |
| 106 | |
| 107 | .epgc-calendar-wrapper .epgc-calendar-filter input[type=checkbox] { |
| 108 | opacity: 0; |
| 109 | position: fixed; |
| 110 | /* Prevent page scroll when checked */ |
| 111 | } |
| 112 | |
| 113 | .epgc-calendar-wrapper .epgc-calendar-color { |
| 114 | width: 1rem; |
| 115 | height: 1rem; |
| 116 | padding: 0 .2rem; |
| 117 | opacity: .4; |
| 118 | border-radius: .4rem; |
| 119 | } |
| 120 | |
| 121 | .epgc-calendar-wrapper .epgc-calendar-filter input[type=checkbox]:checked+label span { |
| 122 | opacity: 1; |
| 123 | } |
| 124 | |
| 125 | .epgc-calendar-wrapper .epgc-calendar-filter input[type=checkbox]+label span:before { |
| 126 | content: "✔"; |
| 127 | line-height: 1rem; |
| 128 | visibility: hidden; |
| 129 | } |
| 130 | |
| 131 | .epgc-calendar-wrapper .epgc-calendar-filter input[type=checkbox]:checked+label span:before { |
| 132 | visibility: visible; |
| 133 | } |
| 134 | |
| 135 | .epgc-calendar-wrapper .epgc-calendar-filter:first-child { |
| 136 | margin-bottom: 1.5em; |
| 137 | } |
| 138 | |
| 139 | .epgc-calendar-wrapper .epgc-calendar-filter:last-child { |
| 140 | margin-top: 1.5em; |
| 141 | } |
| 142 | |
| 143 | .epgc-calendar-wrapper .epgc-event-title { |
| 144 | font-size: large; |
| 145 | font-weight: 500; |
| 146 | } |
| 147 | |
| 148 | .epgc-calendar-wrapper .epgc-popup-row-icon { |
| 149 | width: 30px; |
| 150 | float: left; |
| 151 | } |
| 152 | |
| 153 | .epgc-calendar-wrapper .epgc-event-title .epgc-popup-row-value { |
| 154 | margin-right: 20px; |
| 155 | } |
| 156 | |
| 157 | .epgc-calendar-wrapper .epgc-popup-row-value { |
| 158 | margin-left: 30px; |
| 159 | } |
| 160 | |
| 161 | .epgc-calendar-wrapper .epgc-popup-row { |
| 162 | clear: both; |
| 163 | margin-bottom: 1rem; |
| 164 | } |
| 165 | |
| 166 | .epgc-calendar-wrapper .epgc-popup-row ul, |
| 167 | .epgc-calendar-wrapper .epgc-popup-row li { |
| 168 | list-style: none; |
| 169 | padding: 0; |
| 170 | margin: 0; |
| 171 | } |
| 172 | |
| 173 | .epgc-calendar-wrapper .epgc-popup-draghandle { |
| 174 | position: absolute; |
| 175 | right: 5px; |
| 176 | top: 5px; |
| 177 | cursor: move; |
| 178 | opacity: .4; |
| 179 | } |
| 180 | |
| 181 | .epgc-calendar-wrapper .epgc-loading-el, |
| 182 | .epgc-calendar-wrapper .epgc-error-el { |
| 183 | position: absolute; |
| 184 | background-color: #fcf8e3; |
| 185 | padding: 1rem; |
| 186 | left: 0; |
| 187 | top: 0; |
| 188 | opacity: .6; |
| 189 | z-index: 1; |
| 190 | } |
| 191 | |
| 192 | .epgc-calendar-wrapper .epgc-error-el { |
| 193 | background-color: red; |
| 194 | opacity: 1; |
| 195 | } |
| 196 | |
| 197 |