|
| 1 | +/* |
| 2 | + * SPDX-License-Identifier: GPL-3.0-or-later |
| 3 | + * SPDX-FileCopyrightText: 2018-2025 elementary, Inc. (https://elementary.io) |
| 4 | + */ |
| 5 | + |
| 6 | +.daylabel { |
| 7 | + padding: 3px; |
| 8 | + border-left: solid 1px @menu_separator; |
| 9 | +} |
| 10 | + |
| 11 | +.daylabel:first-child { |
| 12 | + border-left: none; |
| 13 | +} |
| 14 | + |
| 15 | +.daylabel:dir(rtl) { |
| 16 | + border-right: solid 1px @menu_separator; |
| 17 | + border-left: none; |
| 18 | +} |
| 19 | + |
| 20 | +.daylabel:first-child:dir(rtl) { |
| 21 | + border-right: none; |
| 22 | +} |
| 23 | + |
| 24 | +.weeks { |
| 25 | + border-right: solid 1px @menu_separator; |
| 26 | +} |
| 27 | + |
| 28 | +.weeks:dir(rtl) { |
| 29 | + border-left: solid 1px @menu_separator; |
| 30 | + border-right: none; |
| 31 | +} |
| 32 | + |
| 33 | +.weeklabel { |
| 34 | + border-top: solid 1px @menu_separator; |
| 35 | + padding: 3px; |
| 36 | +} |
| 37 | + |
| 38 | +.cell { |
| 39 | + background-color: @base_color; |
| 40 | + border-radius: 0; |
| 41 | + border-top: solid 1px @menu_separator; |
| 42 | + border-left: solid 1px @menu_separator; |
| 43 | + color: @fg_color; |
| 44 | +} |
| 45 | + |
| 46 | +.cell:dir(rtl) { |
| 47 | + border-right: solid 1px @menu_separator; |
| 48 | + border-left: none; |
| 49 | +} |
| 50 | + |
| 51 | +.cell.dim-label { |
| 52 | + background-color: @bg_color; |
| 53 | +} |
| 54 | + |
| 55 | +.cell.firstcol { |
| 56 | + border-left: none; |
| 57 | +} |
| 58 | + |
| 59 | +.cell.firstcol:dir(rtl) { |
| 60 | + border-right: none; |
| 61 | +} |
| 62 | + |
| 63 | +.cell:selected #date { |
| 64 | + background-color: shade(@bg_color, 0.86); |
| 65 | + color: @fg_color; |
| 66 | +} |
| 67 | + |
| 68 | +.cell > box { |
| 69 | + margin: 3px; |
| 70 | +} |
| 71 | + |
| 72 | +.event { |
| 73 | + background: @selected_bg_color; |
| 74 | + border-radius: 3px; |
| 75 | + color: @selected_fg_color; |
| 76 | + padding: 6px; |
| 77 | +} |
| 78 | + |
| 79 | +.cell .event { |
| 80 | + padding: 3px 6px; |
| 81 | + margin-bottom: 3px; |
| 82 | +} |
| 83 | + |
| 84 | +.cell.dim-label .event { |
| 85 | + background: alpha (@base_color, 0.7); |
| 86 | + color: @text_color; |
| 87 | +} |
| 88 | + |
| 89 | +.event .title { |
| 90 | + font-weight: 600; |
| 91 | +} |
| 92 | + |
| 93 | +row:selected .event { |
| 94 | + background: @base_color; |
| 95 | + background-image: linear-gradient(to right, @selected_bg_color, @selected_bg_color); |
| 96 | + box-shadow: |
| 97 | + 0 1px 2px alpha (#000, 0.2), |
| 98 | + 0 1px 3px alpha (@selected_bg_color, 0.15); |
| 99 | + color: @selected_fg_color; |
| 100 | +} |
| 101 | + |
| 102 | +#date { |
| 103 | + border-radius: 50%; |
| 104 | + min-height: 24px; |
| 105 | + min-width: 24px; |
| 106 | +} |
| 107 | + |
| 108 | +#today #date { |
| 109 | + background-color: alpha (@accent_color, 0.15); |
| 110 | + color: @accent_color; |
| 111 | + font-weight: 700; |
| 112 | +} |
| 113 | + |
| 114 | +#today:selected #date { |
| 115 | + background-color: @accent_color; |
| 116 | + color: #fff; |
| 117 | +} |
0 commit comments