+19
-19
lines changedFilter options
+19
-19
lines changed Original file line number Diff line number Diff line change
@@ -30,8 +30,8 @@ $b-custom-checkbox-indicator-border-radius-sm: $border-radius-sm !default;
30
30
// Custom switch sizes
31
31
$b-custom-switch-width-lg: $b-custom-control-indicator-size-lg * 1.75 !default;
32
32
$b-custom-switch-width-sm: $b-custom-control-indicator-size-sm * 1.75 !default;
33
-
$b-custom-switch-indicator-border-radius-lg: $b-custom-control-indicator-size-lg / 2 !default;
34
-
$b-custom-switch-indicator-border-radius-sm: $b-custom-control-indicator-size-sm / 2 !default;
33
+
$b-custom-switch-indicator-border-radius-lg: $b-custom-control-indicator-size-lg * 0.5 !default;
34
+
$b-custom-switch-indicator-border-radius-sm: $b-custom-control-indicator-size-sm * 0.5 !default;
35
35
$b-custom-switch-indicator-size-lg: calc(
36
36
#{$b-custom-control-indicator-size-lg} - #{$custom-control-indicator-border-width * 4}
37
37
) !default;
Original file line number Diff line number Diff line change
@@ -7,15 +7,15 @@
7
7
padding-left: $b-custom-control-gutter-lg + $b-custom-control-indicator-size-lg;
8
8
9
9
.custom-control-label::before {
10
-
top: ($font-size-lg * $line-height-lg - $b-custom-control-indicator-size-lg) / 2;
10
+
top: ($font-size-lg * $line-height-lg - $b-custom-control-indicator-size-lg) * 0.5;
11
11
left: -($b-custom-control-gutter-lg + $b-custom-control-indicator-size-lg);
12
12
width: $b-custom-control-indicator-size-lg;
13
13
height: $b-custom-control-indicator-size-lg;
14
14
@include border-radius($b-custom-checkbox-indicator-border-radius-lg);
15
15
}
16
16
17
17
.custom-control-label::after {
18
-
top: ($font-size-lg * $line-height-lg - $b-custom-control-indicator-size-lg) / 2;
18
+
top: ($font-size-lg * $line-height-lg - $b-custom-control-indicator-size-lg) * 0.5;
19
19
left: -($b-custom-control-gutter-lg + $b-custom-control-indicator-size-lg);
20
20
width: $b-custom-control-indicator-size-lg;
21
21
height: $b-custom-control-indicator-size-lg;
@@ -30,15 +30,15 @@
30
30
padding-left: $b-custom-control-gutter-sm + $b-custom-control-indicator-size-sm;
31
31
32
32
.custom-control-label::before {
33
-
top: ($font-size-sm * $line-height-sm - $b-custom-control-indicator-size-sm) / 2;
33
+
top: ($font-size-sm * $line-height-sm - $b-custom-control-indicator-size-sm) * 0.5;
34
34
left: -($b-custom-control-gutter-sm + $b-custom-control-indicator-size-sm);
35
35
width: $b-custom-control-indicator-size-sm;
36
36
height: $b-custom-control-indicator-size-sm;
37
37
@include border-radius($b-custom-checkbox-indicator-border-radius-sm);
38
38
}
39
39
40
40
.custom-control-label::after {
41
-
top: ($font-size-sm * $line-height-sm - $b-custom-control-indicator-size-sm) / 2;
41
+
top: ($font-size-sm * $line-height-sm - $b-custom-control-indicator-size-sm) * 0.5;
42
42
left: -($b-custom-control-gutter-sm + $b-custom-control-indicator-size-sm);
43
43
width: $b-custom-control-indicator-size-sm;
44
44
height: $b-custom-control-indicator-size-sm;
@@ -55,7 +55,7 @@
55
55
line-height: $line-height-lg;
56
56
57
57
&::before {
58
-
top: ($font-size-lg * $line-height-lg - $b-custom-control-indicator-size-lg) / 2;
58
+
top: ($font-size-lg * $line-height-lg - $b-custom-control-indicator-size-lg) * 0.5;
59
59
height: $b-custom-control-indicator-size-lg;
60
60
left: -($b-custom-switch-width-lg + $b-custom-control-gutter-lg);
61
61
width: $b-custom-switch-width-lg;
@@ -64,7 +64,7 @@
64
64
65
65
&::after {
66
66
top: calc(
67
-
#{(($font-size-lg * $line-height-lg - $b-custom-control-indicator-size-lg) / 2)} + #{$custom-control-indicator-border-width *
67
+
#{(($font-size-lg * $line-height-lg - $b-custom-control-indicator-size-lg) * 0.5)} + #{$custom-control-indicator-border-width *
68
68
2}
69
69
);
70
70
left: calc(
@@ -94,7 +94,7 @@
94
94
line-height: $line-height-sm;
95
95
96
96
&::before {
97
-
top: ($font-size-sm * $line-height-sm - $b-custom-control-indicator-size-sm) / 2;
97
+
top: ($font-size-sm * $line-height-sm - $b-custom-control-indicator-size-sm) * 0.5;
98
98
left: -($b-custom-switch-width-sm + $b-custom-control-gutter-sm);
99
99
width: $b-custom-switch-width-sm;
100
100
height: $b-custom-control-indicator-size-sm;
@@ -103,7 +103,7 @@
103
103
104
104
&::after {
105
105
top: calc(
106
-
#{(($font-size-sm * $line-height-sm - $b-custom-control-indicator-size-sm) / 2)} + #{$custom-control-indicator-border-width *
106
+
#{(($font-size-sm * $line-height-sm - $b-custom-control-indicator-size-sm) * 0.5)} + #{$custom-control-indicator-border-width *
107
107
2}
108
108
);
109
109
left: calc(
Original file line number Diff line number Diff line change
@@ -17,20 +17,20 @@
17
17
input[type="color"].form-control {
18
18
height: $input-height;
19
19
// We use the smaller padding to make the color block larger
20
-
padding: ($input-padding-y-sm / 2) ($input-padding-x-sm / 2);
20
+
padding: ($input-padding-y-sm * 0.5) ($input-padding-x-sm * 0.5);
21
21
}
22
22
23
23
input[type="color"].form-control.form-control-sm,
24
24
.input-group-sm input[type="color"].form-control {
25
25
height: $input-height-sm;
26
26
// We use the smaller padding to make the color block larger
27
-
padding: ($input-padding-y-sm / 2) ($input-padding-x-sm / 2);
27
+
padding: ($input-padding-y-sm * 0.5) ($input-padding-x-sm * 0.5);
28
28
}
29
29
30
30
input[type="color"].form-control.form-control-lg,
31
31
.input-group-lg input[type="color"].form-control {
32
32
height: $input-height-lg;
33
-
padding: ($input-padding-y-sm / 2) ($input-padding-x-sm / 2);
33
+
padding: ($input-padding-y-sm * 0.5) ($input-padding-x-sm * 0.5);
34
34
}
35
35
36
36
input[type="color"].form-control:disabled {
Original file line number Diff line number Diff line change
@@ -7,15 +7,15 @@
7
7
padding-left: $b-custom-control-gutter-lg + $b-custom-control-indicator-size-lg;
8
8
9
9
.custom-control-label::before {
10
-
top: ($font-size-lg * $line-height-lg - $b-custom-control-indicator-size-lg) / 2;
10
+
top: ($font-size-lg * $line-height-lg - $b-custom-control-indicator-size-lg) * 0.5;
11
11
left: -($b-custom-control-gutter-lg + $b-custom-control-indicator-size-lg);
12
12
width: $b-custom-control-indicator-size-lg;
13
13
height: $b-custom-control-indicator-size-lg;
14
14
border-radius: $b-custom-radio-indicator-border-radius-lg;
15
15
}
16
16
17
17
.custom-control-label::after {
18
-
top: ($font-size-lg * $line-height-lg - $b-custom-control-indicator-size-lg) / 2;
18
+
top: ($font-size-lg * $line-height-lg - $b-custom-control-indicator-size-lg) * 0.5;
19
19
left: -($b-custom-control-gutter-lg + $b-custom-control-indicator-size-lg);
20
20
width: $b-custom-control-indicator-size-lg;
21
21
height: $b-custom-control-indicator-size-lg;
@@ -30,15 +30,15 @@
30
30
padding-left: $b-custom-control-gutter-sm + $b-custom-control-indicator-size-sm;
31
31
32
32
.custom-control-label::before {
33
-
top: ($font-size-sm * $line-height-sm - $b-custom-control-indicator-size-sm) / 2;
33
+
top: ($font-size-sm * $line-height-sm - $b-custom-control-indicator-size-sm) * 0.5;
34
34
left: -($b-custom-control-gutter-sm + $b-custom-control-indicator-size-sm);
35
35
width: $b-custom-control-indicator-size-sm;
36
36
height: $b-custom-control-indicator-size-sm;
37
37
border-radius: $b-custom-radio-indicator-border-radius-sm;
38
38
}
39
39
40
40
.custom-control-label::after {
41
-
top: ($font-size-sm * $line-height-sm - $b-custom-control-indicator-size-sm) / 2;
41
+
top: ($font-size-sm * $line-height-sm - $b-custom-control-indicator-size-sm) * 0.5;
42
42
left: -($b-custom-control-gutter-sm + $b-custom-control-indicator-size-sm);
43
43
width: $b-custom-control-indicator-size-sm;
44
44
height: $b-custom-control-indicator-size-sm;
Original file line number Diff line number Diff line change
@@ -104,7 +104,7 @@
104
104
105
105
// Fade animation
106
106
.b-skeleton-animate-fade {
107
-
animation: b-skeleton-animate-fade ($b-skeleton-animation-duration / 2) ease-in-out alternate
107
+
animation: b-skeleton-animate-fade ($b-skeleton-animation-duration * 0.5) ease-in-out alternate
108
108
infinite;
109
109
110
110
@media (prefers-reduced-motion: reduce) {
@@ -123,7 +123,7 @@
123
123
124
124
// Throb animation
125
125
.b-skeleton-animate-throb {
126
-
animation: b-skeleton-animate-throb ($b-skeleton-animation-duration / 2) ease-in alternate
126
+
animation: b-skeleton-animate-throb ($b-skeleton-animation-duration * 0.5) ease-in alternate
127
127
infinite;
128
128
129
129
@media (prefers-reduced-motion: reduce) {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4