playbook_ui 14.11.0.pre.rc.17 → 14.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.scss +11 -9
- data/app/pb_kits/playbook/pb_badge/_badge.scss +4 -2
- data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.scss +3 -1
- data/app/pb_kits/playbook/pb_button/_button.scss +3 -1
- data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.scss +4 -2
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_input_styles.scss +3 -1
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_overrides.scss +5 -3
- data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.scss +6 -4
- data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.scss +4 -2
- data/app/pb_kits/playbook/pb_dropdown/_dropdown.scss +10 -8
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.scss +6 -4
- data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.scss +3 -1
- data/app/pb_kits/playbook/pb_label_value/_label_value.scss +4 -2
- data/app/pb_kits/playbook/pb_message/_message_mixins.scss +3 -1
- data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss +3 -1
- data/app/pb_kits/playbook/pb_passphrase/_passphrase.scss +5 -3
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.scss +10 -8
- data/app/pb_kits/playbook/pb_pill/_pill.scss +4 -2
- data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.scss +4 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.scss +4 -2
- data/app/pb_kits/playbook/pb_select/_select.scss +5 -3
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +5 -3
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +3 -1
- data/app/pb_kits/playbook/pb_textarea/_textarea.scss +3 -1
- data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.scss +5 -4
- data/app/pb_kits/playbook/pb_timeline/_timeline.scss +4 -2
- data/app/pb_kits/playbook/pb_toggle/_toggle.scss +5 -3
- data/dist/chunks/{_weekday_stacked-CWnbnW7m.js → _weekday_stacked-E-5KcEkc.js} +1 -1
- data/dist/chunks/lazysizes-DHz07jlL.js +1 -0
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +6 -6
- data/dist/chunks/lazysizes-B7xYodB-.js +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fca7d9efb772457fd7a528a192266ea41f9b2f7ddc121b45878ecdade957c486
|
4
|
+
data.tar.gz: aa3ca1949f81bec391834148da1893501e4f05540d5cd0d340253f95fc8ea78f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3d25d4aeac1ba58b3f62bfd92d51849501814e6d1ea1810b1f9126b1239307c6871b64e23c5c27dd090e3899b094ad68e60ece1e277b19c22bd24f21624e91e
|
7
|
+
data.tar.gz: 76e6d0e1522b3978378994a0ff7dd7718d9ed62876a67b9ff4f6922141212e54ca471d8f0737e11e21cdf5088ec735584d8b783a85eb5d9f5128251bf663cf4b
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
[class^=pb_avatar_action_button_kit] {
|
2
4
|
|
3
5
|
$icon_size: 0px;
|
@@ -13,7 +15,7 @@
|
|
13
15
|
color: $value;
|
14
16
|
}
|
15
17
|
}
|
16
|
-
|
18
|
+
|
17
19
|
@mixin icon-base {
|
18
20
|
&.dark{
|
19
21
|
background-color: $bg_dark
|
@@ -31,22 +33,22 @@
|
|
31
33
|
}
|
32
34
|
|
33
35
|
@each $name, $size in $avatar-sizes {
|
34
|
-
|
36
|
+
|
35
37
|
&[class*=_#{$name}] {
|
36
|
-
|
38
|
+
|
37
39
|
$avatar_size: map-get($avatar-sizes, $name);
|
38
|
-
$icon_size: $avatar_size
|
39
|
-
$border_size: $icon_size
|
40
|
+
$icon_size: math.div($avatar_size, 2);
|
41
|
+
$border_size: math.div($icon_size, 10);
|
40
42
|
|
41
43
|
position: relative;
|
42
44
|
width: $avatar_size * 1.25;
|
43
45
|
height: $avatar_size * 1.1;
|
44
46
|
display: flex;
|
45
|
-
|
47
|
+
|
46
48
|
[class^=pb_tooltip_kit] {
|
47
49
|
justify-self: center;
|
48
50
|
}
|
49
|
-
|
51
|
+
|
50
52
|
&[class*=_bottom] .icon {
|
51
53
|
@include icon-base;
|
52
54
|
top: $icon_size * 1.27;
|
@@ -59,8 +61,8 @@
|
|
59
61
|
left: $icon_size * 1.5;
|
60
62
|
}
|
61
63
|
&[class*=_left] [class^=pb_avatar_kit] {
|
62
|
-
padding-left: $icon_size
|
64
|
+
padding-left: math.div($icon_size , 2);
|
63
65
|
}
|
64
66
|
}
|
65
67
|
}
|
66
|
-
}
|
68
|
+
}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../tokens/border_radius";
|
2
4
|
@import "../tokens/colors";
|
3
5
|
@import "../tokens/opacity";
|
@@ -11,7 +13,7 @@
|
|
11
13
|
align-items: center;
|
12
14
|
justify-content: center;
|
13
15
|
border-radius: $border_rad_light;
|
14
|
-
padding: 0 $space_xs
|
16
|
+
padding: 0 math.div($space_xs, 2);
|
15
17
|
border-width: 1px;
|
16
18
|
border-style: solid;
|
17
19
|
border-color: $card_light;
|
@@ -34,7 +36,7 @@
|
|
34
36
|
height: $pb_badge_height;
|
35
37
|
min-height: $pb_badge_height;
|
36
38
|
min-width: $pb_badge_height;
|
37
|
-
border-radius: $pb_badge_height
|
39
|
+
border-radius: math.div($pb_badge_height, 2);
|
38
40
|
}
|
39
41
|
|
40
42
|
&[class*=_notification] {
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../tokens/colors";
|
2
4
|
@import "../tokens/opacity";
|
3
5
|
@import "../tokens/spacing";
|
@@ -9,7 +11,7 @@
|
|
9
11
|
display: inline-flex;
|
10
12
|
align-items: center;
|
11
13
|
justify-content: center;
|
12
|
-
padding: 0 $space_xs
|
14
|
+
padding: 0 math.div($space_xs, 2);
|
13
15
|
|
14
16
|
svg {
|
15
17
|
margin-right: 8px;
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "./button_mixins";
|
2
4
|
@import "../tokens/colors";
|
3
5
|
@import "../tokens/border_radius";
|
@@ -17,7 +19,7 @@ $pb_button_sizes: (
|
|
17
19
|
@each $name, $size in $pb_button_sizes {
|
18
20
|
&[class*=size_#{$name}] {
|
19
21
|
font-size: $size;
|
20
|
-
padding: $size
|
22
|
+
padding: math.div($size, 2) $size * 2.42;
|
21
23
|
@if $name == "sm" {
|
22
24
|
min-height: 0;
|
23
25
|
}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../pb_button/button";
|
2
4
|
@import "../pb_button/button_mixins";
|
3
5
|
|
@@ -16,7 +18,7 @@ $pb_button_styles: (
|
|
16
18
|
flex-grow: 0;
|
17
19
|
width: $pb_button_size;
|
18
20
|
height: $pb_button_size;
|
19
|
-
border-radius: $pb_button_size
|
21
|
+
border-radius: math.div($pb_button_size, 2);
|
20
22
|
line-height: $pb_button_size;
|
21
23
|
flex-basis: $pb_button_size;
|
22
24
|
min-width: $pb_button_size;
|
@@ -53,4 +55,4 @@ $pb_button_styles: (
|
|
53
55
|
}
|
54
56
|
}
|
55
57
|
}
|
56
|
-
}
|
58
|
+
}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../../pb_textarea/textarea_mixin";
|
2
4
|
|
3
5
|
[class^=pb_date_picker_kit] {
|
@@ -41,7 +43,7 @@
|
|
41
43
|
&.error {
|
42
44
|
.date_picker_input_wrapper {
|
43
45
|
[class*=pb_body_kit] {
|
44
|
-
margin-top: $space_xs
|
46
|
+
margin-top: math.div($space_xs, 2);
|
45
47
|
}
|
46
48
|
|
47
49
|
input,
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@media (min-width: 500px) {
|
2
4
|
.flatpickr-calendar {
|
3
5
|
padding: $space_xs;
|
@@ -6,8 +8,8 @@
|
|
6
8
|
width: 315.88px
|
7
9
|
}
|
8
10
|
.flatpickr-months {
|
9
|
-
margin-left: $space_xs
|
10
|
-
margin-top: $space_xs
|
11
|
+
margin-left: math.div($space_xs, 4);
|
12
|
+
margin-top: math.div($space_xs, 3);
|
11
13
|
}
|
12
14
|
}
|
13
15
|
@media (max-width: 499px) {
|
@@ -19,7 +21,7 @@
|
|
19
21
|
}
|
20
22
|
}
|
21
23
|
// Firefox Header Adjustments
|
22
|
-
@supports (-moz-appearance:none) {
|
24
|
+
@supports (-moz-appearance:none) {
|
23
25
|
select.flatpickr-monthDropdown-months {
|
24
26
|
width: 97px !important;
|
25
27
|
margin-left: $space_xs + 3;
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
[class^=pb_date_range_inline_kit] {
|
2
4
|
&[class*=_center] {
|
3
5
|
& > [class^=pb_caption],
|
@@ -21,14 +23,14 @@
|
|
21
23
|
display: flex;
|
22
24
|
align-items: center;
|
23
25
|
[class*=pb_date_range_inline_arrow] {
|
24
|
-
margin-left: $space_xs
|
25
|
-
margin-right: $space_xs
|
26
|
+
margin-left: math.div($space_xs, 2);
|
27
|
+
margin-right: math.div($space_xs, 2);
|
26
28
|
}
|
27
29
|
[class*=pb_date_range_inline_timezone] {
|
28
|
-
margin-left: $space_xs
|
30
|
+
margin-left: math.div($space_xs, 2);
|
29
31
|
}
|
30
32
|
[class*=pb_date_range_inline_icon] {
|
31
|
-
margin-right: $space_xs
|
33
|
+
margin-right: math.div($space_xs, 2);
|
32
34
|
}
|
33
35
|
}
|
34
36
|
}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
[class^=pb_date_time_stacked] {
|
2
4
|
|
3
5
|
[class^=padding_month] {
|
@@ -19,7 +21,7 @@
|
|
19
21
|
|
20
22
|
}
|
21
23
|
.date-time-padding {
|
22
|
-
padding-right: $space_xs
|
23
|
-
padding-left: $space_xs
|
24
|
+
padding-right: math.div($space_xs, 2);
|
25
|
+
padding-left: math.div($space_xs, 2);
|
24
26
|
}
|
25
27
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../tokens/colors";
|
2
4
|
@import "../tokens/spacing";
|
3
5
|
@import "../tokens/typography";
|
@@ -122,7 +124,7 @@
|
|
122
124
|
|
123
125
|
&.error {
|
124
126
|
[class*=pb_body_kit] {
|
125
|
-
margin-top: $space_xs
|
127
|
+
margin-top: math.div($space_xs, 2);
|
126
128
|
}
|
127
129
|
|
128
130
|
[class*="dropdown_trigger_wrapper"] {
|
@@ -146,7 +148,7 @@
|
|
146
148
|
&[class*="subtle"] {
|
147
149
|
.dropdown_wrapper {
|
148
150
|
.pb_dropdown_container {
|
149
|
-
|
151
|
+
|
150
152
|
[class*="pb_dropdown_option"]:first-child {
|
151
153
|
margin-top: $space_xs;
|
152
154
|
}
|
@@ -161,7 +163,7 @@
|
|
161
163
|
border-radius: $border_radius_md;
|
162
164
|
border-bottom: none;
|
163
165
|
position: relative;
|
164
|
-
|
166
|
+
|
165
167
|
&::after {
|
166
168
|
content: "";
|
167
169
|
position: absolute;
|
@@ -172,20 +174,20 @@
|
|
172
174
|
background: $border_light;
|
173
175
|
}
|
174
176
|
}
|
175
|
-
|
177
|
+
|
176
178
|
[class*="pb_dropdown_option"]:last-child::after {
|
177
|
-
display: none;
|
179
|
+
display: none;
|
178
180
|
}
|
179
181
|
}
|
180
182
|
}
|
181
|
-
|
183
|
+
|
182
184
|
&[class*="separators_hidden"] {
|
183
185
|
.dropdown_wrapper {
|
184
186
|
.pb_dropdown_container {
|
185
187
|
[class*="pb_dropdown_option"]:first-child {
|
186
188
|
margin-top: $space_xs;
|
187
189
|
}
|
188
|
-
|
190
|
+
|
189
191
|
[class*="pb_dropdown_option"]:last-child {
|
190
192
|
margin-bottom: $space_xs;
|
191
193
|
}
|
@@ -193,7 +195,7 @@
|
|
193
195
|
[class*="pb_dropdown_option"] {
|
194
196
|
padding: $space_xxs $space_xs;
|
195
197
|
margin: $space_xxs $space_xs;
|
196
|
-
|
198
|
+
|
197
199
|
&::after {
|
198
200
|
height: 0px;
|
199
201
|
}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../tokens/spacing";
|
2
4
|
@import "../tokens/colors";
|
3
5
|
@import "../tokens/opacity";
|
@@ -14,9 +16,9 @@ $form_pill_colors: map-merge($status_color_text, map-merge($data_colors, $produc
|
|
14
16
|
display: inline-flex;
|
15
17
|
justify-content: center;
|
16
18
|
align-items: center;
|
17
|
-
padding: 0 $space-md
|
19
|
+
padding: 0 math.div($space-md, 2);
|
18
20
|
height: $pb_form_pill_height;
|
19
|
-
border-radius: $pb_form_pill_height
|
21
|
+
border-radius: math.div($pb_form_pill_height, 2);
|
20
22
|
margin-bottom: 2px;
|
21
23
|
margin-top: 2px;
|
22
24
|
cursor: pointer;
|
@@ -142,7 +144,7 @@ $form_pill_colors: map-merge($status_color_text, map-merge($data_colors, $produc
|
|
142
144
|
height: 12px !important;
|
143
145
|
width: 12px !important;
|
144
146
|
padding-right: $space_xs;
|
145
|
-
+ .pb_form_pill_text, + .pb_form_pill_tag,
|
147
|
+
+ .pb_form_pill_text, + .pb_form_pill_tag,
|
146
148
|
+ .pb_tooltip_kit .pb_form_pill_text, + .pb_tooltip_kit .pb_form_pill_tag,
|
147
149
|
+ div .pb_form_pill_text, + div .pb_form_pill_tag {
|
148
150
|
padding-left: 0;
|
@@ -171,7 +173,7 @@ $form_pill_colors: map-merge($status_color_text, map-merge($data_colors, $produc
|
|
171
173
|
}
|
172
174
|
.pb_form_pill_icon {
|
173
175
|
padding-right: $space_xxs;
|
174
|
-
+ .pb_form_pill_text, + .pb_form_pill_tag,
|
176
|
+
+ .pb_form_pill_text, + .pb_form_pill_tag,
|
175
177
|
+ .pb_tooltip_kit .pb_form_pill_text, + .pb_tooltip_kit .pb_form_pill_tag,
|
176
178
|
+ div .pb_form_pill_text, + div .pb_form_pill_tag {
|
177
179
|
padding-left: 0;
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../tokens/border_radius";
|
2
4
|
@import "../tokens/colors";
|
3
5
|
@import "../tokens/typography";
|
@@ -44,7 +46,7 @@ $pb_icon_circle_sizes: (
|
|
44
46
|
&[class*=_size_#{$name}] {
|
45
47
|
width: $size;
|
46
48
|
height: $size;
|
47
|
-
border-radius: $size
|
49
|
+
border-radius: math.div($size, 2);
|
48
50
|
background: $silver;
|
49
51
|
color: $text_lt_light;
|
50
52
|
font-size: if($name == "xxs", $size - 6px, $size * 0.38);
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../tokens/colors";
|
2
4
|
@import "../utilities/colors";
|
3
5
|
@import "../tokens/opacity";
|
@@ -18,7 +20,7 @@ $pb_multiple_users_size_xxs: map-get($avatar-sizes, "xxs");
|
|
18
20
|
justify-content: center;
|
19
21
|
width: $pb_multiple_users_size;
|
20
22
|
height: $pb_multiple_users_size;
|
21
|
-
border-radius: $pb_multiple_users_size
|
23
|
+
border-radius: math.div($pb_multiple_users_size, 2) + 2;
|
22
24
|
background: tint($primary, 90%);
|
23
25
|
border: $pb_multiple_users_border_size solid $white;
|
24
26
|
color: $primary;
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../tokens/colors";
|
2
4
|
@import "../tokens/spacing";
|
3
5
|
@import "../tokens/screen_sizes";
|
@@ -21,14 +23,14 @@
|
|
21
23
|
}
|
22
24
|
|
23
25
|
.passphrase-label {
|
24
|
-
margin-right: $space_xs
|
26
|
+
margin-right: math.div($space_xs, 2);
|
25
27
|
}
|
26
28
|
|
27
29
|
.passphrase-text-input-wrapper {
|
28
30
|
position: relative;
|
29
31
|
|
30
32
|
.pb_text_input_kit_label {
|
31
|
-
margin-bottom: $space_xs
|
33
|
+
margin-bottom: math.div($space_xs, 2);
|
32
34
|
}
|
33
35
|
|
34
36
|
.passphrase-text-input input {
|
@@ -57,7 +59,7 @@
|
|
57
59
|
}
|
58
60
|
|
59
61
|
.pb_progress_simple_wrapper, .pb_progress_simple_wrapper_dark {
|
60
|
-
margin-bottom: $space_xs
|
62
|
+
margin-bottom: math.div($space_xs, 2);
|
61
63
|
|
62
64
|
&.progress-empty-input {
|
63
65
|
visibility: hidden;
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "./intlTelInput";
|
2
4
|
@import "../tokens/colors";
|
3
5
|
|
@@ -39,7 +41,7 @@ $flag-min-resolution: 192dpi;
|
|
39
41
|
color: $charcoal;
|
40
42
|
}
|
41
43
|
|
42
|
-
// iti-spacer-horizontal's default is 8px, or $space_xs
|
44
|
+
// iti-spacer-horizontal's default is 8px, or $space_xs
|
43
45
|
.iti__country-list .iti__flag, .iti__country-name {
|
44
46
|
margin-right: $space_xs;
|
45
47
|
}
|
@@ -73,7 +75,7 @@ $flag-min-resolution: 192dpi;
|
|
73
75
|
}
|
74
76
|
|
75
77
|
.iti__divider {
|
76
|
-
border-bottom: 1px solid $border_light !important;
|
78
|
+
border-bottom: 1px solid $border_light !important;
|
77
79
|
}
|
78
80
|
|
79
81
|
.iti__selected-country-primary {
|
@@ -93,7 +95,7 @@ $flag-min-resolution: 192dpi;
|
|
93
95
|
justify-content: center;
|
94
96
|
align-items: center;
|
95
97
|
border-width: 0;
|
96
|
-
border-radius: $space_xxs;
|
98
|
+
border-radius: $space_xxs;
|
97
99
|
|
98
100
|
&[aria-expanded="true"] {
|
99
101
|
color: $primary_action;
|
@@ -163,7 +165,7 @@ $flag-min-resolution: 192dpi;
|
|
163
165
|
}
|
164
166
|
|
165
167
|
.iti__arrow.iti__arrow--up::before {
|
166
|
-
transform: rotate(-($transform-rotate-deg
|
168
|
+
transform: rotate(-(math.div($transform-rotate-deg, 3)));
|
167
169
|
top: $space_xs + 4px;
|
168
170
|
color: $primary_action;
|
169
171
|
}
|
@@ -196,7 +198,7 @@ $flag-min-resolution: 192dpi;
|
|
196
198
|
}
|
197
199
|
|
198
200
|
.iti__dropdown-content {
|
199
|
-
border-radius: $space_xs;
|
201
|
+
border-radius: $space_xs;
|
200
202
|
border: 1px solid $border_light !important;
|
201
203
|
position: absolute;
|
202
204
|
top: 100%;
|
@@ -225,12 +227,12 @@ $flag-min-resolution: 192dpi;
|
|
225
227
|
}
|
226
228
|
|
227
229
|
.iti__dropdown-content {
|
228
|
-
border-radius: $space_xs;
|
230
|
+
border-radius: $space_xs;
|
229
231
|
border: 1px solid $border_dark !important;
|
230
232
|
}
|
231
233
|
|
232
234
|
.iti__divider {
|
233
|
-
border-bottom: 1px solid $border_dark !important;
|
235
|
+
border-bottom: 1px solid $border_dark !important;
|
234
236
|
}
|
235
237
|
|
236
238
|
.iti__country-list {
|
@@ -265,7 +267,7 @@ $flag-min-resolution: 192dpi;
|
|
265
267
|
color: $white;
|
266
268
|
}
|
267
269
|
}
|
268
|
-
|
270
|
+
|
269
271
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: $flag-min-resolution) {
|
270
272
|
.iti__flag {
|
271
273
|
background-image: url("https://unpkg.com/intl-tel-input@24.6.0/build/img/flags@2x.png");
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../tokens/spacing";
|
2
4
|
@import "../tokens/colors";
|
3
5
|
@import "../tokens/opacity";
|
@@ -9,9 +11,9 @@ $pb_pill_height: 22px;
|
|
9
11
|
display: inline-flex;
|
10
12
|
justify-content: center;
|
11
13
|
align-items: center;
|
12
|
-
padding: 0 $space-sm
|
14
|
+
padding: 0 math.div($space-sm, 1.8);
|
13
15
|
height: $pb_pill_height;
|
14
|
-
border-radius: $pb_pill_height
|
16
|
+
border-radius: math.div($pb_pill_height, 2);
|
15
17
|
white-space: nowrap;
|
16
18
|
|
17
19
|
&[class*=lowercase] {
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../tokens/colors";
|
2
4
|
@import "../tokens/opacity";
|
3
5
|
@import "../tokens/colors";
|
@@ -21,7 +23,7 @@ $pb_progress_simple_height: 4px;
|
|
21
23
|
[class^=pb_progress_simple_kit] {
|
22
24
|
width: 100%;
|
23
25
|
height: $pb_progress_simple_height;
|
24
|
-
border-radius: $pb_progress_simple_height
|
26
|
+
border-radius: math.div($pb_progress_simple_height, 2);
|
25
27
|
background: rgba($primary, $opacity-1);
|
26
28
|
&[class*=_positive] {
|
27
29
|
.progress_simple_value {
|
@@ -42,7 +44,7 @@ $pb_progress_simple_height: 4px;
|
|
42
44
|
[class^=progress_simple_value] {
|
43
45
|
width: 0%;
|
44
46
|
height: 100%;
|
45
|
-
border-radius: $pb_progress_simple_height
|
47
|
+
border-radius: math.div($pb_progress_simple_height, 2);
|
46
48
|
background: $primary;
|
47
49
|
}
|
48
50
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../pb_textarea/textarea_mixin";
|
2
4
|
@import "../pb_button/_button_mixins";
|
3
5
|
@import "../tokens/border_radius";
|
@@ -94,7 +96,7 @@
|
|
94
96
|
.trix-button--icon {
|
95
97
|
height: $space_lg;
|
96
98
|
width: $space_lg;
|
97
|
-
margin: $space_xs
|
99
|
+
margin: math.div($space_xs, 2);
|
98
100
|
border-radius: $border_rad_heavier;
|
99
101
|
&::before {
|
100
102
|
background-size: auto;
|
@@ -104,7 +106,7 @@
|
|
104
106
|
background: $white;
|
105
107
|
border: 1px solid #E4E8F0;
|
106
108
|
border-bottom: none;
|
107
|
-
padding: $space_xs
|
109
|
+
padding: math.div($space_xs, 2);
|
108
110
|
border-top-left-radius: $border_rad_heavier;
|
109
111
|
border-top-right-radius: $border_rad_heavier;
|
110
112
|
.trix-button-group {
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../pb_body/body_mixins";
|
2
4
|
@import "../pb_textarea/textarea_mixin";
|
3
5
|
@import "../tokens/titles";
|
@@ -81,7 +83,7 @@
|
|
81
83
|
display: block;
|
82
84
|
&.error {
|
83
85
|
[class*=pb_body_kit] {
|
84
|
-
margin-top: $space_xs
|
86
|
+
margin-top: math.div($space_xs, 2);
|
85
87
|
}
|
86
88
|
> select:first-child {
|
87
89
|
border-color: $error;
|
@@ -133,7 +135,7 @@
|
|
133
135
|
box-shadow: none;
|
134
136
|
border-color: transparent;
|
135
137
|
padding: 4px 8px;
|
136
|
-
padding-right: $space_lg;
|
138
|
+
padding-right: $space_lg;
|
137
139
|
border-radius: 4px;
|
138
140
|
option {
|
139
141
|
background-color: $white;
|
@@ -240,7 +242,7 @@
|
|
240
242
|
border-color: transparent;
|
241
243
|
background: transparent;
|
242
244
|
padding: 4px 8px;
|
243
|
-
padding-right: $space_lg;
|
245
|
+
padding-right: $space_lg;
|
244
246
|
border-radius: 4px;
|
245
247
|
option {
|
246
248
|
background-color: $white;
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../tokens/animation-curves";
|
2
4
|
@import "../tokens/colors";
|
3
5
|
@import "../tokens/opacity";
|
@@ -60,7 +62,7 @@ $pb_selectable_paddings: (
|
|
60
62
|
align-items: center;
|
61
63
|
height: $pb_selectable_card_indicator_size;
|
62
64
|
width: $pb_selectable_card_indicator_size;
|
63
|
-
border-radius: $pb_selectable_card_indicator_size
|
65
|
+
border-radius: (math.div($pb_selectable_card_indicator_size, 2)) + (math.div($pb_selectable_card_border, 2));
|
64
66
|
border-width: $pb_selectable_card_border;
|
65
67
|
border-style: solid;
|
66
68
|
border-color: $white;
|
@@ -69,8 +71,8 @@ $pb_selectable_paddings: (
|
|
69
71
|
font-size: $font_smaller;
|
70
72
|
text-align: center;
|
71
73
|
position: absolute;
|
72
|
-
top: -($pb_selectable_card_indicator_size
|
73
|
-
right: -($pb_selectable_card_indicator_size
|
74
|
+
top: -(math.div($pb_selectable_card_indicator_size, 2));
|
75
|
+
right: -(math.div($pb_selectable_card_indicator_size, 2));
|
74
76
|
opacity: 0;
|
75
77
|
}
|
76
78
|
}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../pb_textarea/textarea_mixin";
|
2
4
|
@import "../tokens/titles";
|
3
5
|
@import "../tokens/colors";
|
@@ -100,7 +102,7 @@
|
|
100
102
|
&.error {
|
101
103
|
.text_input_wrapper {
|
102
104
|
[class*="pb_body_kit"] {
|
103
|
-
margin-top: $space_xs
|
105
|
+
margin-top: math.div($space_xs, 2);
|
104
106
|
}
|
105
107
|
input,
|
106
108
|
.text_input {
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
|
1
3
|
@import "../pb_body/body_mixins";
|
2
4
|
@import "./textarea_mixin";
|
3
5
|
@import "../tokens/spacing";
|
@@ -60,7 +62,7 @@
|
|
60
62
|
|
61
63
|
&.error {
|
62
64
|
[class*=pb_body_kit] {
|
63
|
-
margin-top: $space_xs
|
65
|
+
margin-top: math.div($space_xs, 2);
|
64
66
|
}
|
65
67
|
textarea {
|
66
68
|
border-color: $error;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
@use "sass:math";
|
1
2
|
|
2
3
|
[class^=pb_time_range_inline_kit] {
|
3
4
|
&[class*=_center] {
|
@@ -22,14 +23,14 @@
|
|
22
23
|
display: flex;
|
23
24
|
align-items: center;
|
24
25
|
[class*=pb_time_range_inline_arrow] {
|
25
|
-
margin-left: $space_xs
|
26
|
-
margin-right:
|
26
|
+
margin-left: math.div($space_xs, 2);
|
27
|
+
margin-right:math.div($space_xs, 2);
|
27
28
|
}
|
28
29
|
[class*=pb_time_range_inline_timezone] {
|
29
|
-
margin-left: $space_xs
|
30
|
+
margin-left: math.div($space_xs, 2);
|
30
31
|
}
|
31
32
|
[class*=pb_time_range_inline_icon] {
|
32
|
-
margin-right: $space_xs
|
33
|
+
margin-right: math.div($space_xs, 2);
|
33
34
|
}
|
34
35
|
}
|
35
36
|
}
|