UNPKG

3.88 kBCSSView Raw
1@import "../global/variables.css";
2
3@value unit from "../global/global.css";
4@value listSpacing: unit;
5
6.list {
7 position: relative;
8
9 z-index: 1;
10
11 border-radius: var(--ring-border-radius);
12
13 line-height: normal;
14}
15
16.simpleInner {
17 overflow: auto;
18}
19
20.scrolling {
21 pointer-events: none;
22}
23
24.separator {
25 display: block;
26
27 margin-top: listSpacing;
28 padding: 0 calc(unit * 2) 1px;
29
30 text-align: right;
31
32 color: var(--ring-secondary-color);
33 border-top: 1px solid var(--ring-line-color);
34
35 font-size: var(--ring-font-size-smaller);
36 line-height: var(--ring-line-height-lower);
37}
38
39.separator_first {
40 margin-top: 0;
41 padding-top: 0;
42
43 border: none;
44}
45
46.item {
47 display: block;
48
49 text-align: left;
50 vertical-align: bottom;
51 white-space: nowrap;
52 text-decoration: none;
53
54 outline: none;
55
56 font-size: var(--ring-font-size);
57 line-height: calc(unit * 3);
58}
59
60.item.item {
61 padding: 3px calc(unit * 2) 5px;
62}
63
64.compact {
65 line-height: calc(unit * 2);
66}
67
68.error {
69 cursor: default;
70
71 /* Override ring-link */
72 &,
73 &:hover,
74 &:focus,
75 &:visited {
76 color: var(--ring-error-color);
77 }
78}
79
80.add {
81 padding: unit calc(2 * unit);
82
83 line-height: calc(4 * unit);
84}
85
86.top {
87 display: flex;
88 align-items: baseline;
89 flex-direction: row;
90}
91
92.left {
93 align-self: center;
94 flex-shrink: 0;
95}
96
97.label {
98 overflow: hidden;
99 flex-grow: 1;
100 flex-shrink: 1;
101
102 text-align: left;
103 white-space: nowrap;
104 text-overflow: ellipsis;
105
106 @nest [dir=rtl] & {
107 text-align: right;
108 direction: ltr;
109 }
110}
111
112.description {
113 overflow: hidden;
114 flex-shrink: 100;
115
116 padding-left: unit;
117
118 text-align: right;
119 white-space: nowrap;
120 text-overflow: ellipsis;
121
122 color: var(--ring-secondary-color);
123
124 font-size: var(--ring-font-size-smaller);
125 font-weight: 200;
126 line-height: var(--ring-line-height-lowest);
127}
128
129.right {
130 display: flex;
131 align-items: center;
132 align-self: center;
133 flex-direction: row;
134 flex-shrink: 0;
135}
136
137.details {
138 margin-bottom: 6px;
139
140 white-space: normal;
141
142 color: var(--ring-secondary-color);
143
144 font-size: var(--ring-font-size-smaller);
145 line-height: var(--ring-line-height-lowest);
146}
147
148.padded {
149 margin-left: 20px;
150}
151
152/* Override :last-child */
153.hint.hint {
154 margin-bottom: 0;
155
156 border-top: 1px solid var(--ring-line-color);
157 background-color: var(--ring-sidebar-background-color);
158
159 font-size: var(--ring-font-size-smaller);
160}
161
162.action {
163 cursor: pointer;
164
165 color: var(--ring-text-color);
166}
167
168/* override link */
169.actionLink.actionLink {
170 transition: none;
171}
172
173.hover:not(.error) {
174 background-color: var(--ring-selected-background-color);
175}
176
177.icon {
178 display: inline-block;
179
180 width: 20px;
181 height: 20px;
182 margin-left: calc(unit * 2);
183
184 background-repeat: no-repeat;
185 background-position: center;
186
187 background-size: contain;
188}
189
190.highlight {
191 color: var(--ring-link-hover-color);
192}
193
194.service {
195 color: var(--ring-secondary-color);
196}
197
198.glyph {
199 float: left;
200
201 width: 20px;
202 margin-right: unit;
203
204 color: var(--ring-icon-secondary-color);
205}
206
207.avatar {
208 composes: glyph;
209
210 top: 0;
211}
212
213.rightGlyph {
214 composes: glyph;
215
216 float: right;
217
218 margin-right: 0;
219 margin-left: calc(unit * 2);
220}
221
222.checkboxContainer {
223 position: relative;
224 top: -2px;
225 left: 3px;
226
227 width: 20px;
228 height: 20px;
229 margin-right: unit;
230}
231
232.title {
233 display: block;
234
235 margin-top: 10px;
236 margin-bottom: 6px;
237 padding: listSpacing calc(unit * 2) 0;
238
239 text-align: left;
240
241 @nest [dir=rtl] & {
242 text-align: right;
243 direction: ltr;
244 }
245}
246
247.title_first {
248 margin-top: 0;
249}
250
251.text {
252 letter-spacing: 1.5px;
253 text-transform: uppercase;
254
255 color: var(--ring-secondary-color);
256
257 font-size: var(--ring-font-size-smaller);
258}
259
260.fade {
261 position: absolute;
262 bottom: 0;
263
264 width: 100%;
265 height: calc(unit * 3);
266
267 pointer-events: none;
268
269 background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--ring-content-background-color));
270}