@trilogy-ds/styles 0.0.1-beta.5 → 0.0.1-beta.50
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/README.md +47 -0
- package/dist/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/base/_color.scss +14 -36
- package/framework/src/base/_generic.scss +4 -1
- package/framework/src/base/_helpers.scss +20 -37
- package/framework/src/base/_loading.scss +8 -1
- package/framework/src/base/_reset.scss +8 -3
- package/framework/src/components/_accordion.scss +40 -86
- package/framework/src/components/_all.scss +0 -6
- package/framework/src/components/_breadcrumb.scss +39 -34
- package/framework/src/components/_card.scss +7 -78
- package/framework/src/components/_countdown.scss +49 -47
- package/framework/src/components/_divider.scss +2 -2
- package/framework/src/components/_fab.scss +12 -26
- package/framework/src/components/_level.scss +1 -1
- package/framework/src/components/_media.scss +2 -2
- package/framework/src/components/_modal.scss +167 -166
- package/framework/src/components/_otp.scss +9 -28
- package/framework/src/components/_pagination.scss +104 -133
- package/framework/src/components/_plus-symbol.scss +1 -1
- package/framework/src/components/_popover.scss +255 -255
- package/framework/src/components/_price.scss +196 -166
- package/framework/src/components/_product-tour.scss +2 -4
- package/framework/src/components/_range.scss +73 -72
- package/framework/src/components/_segmented-control.scss +37 -51
- package/framework/src/components/_stepper.scss +18 -142
- package/framework/src/components/_tabs.scss +32 -59
- package/framework/src/components/_timeline.scss +52 -45
- package/framework/src/elements/_alert.scss +5 -8
- package/framework/src/elements/_all.scss +1 -3
- package/framework/src/elements/_autocomplete.scss +32 -0
- package/framework/src/elements/_badge.scss +54 -59
- package/framework/src/elements/_box.scss +8 -115
- package/framework/src/elements/_button.scss +15 -133
- package/framework/src/elements/_checkbox.scss +21 -27
- package/framework/src/elements/_chips.scss +74 -83
- package/framework/src/elements/_dot.scss +1 -1
- package/framework/src/elements/_entry.scss +76 -88
- package/framework/src/elements/_form.scss +17 -15
- package/framework/src/elements/_icon.scss +3 -3
- package/framework/src/elements/_input-gauge.scss +32 -33
- package/framework/src/elements/_input-icons.scss +33 -31
- package/framework/src/elements/_link.scss +38 -65
- package/framework/src/elements/_list.scss +38 -46
- package/framework/src/elements/_loader.scss +1 -1
- package/framework/src/elements/_other.scss +2 -2
- package/framework/src/elements/_paragraph.scss +4 -26
- package/framework/src/elements/_progress.scss +12 -21
- package/framework/src/elements/_radio.scss +2 -2
- package/framework/src/elements/_select.scss +84 -301
- package/framework/src/elements/_sticker.scss +12 -27
- package/framework/src/elements/_switch.scss +85 -88
- package/framework/src/elements/_table.scss +173 -226
- package/framework/src/elements/_tag.scss +104 -105
- package/framework/src/elements/_textarea.scss +95 -105
- package/framework/src/elements/_title.scss +89 -87
- package/framework/src/elements/_toaster.scss +3 -4
- package/framework/src/grid/_columns.scss +5 -5
- package/framework/src/layout/_all.scss +0 -1
- package/framework/src/layout/_hero.scss +109 -207
- package/framework/src/layout/_section.scss +7 -14
- package/framework/src/theming/_all.scss +3 -0
- package/framework/src/theming/buttons_partial.scss +30 -0
- package/framework/src/theming/common_partials.scss +9 -0
- package/framework/src/theming/links_partial.scss +20 -0
- package/framework/src/utilities/_all.scss +3 -0
- package/framework/src/utilities/_background.scss +15 -0
- package/framework/src/utilities/_controls.scss +37 -48
- package/framework/src/utilities/_derived-variables.scss +3 -14
- package/framework/src/utilities/_initial-variables.scss +22 -26
- package/framework/src/utilities/_mixins.scss +481 -593
- package/framework/src/utilities/_pre.scss +1 -0
- package/package.json +3 -2
- package/framework/src/components/_disclaimer.scss +0 -84
- package/framework/src/components/_dropdown.scss +0 -128
- package/framework/src/components/_menu.scss +0 -213
- package/framework/src/components/_search-modal.scss +0 -197
- package/framework/src/components/_slices.scss +0 -316
- package/framework/src/components/_slider.scss +0 -92
- package/framework/src/components/_switch.scss +0 -209
- package/framework/src/elements/_checkradio.scss +0 -173
- package/framework/src/elements/_notification.scss +0 -151
- package/framework/src/elements/_options.scss +0 -146
- package/framework/src/elements/_timeline.scss +0 -283
- package/framework/src/layout/_toolbar.scss +0 -100
|
@@ -1,182 +1,153 @@
|
|
|
1
1
|
.pagination {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
.pagination-link {
|
|
24
|
-
&.is-current {
|
|
25
|
-
background: getColor('alternate');
|
|
26
|
-
border-color: currentColor;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
2
|
+
font-size: $size-normal;
|
|
3
|
+
margin: -2.5px;
|
|
4
|
+
|
|
5
|
+
.pagination-previous,
|
|
6
|
+
.pagination-next {
|
|
7
|
+
padding-left: 1em;
|
|
8
|
+
padding-right: 1em;
|
|
9
|
+
height: 35px;
|
|
10
|
+
width: 35px;
|
|
11
|
+
border-radius: 9999px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.pagination-link {
|
|
15
|
+
height: 35px;
|
|
16
|
+
border-radius: 9999px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.pagination-list {
|
|
20
|
+
flex: 0 0 auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
31
23
|
}
|
|
32
24
|
|
|
33
25
|
.pagination,
|
|
34
26
|
.pagination-list {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
27
|
+
align-items: center;
|
|
28
|
+
display: flex;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
text-align: center;
|
|
39
31
|
}
|
|
40
32
|
|
|
41
33
|
.pagination-previous,
|
|
42
34
|
.pagination-next,
|
|
43
35
|
.pagination-link,
|
|
44
36
|
.pagination-ellipsis {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
37
|
+
@include control;
|
|
38
|
+
@include unselectable;
|
|
39
|
+
|
|
40
|
+
font-size: 1em;
|
|
41
|
+
padding-left: 0.5em;
|
|
42
|
+
padding-right: 0.5em;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
margin: 2.5px;
|
|
45
|
+
text-align: center;
|
|
54
46
|
}
|
|
55
47
|
|
|
56
48
|
.pagination-previous,
|
|
57
49
|
.pagination-next,
|
|
58
50
|
.pagination-link {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
min-width: 2.25em;
|
|
62
|
-
|
|
63
|
-
&:hover {
|
|
64
|
-
border-color: getColor('alternate');
|
|
65
|
-
}
|
|
51
|
+
color: getColor('neutral-dark');
|
|
52
|
+
min-width: 2.25em;
|
|
66
53
|
|
|
67
|
-
|
|
68
|
-
border-color: getVariantColor('alternate',2);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&:active {
|
|
72
|
-
box-shadow: inset 0 1px 2px getColor('grey-dark');
|
|
73
|
-
}
|
|
54
|
+
@include hover();
|
|
74
55
|
|
|
75
|
-
&[disabled] {
|
|
76
|
-
background-color: getColor('grey-lighter');
|
|
77
|
-
border-color: currentColor;
|
|
78
|
-
box-shadow: none;
|
|
79
|
-
color: getColor('grey');
|
|
80
|
-
opacity: 0.5;
|
|
81
|
-
}
|
|
82
56
|
}
|
|
83
57
|
|
|
84
58
|
.pagination-previous,
|
|
85
59
|
.pagination-next {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
60
|
+
padding-left: 0.75em;
|
|
61
|
+
padding-right: 0.75em;
|
|
62
|
+
white-space: nowrap;
|
|
89
63
|
}
|
|
90
64
|
|
|
91
65
|
.pagination-link {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
66
|
+
&[aria-current] {
|
|
67
|
+
background-color: getColor('font');
|
|
68
|
+
color: getColor('background');
|
|
69
|
+
|
|
70
|
+
#{$hoverSelector}, &:focus, &:focus-within {
|
|
71
|
+
background-color: getColor('hovered');
|
|
96
72
|
}
|
|
73
|
+
}
|
|
97
74
|
}
|
|
98
75
|
|
|
99
76
|
.pagination-ellipsis {
|
|
100
|
-
|
|
101
|
-
|
|
77
|
+
color: getColor('background');
|
|
78
|
+
pointer-events: none;
|
|
102
79
|
}
|
|
103
80
|
|
|
104
81
|
.pagination-list {
|
|
105
|
-
|
|
82
|
+
flex-wrap: wrap;
|
|
106
83
|
}
|
|
107
84
|
|
|
108
85
|
@include mobile {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
86
|
+
.pagination {
|
|
87
|
+
flex-wrap: wrap;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.pagination-previous,
|
|
91
|
+
.pagination-next {
|
|
92
|
+
flex-grow: 1;
|
|
93
|
+
flex-shrink: 1;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.pagination-list {
|
|
97
|
+
li {
|
|
98
|
+
flex-grow: 1;
|
|
99
|
+
flex-shrink: 1;
|
|
124
100
|
}
|
|
101
|
+
}
|
|
125
102
|
}
|
|
126
103
|
|
|
127
104
|
@include tablet {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
105
|
+
.pagination-list {
|
|
106
|
+
flex-grow: 1;
|
|
107
|
+
flex-shrink: 1;
|
|
108
|
+
justify-content: flex-start;
|
|
109
|
+
order: 1;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.pagination-previous {
|
|
113
|
+
order: 2;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.pagination-next {
|
|
117
|
+
order: 3;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.pagination {
|
|
121
|
+
justify-content: space-between;
|
|
122
|
+
|
|
123
|
+
&.is-centered {
|
|
124
|
+
.pagination-previous {
|
|
132
125
|
order: 1;
|
|
133
|
-
|
|
126
|
+
}
|
|
134
127
|
|
|
135
|
-
|
|
128
|
+
.pagination-list {
|
|
129
|
+
justify-content: center;
|
|
136
130
|
order: 2;
|
|
137
|
-
|
|
131
|
+
}
|
|
138
132
|
|
|
139
|
-
|
|
133
|
+
.pagination-next {
|
|
140
134
|
order: 3;
|
|
135
|
+
}
|
|
141
136
|
}
|
|
142
137
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
.pagination-previous {
|
|
148
|
-
order: 1;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.pagination-list {
|
|
152
|
-
justify-content: center;
|
|
153
|
-
order: 2;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.pagination-next {
|
|
157
|
-
order: 3;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&.is-right {
|
|
162
|
-
.pagination-previous {
|
|
163
|
-
order: 1;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.pagination-next {
|
|
167
|
-
order: 2;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.pagination-list {
|
|
171
|
-
justify-content: flex-end;
|
|
172
|
-
order: 3;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
138
|
+
&.is-right {
|
|
139
|
+
.pagination-previous {
|
|
140
|
+
order: 1;
|
|
141
|
+
}
|
|
177
142
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
143
|
+
.pagination-next {
|
|
144
|
+
order: 2;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.pagination-list {
|
|
148
|
+
justify-content: flex-end;
|
|
149
|
+
order: 3;
|
|
150
|
+
}
|
|
181
151
|
}
|
|
152
|
+
}
|
|
182
153
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
$plus-symbol-size: 40px;
|
|
2
2
|
|
|
3
|
-
@mixin plus-symbol($color:
|
|
3
|
+
@mixin plus-symbol($color: getBGColor('neutral-dark'), $text-color: getColor('neutral-dark')) {
|
|
4
4
|
&::after {
|
|
5
5
|
content: "+";
|
|
6
6
|
display: inline-block;
|