Skip to content

Commit e77a983

Browse files
committed
Rely on $timing-*
1 parent 15821d6 commit e77a983

File tree

14 files changed

+17
-17
lines changed

14 files changed

+17
-17
lines changed

src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ footer {
5050
<style lang="scss">
5151
.fade {
5252
&-enter-active {
53-
transition: all 250ms ease;
53+
transition: all $timing-fast ease;
5454
}
5555
&-leave-active {
56-
transition: all 100ms ease;
56+
transition: all $timing-very-fast ease;
5757
}
5858
&-enter,
5959
&-leave-to {

src/components/AppExample.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@ $code-attr-val-color: $red;
122122
padding: 4px 8px;
123123
font-size: 9px;
124124
text-transform: uppercase;
125-
transition: all 250ms ease;
125+
transition: all $timing-fast ease;
126126
}
127127
&-preview {
128128
overflow: auto;
129129
-webkit-overflow-scrolling: touch;
130130
padding: $example-padding;
131131
color: $example-preview-color;
132132
background-color: $example-preview-background-color;
133-
transition: all 250ms ease;
133+
transition: all $timing-fast ease;
134134
&-transparency-grid {
135135
background-image: linear-gradient(45deg, rgba($gray-300, 0.05) 25%, transparent 25%, transparent 75%, rgba($gray-300, 0.05) 75%),
136136
linear-gradient(45deg, rgba($gray-300, 0.05) 25%, transparent 25%, transparent 75%, rgba($gray-300, 0.05) 75%);

src/components/AppNav.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
padding: 4px 8px;
2525
margin: 0 -8px;
2626
border-radius: $component-border-radius;
27-
transition: all 250ms ease;
27+
transition: all $timing-fast ease;
2828
&:hover {
2929
text-decoration: none;
3030
background-color: var(--component-background-color-hover);

src/scss/buttons/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ $button-min-width-xs: 80px !default;
9393
$button-min-width-sm: 100px !default;
9494
$button-min-width-md: 140px !default;
9595
$button-min-width-lg: 140px !default;
96-
$button-transition: all 100ms ease !default;
96+
$button-transition: all $timing-very-fast ease !default;
9797

9898
// button colors
9999
$button-primary-color: $primary !default;

src/scss/buttons/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ $button-padding-y: $component-padding-sm !default;
3232
$button-padding-x: $component-padding !default;
3333
$button-padding: $button-padding-y $button-padding-x !default;
3434
$button-min-width: 120px !default;
35-
$button-transition: all 100ms ease !default;
35+
$button-transition: all $timing-very-fast ease !default;
3636

3737
///
3838
/// Colors

src/scss/cards/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
overflow: hidden;
1515
position: relative;
1616
z-index: 0; // with position: relative, avoid img transition issue with border-radius (overflow not hidden has expected)
17-
transition: all 250ms ease, box-shadow 100ms ease;
17+
transition: all $timing-fast ease, box-shadow $timing-very-fast ease;
1818
@media (hover: hover) {
1919
&:hover {
2020
text-decoration: none;

src/scss/forms/_label.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
cursor: pointer;
88
color: inherit;
99
line-height: $form-label-line-height;
10-
transition: all 250ms ease;
10+
transition: all $timing-fast ease;
1111
@media (hover: hover) {
1212
// &-hover { // Does not work very well
1313
// margin: (-$spacer-sm) (-$spacer-sm);

src/scss/forms/controls/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
@if ($form-enabled) {
44
.form-control {
5-
transition: all 0.2s;
5+
transition: all $timing-fast ease;
66
outline: none;
77
appearance: none;
88
box-shadow: none;

src/scss/forms/controls/_switches.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
bottom: $form-switch-inner-padding;
3333
left: $form-switch-inner-padding;
3434
border-radius: calc(#{$form-control-border-radius} - #{$form-switch-inner-padding});
35-
transition: all 250ms ease;
35+
transition: all $timing-fast ease;
3636
}
3737
&:checked {
3838
&::before {

src/scss/forms/controls/slider/index.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
cursor: pointer;
5454
appearance: none;
5555
margin-top: round($slider-track-height/2 - $slider-thumb-height/2);
56-
transition: all 100ms ease;
56+
transition: all $timing-very-fast ease;
5757
}
5858
&::-moz-range-thumb {
5959
width: $slider-thumb-width;
@@ -62,7 +62,7 @@
6262
border-radius: $slider-thumb-border-radius;
6363
border: $slider-thumb-border;
6464
cursor: pointer;
65-
transition: all 100ms ease;
65+
transition: all $timing-very-fast ease;
6666
}
6767
&::-ms-thumb {
6868
margin: 0;

0 commit comments

Comments
 (0)