@egovernments/digit-ui-components-css 0.0.2-beta.43 → 0.0.2-beta.45

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.
@@ -1,83 +0,0 @@
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
- }