@egovernments/digit-ui-components-css 0.0.2-beta.7 → 0.2.0-beta.1
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/CHANGELOG.md +154 -0
- package/README.md +11 -2
- package/dist/index.css +10789 -3684
- package/dist/index.min.css +3 -3
- package/package.json +8 -8
- package/src/digitv2/components/accordionV2.scss +214 -0
- package/src/digitv2/components/{infoCardV2.scss → alertCardV2.scss} +1 -4
- package/src/digitv2/components/backLinkV2.scss +1 -1
- package/src/digitv2/components/bottomSheetV2.scss +121 -0
- package/src/digitv2/components/breadcrumbV2.scss +38 -0
- package/src/digitv2/components/buttonsV2.scss +85 -29
- package/src/digitv2/components/cardV2.scss +498 -0
- package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
- package/src/digitv2/components/cardlabelV2.scss +8 -0
- package/src/digitv2/components/checkboxV2.scss +54 -6
- package/src/digitv2/components/chipV2.scss +39 -0
- package/src/digitv2/components/dividerV2.scss +13 -0
- package/src/digitv2/components/errorMessageV2.scss +29 -8
- package/src/digitv2/components/fieldV1.scss +52 -2
- package/src/digitv2/components/{uploaderV2.scss → fileUploadV2.scss} +209 -22
- package/src/digitv2/components/filterCardV2.scss +417 -0
- package/src/digitv2/components/footerV2.scss +208 -0
- package/src/digitv2/components/formCardV2.scss +234 -0
- package/src/digitv2/components/hamburgerV2.scss +555 -0
- package/src/digitv2/components/headerV2.scss +426 -0
- package/src/digitv2/components/headerdropdownV2.scss +233 -0
- package/src/digitv2/components/labelFieldPairV2.scss +45 -11
- package/src/digitv2/components/landingpagecardV2.scss +278 -0
- package/src/digitv2/components/loaderV2.scss +47 -0
- package/src/digitv2/components/menuCardV2.scss +116 -0
- package/src/digitv2/components/metricCardV2.scss +151 -0
- package/src/digitv2/components/mobileNumberV2.scss +1 -1
- package/src/digitv2/components/multiSelectDropdownV2.scss +225 -9
- package/src/digitv2/components/otpInputV2.scss +99 -0
- package/src/digitv2/components/panelCardV2.scss +19 -0
- package/src/digitv2/components/panelV2.scss +19 -0
- package/src/digitv2/components/popUpV2.scss +86 -2
- package/src/digitv2/components/radiobtnV2.scss +35 -6
- package/src/digitv2/components/selectDropdownV2.scss +258 -14
- package/src/digitv2/components/selectionTagV2.scss +102 -0
- package/src/digitv2/components/sidePanelV2.scss +222 -0
- package/src/digitv2/components/sidenavV2.scss +516 -0
- package/src/digitv2/components/stepperV2.scss +106 -6
- package/src/digitv2/components/summaryCardFieldPairV2.scss +83 -0
- package/src/digitv2/components/summaryCardV2.scss +100 -0
- package/src/digitv2/components/switchV2.scss +112 -0
- package/src/digitv2/components/tabV2.scss +126 -0
- package/src/digitv2/components/tableV2.scss +697 -0
- package/src/digitv2/components/tagV2.scss +108 -0
- package/src/digitv2/components/textInputV2.scss +5 -3
- package/src/digitv2/components/textareaV2.scss +1 -1
- package/src/digitv2/components/textblockV2.scss +38 -0
- package/src/digitv2/components/timelineV2.scss +145 -15
- package/src/digitv2/components/toastV2.scss +79 -1
- package/src/digitv2/components/toggleV2.scss +38 -0
- package/src/digitv2/components/tooltipwrapperV2.scss +365 -0
- package/src/digitv2/components/treeSelectV2.scss +58 -1
- package/src/digitv2/index.scss +175 -9
- package/src/digitv2/pages/employee/inboxsearchcomposer.scss +409 -0
- package/src/digitv2/pages/employee/index.scss +2 -0
- package/src/digitv2/pages/employee/reactdatatable.scss +132 -0
- package/src/digitv2/pages/employee/workbench.scss +10 -10
- package/src/digitv2/typography.scss +24 -9
- package/src/index.scss +0 -4
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
.digit-viewcard-field-pair{
|
|
2
|
+
@apply w-full flex-col;
|
|
3
|
+
display: flex;
|
|
4
|
+
height: fit-content;
|
|
5
|
+
background-color: transparent;
|
|
6
|
+
gap: theme(digitv2.spacers.spacer1);
|
|
7
|
+
|
|
8
|
+
.digit-viewcard-label{
|
|
9
|
+
@extend .typography.heading-s;
|
|
10
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
11
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
12
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
13
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
14
|
+
|
|
15
|
+
@media (max-aspect-ratio: 9/16) {
|
|
16
|
+
/* Media query for mobile */
|
|
17
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
21
|
+
/* Media query for tablets */
|
|
22
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media (min-aspect-ratio: 3/4) {
|
|
26
|
+
/* Media query for desktop */
|
|
27
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
28
|
+
}
|
|
29
|
+
@apply whitespace-pre-wrap break-words w-full;
|
|
30
|
+
word-break: break-word;
|
|
31
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.digit-viewcard-value{
|
|
35
|
+
@extend .typography.body-s;
|
|
36
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
37
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
38
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
39
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
40
|
+
|
|
41
|
+
@media (max-aspect-ratio: 9/16) {
|
|
42
|
+
/* Media query for mobile */
|
|
43
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
47
|
+
/* Media query for tablets */
|
|
48
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@media (min-aspect-ratio: 3/4) {
|
|
52
|
+
/* Media query for desktop */
|
|
53
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
54
|
+
}
|
|
55
|
+
@apply whitespace-pre-wrap break-words w-full;
|
|
56
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.inline{
|
|
60
|
+
flex-direction: row;
|
|
61
|
+
|
|
62
|
+
@media (min-width: 48rem) {
|
|
63
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
67
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@media (max-width: 30rem) {
|
|
71
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.digit-viewcard-label{
|
|
75
|
+
width: 20%;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.digit-viewcard-value{
|
|
79
|
+
width: 80%;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
.digit-view-card {
|
|
2
|
+
.digit-view-card-header {
|
|
3
|
+
@extend .typography.heading-l;
|
|
4
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
5
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
6
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
7
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
8
|
+
|
|
9
|
+
@media (max-aspect-ratio: 9/16) {
|
|
10
|
+
/* Media query for mobile */
|
|
11
|
+
font-size: theme(digitv2.fontSize.heading-l.mobile);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
15
|
+
/* Media query for tablets */
|
|
16
|
+
font-size: theme(digitv2.fontSize.heading-l.tablet);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media (min-aspect-ratio: 3/4) {
|
|
20
|
+
/* Media query for desktop */
|
|
21
|
+
font-size: theme(digitv2.fontSize.heading-l.desktop);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
padding-bottom: theme(digitv2.spacers.spacer2);
|
|
25
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
26
|
+
line-height: normal;
|
|
27
|
+
|
|
28
|
+
@media (max-width: 30rem) {
|
|
29
|
+
padding-bottom: theme(digitv2.spacers.spacer1);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.digit-view-card-subheader {
|
|
34
|
+
@extend .typography.heading-m;
|
|
35
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
36
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
37
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
38
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
39
|
+
|
|
40
|
+
@media (max-aspect-ratio: 9/16) {
|
|
41
|
+
/* Media query for mobile */
|
|
42
|
+
font-size: theme(digitv2.fontSize.heading-m.mobile);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
46
|
+
/* Media query for tablets */
|
|
47
|
+
font-size: theme(digitv2.fontSize.heading-m.tablet);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@media (min-aspect-ratio: 3/4) {
|
|
51
|
+
/* Media query for desktop */
|
|
52
|
+
font-size: theme(digitv2.fontSize.heading-m.desktop);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
56
|
+
line-height: normal;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.view-card-field-pairs {
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
63
|
+
position: relative;
|
|
64
|
+
|
|
65
|
+
&.two-column-layout {
|
|
66
|
+
display: grid;
|
|
67
|
+
grid-template-columns: repeat(2, 1fr);
|
|
68
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
69
|
+
|
|
70
|
+
&.with-divider{
|
|
71
|
+
grid-column-gap:theme(digitv2.spacers.spacer8);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.vertical-summarycard-divider {
|
|
76
|
+
position: absolute;
|
|
77
|
+
height: 100%;
|
|
78
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
79
|
+
z-index: 1;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.seperate-card-sections {
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
|
|
88
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
89
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@media (min-aspect-ratio: 3/4) {
|
|
93
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@media (max-aspect-ratio: 9/16) {
|
|
97
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
.digit-switch-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.digit-switch {
|
|
7
|
+
width: theme(digitv2.spacers.spacer11);
|
|
8
|
+
height: theme(digitv2.spacers.spacer6);
|
|
9
|
+
background-color: #BFBFBF;
|
|
10
|
+
border-radius: theme(digitv2.spacers.spacer4);
|
|
11
|
+
position: relative;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
transition: background-color 0.2s ease;
|
|
14
|
+
flex-shrink: 0;
|
|
15
|
+
animation-timing-function: ease-out;
|
|
16
|
+
animation-duration: 150ms;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
|
|
21
|
+
&:focus-within{
|
|
22
|
+
outline: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.switch-disabled{
|
|
26
|
+
background-color: theme(digitv2.lightTheme.text-disabled);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.digit-switch.checked {
|
|
31
|
+
background-color: theme(digitv2.lightTheme.primary-1);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.digit-switch-toggle {
|
|
35
|
+
width: 1.125rem;
|
|
36
|
+
height: 1.125rem;
|
|
37
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
38
|
+
border-radius: 50%;
|
|
39
|
+
position: absolute;
|
|
40
|
+
left: 0.125rem;
|
|
41
|
+
transition: left 0.2s ease;
|
|
42
|
+
box-shadow: theme(digitv2.spacers.spacer0) 0.125rem theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer0) #00230B33;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.digit-switch.checked .digit-switch-toggle {
|
|
46
|
+
left: theme(digitv2.spacers.spacer6);
|
|
47
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.digit-switch-label {
|
|
51
|
+
@extend .typography.body-s;
|
|
52
|
+
margin-left: theme(digitv2.spacers.spacer2);
|
|
53
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
54
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
55
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
56
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
57
|
+
|
|
58
|
+
@media (max-aspect-ratio: 9/16) {
|
|
59
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
63
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@media (min-aspect-ratio: 3/4) {
|
|
67
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@apply text-left;
|
|
71
|
+
word-break: break-word;
|
|
72
|
+
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
73
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
74
|
+
|
|
75
|
+
&.labelFirst{
|
|
76
|
+
margin:theme(digitv2.spacers.spacer0);
|
|
77
|
+
margin-right:theme(digitv2.spacers.spacer2);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
.digit-switch-shape-on {
|
|
83
|
+
position: absolute;
|
|
84
|
+
top: theme(digitv2.spacers.spacer2);
|
|
85
|
+
width: 0.125rem;
|
|
86
|
+
height: theme(digitv2.spacers.spacer2);
|
|
87
|
+
border-radius: 0.063rem;
|
|
88
|
+
left: 0.625rem;
|
|
89
|
+
background-color: theme(digitv2.lightTheme.primary-bg);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.digit-switch-shape-off {
|
|
93
|
+
position: absolute;
|
|
94
|
+
top: theme(digitv2.spacers.spacer2);
|
|
95
|
+
width: theme(digitv2.spacers.spacer2);
|
|
96
|
+
height: theme(digitv2.spacers.spacer2);
|
|
97
|
+
right: theme(digitv2.spacers.spacer2);
|
|
98
|
+
background-color: transparent;
|
|
99
|
+
border-radius: 50%;
|
|
100
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-background);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.digit-switch-container.switch-disabled {
|
|
104
|
+
.digit-switch {
|
|
105
|
+
cursor: not-allowed;
|
|
106
|
+
pointer-events: none;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.digit-switch-label {
|
|
110
|
+
color: theme(digitv2.lightTheme.text-disabled);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
.digit-tab {
|
|
2
|
+
display: flex;
|
|
3
|
+
height: fit-content;
|
|
4
|
+
overflow: auto;
|
|
5
|
+
align-items: flex-end;
|
|
6
|
+
|
|
7
|
+
.digit-tab-list {
|
|
8
|
+
|
|
9
|
+
height: 3.75rem;
|
|
10
|
+
|
|
11
|
+
.digit-tab-item {
|
|
12
|
+
display: flex;
|
|
13
|
+
width: 100%;
|
|
14
|
+
min-height: 3.75rem;
|
|
15
|
+
padding: theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer6);
|
|
16
|
+
height: 3.75rem;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
20
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
|
|
21
|
+
border-radius: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer0);
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
gap: theme(digitv2.spacers.spacer1);
|
|
24
|
+
|
|
25
|
+
.digit-tab-icon {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
|
|
29
|
+
svg {
|
|
30
|
+
flex-shrink: 0;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
justify-content: center;
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
.digit-tab-label {
|
|
39
|
+
@extend .typography.body-s;
|
|
40
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
41
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
42
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
43
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
44
|
+
|
|
45
|
+
@media (max-aspect-ratio: 9/16) {
|
|
46
|
+
/* Media query for mobile */
|
|
47
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
52
|
+
/* Media query for tablets */
|
|
53
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
@media (min-aspect-ratio: 3/4) {
|
|
59
|
+
/* Media query for desktop */
|
|
60
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
64
|
+
white-space: noWrap;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
text-overflow: ellipsis;
|
|
67
|
+
line-height: normal;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.active {
|
|
72
|
+
height: 4rem;
|
|
73
|
+
|
|
74
|
+
.digit-tab-item {
|
|
75
|
+
border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
|
|
76
|
+
border-bottom: theme(digitv2.spacers.spacer1) solid theme(digitv2.lightTheme.primary-1);
|
|
77
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
78
|
+
height: 4rem;
|
|
79
|
+
min-height: 4rem;
|
|
80
|
+
|
|
81
|
+
.digit-tab-label {
|
|
82
|
+
@extend .typography.heading-s;
|
|
83
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
84
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
85
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
86
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
87
|
+
|
|
88
|
+
@media (max-aspect-ratio: 9/16) {
|
|
89
|
+
/* Media query for mobile */
|
|
90
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
94
|
+
/* Media query for tablets */
|
|
95
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@media (min-aspect-ratio: 3/4) {
|
|
99
|
+
/* Media query for desktop */
|
|
100
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
101
|
+
}
|
|
102
|
+
color: theme(digitv2.lightTheme.primary-1);
|
|
103
|
+
white-space: noWrap;
|
|
104
|
+
overflow: hidden;
|
|
105
|
+
text-overflow: ellipsis;
|
|
106
|
+
line-height: normal;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.digit-tab::-webkit-scrollbar {
|
|
114
|
+
height: 0.375rem;
|
|
115
|
+
background-color: transparent;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.digit-tab::-webkit-scrollbar-track {
|
|
119
|
+
background-color: transparent;
|
|
120
|
+
border-radius: 0.563rem;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.digit--tab::-webkit-scrollbar-thumb {
|
|
124
|
+
background-color: transparent;
|
|
125
|
+
border-radius: 0.563rem;
|
|
126
|
+
}
|