|
144 | 144 | border-color: transparent #9900ff transparent transparent;
|
145 | 145 | }
|
146 | 146 |
|
147 |
| - |
148 |
| - |
149 |
| -/* MontlyView.razor */ |
150 |
| -.monthly-calendar { |
151 |
| - display: grid; |
152 |
| - width: 100%; |
153 |
| - grid-template-rows: 6vh; |
154 |
| - /*grid-template-columns: repeat(7, minmax(120px, 1fr)); |
155 |
| - grid-auto-rows: 120px;*/ |
156 |
| - grid-template-columns: repeat(7, minmax(8vw, 1fr)); |
157 |
| - grid-auto-rows: 12vh; |
158 |
| - overflow: auto; |
159 |
| -} |
160 |
| - |
161 |
| -.monthly-day { |
162 |
| - border-bottom: 1px solid rgba(166, 168, 179, 0.12); |
163 |
| - border-right: 1px solid rgba(166, 168, 179, 0.12); |
164 |
| - text-align: right; |
165 |
| - padding: 0.4vh 0.4vw; |
166 |
| - letter-spacing: 1px; |
167 |
| - font-size: 0.8em; |
168 |
| - box-sizing: border-box; |
169 |
| - color: #6d7377; |
170 |
| - position: relative; |
171 |
| -} |
172 |
| - .monthly-day:nth-of-type(n + 1):nth-of-type(-n + 7) { |
173 |
| - grid-row: 2; |
174 |
| - } |
175 |
| - |
176 |
| - .monthly-day:nth-of-type(n + 8):nth-of-type(-n + 14) { |
177 |
| - grid-row: 3; |
178 |
| - } |
179 |
| - |
180 |
| - .monthly-day:nth-of-type(n + 15):nth-of-type(-n + 21) { |
181 |
| - grid-row: 4; |
182 |
| - } |
183 |
| - |
184 |
| - .monthly-day:nth-of-type(n + 22):nth-of-type(-n + 28) { |
185 |
| - grid-row: 5; |
186 |
| - } |
187 |
| - |
188 |
| - .monthly-day:nth-of-type(n + 29):nth-of-type(-n + 35) { |
189 |
| - grid-row: 6; |
190 |
| - } |
191 |
| - |
192 |
| - .monthly-day:nth-of-type(n + 36):nth-of-type(-n + 43) { |
193 |
| - grid-row: 7; |
194 |
| - } |
195 |
| - |
196 |
| - .monthly-day:nth-of-type(7n + 1) { |
197 |
| - grid-column: 1/1; |
198 |
| - } |
199 |
| - |
200 |
| - .monthly-day:nth-of-type(7n + 2) { |
201 |
| - grid-column: 2/2; |
202 |
| - } |
203 |
| - |
204 |
| - .monthly-day:nth-of-type(7n + 3) { |
205 |
| - grid-column: 3/3; |
206 |
| - } |
207 |
| - |
208 |
| - .monthly-day:nth-of-type(7n + 4) { |
209 |
| - grid-column: 4/4; |
210 |
| - } |
211 |
| - |
212 |
| - .monthly-day:nth-of-type(7n + 5) { |
213 |
| - grid-column: 5/5; |
214 |
| - } |
215 |
| - |
216 |
| - .monthly-day:nth-of-type(7n + 6) { |
217 |
| - grid-column: 6/6; |
218 |
| - } |
219 |
| - |
220 |
| - .monthly-day:nth-of-type(7n + 7) { |
221 |
| - grid-column: 7/7; |
222 |
| - } |
223 |
| - |
224 |
| -.monthly-day--disabled { |
225 |
| - color: rgba(#98a0a6, 0.6); |
226 |
| - background-color: #ffffff; |
227 |
| - background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f4f6f7' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E"); |
228 |
| -} |
229 |
| - |
230 |
| -.monthly-today { |
231 |
| - border: 3px solid #f75959; |
232 |
| - border-radius: 5px; |
233 |
| -} |
234 |
| - |
235 |
| -.monthly-task { |
236 |
| - border-radius: 3px; |
237 |
| - padding: 2px 8px 2px 6px; |
238 |
| - margin: 3px 11px 0 9px; |
239 |
| - font-size: 0.8em; |
240 |
| - font-weight: 600; |
241 |
| - position: relative; |
242 |
| - z-index: 1; |
243 |
| - color: #000; |
244 |
| - overflow: hidden; |
245 |
| - text-overflow: ellipsis; |
246 |
| - height:2vh; |
247 |
| -} |
248 |
| - |
249 | 147 | .border-start {
|
250 | 148 | border-left-width: 3px !important;
|
251 | 149 | border-left-style: solid !important;
|
252 | 150 | border-left-color: #4d4d4d4c !important;
|
253 | 151 | }
|
254 | 152 |
|
255 |
| -@media (max-width: 767.98px) { |
256 |
| - .monthly-task { |
257 |
| - padding: 0px 8px 0px 4px; |
258 |
| - margin: 3px 2px 0 4px; |
259 |
| - } |
260 |
| -} |
261 |
| - |
262 |
| - .monthly-task-first { |
263 |
| - align-self: start; |
264 |
| - margin-top: 22px; |
265 |
| - } |
266 |
| - |
267 |
| - .monthly-task-second { |
268 |
| - align-self: center; |
269 |
| - margin-top: 8px; |
270 |
| - } |
271 |
| - |
272 |
| - .monthly-task-bottom { |
273 |
| - align-self: end; |
274 |
| - margin-bottom: 14px; |
275 |
| - } |
276 |
| - |
277 |
| -.monthly-more-tasks { |
278 |
| - position: relative; |
279 |
| - cursor: zoom-in; |
280 |
| - align-self: end; |
281 |
| - margin-top: 40px; |
282 |
| - font-size: 0.6em; |
283 |
| - font-weight: 600; |
284 |
| - color: darkblue; |
285 |
| - align-self: end; |
286 |
| - margin-left: 10px; |
287 |
| -} |
288 |
| - |
289 |
| - |
0 commit comments