зеркало из https://github.com/mozilla/gecko-dev.git
Bug 878545: adjust scaling of toolbar items when dragged. r=jaws
This commit is contained in:
Родитель
e8abf64c93
Коммит
9f46b97639
|
@ -108,15 +108,22 @@
|
|||
}
|
||||
|
||||
toolbarpaletteitem {
|
||||
transition: transform, background-color, border-color, box-shadow, border-width;
|
||||
transition-duration: 50ms, 10ms, 10ms, 10ms, 250ms;
|
||||
transition-timing-function: ease-in-out, linear, linear, linear, ease-in-out;
|
||||
transition: background-color, border-color, box-shadow, border-width;
|
||||
transition-duration: 10ms, 10ms, 10ms, 250ms;
|
||||
transition-timing-function: linear, linear, linear, ease-in-out;
|
||||
}
|
||||
|
||||
toolbarpaletteitem[mousedown] {
|
||||
box-shadow: inset 0 0 3px hsl(204,100%,40%);
|
||||
cursor: -moz-grabbing;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon {
|
||||
transition: transform 50ms ease-in-out;
|
||||
}
|
||||
|
||||
toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче