|
44 | 44 | flex-wrap: wrap; |
45 | 45 | } |
46 | 46 |
|
47 | | -.is-link-items-alignment-horizontal-left .link-area{ |
| 47 | +.is-bookmarks-fit-custom.is-link-items-alignment-horizontal-left .link-area{ |
48 | 48 | justify-content: flex-start; |
49 | 49 | } |
50 | 50 |
|
51 | | -.is-link-items-alignment-horizontal-center .link-area{ |
| 51 | +.is-bookmarks-fit-custom.is-link-items-alignment-horizontal-center .link-area{ |
52 | 52 | justify-content: center; |
53 | 53 | } |
54 | 54 |
|
55 | | -.is-link-items-alignment-horizontal-right .link-area{ |
| 55 | +.is-bookmarks-fit-custom.is-link-items-alignment-horizontal-right .link-area{ |
56 | 56 | justify-content: flex-end; |
57 | 57 | } |
58 | 58 |
|
|
61 | 61 | padding-top:calc(var(--gutter) *4); |
62 | 62 | } |
63 | 63 |
|
64 | | -.is-link-alignment-horizontal-left .link-area{ |
65 | | -justify-content: flex-start; |
66 | | -} |
67 | | - |
68 | | -.is-link-alignment-horizontal-center .link-area{ |
69 | | -justify-content: center; |
70 | | -} |
71 | | - |
72 | | -.is-link-alignment-horizontal-right .link-area{ |
73 | | -justify-content: flex-end; |
74 | | -} |
75 | | - |
76 | 64 | .is-bookmarks-fit-best.is-bookmarks-style-block .link-area{ |
77 | 65 | grid-template-columns:repeat(auto-fill,minmax(11em,1fr)); |
78 | 66 | } |
|
90 | 78 | direction: ltr; |
91 | 79 | } |
92 | 80 |
|
93 | | -.is-bookmarks-fit-best .link-item{ |
94 | | -height:var(--link-items-height); |
95 | | -} |
96 | | - |
97 | | -.is-bookmarks-fit-custom .link-item{ |
98 | | -height:var(--link-items-height); |
99 | | -width:var(--link-items-width); |
100 | | -margin:var(--gutter); |
101 | | -} |
102 | | - |
103 | 81 | .link-item:focus-within, |
104 | 82 | .link-item:focus, |
105 | 83 | .link-item:hover{ |
|
111 | 89 | transition: none; |
112 | 90 | } |
113 | 91 |
|
| 92 | +.is-bookmarks-fit-best .link-item{ |
| 93 | +height:var(--link-items-height); |
| 94 | +} |
| 95 | + |
| 96 | +.is-bookmarks-fit-custom .link-item{ |
| 97 | +height:var(--link-items-height); |
| 98 | +width:var(--link-items-width); |
| 99 | +margin:var(--gutter); |
| 100 | +} |
| 101 | + |
114 | 102 | .link-panel-front{ |
115 | 103 | background-color:rgb(var(--gray-02)); |
116 | 104 | border-radius:var(--radius); |
117 | | -padding:01em; |
118 | 105 | width:100%; |
119 | 106 | height:calc(100%-var(--line-width)); |
120 | 107 | display: flex; |
121 | 108 | z-index:3; |
| 109 | +overflow: hidden; |
122 | 110 | position: relative; |
123 | 111 | user-select: none; |
124 | 112 | transition: all var(--animation-speed-fast) ease-in-out; |
125 | 113 | } |
126 | 114 |
|
127 | | -.is-bookmarks-style-block .link-panel-front{ |
128 | | -flex-direction: column; |
129 | | -align-items: center; |
130 | | -justify-content: center; |
131 | | -} |
132 | | - |
133 | | -.is-bookmarks-style-list .link-panel-front{ |
134 | | -flex-direction: row; |
135 | | -align-items: center; |
136 | | -justify-content: flex-start; |
137 | | -} |
138 | | - |
139 | 115 | .link-panel-front:hover, |
140 | 116 | .link-panel-front:focus{ |
141 | 117 | background-color:rgb(var(--gray-03)); |
|
152 | 128 | box-shadow:02px4px0rgba(0,0,0,0.4); |
153 | 129 | } |
154 | 130 |
|
| 131 | +.is-bookmarks-style-block .link-panel-front{ |
| 132 | +padding:1em; |
| 133 | +flex-direction: column; |
| 134 | +} |
| 135 | + |
| 136 | +.is-bookmarks-style-block.is-link-display-alignment-horizontal-left .link-panel-front{ |
| 137 | +align-items: flex-start; |
| 138 | +} |
| 139 | + |
| 140 | +.is-bookmarks-style-block.is-link-display-alignment-horizontal-center .link-panel-front{ |
| 141 | +align-items: center; |
| 142 | +} |
| 143 | + |
| 144 | +.is-bookmarks-style-block.is-link-display-alignment-horizontal-right .link-panel-front{ |
| 145 | +align-items: flex-end; |
| 146 | +} |
| 147 | + |
| 148 | +.is-bookmarks-style-block.is-link-display-alignment-vertical-top .link-panel-front{ |
| 149 | +justify-content: flex-start; |
| 150 | +} |
| 151 | + |
| 152 | +.is-bookmarks-style-block.is-link-display-alignment-vertical-center .link-panel-front{ |
| 153 | +justify-content: center; |
| 154 | +} |
| 155 | + |
| 156 | +.is-bookmarks-style-block.is-link-display-alignment-vertical-bottom .link-panel-front{ |
| 157 | +justify-content: flex-end; |
| 158 | +} |
| 159 | + |
| 160 | +.is-bookmarks-style-list .link-panel-front{ |
| 161 | +padding:0.5em1em; |
| 162 | +flex-direction: row; |
| 163 | +} |
| 164 | + |
| 165 | +.is-bookmarks-style-list.is-link-display-alignment-horizontal-left .link-panel-front{ |
| 166 | +justify-content: flex-start; |
| 167 | +} |
| 168 | + |
| 169 | +.is-bookmarks-style-list.is-link-display-alignment-horizontal-center .link-panel-front{ |
| 170 | +justify-content: center; |
| 171 | +} |
| 172 | + |
| 173 | +.is-bookmarks-style-list.is-link-display-alignment-horizontal-right .link-panel-front{ |
| 174 | +justify-content: flex-end; |
| 175 | +} |
| 176 | + |
| 177 | +.is-bookmarks-style-list.is-link-display-alignment-vertical-top .link-panel-front{ |
| 178 | +align-items: flex-start; |
| 179 | +} |
| 180 | + |
| 181 | +.is-bookmarks-style-list.is-link-display-alignment-vertical-center .link-panel-front{ |
| 182 | +align-items: center; |
| 183 | +} |
| 184 | + |
| 185 | +.is-bookmarks-style-list.is-link-display-alignment-vertical-bottom .link-panel-front{ |
| 186 | +align-items: flex-end; |
| 187 | +} |
| 188 | + |
155 | 189 | .is-bookmarks-show-url .link-item:focus .link-panel-front, |
156 | 190 | .is-bookmarks-show-url .link-item:focus-within .link-panel-front, |
157 | 191 | .is-bookmarks-show-url .link-item:hover .link-panel-front{ |
|
240 | 274 | display: flex; |
241 | 275 | } |
242 | 276 |
|
243 | | -.is-bookmarks-style-block .link-url{ |
| 277 | +.is-link-display-alignment-horizontal-left .link-url{ |
| 278 | +justify-content: flex-start; |
| 279 | +} |
| 280 | + |
| 281 | +.is-link-display-alignment-horizontal-center .link-url{ |
244 | 282 | justify-content: center; |
245 | 283 | } |
246 | 284 |
|
247 | | -.is-bookmarks-style-list .link-url{ |
248 | | -justify-content: flex-start; |
| 285 | +.is-link-display-alignment-horizontal-right .link-url{ |
| 286 | +justify-content: flex-end; |
249 | 287 | } |
250 | 288 |
|
251 | 289 | .link-item:focus-within .link-url, |
|
271 | 309 | color:rgb(var(--white)); |
272 | 310 | } |
273 | 311 |
|
| 312 | +.link-display{ |
| 313 | +font-size:1rem; |
| 314 | +display: none; |
| 315 | +} |
| 316 | + |
| 317 | +.is-bookmarks-show-display .link-display{ |
| 318 | +display: block; |
| 319 | +} |
| 320 | + |
| 321 | +.link-display-letter, |
| 322 | +.link-display-icon{ |
| 323 | +margin:0; |
| 324 | +text-align: center; |
| 325 | +} |
| 326 | + |
274 | 327 | .link-display-letter{ |
275 | 328 | font-family:var(--font-fjalla); |
276 | 329 | color:rgb(var(--accent)); |
| 330 | +line-height:1; |
277 | 331 | white-space: nowrap; |
278 | | -overflow: hidden; |
279 | | -text-overflow: ellipsis; |
280 | 332 | transition: color var(--animation-speed-fast) ease-in-out; |
281 | 333 | } |
282 | 334 |
|
|
285 | 337 | transition: color var(--animation-speed-fast) ease-in-out; |
286 | 338 | } |
287 | 339 |
|
288 | | -.link-display-letter, |
289 | | -.link-display-icon{ |
290 | | -margin:0; |
291 | | -} |
292 | | - |
293 | | -.is-bookmarks-style-block .link-display-letter{ |
294 | | -font-size:2em; |
295 | | -text-align: center; |
296 | | -max-width:100%; |
| 340 | +.is-bookmarks-style-block .link-display-letter, |
| 341 | +.is-bookmarks-style-list .link-display-letter{ |
| 342 | +font-size:var(--link-display-letter-size); |
297 | 343 | } |
298 | 344 |
|
299 | | -.is-bookmarks-style-block .link-display-icon{ |
300 | | -font-size:2.5em; |
301 | | -text-align: center; |
302 | | -max-width:100%; |
303 | | -} |
304 | | - |
305 | | -.is-bookmarks-style-list .link-display-letter, |
| 345 | +.is-bookmarks-style-block .link-display-icon, |
306 | 346 | .is-bookmarks-style-list .link-display-icon{ |
307 | | -font-size:1.5em; |
308 | | -flex-shrink:0; |
309 | | -max-width:50%; |
| 347 | +font-size:var(--link-display-icon-size); |
310 | 348 | } |
311 | 349 |
|
312 | | -.is-bookmarks-show-name.is-bookmarks-style-block .link-display-letter, |
313 | | -.is-bookmarks-show-name.is-bookmarks-style-block .link-display-icon{ |
314 | | -margin-bottom:0.25em; |
| 350 | +.is-bookmarks-style-block.is-bookmarks-show-name.is-bookmarks-show-display .link-panel-front>*:not(:only-child):not(:last-child){ |
| 351 | +margin-bottom:0.5em; |
315 | 352 | } |
316 | 353 |
|
317 | | -.is-bookmarks-show-name.is-bookmarks-style-list .link-display-letter, |
318 | | -.is-bookmarks-show-name.is-bookmarks-style-list .link-display-icon{ |
| 354 | +.is-bookmarks-style-list.is-bookmarks-show-name.is-bookmarks-show-display .link-panel-front>*:not(:only-child):not(:last-child){ |
319 | 355 | margin-right:0.5em |
320 | 356 | } |
321 | 357 |
|
|
336 | 372 | font-size:0.9em; |
337 | 373 | font-family:var(--font-regular); |
338 | 374 | color:rgb(var(--gray-12)); |
339 | | -white-space: nowrap; |
340 | | -overflow: hidden; |
341 | | -max-width:100%; |
342 | | -text-overflow: ellipsis; |
343 | 375 | display: none; |
| 376 | +text-align: center; |
344 | 377 | transition: all var(--animation-speed-fast) ease-in-out; |
345 | 378 | } |
346 | 379 |
|
| 380 | +.is-link-display-alignment-horizontal-left .link-name{ |
| 381 | +text-align: left; |
| 382 | +} |
| 383 | + |
| 384 | +.is-link-display-alignment-horizontal-center .link-name{ |
| 385 | +text-align: center; |
| 386 | +} |
| 387 | + |
| 388 | +.is-link-display-alignment-horizontal-right .link-name{ |
| 389 | +text-align: right; |
| 390 | +} |
| 391 | + |
347 | 392 | .is-bookmarks-show-name .link-name{ |
348 | 393 | display: block; |
349 | 394 | } |
|
374 | 419 | margin:1em; |
375 | 420 | } |
376 | 421 |
|
377 | | -.is-bookmarks-style-block .link-name{ |
378 | | -text-align: center; |
| 422 | +.is-bookmarks-style-list .link-name{ |
| 423 | +white-space: nowrap; |
379 | 424 | } |
380 | 425 |
|
381 | 426 | .is-bookmarks-edit .link-panel-front, |
|
404 | 449 | pointer-events: all; |
405 | 450 | } |
406 | 451 |
|
407 | | -.is-bookmarks-style-block .link-panel-front{ |
408 | | -flex-direction: column; |
409 | | -align-items: center; |
410 | | -justify-content: center; |
411 | | -} |
412 | | - |
413 | | -.is-bookmarks-style-list .link-panel-front{ |
414 | | -flex-direction: row; |
415 | | -align-items: center; |
416 | | -justify-content: flex-start; |
417 | | -} |
418 | | - |
419 | 452 | .link-form-text-icon{ |
420 | 453 | position: relative; |
421 | 454 | } |
|
0 commit comments