@1024pix/pix-ui 14.3.0 → 14.5.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/CHANGELOG.md +22 -0
- package/addon/components/pix-stars.hbs +7 -1
- package/addon/styles/_colors.scss +486 -66
- package/addon/styles/_form.scss +15 -16
- package/addon/styles/_pix-background-header.scss +4 -3
- package/addon/styles/_pix-banner.scss +11 -11
- package/addon/styles/_pix-block.scss +5 -5
- package/addon/styles/_pix-button-base.scss +33 -26
- package/addon/styles/_pix-button-link.scss +0 -1
- package/addon/styles/_pix-button.scss +10 -7
- package/addon/styles/_pix-collapsible.scss +11 -10
- package/addon/styles/_pix-dropdown.scss +18 -18
- package/addon/styles/_pix-filter-banner.scss +8 -8
- package/addon/styles/_pix-icon-button.scss +12 -9
- package/addon/styles/_pix-input-code.scss +10 -10
- package/addon/styles/_pix-input-password.scss +6 -6
- package/addon/styles/_pix-input.scss +7 -7
- package/addon/styles/_pix-message.scss +10 -10
- package/addon/styles/_pix-modal.scss +9 -9
- package/addon/styles/_pix-multi-select.scss +27 -28
- package/addon/styles/_pix-pagination.scss +3 -2
- package/addon/styles/_pix-progress-gauge.scss +15 -14
- package/addon/styles/_pix-radio-button.scss +12 -12
- package/addon/styles/_pix-return-to.scss +33 -15
- package/addon/styles/_pix-select.scss +3 -3
- package/addon/styles/_pix-selectable-tag.scss +26 -27
- package/addon/styles/_pix-stars.scss +7 -7
- package/addon/styles/_pix-tag.scss +12 -12
- package/addon/styles/_pix-textarea.scss +4 -4
- package/addon/styles/_pix-tooltip.scss +24 -24
- package/addon/styles/_typography.scss +2 -2
- package/addon/styles/addon.scss +1 -1
- package/addon/styles/{design-tokens.scss → pix-design-tokens.scss} +0 -0
- package/app/stories/pix-input.stories.mdx +27 -0
- package/docs/colors-palette.stories.mdx +239 -0
- package/docs/design-tokens.stories.mdx +35 -7
- package/docs/{design-tokens-dev.stories.mdx → pix-design-tokens-dev.stories.mdx} +3 -3
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
&__label {
|
|
9
9
|
font-family: $font-roboto;
|
|
10
10
|
font-size: 0.875rem;
|
|
11
|
-
color: $
|
|
11
|
+
color: $pix-neutral-70;
|
|
12
12
|
margin-bottom: 4px;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
font-family: $font-roboto;
|
|
17
17
|
font-size: 0.75rem;
|
|
18
18
|
margin-top: 4px;
|
|
19
|
-
color: $
|
|
19
|
+
color: $pix-neutral-60;
|
|
20
20
|
|
|
21
21
|
display: block;
|
|
22
22
|
}
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
position: absolute;
|
|
30
30
|
bottom: 10px;
|
|
31
31
|
right: 6px;
|
|
32
|
-
color: $
|
|
33
|
-
background: $
|
|
32
|
+
color: $pix-neutral-0;
|
|
33
|
+
background: $pix-error-70;
|
|
34
34
|
border-radius: 50%;
|
|
35
35
|
font-size: 0.6rem;
|
|
36
36
|
padding: 2px;
|
|
@@ -44,21 +44,21 @@
|
|
|
44
44
|
bottom: calc(-4px - 1px - 0.75rem);
|
|
45
45
|
|
|
46
46
|
&.pix-input__error-message {
|
|
47
|
-
margin-top:4px;
|
|
47
|
+
margin-top: 4px;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
input {
|
|
52
52
|
width: 100%;
|
|
53
53
|
height: 36px;
|
|
54
|
-
border: 1px solid $
|
|
54
|
+
border: 1px solid $pix-neutral-40;
|
|
55
55
|
|
|
56
56
|
@include input();
|
|
57
57
|
@include hoverFormElement();
|
|
58
58
|
@include focusFormElement();
|
|
59
59
|
|
|
60
60
|
&::placeholder {
|
|
61
|
-
color: $
|
|
61
|
+
color: $pix-neutral-30;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
&.pix-input__input--error {
|
|
@@ -9,24 +9,24 @@
|
|
|
9
9
|
display: flex;
|
|
10
10
|
|
|
11
11
|
&.pix-message--info {
|
|
12
|
-
color: $
|
|
13
|
-
background-color: $
|
|
12
|
+
color: $pix-primary-70;
|
|
13
|
+
background-color: $pix-primary-10;
|
|
14
14
|
}
|
|
15
15
|
&.pix-message--alert {
|
|
16
|
-
color: $
|
|
17
|
-
background-color: $
|
|
16
|
+
color: $pix-error-70;
|
|
17
|
+
background-color: $pix-error-10;
|
|
18
18
|
}
|
|
19
19
|
&.pix-message--error {
|
|
20
|
-
color: $
|
|
21
|
-
background-color: $
|
|
20
|
+
color: $pix-error-70;
|
|
21
|
+
background-color: $pix-error-10;
|
|
22
22
|
}
|
|
23
23
|
&.pix-message--success {
|
|
24
|
-
color: $
|
|
25
|
-
background-color: $
|
|
24
|
+
color: $pix-success-70;
|
|
25
|
+
background-color: $pix-success-10;
|
|
26
26
|
}
|
|
27
27
|
&.pix-message--warning {
|
|
28
|
-
color: $
|
|
29
|
-
background-color: $
|
|
28
|
+
color: $pix-warning-60;
|
|
29
|
+
background-color: $pix-warning-10;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
svg {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.pix-modal__overlay {
|
|
2
|
-
background-color: rgba(52, 69, 99, .7);
|
|
2
|
+
background-color: rgba(52, 69, 99, 0.7);
|
|
3
3
|
bottom: 0;
|
|
4
4
|
left: 0;
|
|
5
5
|
overflow-y: scroll;
|
|
@@ -16,15 +16,15 @@ $space-between-title-and-close-button: 8px;
|
|
|
16
16
|
$button-margin: 16px;
|
|
17
17
|
|
|
18
18
|
.pix-modal {
|
|
19
|
-
@import
|
|
20
|
-
box-shadow: 1px 1px 5px rgba(0,0,0
|
|
19
|
+
@import 'reset-css';
|
|
20
|
+
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
|
|
21
21
|
margin: 20vh auto;
|
|
22
22
|
max-width: 512px;
|
|
23
23
|
width: calc(100% - 24px);
|
|
24
24
|
|
|
25
25
|
&__header {
|
|
26
|
-
background: $
|
|
27
|
-
border-bottom: 1px solid $
|
|
26
|
+
background: $pix-neutral-0;
|
|
27
|
+
border-bottom: 1px solid $pix-neutral-20;
|
|
28
28
|
border-top-left-radius: 4px;
|
|
29
29
|
border-top-right-radius: 4px;
|
|
30
30
|
padding: $modal-padding;
|
|
@@ -46,7 +46,7 @@ $button-margin: 16px;
|
|
|
46
46
|
&__title {
|
|
47
47
|
margin-bottom: 0;
|
|
48
48
|
font-family: $font-open-sans;
|
|
49
|
-
color: $
|
|
49
|
+
color: $pix-neutral-90;
|
|
50
50
|
font-size: 1.25rem;
|
|
51
51
|
line-height: 1.875rem;
|
|
52
52
|
font-weight: $font-normal;
|
|
@@ -58,10 +58,10 @@ $button-margin: 16px;
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
&__content {
|
|
61
|
-
background-color: $
|
|
61
|
+
background-color: $pix-neutral-10;
|
|
62
62
|
padding: $modal-padding;
|
|
63
63
|
font-size: 0.875rem;
|
|
64
|
-
color: $
|
|
64
|
+
color: $pix-neutral-90;
|
|
65
65
|
line-height: 1.375rem;
|
|
66
66
|
font-family: $font-roboto;
|
|
67
67
|
font-weight: $font-normal;
|
|
@@ -72,7 +72,7 @@ $button-margin: 16px;
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
&__footer {
|
|
75
|
-
background-color: $
|
|
75
|
+
background-color: $pix-neutral-10;
|
|
76
76
|
padding: 0 $modal-padding $modal-padding - $button-margin;
|
|
77
77
|
border-bottom-left-radius: 4px;
|
|
78
78
|
border-bottom-right-radius: 4px;
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
font-family: $font-roboto;
|
|
17
17
|
font-weight: $font-normal;
|
|
18
18
|
position: relative;
|
|
19
|
-
border: 1px $
|
|
19
|
+
border: 1px $pix-neutral-40 solid;
|
|
20
20
|
height: 36px;
|
|
21
21
|
padding: 0px 32px 0px 16px;
|
|
22
22
|
width: 100%;
|
|
23
|
-
background-color: $
|
|
23
|
+
background-color: $pix-neutral-0;
|
|
24
24
|
border-radius: 4px;
|
|
25
25
|
outline: none;
|
|
26
26
|
font-size: 0.875rem;
|
|
27
27
|
cursor: pointer;
|
|
28
|
-
color: $
|
|
28
|
+
color: $pix-neutral-90;
|
|
29
29
|
|
|
30
30
|
@include hoverFormElement();
|
|
31
31
|
@include focusWithinFormElement();
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
&__search-icon {
|
|
38
|
-
color: $
|
|
38
|
+
color: $pix-neutral-30;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
&__title {
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
padding: 0 10px;
|
|
54
54
|
border-radius: 3px;
|
|
55
55
|
font-size: 0.875rem;
|
|
56
|
-
color: $
|
|
56
|
+
color: $pix-neutral-90;
|
|
57
57
|
background: transparent;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
&__dropdown-icon {
|
|
61
61
|
font-size: 11px;
|
|
62
|
-
color: $
|
|
62
|
+
color: $pix-neutral-30;
|
|
63
63
|
right: 10px;
|
|
64
64
|
top: calc(50% - 6px);
|
|
65
65
|
padding: 0 0 2px;
|
|
@@ -67,17 +67,16 @@
|
|
|
67
67
|
pointer-events: none;
|
|
68
68
|
|
|
69
69
|
&--expand {
|
|
70
|
-
color: $
|
|
70
|
+
color: $pix-primary;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
|
|
76
75
|
.pix-multi-select-list {
|
|
77
76
|
width: 100%;
|
|
78
77
|
margin: 0px;
|
|
79
78
|
z-index: 200;
|
|
80
|
-
background-color: $
|
|
79
|
+
background-color: $pix-neutral-0;
|
|
81
80
|
position: absolute;
|
|
82
81
|
border-top: none;
|
|
83
82
|
border-radius: 0 0 4px 4px;
|
|
@@ -89,47 +88,47 @@
|
|
|
89
88
|
|
|
90
89
|
&--hidden {
|
|
91
90
|
display: none;
|
|
92
|
-
}
|
|
91
|
+
}
|
|
93
92
|
|
|
94
93
|
&::-webkit-scrollbar {
|
|
95
94
|
width: 11px;
|
|
96
95
|
}
|
|
97
96
|
&::-webkit-scrollbar-track {
|
|
98
97
|
border-radius: 4px;
|
|
99
|
-
border: 1px solid $
|
|
100
|
-
background: $
|
|
98
|
+
border: 1px solid $pix-neutral-20;
|
|
99
|
+
background: $pix-neutral-0;
|
|
101
100
|
}
|
|
102
101
|
&::-webkit-scrollbar-thumb {
|
|
103
102
|
border-radius: 4px;
|
|
104
|
-
background: $
|
|
103
|
+
background: $pix-neutral-30;
|
|
105
104
|
}
|
|
106
105
|
&::-webkit-scrollbar-thumb:hover {
|
|
107
|
-
background: $
|
|
106
|
+
background: $pix-neutral-35;
|
|
108
107
|
}
|
|
109
108
|
|
|
110
109
|
li.pix-multi-select-list__item {
|
|
111
110
|
font-family: $font-roboto;
|
|
112
111
|
position: relative;
|
|
113
|
-
border-bottom: 1px solid $
|
|
112
|
+
border-bottom: 1px solid $pix-neutral-15;
|
|
114
113
|
list-style: none;
|
|
115
114
|
font-size: 0.9rem;
|
|
116
115
|
|
|
117
|
-
@include hoverFormElement();
|
|
116
|
+
@include hoverFormElement();
|
|
118
117
|
|
|
119
118
|
&--no-result {
|
|
120
119
|
text-align: center;
|
|
121
120
|
padding: 12px 0;
|
|
122
121
|
}
|
|
123
|
-
|
|
122
|
+
|
|
124
123
|
&:last-of-type {
|
|
125
124
|
border-bottom: none;
|
|
126
125
|
}
|
|
127
126
|
}
|
|
128
|
-
|
|
127
|
+
|
|
129
128
|
&__checkbox {
|
|
130
129
|
position: absolute;
|
|
131
130
|
opacity: 0;
|
|
132
|
-
|
|
131
|
+
|
|
133
132
|
& + label {
|
|
134
133
|
position: relative;
|
|
135
134
|
display: flex;
|
|
@@ -137,7 +136,7 @@
|
|
|
137
136
|
padding: 11px 16px;
|
|
138
137
|
cursor: pointer;
|
|
139
138
|
}
|
|
140
|
-
|
|
139
|
+
|
|
141
140
|
& + label:before {
|
|
142
141
|
content: '';
|
|
143
142
|
margin-right: 12px;
|
|
@@ -146,15 +145,15 @@
|
|
|
146
145
|
min-width: 16px;
|
|
147
146
|
min-height: 16px;
|
|
148
147
|
border-radius: 4px;
|
|
149
|
-
background: $
|
|
150
|
-
border: 1px solid $
|
|
148
|
+
background: $pix-neutral-0;
|
|
149
|
+
border: 1px solid $pix-neutral-20;
|
|
151
150
|
}
|
|
152
|
-
|
|
151
|
+
|
|
153
152
|
&:checked + label:before {
|
|
154
|
-
background: $
|
|
155
|
-
border-color: $
|
|
153
|
+
background: $pix-primary;
|
|
154
|
+
border-color: $pix-primary;
|
|
156
155
|
}
|
|
157
|
-
|
|
156
|
+
|
|
158
157
|
&:checked + label:after {
|
|
159
158
|
position: absolute;
|
|
160
159
|
top: calc(50% - 5px);
|
|
@@ -162,7 +161,7 @@
|
|
|
162
161
|
width: 7px;
|
|
163
162
|
height: 5px;
|
|
164
163
|
background: transparent;
|
|
165
|
-
border: 2px solid $
|
|
164
|
+
border: 2px solid $pix-neutral-0;
|
|
166
165
|
border-top: none;
|
|
167
166
|
border-right: none;
|
|
168
167
|
transform: rotate(-45deg);
|
|
@@ -173,7 +172,7 @@
|
|
|
173
172
|
& + label {
|
|
174
173
|
padding: 11px 36px;
|
|
175
174
|
}
|
|
176
|
-
|
|
175
|
+
|
|
177
176
|
&:checked + label:after {
|
|
178
177
|
left: 41px;
|
|
179
178
|
}
|
|
@@ -7,13 +7,14 @@
|
|
|
7
7
|
&__sub-title {
|
|
8
8
|
font-size: 0.813rem;
|
|
9
9
|
font-weight: $font-light;
|
|
10
|
-
color: $
|
|
10
|
+
color: $pix-warning-40;
|
|
11
11
|
margin: 6px 0;
|
|
12
12
|
letter-spacing: 0.4px;
|
|
13
13
|
text-transform: uppercase;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
&__marker,
|
|
16
|
+
&__marker,
|
|
17
|
+
&__referrer {
|
|
17
18
|
height: 4px;
|
|
18
19
|
border-radius: 5px;
|
|
19
20
|
text-align: right;
|
|
@@ -54,31 +55,31 @@
|
|
|
54
55
|
|
|
55
56
|
&--white {
|
|
56
57
|
& .progress-gauge__referrer {
|
|
57
|
-
background-color: lighten($
|
|
58
|
+
background-color: lighten($pix-primary, 15%);
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
& .progress-gauge__marker {
|
|
61
|
-
background: $
|
|
62
|
+
background: $pix-neutral-0;
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
& .progress-gauge__tooltip {
|
|
65
|
-
background: $
|
|
66
|
-
color: $
|
|
66
|
+
background: $pix-neutral-0;
|
|
67
|
+
color: $pix-primary;
|
|
67
68
|
|
|
68
69
|
&::before {
|
|
69
|
-
color: $
|
|
70
|
-
border-top-color: $
|
|
70
|
+
color: $pix-neutral-0;
|
|
71
|
+
border-top-color: $pix-neutral-0;
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
& .progress-gauge__sub-title {
|
|
75
|
-
color: $
|
|
76
|
+
color: $pix-neutral-0;
|
|
76
77
|
}
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
&--yellow {
|
|
80
81
|
& .progress-gauge__referrer {
|
|
81
|
-
background-color: $
|
|
82
|
+
background-color: $pix-neutral-20;
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
& .progress-gauge__marker {
|
|
@@ -87,16 +88,16 @@
|
|
|
87
88
|
|
|
88
89
|
& .progress-gauge__tooltip {
|
|
89
90
|
background: $pix-yellow-gradient;
|
|
90
|
-
color: $
|
|
91
|
+
color: $pix-neutral-0;
|
|
91
92
|
|
|
92
93
|
&::before {
|
|
93
|
-
color: $
|
|
94
|
-
border-top-color: $
|
|
94
|
+
color: $pix-warning-40;
|
|
95
|
+
border-top-color: $pix-warning-40;
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
& .progress-gauge__sub-title {
|
|
99
|
-
color: $
|
|
100
|
+
color: $pix-warning-40;
|
|
100
101
|
}
|
|
101
102
|
}
|
|
102
103
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
cursor: pointer;
|
|
3
3
|
font-family: $font-roboto;
|
|
4
4
|
font-size: 0.875rem;
|
|
5
|
-
color: $
|
|
5
|
+
color: $pix-neutral-70;
|
|
6
6
|
|
|
7
7
|
label {
|
|
8
8
|
display: flex;
|
|
@@ -16,34 +16,34 @@
|
|
|
16
16
|
width: 18px;
|
|
17
17
|
height: 18px;
|
|
18
18
|
margin: 0 10px 0 0;
|
|
19
|
-
border: 1px solid $
|
|
19
|
+
border: 1px solid $pix-neutral-70;
|
|
20
20
|
cursor: pointer;
|
|
21
21
|
background-color: transparent;
|
|
22
22
|
|
|
23
23
|
&:hover {
|
|
24
|
-
background-color: $
|
|
25
|
-
box-shadow: 0 0 0 8px $
|
|
24
|
+
background-color: $pix-neutral-15;
|
|
25
|
+
box-shadow: 0 0 0 8px $pix-neutral-15;
|
|
26
26
|
transition: all 0.3s ease;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&:focus-visible {
|
|
30
|
-
box-shadow: $
|
|
30
|
+
box-shadow: $pix-neutral-0 0 0 0 2px, $pix-primary 0 0 0 4px;
|
|
31
31
|
outline: none;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
&:active {
|
|
35
|
-
border-color: $
|
|
35
|
+
border-color: $pix-primary;
|
|
36
36
|
background-color: transparent;
|
|
37
37
|
box-shadow: none;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&:checked {
|
|
41
|
-
border-color: $
|
|
41
|
+
border-color: $pix-primary;
|
|
42
42
|
|
|
43
43
|
&:after {
|
|
44
|
-
background-color: $
|
|
44
|
+
background-color: $pix-primary;
|
|
45
45
|
border-radius: 50%;
|
|
46
|
-
content:
|
|
46
|
+
content: '';
|
|
47
47
|
height: 12px;
|
|
48
48
|
width: 12px;
|
|
49
49
|
position: absolute;
|
|
@@ -54,19 +54,19 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&:disabled {
|
|
57
|
-
border: 1px solid $
|
|
57
|
+
border: 1px solid $pix-neutral-45;
|
|
58
58
|
background-color: transparent;
|
|
59
59
|
box-shadow: none;
|
|
60
60
|
cursor: not-allowed;
|
|
61
61
|
|
|
62
62
|
&:checked:after {
|
|
63
|
-
background-color: $
|
|
63
|
+
background-color: $pix-neutral-25;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
&--disabled {
|
|
69
69
|
cursor: not-allowed;
|
|
70
|
-
color: $
|
|
70
|
+
color: $pix-neutral-45;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -8,38 +8,45 @@
|
|
|
8
8
|
align-items: center;
|
|
9
9
|
border-bottom: transparent solid 2px;
|
|
10
10
|
text-decoration: none;
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
&__icon {
|
|
13
13
|
position: relative;
|
|
14
14
|
z-index: 3;
|
|
15
15
|
padding: 4px 7px;
|
|
16
16
|
font-size: 1rem;
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
&__icon::before {
|
|
20
20
|
content: '';
|
|
21
21
|
position: absolute;
|
|
22
22
|
z-index: -1;
|
|
23
|
-
width: 100%;
|
|
24
|
-
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
top: 0;
|
|
26
|
+
left: 0;
|
|
25
27
|
opacity: 0;
|
|
26
28
|
border-radius: 50%;
|
|
27
29
|
transition: 0.3s ease opacity;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
|
-
&__text {
|
|
32
|
+
&__text {
|
|
33
|
+
margin-left: 4px;
|
|
34
|
+
}
|
|
31
35
|
|
|
32
|
-
&:hover,
|
|
36
|
+
&:hover,
|
|
37
|
+
&:active {
|
|
33
38
|
cursor: pointer;
|
|
34
39
|
background-color: transparent;
|
|
35
40
|
border-bottom-color: transparent;
|
|
36
41
|
|
|
37
|
-
::before {
|
|
42
|
+
::before {
|
|
43
|
+
opacity: 0.2;
|
|
44
|
+
}
|
|
38
45
|
}
|
|
39
46
|
|
|
40
47
|
&:focus-visible {
|
|
41
|
-
background-color: $
|
|
42
|
-
border-bottom: $
|
|
48
|
+
background-color: $pix-warning-40;
|
|
49
|
+
border-bottom: $pix-neutral-100 solid 2px;
|
|
43
50
|
|
|
44
51
|
.pix-return-to__text {
|
|
45
52
|
padding-right: 6px;
|
|
@@ -49,16 +56,27 @@
|
|
|
49
56
|
@mixin coloriseLink($textColor, $textHoverColor, $arrowColor) {
|
|
50
57
|
color: $textColor;
|
|
51
58
|
|
|
52
|
-
.pix-return-to__icon {
|
|
59
|
+
.pix-return-to__icon {
|
|
60
|
+
color: $arrowColor;
|
|
61
|
+
}
|
|
53
62
|
|
|
54
|
-
&:hover,
|
|
63
|
+
&:hover,
|
|
64
|
+
&:active {
|
|
55
65
|
color: $textHoverColor;
|
|
56
66
|
|
|
57
|
-
::before {
|
|
67
|
+
::before {
|
|
68
|
+
background-color: $arrowColor;
|
|
69
|
+
}
|
|
58
70
|
}
|
|
59
71
|
}
|
|
60
72
|
|
|
61
|
-
&--white {
|
|
62
|
-
|
|
63
|
-
|
|
73
|
+
&--white {
|
|
74
|
+
@include coloriseLink($pix-neutral-10, $pix-neutral-0, $pix-neutral-0);
|
|
75
|
+
}
|
|
76
|
+
&--black {
|
|
77
|
+
@include coloriseLink($pix-neutral-80, $pix-neutral-110, $pix-neutral-60);
|
|
78
|
+
}
|
|
79
|
+
&--blue {
|
|
80
|
+
@include coloriseLink($pix-communication-dark, $pix-primary-60, $pix-communication-dark);
|
|
81
|
+
}
|
|
64
82
|
}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
@mixin pixSelect {
|
|
7
7
|
appearance: none;
|
|
8
|
-
border: 1px $
|
|
8
|
+
border: 1px $pix-neutral-40 solid;
|
|
9
9
|
border-radius: 4px;
|
|
10
|
-
color: $
|
|
10
|
+
color: $pix-neutral-90;
|
|
11
11
|
font-family: $font-roboto;
|
|
12
12
|
font-size: 0.875rem;
|
|
13
13
|
height: 36px;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
&__icon {
|
|
55
55
|
font-size: 11px;
|
|
56
|
-
color: $
|
|
56
|
+
color: $pix-neutral-30;
|
|
57
57
|
right: 10px;
|
|
58
58
|
top: calc(50% - 6px);
|
|
59
59
|
padding: 0 0 2px;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
$checkmark-width: 0.625rem;
|
|
2
2
|
$checkmark-width-with-space: $checkmark-width + 0.438rem;
|
|
3
3
|
@mixin checkmarkColor($borderColor) {
|
|
4
|
-
|
|
5
|
-
input[type="checkbox"]:checked + label::before {
|
|
4
|
+
input[type='checkbox']:checked + label::before {
|
|
6
5
|
position: absolute;
|
|
7
6
|
top: 6px;
|
|
8
7
|
left: 8px;
|
|
@@ -13,7 +12,7 @@ $checkmark-width-with-space: $checkmark-width + 0.438rem;
|
|
|
13
12
|
border-top: none;
|
|
14
13
|
border-right: none;
|
|
15
14
|
transform: rotate(-45deg);
|
|
16
|
-
content:
|
|
15
|
+
content: '';
|
|
17
16
|
}
|
|
18
17
|
}
|
|
19
18
|
|
|
@@ -25,9 +24,9 @@ $checkmark-width-with-space: $checkmark-width + 0.438rem;
|
|
|
25
24
|
padding: 3px calc(8px + #{$checkmark-width-with-space} / 2);
|
|
26
25
|
letter-spacing: 0.009rem;
|
|
27
26
|
border-radius: 0.75rem;
|
|
28
|
-
border: $
|
|
29
|
-
color: $
|
|
30
|
-
background-color: $
|
|
27
|
+
border: $pix-neutral-30 solid 1px;
|
|
28
|
+
color: $pix-neutral-60;
|
|
29
|
+
background-color: $pix-neutral-0;
|
|
31
30
|
font-family: $font-roboto;
|
|
32
31
|
font-size: 0.8125rem;
|
|
33
32
|
font-weight: $font-normal;
|
|
@@ -48,23 +47,23 @@ $checkmark-width-with-space: $checkmark-width + 0.438rem;
|
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
&:hover {
|
|
51
|
-
background-color: $
|
|
52
|
-
border: $
|
|
53
|
-
color: $
|
|
50
|
+
background-color: $pix-neutral-22;
|
|
51
|
+
border: $pix-neutral-25 solid 1px;
|
|
52
|
+
color: $pix-neutral-70;
|
|
54
53
|
}
|
|
55
|
-
|
|
54
|
+
|
|
56
55
|
&--checked {
|
|
57
|
-
@include checkmarkColor($
|
|
58
|
-
border: $
|
|
59
|
-
background-color: $
|
|
60
|
-
color: $
|
|
56
|
+
@include checkmarkColor($pix-neutral-70);
|
|
57
|
+
border: $pix-neutral-22 solid 1px;
|
|
58
|
+
background-color: $pix-neutral-20;
|
|
59
|
+
color: $pix-neutral-70;
|
|
61
60
|
padding: 3px 8px;
|
|
62
61
|
|
|
63
62
|
&:hover {
|
|
64
|
-
@include checkmarkColor($
|
|
65
|
-
background-color: $
|
|
66
|
-
border: $
|
|
67
|
-
color: $
|
|
63
|
+
@include checkmarkColor($pix-neutral-70);
|
|
64
|
+
background-color: $pix-neutral-22;
|
|
65
|
+
border: $pix-neutral-25 solid 1px;
|
|
66
|
+
color: $pix-neutral-70;
|
|
68
67
|
}
|
|
69
68
|
|
|
70
69
|
& label {
|
|
@@ -73,18 +72,18 @@ $checkmark-width-with-space: $checkmark-width + 0.438rem;
|
|
|
73
72
|
}
|
|
74
73
|
|
|
75
74
|
&:focus-within {
|
|
76
|
-
@include checkmarkColor($
|
|
77
|
-
background-color: $
|
|
78
|
-
color: $
|
|
79
|
-
box-shadow: 0 0 0 1px $
|
|
80
|
-
border-color: $
|
|
75
|
+
@include checkmarkColor($pix-neutral-0);
|
|
76
|
+
background-color: $pix-neutral-60;
|
|
77
|
+
color: $pix-neutral-0;
|
|
78
|
+
box-shadow: 0 0 0 1px $pix-neutral-60;
|
|
79
|
+
border-color: $pix-neutral-0;
|
|
81
80
|
outline: none;
|
|
82
81
|
|
|
83
82
|
&:hover {
|
|
84
|
-
@include checkmarkColor($
|
|
85
|
-
color: $
|
|
86
|
-
background-color: $
|
|
87
|
-
border: $
|
|
83
|
+
@include checkmarkColor($pix-neutral-70);
|
|
84
|
+
color: $pix-neutral-70;
|
|
85
|
+
background-color: $pix-neutral-22;
|
|
86
|
+
border: $pix-neutral-25 solid 1px;
|
|
88
87
|
}
|
|
89
88
|
}
|
|
90
89
|
}
|