|
| 1 | +$item-primary-secondary-color ?= rgb(117, 117, 117) |
| 2 | +$item-content-label-color ?= rgba(0, 0, 0, .87) |
| 3 | +$item-label-color ?= rgba(0, 0, 0, .54) |
| 4 | + |
1 | 5 | .item |
2 | | - color rgba(0, 0, 0, .87) |
3 | 6 | height 48px |
4 | 7 | position relative |
5 | 8 | display block |
|
18 | 21 | background rgba(0, 0, 0, .3) |
19 | 22 |
|
20 | 23 | > .item-primary |
21 | | - color rgb(117, 117, 117) |
| 24 | + color $item-primary-secondary-color |
22 | 25 | > div.item-primary |
23 | 26 | position absolute |
24 | 27 | top 0 |
|
45 | 48 | line-height 24px |
46 | 49 | border-radius 50% |
47 | 50 | > img.item-primary |
48 | | - color rgb(255, 255, 255) |
49 | 51 | display inline-flex |
50 | 52 | align-items center |
51 | 53 | justify-content center |
|
56 | 58 | top 4px |
57 | 59 | left 16px |
58 | 60 | user-select none |
59 | | - background-color rgb(188, 188, 188) |
60 | 61 | &:not(.thumbnail) |
61 | 62 | border-radius 50% |
62 | 63 |
|
|
69 | 70 | margin-left 72px |
70 | 71 | &.has-secondary |
71 | 72 | margin-right 72px |
72 | | - > span, > div > span |
73 | | - color rgba(0, 0, 0, .87) |
| 73 | + &:not(.no-style) |
| 74 | + > span, > div > span |
| 75 | + color $item-content-label-color |
74 | 76 |
|
75 | 77 | > .item-primary ~ .item-content |
76 | 78 | margin-left 72px |
77 | 79 |
|
78 | 80 | > .item-secondary |
79 | | - color rgb(117, 117, 117) |
| 81 | + color $item-primary-secondary-color |
80 | 82 | position absolute |
81 | 83 | top 0 |
82 | 84 | margin 12px |
|
124 | 126 | padding-top 20px |
125 | 127 | padding-bottom 16px |
126 | 128 |
|
127 | | - > div:not(.stacked-label):not(.floating-label):not([class^='quasar-']) |
128 | | - overflow hidden |
129 | | - text-overflow ellipsis |
130 | | - white-space nowrap |
| 129 | + &:not(.no-style) |
| 130 | + > div:not(.stacked-label):not(.floating-label):not([class^='quasar-']) |
| 131 | + overflow hidden |
| 132 | + text-overflow ellipsis |
| 133 | + white-space nowrap |
131 | 134 |
|
132 | | - > div:not(:first-of-type) |
133 | | - font-size 14px |
134 | | - line-height 16px |
135 | | - height 16px |
136 | | - margin 4px 0 0 |
137 | | - color rgba(0, 0, 0, .54) |
| 135 | + > div:not(:first-of-type):not([class^='quasar-']) |
| 136 | + font-size 14px |
| 137 | + line-height 16px |
| 138 | + height 16px |
| 139 | + margin 4px 0 0 |
| 140 | + color $item-label-color |
138 | 141 |
|
139 | 142 | &.three-lines |
140 | 143 | height 88px |
|
148 | 151 | padding-top 16px |
149 | 152 | padding-bottom 16px |
150 | 153 |
|
151 | | - > div:not(.stacked-label):not(.floating-label):not([class^='quasar-']) |
152 | | - overflow hidden |
153 | | - text-overflow ellipsis |
| 154 | + &:not(.no-style) |
| 155 | + > div:not(.stacked-label):not(.floating-label):not([class^='quasar-']) |
| 156 | + overflow hidden |
| 157 | + text-overflow ellipsis |
154 | 158 |
|
155 | | - > div:first-of-type:not([class^='quasar-']) |
156 | | - white-space nowrap |
| 159 | + > div:first-of-type:not([class^='quasar-']) |
| 160 | + white-space nowrap |
157 | 161 |
|
158 | | - > div:not(:first-of-type) |
159 | | - font-size 14px |
160 | | - line-height 18px |
161 | | - height 36px |
162 | | - margin 4px 0 0 |
163 | | - color rgba(0, 0, 0, .54) |
164 | | - overflow hidden |
165 | | - text-overflow ellipsis |
166 | | - display -webkit-box |
167 | | - -webkit-line-clamp 2 |
168 | | - -webkit-box-orient vertical |
| 162 | + > div:not(:first-of-type):not([class^='quasar-']) |
| 163 | + font-size 14px |
| 164 | + line-height 18px |
| 165 | + height 36px |
| 166 | + margin 4px 0 0 |
| 167 | + color $item-label-color |
| 168 | + overflow hidden |
| 169 | + text-overflow ellipsis |
| 170 | + display -webkit-box |
| 171 | + -webkit-line-clamp 2 |
| 172 | + -webkit-box-orient vertical |
169 | 173 |
|
170 | 174 | &.multiple-lines |
171 | 175 | height auto |
|
174 | 178 | padding-top 16px |
175 | 179 |
|
176 | 180 | .item-label |
177 | | - color rgba(0, 0, 0, .5) !important |
| 181 | + color $item-label-color !important |
178 | 182 | .item-smaller |
179 | 183 | font-size 14px |
180 | 184 |
|
@@ -218,7 +222,7 @@ body.desktop .item.item-link:hover |
218 | 222 | visibility hidden |
219 | 223 |
|
220 | 224 | .list-label |
221 | | - color rgba(0, 0, 0, .54) |
| 225 | + color $item-label-color |
222 | 226 | font-size 14px |
223 | 227 | font-weight 500 |
224 | 228 | line-height 48px |
|
0 commit comments