Skip to content

Commit

Permalink
Be explicit with the transitioned properties
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Sep 24, 2020
1 parent eeb035a commit e37d2d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/lumen/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
&.disabled:focus {
margin-top: 6px;
border-color: $nav-tabs-border-color;
transition: all .2s ease-in-out;
transition: padding-bottom .2s ease-in-out, margin-top .2s ease-in-out, border-bottom .2s ease-in-out;
}

&:not(.disabled):hover,
Expand Down
13 changes: 7 additions & 6 deletions dist/materia/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;50
&:active::after {
background-size: 0 0;
opacity: .2;
transition: 0s;
transition: none;
}

&.disabled,
Expand Down Expand Up @@ -119,7 +119,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;50
text-transform: uppercase;
border: none;
box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
transition: all .4s;
transition: color .4s, background-color .4s, border-color .4s, box-shadow .4s;

&-link {
box-shadow: none;
Expand Down Expand Up @@ -230,7 +230,7 @@ p {
> tbody > tr,
> tbody > tr > th,
> tbody > tr > td {
transition: all .2s;
transition: background-color .2s, color .2s;
}
}

Expand Down Expand Up @@ -354,10 +354,11 @@ select.form-control {
&:checked {
~ .custom-control-label::before {
background: $white;
transition: border-color .24s;
}
~ .custom-control-label::after {
transform: scale(1.125);
transition: 240ms;
transition: background-image .24s, transform .24s;
}
}
}
Expand Down Expand Up @@ -557,7 +558,7 @@ select.form-control {
border: none;
color: $body-color;
box-shadow: inset 0 -1px 0 #ddd;
transition: all .2s;
transition: color .2s, box-shadow .2s;

&:hover {
background-color: transparent;
Expand Down Expand Up @@ -674,7 +675,7 @@ select.form-control {
.close {
line-height: .5;
opacity: .6;
transition: all .2s;
transition: opacity .2s;

&:hover {
opacity: 1;
Expand Down

0 comments on commit e37d2d6

Please sign in to comment.