Adwaita: avoid sizing transition on the scale...

... since it ends up jumpy.
This commit is contained in:
Lapo Calamandrei 2016-03-24 13:15:23 +01:00
parent f5b6ab4557
commit 16dc164292
3 changed files with 5 additions and 2 deletions

View File

@ -2837,6 +2837,7 @@ scale {
border: 1px solid darken($borders_color, 3%);
border-radius: 100%;
transition: $button_transition;
transition-property: background, border, box-shadow;
&:hover { @include button(hover-alt, $edge: $shadow_color); }

View File

@ -2997,7 +2997,8 @@ scale {
box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -2px #2f3434, inset 0 -1px #232727, 0 1px rgba(0, 0, 0, 0.1);
border: 1px solid #151717;
border-radius: 100%;
transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
transition-property: background, border, box-shadow; }
scale slider:hover {
color: #eeeeec;
outline-color: rgba(238, 238, 236, 0.3);

View File

@ -3026,7 +3026,8 @@ scale {
box-shadow: inset 0 1px white, inset 0 -2px #ededec, inset 0 -1px #cacac8, 0 1px rgba(0, 0, 0, 0.1);
border: 1px solid #969691;
border-radius: 100%;
transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
transition-property: background, border, box-shadow; }
scale slider:hover {
color: #2e3436;
outline-color: rgba(46, 52, 54, 0.3);