@1024pix/pix-ui 38.2.1 → 38.2.2

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.
Files changed (38) hide show
  1. package/.stylelintrc.json +0 -2
  2. package/CHANGELOG.md +9 -0
  3. package/addon/styles/_a11y.scss +2 -2
  4. package/addon/styles/_pix-background-header.scss +1 -1
  5. package/addon/styles/_pix-banner.scss +15 -15
  6. package/addon/styles/_pix-button-base.scss +15 -15
  7. package/addon/styles/_pix-button.scss +1 -1
  8. package/addon/styles/_pix-checkbox.scss +12 -12
  9. package/addon/styles/_pix-collapsible.scss +7 -7
  10. package/addon/styles/_pix-dropdown.scss +32 -32
  11. package/addon/styles/_pix-filter-banner.scss +9 -9
  12. package/addon/styles/_pix-filterable-and-searchable-select.scss +5 -5
  13. package/addon/styles/_pix-icon-button.scss +10 -10
  14. package/addon/styles/_pix-indicator-card.scss +8 -8
  15. package/addon/styles/_pix-input-code.scss +5 -5
  16. package/addon/styles/_pix-input-password.scss +8 -8
  17. package/addon/styles/_pix-input.scss +6 -6
  18. package/addon/styles/_pix-message.scss +2 -2
  19. package/addon/styles/_pix-modal.scss +14 -14
  20. package/addon/styles/_pix-multi-select.scss +27 -27
  21. package/addon/styles/_pix-pagination.scss +5 -5
  22. package/addon/styles/_pix-progress-gauge.scss +5 -5
  23. package/addon/styles/_pix-radio-button.scss +10 -10
  24. package/addon/styles/_pix-return-to.scss +9 -9
  25. package/addon/styles/_pix-search-input.scss +7 -7
  26. package/addon/styles/_pix-select.scss +29 -29
  27. package/addon/styles/_pix-selectable-tag.scss +17 -17
  28. package/addon/styles/_pix-sidebar.scss +8 -8
  29. package/addon/styles/_pix-tag.scss +7 -7
  30. package/addon/styles/_pix-textarea.scss +6 -6
  31. package/addon/styles/_pix-toggle.scss +7 -7
  32. package/addon/styles/_pix-tooltip.scss +20 -20
  33. package/addon/styles/normalize-reset/_normalize.scss +12 -12
  34. package/addon/styles/normalize-reset/_reset.scss +8 -8
  35. package/addon/styles/pix-design-tokens/_fonts.scss +8 -8
  36. package/addon/styles/pix-design-tokens/_form.scss +15 -15
  37. package/addon/styles/pix-design-tokens/_typography.scss +2 -2
  38. package/package.json +4 -3
