@ebay/skin 18.3.2 → 18.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles/skin-default.css +218 -66
- package/dist/bundles/skin-full.css +219 -66
- package/dist/bundles/skin-headless.css +217 -66
- package/dist/eek/eek.css +3 -3
- package/dist/file-preview-card/file-preview-card.css +79 -69
- package/dist/list/list.css +76 -0
- package/dist/mixins/_utility-mixins.scss +36 -0
- package/dist/svg/icon/icon-bids-16.svg +7 -0
- package/dist/svg/icon/icon-explore-16.svg +7 -0
- package/dist/svg/icon/icon-explore-24.svg +7 -0
- package/dist/svg/icon/icon-history-16.svg +7 -0
- package/dist/svg/icon/icon-history-24.svg +4 -5
- package/dist/svg/icon/icon-history-64.svg +4 -5
- package/dist/svg/icon/icon-item-list-16.svg +7 -0
- package/dist/svg/icon/icon-item-list-20.svg +7 -0
- package/dist/svg/icon/icon-item-list-24.svg +7 -0
- package/dist/svg/icon/icon-money-stack-16.svg +7 -0
- package/dist/svg/icon/icon-money-stack-24.svg +7 -0
- package/dist/svg/icon/icon-panel-close-16.svg +1 -1
- package/dist/svg/icon/icon-panel-close-20.svg +1 -1
- package/dist/svg/icon/icon-panel-close-24.svg +1 -1
- package/dist/svg/icon/icon-star-empty-40.svg +7 -0
- package/dist/svg/icon/icon-star-filled-40.svg +5 -0
- package/dist/svg/icon/icon-translate-16.svg +7 -0
- package/dist/svg/icon/icon-translate-20.svg +7 -0
- package/dist/svg/icon/icon-translate-24.svg +7 -0
- package/dist/svg/icons.svg +139 -45
- package/dist/table/table.css +57 -1
- package/dist/tokens/evo-dark.css +1 -0
- package/dist/tokens/evo-light.css +1 -0
- package/dist/utility/utility.css +28 -0
- package/index.browser.json +1 -0
- package/index.css +1 -0
- package/index.js +1 -0
- package/index.mjs +1 -0
- package/list.browser.json +1 -0
- package/list.css +1 -0
- package/list.js +1 -0
- package/list.mjs +1 -0
- package/package.json +2 -1
|
@@ -146,6 +146,34 @@ a:not([href]),a[aria-disabled=true]{
|
|
|
146
146
|
text-overflow:ellipsis;
|
|
147
147
|
white-space:nowrap;
|
|
148
148
|
}
|
|
149
|
+
|
|
150
|
+
.scrollbars-permanent{
|
|
151
|
+
-webkit-overflow-scrolling:touch;
|
|
152
|
+
scroll-behavior:smooth;
|
|
153
|
+
scroll-snap-type:proximity;
|
|
154
|
+
scroll-snap-type:x proximity;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.scrollbars-permanent::-webkit-scrollbar{
|
|
158
|
+
background-color:var(--color-background-faint);
|
|
159
|
+
border-radius:12px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.scrollbars-permanent::-webkit-scrollbar:vertical{
|
|
163
|
+
width:6px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.scrollbars-permanent::-webkit-scrollbar:horizontal{
|
|
167
|
+
height:6px;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.scrollbars-permanent::-webkit-scrollbar-thumb{
|
|
171
|
+
background-color:var(--color-foreground-secondary);
|
|
172
|
+
border-color:transparent;
|
|
173
|
+
border-radius:12px;
|
|
174
|
+
border-right-style:inset;
|
|
175
|
+
box-shadow:none;
|
|
176
|
+
}
|
|
149
177
|
.alert-dialog[role=alertdialog]{
|
|
150
178
|
background-color:var(--dialog-scrim-color-show);
|
|
151
179
|
bottom:0;
|
|
@@ -2490,7 +2518,7 @@ button.icon-btn.drawer-dialog__close{
|
|
|
2490
2518
|
display:inline-flex;
|
|
2491
2519
|
font-family:Arial,sans-serif;
|
|
2492
2520
|
font-weight:700;
|
|
2493
|
-
height:
|
|
2521
|
+
height:24px;
|
|
2494
2522
|
position:relative;
|
|
2495
2523
|
}
|
|
2496
2524
|
|
|
@@ -2503,7 +2531,7 @@ button.icon-btn.drawer-dialog__close{
|
|
|
2503
2531
|
}
|
|
2504
2532
|
|
|
2505
2533
|
.eek .icon--eek-arrow{
|
|
2506
|
-
width:
|
|
2534
|
+
width:9px;
|
|
2507
2535
|
}
|
|
2508
2536
|
|
|
2509
2537
|
.eek__arrow{
|
|
@@ -2594,7 +2622,7 @@ button.icon-btn.drawer-dialog__close{
|
|
|
2594
2622
|
border-radius:1px 0 0 1px;
|
|
2595
2623
|
display:inline-flex;
|
|
2596
2624
|
flex-direction:column;
|
|
2597
|
-
height:
|
|
2625
|
+
height:20px;
|
|
2598
2626
|
margin:1px;
|
|
2599
2627
|
padding:0 1px;
|
|
2600
2628
|
}
|
|
@@ -2757,119 +2785,132 @@ div.field__description{
|
|
|
2757
2785
|
text-align:left;
|
|
2758
2786
|
}
|
|
2759
2787
|
.file-preview-card{
|
|
2788
|
+
display:flex;
|
|
2789
|
+
flex-direction:column;
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
.file-preview-card__body{
|
|
2760
2793
|
aspect-ratio:1/1;
|
|
2761
2794
|
background-color:var(--file-preview-card-background-color, var(--color-background-secondary));
|
|
2762
2795
|
border-radius:var(--file-preview-card-border-radius, var(--border-radius-100));
|
|
2763
|
-
|
|
2764
|
-
display:grid;
|
|
2765
|
-
grid-template-areas:" . . menu-action " " . center-action . " " label . . ";
|
|
2766
|
-
grid-template-columns:repeat(3, 1fr);
|
|
2767
|
-
grid-template-rows:repeat(3, 1fr);
|
|
2768
|
-
height:100%;
|
|
2796
|
+
display:flex;
|
|
2769
2797
|
max-width:396px;
|
|
2798
|
+
min-height:120px;
|
|
2770
2799
|
min-width:120px;
|
|
2771
|
-
|
|
2800
|
+
position:relative;
|
|
2772
2801
|
}
|
|
2773
2802
|
|
|
2774
|
-
.file-preview-
|
|
2775
|
-
|
|
2776
|
-
display:flex;
|
|
2777
|
-
grid-area:1/1/4/4;
|
|
2778
|
-
justify-content:center;
|
|
2803
|
+
.file-preview-card__asset{
|
|
2804
|
+
margin:auto;
|
|
2779
2805
|
}
|
|
2780
2806
|
|
|
2781
|
-
.file-preview-
|
|
2807
|
+
img.file-preview-card__asset,video.file-preview-card__asset{
|
|
2808
|
+
align-self:center;
|
|
2782
2809
|
border-radius:var(--file-preview-card-border-radius, var(--border-radius-100));
|
|
2783
2810
|
height:100%;
|
|
2784
2811
|
object-fit:contain;
|
|
2785
2812
|
width:100%;
|
|
2786
2813
|
}
|
|
2787
2814
|
|
|
2788
|
-
.file-preview-
|
|
2815
|
+
.file-preview-card__asset--fade{
|
|
2816
|
+
background-color:inherit;
|
|
2789
2817
|
opacity:.5;
|
|
2790
2818
|
}
|
|
2791
2819
|
|
|
2792
|
-
.file-preview-
|
|
2820
|
+
.file-preview-card__asset.icon{
|
|
2793
2821
|
height:40%;
|
|
2794
2822
|
width:40%;
|
|
2795
2823
|
}
|
|
2796
2824
|
|
|
2797
|
-
.file-preview-
|
|
2798
|
-
grid-area:menu-action;
|
|
2799
|
-
justify-self:end;
|
|
2800
|
-
z-index:1;
|
|
2801
|
-
}
|
|
2802
|
-
|
|
2803
|
-
.file-preview-card .file-preview-card__menu-action .icon-btn{
|
|
2825
|
+
.file-preview-card__body .icon-btn{
|
|
2804
2826
|
height:var(--spacing-400);
|
|
2805
|
-
margin:var(--spacing-100);
|
|
2806
2827
|
width:var(--spacing-400);
|
|
2807
2828
|
}
|
|
2808
2829
|
|
|
2809
|
-
.file-preview-
|
|
2810
|
-
|
|
2830
|
+
.file-preview-card__body>.file-preview-card__action{
|
|
2831
|
+
position:absolute;
|
|
2832
|
+
right:var(--spacing-100);
|
|
2833
|
+
top:var(--spacing-100);
|
|
2834
|
+
z-index:1;
|
|
2811
2835
|
}
|
|
2812
2836
|
|
|
2813
|
-
.file-preview-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
z-index:1;
|
|
2837
|
+
.file-preview-card__body>.file-preview-card__action:dir(rtl){
|
|
2838
|
+
left:var(--spacing-100);
|
|
2839
|
+
right:auto;
|
|
2817
2840
|
}
|
|
2818
2841
|
|
|
2819
|
-
.file-preview-
|
|
2842
|
+
.icon-btn.file-preview-card__action:not(:hover){
|
|
2843
|
+
background-color:var(--file-preview-card-action-background-color, var(--color-background-primary));
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
.file-preview-card__info{
|
|
2820
2847
|
align-items:center;
|
|
2821
|
-
background-color:var(--file-preview-card-
|
|
2848
|
+
background-color:var(--file-preview-card-info-background-color, var(--color-background-primary));
|
|
2849
|
+
border-radius:1em;
|
|
2850
|
+
bottom:var(--spacing-100);
|
|
2822
2851
|
display:flex;
|
|
2823
|
-
|
|
2852
|
+
font-size:var(--font-size-12);
|
|
2853
|
+
font-weight:400;
|
|
2824
2854
|
gap:var(--spacing-50);
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2855
|
+
left:var(--spacing-100);
|
|
2856
|
+
padding:var(--spacing-50) var(--spacing-100);
|
|
2857
|
+
position:absolute;
|
|
2858
|
+
z-index:1;
|
|
2829
2859
|
}
|
|
2830
2860
|
|
|
2831
|
-
.file-preview-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
font-weight:400;
|
|
2861
|
+
.file-preview-card__info:dir(rtl){
|
|
2862
|
+
left:auto;
|
|
2863
|
+
right:var(--spacing-100);
|
|
2835
2864
|
}
|
|
2836
2865
|
|
|
2837
|
-
.file-preview-
|
|
2866
|
+
.file-preview-card__info>.icon{
|
|
2838
2867
|
height:var(--spacing-150);
|
|
2839
2868
|
width:var(--spacing-150);
|
|
2840
2869
|
}
|
|
2841
2870
|
|
|
2842
|
-
.file-preview-
|
|
2843
|
-
align-self:center;
|
|
2844
|
-
grid-area:center-action;
|
|
2845
|
-
justify-self:center;
|
|
2846
|
-
z-index:1;
|
|
2847
|
-
}
|
|
2848
|
-
|
|
2849
|
-
.file-preview-card__body-action .icon-btn{
|
|
2871
|
+
.file-preview-card__see-more{
|
|
2850
2872
|
aspect-ratio:1/1;
|
|
2851
|
-
background-color:rgba(var(--file-preview-card-
|
|
2852
|
-
|
|
2873
|
+
background-color:rgba(var(--file-preview-card-see-more-background-color-rgb, var(--color-background-strong-rgb)), .5);
|
|
2874
|
+
border:none;
|
|
2875
|
+
border-radius:50%;
|
|
2876
|
+
color:var(--file-preview-card-see-more-color, var(--color-foreground-on-strong));
|
|
2877
|
+
font-family:inherit;
|
|
2853
2878
|
font-size:var(--font-size-14);
|
|
2854
2879
|
font-weight:700;
|
|
2855
|
-
|
|
2856
|
-
height:fit-content;
|
|
2880
|
+
left:50%;
|
|
2857
2881
|
line-height:var(--spacing-250);
|
|
2858
2882
|
padding:var(--spacing-100);
|
|
2859
|
-
|
|
2860
|
-
|
|
2883
|
+
position:absolute;
|
|
2884
|
+
top:50%;
|
|
2885
|
+
transform:translate(-50%, -50%);
|
|
2886
|
+
z-index:1;
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
.file-preview-card__see-more:active,.file-preview-card__see-more:focus-visible,.file-preview-card__see-more:hover{
|
|
2890
|
+
color:var(--file-preview-card-see-more-interactive-color, var(--color-foreground-primary));
|
|
2861
2891
|
}
|
|
2862
2892
|
|
|
2863
|
-
.file-preview-
|
|
2864
|
-
color:var(--file-preview-card-
|
|
2893
|
+
.file-preview-card__see-more:focus-visible,.file-preview-card__see-more:hover{
|
|
2894
|
+
background-color:rgba(var(--file-preview-card-see-more-interactive-background-color-rgb, var(--color-state-secondary-hover-rgb)), .5);
|
|
2865
2895
|
}
|
|
2866
2896
|
|
|
2867
|
-
.file-preview-
|
|
2868
|
-
background-color:rgba(var(--file-preview-card-
|
|
2897
|
+
.file-preview-card__see-more:active{
|
|
2898
|
+
background-color:rgba(var(--file-preview-card-see-more-interactive-active-background-color-rgb, var(--color-state-secondary-active-rgb)), .5);
|
|
2869
2899
|
}
|
|
2870
2900
|
|
|
2871
|
-
.file-preview-
|
|
2872
|
-
|
|
2901
|
+
.file-preview-card__footer{
|
|
2902
|
+
display:grid;
|
|
2903
|
+
}
|
|
2904
|
+
|
|
2905
|
+
.file-preview-card__footer>*{
|
|
2906
|
+
overflow:hidden;
|
|
2907
|
+
text-overflow:ellipsis;
|
|
2908
|
+
white-space:nowrap;
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
.file-preview-card__footer>:not(:first-child){
|
|
2912
|
+
color:var(--color-foreground-secondary);
|
|
2913
|
+
font-size:var(--font-size-small);
|
|
2873
2914
|
}
|
|
2874
2915
|
div.file-preview-card-group{
|
|
2875
2916
|
container:file-preview-cards-container/inline-size;
|
|
@@ -5571,6 +5612,66 @@ button.fake-link:hover{
|
|
|
5571
5612
|
button.fake-link[aria-disabled=true],button.fake-link[disabled]{
|
|
5572
5613
|
color:var(--fake-link-foreground-disabled-color, var(--color-foreground-disabled));
|
|
5573
5614
|
}
|
|
5615
|
+
.list{
|
|
5616
|
+
max-width:480px;
|
|
5617
|
+
}
|
|
5618
|
+
|
|
5619
|
+
.list ul{
|
|
5620
|
+
list-style:none;
|
|
5621
|
+
margin:0;
|
|
5622
|
+
padding:0;
|
|
5623
|
+
}
|
|
5624
|
+
|
|
5625
|
+
.list ul li>*{
|
|
5626
|
+
align-items:center;
|
|
5627
|
+
background-color:var(--list-background-color, var(--color-background-primary));
|
|
5628
|
+
box-sizing:border-box;
|
|
5629
|
+
color:var(--color-foreground-on-primary);
|
|
5630
|
+
display:inline-flex;
|
|
5631
|
+
font-size:var(--font-size-16);
|
|
5632
|
+
margin-block:1px;
|
|
5633
|
+
min-height:var(--spacing-600);
|
|
5634
|
+
padding:var(--spacing-150) var(--spacing-200);
|
|
5635
|
+
width:100%;
|
|
5636
|
+
}
|
|
5637
|
+
|
|
5638
|
+
.list__leading{
|
|
5639
|
+
margin-inline-end:var(--spacing-200);
|
|
5640
|
+
}
|
|
5641
|
+
|
|
5642
|
+
.list__trailing{
|
|
5643
|
+
margin-inline-start:var(--spacing-200);
|
|
5644
|
+
}
|
|
5645
|
+
|
|
5646
|
+
.list__body{
|
|
5647
|
+
flex:1;
|
|
5648
|
+
}
|
|
5649
|
+
|
|
5650
|
+
.list li>a,.list li>button{
|
|
5651
|
+
border:none;
|
|
5652
|
+
text-align:left;
|
|
5653
|
+
text-decoration:none;
|
|
5654
|
+
}
|
|
5655
|
+
|
|
5656
|
+
.list li>a:focus,.list li>a:hover,.list li>button:focus,.list li>button:hover{
|
|
5657
|
+
color:var(--color-foreground-on-primary);
|
|
5658
|
+
}
|
|
5659
|
+
|
|
5660
|
+
.list li>a:active,.list li>a:focus,.list li>a:hover,.list li>button:active,.list li>button:focus,.list li>button:hover{
|
|
5661
|
+
background-color:var(--list-background-hover-color, var(--color-state-primary-hover));
|
|
5662
|
+
}
|
|
5663
|
+
|
|
5664
|
+
.list hr{
|
|
5665
|
+
border:0;
|
|
5666
|
+
border-top:1px solid var(--color-stroke-subtle);
|
|
5667
|
+
height:1px;
|
|
5668
|
+
margin-inline:var(--spacing-200);
|
|
5669
|
+
padding:0;
|
|
5670
|
+
}
|
|
5671
|
+
|
|
5672
|
+
[dir=rtl] .list li>a,[dir=rtl] .list li>button{
|
|
5673
|
+
text-align:right;
|
|
5674
|
+
}
|
|
5574
5675
|
div.listbox{
|
|
5575
5676
|
margin:var(--spacing-200) 0;
|
|
5576
5677
|
}
|
|
@@ -8307,10 +8408,35 @@ span.switch__control:focus:not(:focus-visible){
|
|
|
8307
8408
|
.table{
|
|
8308
8409
|
overflow-x:auto;
|
|
8309
8410
|
position:relative;
|
|
8411
|
+
-webkit-overflow-scrolling:touch;
|
|
8412
|
+
scroll-behavior:smooth;
|
|
8413
|
+
scroll-snap-type:proximity;
|
|
8414
|
+
scroll-snap-type:x proximity;
|
|
8415
|
+
}
|
|
8416
|
+
|
|
8417
|
+
.table::-webkit-scrollbar{
|
|
8418
|
+
background-color:var(--color-background-faint);
|
|
8419
|
+
border-radius:12px;
|
|
8420
|
+
}
|
|
8421
|
+
|
|
8422
|
+
.table::-webkit-scrollbar:vertical{
|
|
8423
|
+
width:6px;
|
|
8424
|
+
}
|
|
8425
|
+
|
|
8426
|
+
.table::-webkit-scrollbar:horizontal{
|
|
8427
|
+
height:6px;
|
|
8428
|
+
}
|
|
8429
|
+
|
|
8430
|
+
.table::-webkit-scrollbar-thumb{
|
|
8431
|
+
background-color:var(--color-foreground-secondary);
|
|
8432
|
+
border-color:transparent;
|
|
8433
|
+
border-radius:12px;
|
|
8434
|
+
border-right-style:inset;
|
|
8435
|
+
box-shadow:none;
|
|
8310
8436
|
}
|
|
8311
8437
|
|
|
8312
8438
|
.table table{
|
|
8313
|
-
border-collapse:
|
|
8439
|
+
border-collapse:initial;
|
|
8314
8440
|
border-spacing:0;
|
|
8315
8441
|
width:100%;
|
|
8316
8442
|
}
|
|
@@ -8342,8 +8468,30 @@ span.switch__control:focus:not(:focus-visible){
|
|
|
8342
8468
|
padding:16px;
|
|
8343
8469
|
}
|
|
8344
8470
|
|
|
8345
|
-
.table
|
|
8471
|
+
.table--frozen-header thead{
|
|
8472
|
+
position:sticky;
|
|
8473
|
+
top:0;
|
|
8474
|
+
z-index:3;
|
|
8475
|
+
}
|
|
8476
|
+
|
|
8477
|
+
.table--freeze-column-1 tr td:nth-child(-n+1),.table--freeze-column-1 tr th:nth-child(-n+1),.table--freeze-column-2 tr td:nth-child(-n+2),.table--freeze-column-2 tr th:nth-child(-n+2),.table--freeze-column-3 tr td:nth-child(-n+3),.table--freeze-column-3 tr th:nth-child(-n+3){
|
|
8478
|
+
left:0;
|
|
8479
|
+
position:sticky;
|
|
8480
|
+
}
|
|
8481
|
+
|
|
8482
|
+
.table--full-height{
|
|
8483
|
+
max-height:unset;
|
|
8484
|
+
}
|
|
8485
|
+
|
|
8486
|
+
.table--constrained-height{
|
|
8487
|
+
max-height:90vh;
|
|
8488
|
+
}
|
|
8489
|
+
|
|
8490
|
+
.table th a,.table th button{
|
|
8491
|
+
align-items:center;
|
|
8492
|
+
display:flex;
|
|
8346
8493
|
font-weight:700;
|
|
8494
|
+
text-decoration:none;
|
|
8347
8495
|
}
|
|
8348
8496
|
|
|
8349
8497
|
.table tbody tr:last-child td,.table tbody tr:last-child th{
|
|
@@ -8402,6 +8550,9 @@ span.switch__control:focus:not(:focus-visible){
|
|
|
8402
8550
|
text-align:center;
|
|
8403
8551
|
width:48px;
|
|
8404
8552
|
}
|
|
8553
|
+
.table--mode-selection tr:has(input:checked) :where(td,th){
|
|
8554
|
+
background-color:var(--color-background-secondary);
|
|
8555
|
+
}
|
|
8405
8556
|
|
|
8406
8557
|
.table tbody th{
|
|
8407
8558
|
font-weight:400;
|
package/dist/eek/eek.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
font-family: Arial, sans-serif;
|
|
5
5
|
font-weight: 700;
|
|
6
|
-
height:
|
|
6
|
+
height: 24px;
|
|
7
7
|
position: relative;
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.eek .icon--eek-arrow {
|
|
19
|
-
width:
|
|
19
|
+
width: 9px;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.eek__arrow {
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
border-radius: 1px 0 0 1px;
|
|
112
112
|
display: inline-flex;
|
|
113
113
|
flex-direction: column;
|
|
114
|
-
height:
|
|
114
|
+
height: 20px;
|
|
115
115
|
margin: 1px;
|
|
116
116
|
padding: 0 1px;
|
|
117
117
|
}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
.file-preview-card {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.file-preview-card__body {
|
|
2
7
|
aspect-ratio: 1/1;
|
|
3
8
|
background-color: var(
|
|
4
9
|
--file-preview-card-background-color,
|
|
@@ -8,26 +13,20 @@
|
|
|
8
13
|
--file-preview-card-border-radius,
|
|
9
14
|
var(--border-radius-100)
|
|
10
15
|
);
|
|
11
|
-
|
|
12
|
-
display: grid;
|
|
13
|
-
grid-template-areas: " . . menu-action " " . center-action . " " label . . ";
|
|
14
|
-
grid-template-columns: repeat(3, 1fr);
|
|
15
|
-
grid-template-rows: repeat(3, 1fr);
|
|
16
|
-
height: 100%;
|
|
16
|
+
display: flex;
|
|
17
17
|
max-width: 396px;
|
|
18
|
+
min-height: 120px;
|
|
18
19
|
min-width: 120px;
|
|
19
|
-
|
|
20
|
+
position: relative;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
.file-preview-
|
|
23
|
-
|
|
24
|
-
display: flex;
|
|
25
|
-
grid-area: 1/1/4/4;
|
|
26
|
-
justify-content: center;
|
|
23
|
+
.file-preview-card__asset {
|
|
24
|
+
margin: auto;
|
|
27
25
|
}
|
|
28
26
|
|
|
29
|
-
.file-preview-
|
|
30
|
-
.file-preview-
|
|
27
|
+
img.file-preview-card__asset,
|
|
28
|
+
video.file-preview-card__asset {
|
|
29
|
+
align-self: center;
|
|
31
30
|
border-radius: var(
|
|
32
31
|
--file-preview-card-border-radius,
|
|
33
32
|
var(--border-radius-100)
|
|
@@ -37,125 +36,136 @@
|
|
|
37
36
|
width: 100%;
|
|
38
37
|
}
|
|
39
38
|
|
|
40
|
-
.file-preview-
|
|
39
|
+
.file-preview-card__asset--fade {
|
|
40
|
+
background-color: inherit;
|
|
41
41
|
opacity: 0.5;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.file-preview-
|
|
44
|
+
.file-preview-card__asset.icon {
|
|
45
45
|
height: 40%;
|
|
46
46
|
width: 40%;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.file-preview-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
.file-preview-card__body .icon-btn {
|
|
50
|
+
height: var(--spacing-400);
|
|
51
|
+
width: var(--spacing-400);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.file-preview-card__body > .file-preview-card__action {
|
|
55
|
+
position: absolute;
|
|
56
|
+
right: var(--spacing-100);
|
|
57
|
+
top: var(--spacing-100);
|
|
52
58
|
z-index: 1;
|
|
53
59
|
}
|
|
54
60
|
|
|
55
|
-
.file-preview-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
width: var(--spacing-400);
|
|
61
|
+
.file-preview-card__body > .file-preview-card__action:dir(rtl) {
|
|
62
|
+
left: var(--spacing-100);
|
|
63
|
+
right: auto;
|
|
59
64
|
}
|
|
60
65
|
|
|
61
|
-
.
|
|
66
|
+
.icon-btn.file-preview-card__action:not(:hover) {
|
|
62
67
|
background-color: var(
|
|
63
|
-
--file-preview-card-
|
|
68
|
+
--file-preview-card-action-background-color,
|
|
64
69
|
var(--color-background-primary)
|
|
65
70
|
);
|
|
66
71
|
}
|
|
67
72
|
|
|
68
|
-
.file-preview-
|
|
69
|
-
align-self: end;
|
|
70
|
-
grid-area: label;
|
|
71
|
-
z-index: 1;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.file-preview-card__preview-action .icon-btn {
|
|
73
|
+
.file-preview-card__info {
|
|
75
74
|
align-items: center;
|
|
76
75
|
background-color: var(
|
|
77
|
-
--file-preview-card-
|
|
76
|
+
--file-preview-card-info-background-color,
|
|
78
77
|
var(--color-background-primary)
|
|
79
78
|
);
|
|
79
|
+
border-radius: 1em;
|
|
80
|
+
bottom: var(--spacing-100);
|
|
80
81
|
display: flex;
|
|
81
|
-
|
|
82
|
+
font-size: var(--font-size-12);
|
|
83
|
+
font-weight: 400;
|
|
82
84
|
gap: var(--spacing-50);
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
left: var(--spacing-100);
|
|
86
|
+
padding: var(--spacing-50) var(--spacing-100);
|
|
87
|
+
position: absolute;
|
|
88
|
+
z-index: 1;
|
|
87
89
|
}
|
|
88
90
|
|
|
89
|
-
.file-preview-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
var(--color-foreground-primary)
|
|
93
|
-
);
|
|
94
|
-
font-size: var(--font-size-12);
|
|
95
|
-
font-weight: 400;
|
|
91
|
+
.file-preview-card__info:dir(rtl) {
|
|
92
|
+
left: auto;
|
|
93
|
+
right: var(--spacing-100);
|
|
96
94
|
}
|
|
97
95
|
|
|
98
|
-
.file-preview-
|
|
96
|
+
.file-preview-card__info > .icon {
|
|
99
97
|
height: var(--spacing-150);
|
|
100
98
|
width: var(--spacing-150);
|
|
101
99
|
}
|
|
102
100
|
|
|
103
|
-
.file-preview-
|
|
104
|
-
align-self: center;
|
|
105
|
-
grid-area: center-action;
|
|
106
|
-
justify-self: center;
|
|
107
|
-
z-index: 1;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.file-preview-card__body-action .icon-btn {
|
|
101
|
+
.file-preview-card__see-more {
|
|
111
102
|
aspect-ratio: 1/1;
|
|
112
103
|
background-color: rgba(
|
|
113
104
|
var(
|
|
114
|
-
--file-preview-card-
|
|
105
|
+
--file-preview-card-see-more-background-color-rgb,
|
|
115
106
|
var(--color-background-strong-rgb)
|
|
116
107
|
),
|
|
117
108
|
0.5
|
|
118
109
|
);
|
|
110
|
+
border: none;
|
|
111
|
+
border-radius: 50%;
|
|
119
112
|
color: var(
|
|
120
|
-
--file-preview-card-
|
|
113
|
+
--file-preview-card-see-more-color,
|
|
121
114
|
var(--color-foreground-on-strong)
|
|
122
115
|
);
|
|
116
|
+
font-family: inherit;
|
|
123
117
|
font-size: var(--font-size-14);
|
|
124
118
|
font-weight: 700;
|
|
125
|
-
|
|
126
|
-
height: fit-content;
|
|
119
|
+
left: 50%;
|
|
127
120
|
line-height: var(--spacing-250);
|
|
128
121
|
padding: var(--spacing-100);
|
|
129
|
-
|
|
130
|
-
|
|
122
|
+
position: absolute;
|
|
123
|
+
top: 50%;
|
|
124
|
+
transform: translate(-50%, -50%);
|
|
125
|
+
z-index: 1;
|
|
131
126
|
}
|
|
132
127
|
|
|
133
|
-
.file-preview-
|
|
134
|
-
.file-preview-
|
|
135
|
-
.file-preview-
|
|
128
|
+
.file-preview-card__see-more:active,
|
|
129
|
+
.file-preview-card__see-more:focus-visible,
|
|
130
|
+
.file-preview-card__see-more:hover {
|
|
136
131
|
color: var(
|
|
137
|
-
--file-preview-card-
|
|
132
|
+
--file-preview-card-see-more-interactive-color,
|
|
138
133
|
var(--color-foreground-primary)
|
|
139
134
|
);
|
|
140
135
|
}
|
|
141
136
|
|
|
142
|
-
.file-preview-
|
|
143
|
-
.file-preview-
|
|
137
|
+
.file-preview-card__see-more:focus-visible,
|
|
138
|
+
.file-preview-card__see-more:hover {
|
|
144
139
|
background-color: rgba(
|
|
145
140
|
var(
|
|
146
|
-
--file-preview-card-
|
|
141
|
+
--file-preview-card-see-more-interactive-background-color-rgb,
|
|
147
142
|
var(--color-state-secondary-hover-rgb)
|
|
148
143
|
),
|
|
149
144
|
0.5
|
|
150
145
|
);
|
|
151
146
|
}
|
|
152
147
|
|
|
153
|
-
.file-preview-
|
|
148
|
+
.file-preview-card__see-more:active {
|
|
154
149
|
background-color: rgba(
|
|
155
150
|
var(
|
|
156
|
-
--file-preview-card-
|
|
151
|
+
--file-preview-card-see-more-interactive-active-background-color-rgb,
|
|
157
152
|
var(--color-state-secondary-active-rgb)
|
|
158
153
|
),
|
|
159
154
|
0.5
|
|
160
155
|
);
|
|
161
156
|
}
|
|
157
|
+
|
|
158
|
+
.file-preview-card__footer {
|
|
159
|
+
display: grid;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.file-preview-card__footer > * {
|
|
163
|
+
overflow: hidden;
|
|
164
|
+
text-overflow: ellipsis;
|
|
165
|
+
white-space: nowrap;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.file-preview-card__footer > :not(:first-child) {
|
|
169
|
+
color: var(--color-foreground-secondary);
|
|
170
|
+
font-size: var(--font-size-small);
|
|
171
|
+
}
|