Bug 878545: adjust scaling of toolbar items when dragged. r=jaws

This commit is contained in:
Mike de Boer 2013-09-25 15:09:37 +02:00
Родитель e8abf64c93
Коммит 9f46b97639
1 изменённых файлов: 10 добавлений и 3 удалений

Просмотреть файл

@ -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);
}