@@ -1,6 +1,6 @@
1
1
  .pix-select {
2
- display: inline-block;
3
2
  position: relative;
3
+ display: inline-block;
4
4
 
5
5
  &__label {
6
6
  @include label();
@@ -11,35 +11,35 @@
11
11
  }
12
12
 
13
13
  &__dropdown {
14
- z-index: 200;
15
14
  position: absolute;
16
- max-height: 12.5rem;
15
+ z-index: 200;
17
16
  width: inherit;
18
- border-top: none;
19
- border-radius: 0 0 $pix-spacing-xxs $pix-spacing-xxs;
20
- list-style-type: none;
17
+ max-height: 12.5rem;
18
+ margin-top: $pix-spacing-xxs;
21
19
  padding: 0;
20
+ overflow-y: auto;
21
+ white-space: nowrap;
22
+ list-style-type: none;
22
23
  background-color: $pix-neutral-0;
24
+ border-top: none;
25
+ border-radius: 0 0 $pix-spacing-xxs $pix-spacing-xxs;
23
26
  box-shadow: 0 6px 12px rgba(7, 20, 46, 0.08);
24
27
  transition: all 0.1s ease-in-out;
25
- white-space: nowrap;
26
- margin-top: $pix-spacing-xxs;
27
- overflow-y: auto;
28
28
 
29
29
  &::-webkit-scrollbar {
30
30
  width: 0.5rem;
31
31
  }
32
32
 
33
33
  &::-webkit-scrollbar-track {
34
- border-radius: $pix-spacing-xxs;
35
- border: 1px solid $pix-neutral-20;
36
34
  background: $pix-neutral-20;
35
+ border: 1px solid $pix-neutral-20;
36
+ border-radius: $pix-spacing-xxs;
37
37
  }
38
38
 
39
39
  &::-webkit-scrollbar-thumb {
40
- border-radius: $pix-spacing-xxs;
41
40
  width: 0.375rem;
42
41
  background: $pix-neutral-30;
42
+ border-radius: $pix-spacing-xxs;
43
43
  }
44
44
 
45
45
  &::-webkit-scrollbar-thumb:hover {
@@ -61,9 +61,9 @@
61
61
 
62
62
  &__search {
63
63
  display: flex;
64
- border-bottom: 2px solid $pix-neutral-22;
65
64
  margin: $pix-spacing-s $pix-spacing-m;
66
65
  color: $pix-neutral-30;
66
+ border-bottom: 2px solid $pix-neutral-22;
67
67
  border-radius: $pix-spacing-xxs $pix-spacing-xxs 0 0;
68
68
 
69
69
  &:focus-within {
@@ -82,19 +82,19 @@
82
82
  }
83
83
 
84
84
  .pix-select-button {
85
+ position: relative;
85
86
  display: flex;
86
87
  align-items: center;
87
- position: relative;
88
- border: 1px $pix-neutral-45 solid;
89
- padding: 0 $pix-spacing-s 0 $pix-spacing-s;
88
+ justify-content: space-between;
90
89
  width: 100%;
90
+ height: 2.25rem;
91
+ padding: 0 $pix-spacing-s 0 $pix-spacing-s;
92
+ color: $pix-neutral-90;
91
93
  background-color: $pix-neutral-0;
94
+ border: 1px $pix-neutral-45 solid;
92
95
  border-radius: $pix-spacing-xxs;
93
96
  outline: none;
94
- height: 2.25rem;
95
97
  cursor: pointer;
96
- color: $pix-neutral-90;
97
- justify-content: space-between;
98
98
 
99
99
  @extend %pix-body-s;
100
100
  @include hoverFormElement();
@@ -125,9 +125,9 @@
125
125
  }
126
126
 
127
127
  .pix-select-options__category {
128
- list-style: none;
129
- padding: 0;
130
128
  margin: 0;
129
+ padding: 0;
130
+ list-style: none;
131
131
  }
132
132
 
133
133
  .pix-select-options-category {
@@ -135,8 +135,8 @@
135
135
  @extend %pix-body-s;
136
136
 
137
137
  padding: $pix-spacing-s $pix-spacing-m $pix-spacing-xs $pix-spacing-m;
138
- text-transform: uppercase;
139
138
  color: $pix-neutral-45;
139
+ text-transform: uppercase;
140
140
  }
141
141
 
142
142
  &__option {
@@ -149,20 +149,20 @@
149
149
 
150
150
  &:hover,
151
151
  &:focus {
152
+ background-color: $pix-neutral-10;
152
153
  outline: none;
153
154
  cursor: pointer;
154
- background-color: $pix-neutral-10;
155
155
  }
156
156
 
157
157
  svg {
158
+ font-size: 1.125rem;
158
159
  visibility: hidden;
159
160
  opacity: 0;
160
- font-size: 1.125rem;
161
161
  }
162
162
 
163
163
  &--selected {
164
- background-color: $pix-primary-5;
165
164
  align-items: center;
165
+ background-color: $pix-primary-5;
166
166
 
167
167
  svg {
168
168
  visibility: visible;
@@ -171,10 +171,10 @@
171
171
  }
172
172
 
173
173
  &--hidden {
174
- visibility: hidden;
175
174
  height: 0;
176
175
  padding-top: 0;
177
176
  padding-bottom: 0;
177
+ visibility: hidden;
178
178
  }
179
179
  }
180
180
  }
@@ -184,13 +184,13 @@
184
184
  @extend %pix-body-s;
185
185
 
186
186
  width: 100%;
187
- border: none;
188
- padding-left: $pix-spacing-xs;
189
187
  margin: $pix-spacing-xxs;
188
+ padding-left: $pix-spacing-xs;
189
+ border: none;
190
190
 
191
191
  &:focus {
192
- outline: none;
193
192
  background: $pix-neutral-10;
193
+ outline: none;
194
194
  }
195
195
  }
196
196
 
@@ -20,26 +20,26 @@ $checkmark-width-with-space: $checkmark-width + 0.438rem;
20
20
  .pix-selectable-tag {
21
21
  @extend %pix-body-s;
22
22
 
23
- display: inline-block;
24
- text-align: center;
25
23
  position: relative;
24
+ display: inline-block;
26
25
  padding: 3px calc(8px + #{$checkmark-width-with-space} / 2);
27
- letter-spacing: 0.009rem;
28
- border-radius: 0.95rem;
29
- border: $pix-neutral-30 solid 1px;
30
26
  color: $pix-neutral-60;
27
+ font-weight: $font-medium;
28
+ letter-spacing: 0.009rem;
29
+ text-align: center;
31
30
  background-color: $pix-neutral-0;
31
+ border: $pix-neutral-30 solid 1px;
32
+ border-radius: 0.95rem;
32
33
  cursor: pointer;
33
- font-weight: $font-medium;
34
34
 
35
35
  input {
36
36
  position: absolute;
37
- opacity: 0;
38
- cursor: pointer;
37
+ top: 0;
38
+ left: 0;
39
39
  width: 100%;
40
40
  height: 100%;
41
- left: 0;
42
- top: 0;
41
+ cursor: pointer;
42
+ opacity: 0;
43
43
  }
44
44
 
45
45
  label {
@@ -47,25 +47,25 @@ $checkmark-width-with-space: $checkmark-width + 0.438rem;
47
47
  }
48
48
 
49
49
  &:hover {
50
+ color: $pix-neutral-70;
50
51
  background-color: $pix-neutral-22;
51
52
  border: $pix-neutral-25 solid 1px;
52
- color: $pix-neutral-70;
53
53
  }
54
54
 
55
55
  &--checked {
56
56
  @include checkmarkColor($pix-neutral-70);
57
57
 
58
- border: $pix-neutral-22 solid 1px;
59
- background-color: $pix-neutral-20;
60
- color: $pix-neutral-70;
61
58
  padding: 3px 8px;
59
+ color: $pix-neutral-70;
60
+ background-color: $pix-neutral-20;
61
+ border: $pix-neutral-22 solid 1px;
62
62
 
63
63
  &:hover {
64
64
  @include checkmarkColor($pix-neutral-70);
65
65
 
66
+ color: $pix-neutral-70;
66
67
  background-color: $pix-neutral-22;
67
68
  border: $pix-neutral-25 solid 1px;
68
- color: $pix-neutral-70;
69
69
  }
70
70
 
71
71
  & label {
@@ -76,11 +76,11 @@ $checkmark-width-with-space: $checkmark-width + 0.438rem;
76
76
  &:focus-within {
77
77
  @include checkmarkColor($pix-neutral-0);
78
78
 
79
- background-color: $pix-neutral-60;
80
79
  color: $pix-neutral-0;
81
- box-shadow: 0 0 0 1px $pix-neutral-60;
80
+ background-color: $pix-neutral-60;
82
81
  border-color: $pix-neutral-0;
83
82
  outline: none;
83
+ box-shadow: 0 0 0 1px $pix-neutral-60;
84
84
 
85
85
  &:hover {
86
86
  @include checkmarkColor($pix-neutral-70);
@@ -1,10 +1,10 @@
1
1
  .pix-sidebar__overlay {
2
2
  position: fixed;
3
- z-index: 1000;
4
3
  top: 0;
4
+ right: 0;
5
5
  bottom: 0;
6
6
  left: 0;
7
- right: 0;
7
+ z-index: 1000;
8
8
  overflow-y: scroll;
9
9
  background-color: rgba(52, 69, 99, 0.7);
10
10
  transition: all 0.3s ease-in-out;
@@ -24,10 +24,10 @@ $button-margin: 16px;
24
24
  .pix-sidebar {
25
25
  display: flex;
26
26
  flex-direction: column;
27
- height: 100%;
28
27
  max-width: 320px;
29
- box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
28
+ height: 100%;
30
29
  background: $pix-neutral-0;
30
+ box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
31
31
  transform: translate(0);
32
32
  transition: transform 0.3s ease-in-out;
33
33
 
@@ -36,19 +36,19 @@ $button-margin: 16px;
36
36
  }
37
37
 
38
38
  &__header {
39
- border-bottom: 1px solid $pix-neutral-20;
40
- padding: $sidebar-padding;
41
39
  display: flex;
42
40
  align-items: center;
43
41
  justify-content: space-between;
42
+ padding: $sidebar-padding;
43
+ border-bottom: 1px solid $pix-neutral-20;
44
44
  }
45
45
 
46
46
  &__close-button {
47
47
  flex-shrink: 0;
48
48
 
49
49
  @include device-is('tablet') {
50
- height: $tablet-close-button-size;
51
50
  width: $tablet-close-button-size;
51
+ height: $tablet-close-button-size;
52
52
  }
53
53
  }
54
54
 
@@ -61,8 +61,8 @@ $button-margin: 16px;
61
61
  @extend %pix-title-s;
62
62
 
63
63
  margin-bottom: 0;
64
- color: $pix-neutral-90;
65
64
  padding-right: $mobile-close-button-size + $space-between-title-and-close-button;
65
+ color: $pix-neutral-90;
66
66
 
67
67
  @include device-is('tablet') {
68
68
  padding-right: $tablet-close-button-size + $space-between-title-and-close-button;
@@ -2,15 +2,15 @@
2
2
  @extend %pix-body-s;
3
3
 
4
4
  display: inline-block;
5
+ padding: 4px 16px;
6
+ color: $pix-neutral-0;
7
+ font-weight: $font-medium;
8
+ white-space: nowrap;
5
9
  text-align: center;
6
10
  vertical-align: baseline;
7
- white-space: nowrap;
8
- padding: 4px 16px;
11
+ background-color: $pix-primary;
9
12
  border: 1px solid transparent;
10
13
  border-radius: 0.95rem;
11
- color: $pix-neutral-0;
12
- background-color: $pix-primary;
13
- font-weight: $font-medium;
14
14
 
15
15
  &--blue-light {
16
16
  color: $pix-primary-80;
@@ -67,9 +67,9 @@
67
67
  &--compact {
68
68
  @extend %pix-body-xs;
69
69
 
70
- font-weight: $font-medium;
71
- text-transform: uppercase;
72
70
  padding: 4px 13px;
71
+ font-weight: $font-medium;
73
72
  line-height: inherit;
73
+ text-transform: uppercase;
74
74
  }
75
75
  }
@@ -1,12 +1,12 @@
1
1
  .pix-textarea {
2
2
  textarea {
3
3
  width: 100%;
4
- border: 1px solid $pix-neutral-40;
5
- border-style: solid;
6
- border-radius: 4px;
7
4
  padding: 10px 16px;
8
5
  color: $pix-neutral-90;
9
6
  font-size: 0.875rem;
7
+ border: 1px solid $pix-neutral-40;
8
+ border-style: solid;
9
+ border-radius: 4px;
10
10
  resize: vertical;
11
11
 
12
12
  @include hoverFormElement();
@@ -18,12 +18,12 @@
18
18
  }
19
19
 
20
20
  p {
21
- color: $pix-neutral-45;
22
- margin-top: 6px;
23
- font-size: 12px;
24
21
  display: flex;
25
22
  flex-direction: row-reverse;
23
+ margin-top: 6px;
26
24
  margin-bottom: 0;
25
+ color: $pix-neutral-45;
26
+ font-size: 12px;
27
27
  }
28
28
 
29
29
  &__label {
@@ -10,32 +10,32 @@
10
10
 
11
11
  &__button {
12
12
  width: fit-content;
13
+ margin-top: $pix-spacing-xxs;
14
+ padding: $pix-spacing-xxs;
13
15
  background-color: transparent;
14
16
  border: 1px solid $pix-neutral-30;
15
17
  border-radius: 4px;
16
- padding: $pix-spacing-xxs;
17
- margin-top: $pix-spacing-xxs;
18
18
  }
19
19
 
20
20
  &__on,
21
21
  &__off {
22
22
  display: inline-block;
23
- border-radius: 4px;
24
23
  padding: $pix-spacing-xs;
25
24
  color: $pix-neutral-70;
25
+ border-radius: 4px;
26
26
 
27
27
  @extend %pix-body-s;
28
28
  }
29
29
 
30
30
  &__off {
31
- background-color: $pix-neutral-45;
32
31
  color: $pix-neutral-0;
32
+ background-color: $pix-neutral-45;
33
33
  }
34
34
 
35
35
  &--inline {
36
36
  flex-direction: row;
37
- align-items: center;
38
37
  gap: $pix-spacing-xxs;
38
+ align-items: center;
39
39
  }
40
40
 
41
41
  &--inline,
@@ -50,13 +50,13 @@
50
50
  &--pressed {
51
51
  .pix-toggle {
52
52
  &__on {
53
- background-color: $pix-neutral-45;
54
53
  color: $pix-neutral-0;
54
+ background-color: $pix-neutral-45;
55
55
  }
56
56
 
57
57
  &__off {
58
- background-color: transparent;
59
58
  color: inherit;
59
+ background-color: transparent;
60
60
  }
61
61
  }
62
62
  }
@@ -1,8 +1,8 @@
1
1
  .pix-tooltip {
2
2
  position: relative;
3
3
  display: flex;
4
- justify-content: center;
5
4
  align-items: center;
5
+ justify-content: center;
6
6
 
7
7
  &__trigger-element {
8
8
  display: block;
@@ -11,19 +11,19 @@
11
11
  }
12
12
 
13
13
  .pix-tooltip__content {
14
- display: none;
15
- opacity: 0;
16
- pointer-events: none;
17
- background-color: $pix-neutral-100;
18
14
  position: absolute;
15
+ left: auto;
19
16
  z-index: 100;
17
+ display: none;
20
18
  padding: 8px 16px;
21
- left: auto;
22
19
  color: $pix-neutral-0;
23
20
  font-size: 0.875rem;
24
- border-radius: 6px;
25
21
  line-height: 1.4rem;
22
+ background-color: $pix-neutral-100;
23
+ border-radius: 6px;
24
+ opacity: 0;
26
25
  transition: opacity 0.3s;
26
+ pointer-events: none;
27
27
 
28
28
  &--visible {
29
29
  display: block;
@@ -35,10 +35,10 @@
35
35
  }
36
36
 
37
37
  &::before {
38
- content: '';
39
38
  position: absolute;
40
- border-width: 5px;
41
39
  border-style: solid;
40
+ border-width: 5px;
41
+ content: '';
42
42
  }
43
43
 
44
44
  &--wide {
@@ -46,16 +46,16 @@
46
46
  }
47
47
 
48
48
  &--light {
49
+ color: $pix-neutral-60;
49
50
  font-weight: $font-medium;
50
51
  background-color: $pix-neutral-0;
51
- color: $pix-neutral-60;
52
52
  box-shadow: 0 6px 24px 0 rgba($pix-neutral-70, 0.14);
53
53
 
54
54
  &::before {
55
- border-width: 0;
56
- height: 8px;
57
55
  width: 8px;
56
+ height: 8px;
58
57
  background-color: $pix-neutral-0;
58
+ border-width: 0;
59
59
  }
60
60
  }
61
61
  }
@@ -71,8 +71,8 @@
71
71
 
72
72
  &.pix-tooltip__content--light::before {
73
73
  left: -5px;
74
- transform: rotate(315deg);
75
74
  border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
75
+ transform: rotate(315deg);
76
76
  }
77
77
  }
78
78
 
@@ -89,8 +89,8 @@
89
89
 
90
90
  &.pix-tooltip__content--light::before {
91
91
  top: calc(100% - 5px);
92
- transform: rotate(225deg);
93
92
  border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
93
+ transform: rotate(225deg);
94
94
  }
95
95
  }
96
96
 
@@ -107,8 +107,8 @@
107
107
  &.pix-tooltip__content--light::before {
108
108
  top: calc(100% - 5px);
109
109
  left: calc(100% - 26px);
110
- transform: rotate(225deg);
111
110
  border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
111
+ transform: rotate(225deg);
112
112
  }
113
113
  }
114
114
 
@@ -123,8 +123,8 @@
123
123
 
124
124
  &.pix-tooltip__content--light::before {
125
125
  top: calc(100% - 5px);
126
- transform: rotate(225deg);
127
126
  border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
127
+ transform: rotate(225deg);
128
128
  }
129
129
  }
130
130
 
@@ -141,8 +141,8 @@
141
141
 
142
142
  &.pix-tooltip__content--light::before {
143
143
  top: -5px;
144
- transform: rotate(45deg);
145
144
  border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
145
+ transform: rotate(45deg);
146
146
  }
147
147
  }
148
148
 
@@ -159,8 +159,8 @@
159
159
  &.pix-tooltip__content--light::before {
160
160
  top: -5px;
161
161
  left: calc(100% - 26px);
162
- transform: rotate(45deg);
163
162
  border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
163
+ transform: rotate(45deg);
164
164
  }
165
165
  }
166
166
 
@@ -175,8 +175,8 @@
175
175
 
176
176
  &.pix-tooltip__content--light::before {
177
177
  top: -5px;
178
- transform: rotate(45deg);
179
178
  border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
179
+ transform: rotate(45deg);
180
180
  }
181
181
  }
182
182
 
@@ -191,7 +191,7 @@
191
191
 
192
192
  &.pix-tooltip__content--light::before {
193
193
  right: -5px;
194
- transform: rotate(135deg);
195
194
  border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
195
+ transform: rotate(135deg);
196
196
  }
197
197
  }
@@ -38,8 +38,8 @@ main {
38
38
  */
39
39
 
40
40
  h1 {
41
- font-size: 2em;
42
41
  margin: 0.67em 0;
42
+ font-size: 2em;
43
43
  }
44
44
 
45
45
  /* Grouping content
@@ -62,8 +62,8 @@ hr {
62
62
  */
63
63
 
64
64
  pre {
65
- font-family: monospace, monospace; /* 1 */
66
65
  font-size: 1em; /* 2 */
66
+ font-family: monospace, monospace; /* 1 */
67
67
  }
68
68
 
69
69
  /* Text-level semantics
@@ -83,9 +83,9 @@ a {
83
83
  */
84
84
 
85
85
  abbr[title] {
86
- border-bottom: none; /* 1 */
87
86
  text-decoration: underline; /* 2 */
88
87
  text-decoration: underline dotted; /* 2 */
88
+ border-bottom: none; /* 1 */
89
89
  }
90
90
 
91
91
  /**
@@ -105,8 +105,8 @@ strong {
105
105
  code,
106
106
  kbd,
107
107
  samp {
108
- font-family: monospace, monospace; /* 1 */
109
108
  font-size: 1em; /* 2 */
109
+ font-family: monospace, monospace; /* 1 */
110
110
  }
111
111
 
112
112
  /**
@@ -124,9 +124,9 @@ small {
124
124
 
125
125
  sub,
126
126
  sup {
127
+ position: relative;
127
128
  font-size: 75%;
128
129
  line-height: 0;
129
- position: relative;
130
130
  vertical-align: baseline;
131
131
  }
132
132
 
@@ -162,10 +162,10 @@ input,
162
162
  optgroup,
163
163
  select,
164
164
  textarea {
165
- font-family: inherit; /* 1 */
165
+ margin: 0; /* 2 */
166
166
  font-size: 100%; /* 1 */
167
+ font-family: inherit; /* 1 */
167
168
  line-height: 1.15; /* 1 */
168
- margin: 0; /* 2 */
169
169
  }
170
170
 
171
171
  /**
@@ -207,8 +207,8 @@ button::-moz-focus-inner,
207
207
  [type="button"]::-moz-focus-inner,
208
208
  [type="reset"]::-moz-focus-inner,
209
209
  [type="submit"]::-moz-focus-inner {
210
- border-style: none;
211
210
  padding: 0;
211
+ border-style: none;
212
212
  }
213
213
 
214
214
  /**
@@ -238,11 +238,11 @@ fieldset {
238
238
  */
239
239
 
240
240
  legend {
241
- box-sizing: border-box; /* 1 */
242
- color: inherit; /* 2 */
243
241
  display: table; /* 1 */
242
+ box-sizing: border-box; /* 1 */
244
243
  max-width: 100%; /* 1 */
245
244
  padding: 0; /* 3 */
245
+ color: inherit; /* 2 */
246
246
  white-space: normal; /* 1 */
247
247
  }
248
248
 
@@ -288,8 +288,8 @@ textarea {
288
288
  */
289
289
 
290
290
  [type="search"] {
291
- -webkit-appearance: textfield; /* 1 */
292
291
  outline-offset: -2px; /* 2 */
292
+ -webkit-appearance: textfield; /* 1 */
293
293
  }
294
294
 
295
295
  /**
@@ -306,8 +306,8 @@ textarea {
306
306
  */
307
307
 
308
308
  ::-webkit-file-upload-button {
309
- -webkit-appearance: button; /* 1 */
310
309
  font: inherit; /* 2 */
310
+ -webkit-appearance: button; /* 1 */
311
311
  }
312
312
 
313
313
  /* Interactive
@@ -20,16 +20,16 @@ body {
20
20
  }
21
21
 
22
22
  a {
23
- text-decoration: none;
24
23
  color: inherit;
24
+ text-decoration: none;
25
25
  cursor: pointer;
26
26
  }
27
27
 
28
28
  button {
29
- background-color: transparent;
29
+ padding: 0;
30
30
  color: inherit;
31
+ background-color: transparent;
31
32
  border-width: 0;
32
- padding: 0;
33
33
  cursor: pointer;
34
34
  }
35
35
 
@@ -38,9 +38,9 @@ figure {
38
38
  }
39
39
 
40
40
  input::-moz-focus-inner {
41
- border: 0;
42
- padding: 0;
43
41
  margin: 0;
42
+ padding: 0;
43
+ border: 0;
44
44
  }
45
45
 
46
46
  ul,
@@ -63,8 +63,8 @@ h4,
63
63
  h5,
64
64
  h6 {
65
65
  margin: 0;
66
- font-size: inherit;
67
66
  font-weight: inherit;
67
+ font-size: inherit;
68
68
  }
69
69
 
70
70
  p {
@@ -76,7 +76,7 @@ cite {
76
76
  }
77
77
 
78
78
  fieldset {
79
- border-width: 0;
80
- padding: 0;
81
79
  margin: 0;
80
+ padding: 0;
81
+ border-width: 0;
82
82
  }