Fixes to spinner

pull/20/merge
Satyajit Sahoo 2013-03-17 20:01:04 +05:30
parent 06f3bab0f3
commit ab99cbaea7
1 changed files with 14 additions and 7 deletions

View File

@ -1526,14 +1526,21 @@ GtkComboBox .separator {
background-repeat: no-repeat;
}
.menu.spinner,
.primary-toolbar .spinner,
.primary-toolbar .spinner {
color: @theme_selected_bg_color;
.spinner:active {
background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent));
animation: spinner 1s infinite linear;
}
.spinner:active {
animation: spinner 1s infinite linear;
.menu.spinner,
.primary-toolbar .spinner {
color: @theme_selected_bg_color;
}
/*******
@ -1952,4 +1959,4 @@ GtkViewport.frame {
.view:selected:focus {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
}
}