forked from AuroraMiddleware/gtk
Adwaita: transition :active buttons faster than the other states
https://bugzilla.gnome.org/show_bug.cgi?id=732134
This commit is contained in:
parent
5e25bbb2ae
commit
c9152d2a71
@ -214,7 +214,7 @@ GtkLabel {
|
||||
|
||||
.button {
|
||||
border-radius: 3px;
|
||||
// transition: all 200ms ease-out;
|
||||
transition: all 200ms ease-out;
|
||||
padding: 4px 6px;
|
||||
@include button(normal);
|
||||
&:hover, &.flat:hover {
|
||||
@ -223,6 +223,7 @@ GtkLabel {
|
||||
}
|
||||
&:active, &.flat:active {
|
||||
@include button(active);
|
||||
transition-duration: 50ms;
|
||||
}
|
||||
&:backdrop, &.flat:backdrop {
|
||||
@include button(backdrop);
|
||||
|
@ -213,6 +213,7 @@
|
||||
***********/
|
||||
.button {
|
||||
border-radius: 3px;
|
||||
transition: all 200ms ease-out;
|
||||
padding: 4px 6px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
@ -240,7 +241,8 @@
|
||||
background-image: linear-gradient(to bottom, #212424, #2d3232 3%);
|
||||
text-shadow: 0 -1px rgba(0, 0, 0, 0.89176);
|
||||
icon-shadow: 0 -1px rgba(0, 0, 0, 0.89176);
|
||||
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3), 0 1px rgba(238, 238, 236, 0.1); }
|
||||
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3), 0 1px rgba(238, 238, 236, 0.1);
|
||||
transition-duration: 50ms; }
|
||||
.button:backdrop, .button.flat:backdrop {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
|
@ -213,6 +213,7 @@
|
||||
***********/
|
||||
.button {
|
||||
border-radius: 3px;
|
||||
transition: all 200ms ease-out;
|
||||
padding: 4px 6px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
@ -240,7 +241,8 @@
|
||||
background-image: linear-gradient(to bottom, #c7c7c7, #d1d1d1 3%, lightgray);
|
||||
text-shadow: 0 1px rgba(255, 255, 255, 0.76923);
|
||||
icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
|
||||
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3), 0 1px white; }
|
||||
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3), 0 1px white;
|
||||
transition-duration: 50ms; }
|
||||
.button:backdrop, .button.flat:backdrop {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
|
Loading…
Reference in New Issue
Block a user