HighContrast: Update image styling

Use the new element name instead of the type name.
This commit is contained in:
Matthias Clasen 2015-10-23 00:05:46 -04:00
parent 6f90b3ca31
commit 57057f73e4
2 changed files with 7 additions and 7 deletions

View File

@ -958,7 +958,7 @@ GtkComboBox {
& label:last-child { padding-left: 2px; }
& label:first-child { padding-right: 2px; }
& label:only-child { padding-right: 0; padding-left: 0; }
GtkImage { padding-top: 1px; }
image { padding-top: 1px; }
}
@ -1454,7 +1454,7 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
border-color: transparent;
border-width: 2px;
}
& > GtkImage { // this is a hack which makes tabs grow
& > image { // this is a hack which makes tabs grow
padding: 2px;
}
}
@ -2229,8 +2229,8 @@ GtkPlacesSidebar.sidebar {
@extend .button.flat;
border-radius: 100%;
outline-radius: 100%;
&:not(:hover):not(:active) > GtkImage,
&:backdrop > GtkImage { opacity: $_placesidebar_icons_opacity };
&:not(:hover):not(:active) > image,
&:backdrop > image { opacity: $_placesidebar_icons_opacity };
}
// this is for indicating which sidebar row generated a popover
// see https://bugzilla.gnome.org/show_bug.cgi?id=754411

View File

@ -1184,7 +1184,7 @@ GtkComboBox {
.path-bar .button label:only-child {
padding-right: 0;
padding-left: 0; }
.path-bar .button GtkImage {
.path-bar .button image {
padding-top: 1px; }
/**************
@ -1645,7 +1645,7 @@ GtkTreeView.view.progressbar {
color: rgba(0, 0, 0, 0.3);
border-color: transparent;
border-width: 2px; }
.notebook tab .button > GtkImage {
.notebook tab .button > image {
padding: 2px; }
/**************
@ -2417,7 +2417,7 @@ GtkSidebarRow .sidebar-label:dir(rtl) {
outline-radius: 100%; }
.sidebar-button.button.image-button {
padding: 5px; }
.sidebar-button.button:not(:hover):not(:active) > GtkImage, .sidebar-button.button:backdrop > GtkImage {
.sidebar-button.button:not(:hover):not(:active) > image, .sidebar-button.button:backdrop > image {
opacity: 0.9; }
GtkPlacesSidebar.sidebar .view {
color: #000;