HC: whitespace for sidebar

- make some room around the sidebar icons

https://bugzilla.gnome.org/show_bug.cgi?id=752960
This commit is contained in:
Jakub Steiner 2015-07-29 12:20:28 +02:00
parent 1fb154e62a
commit 3cf28a835f
2 changed files with 173 additions and 138 deletions

View File

@ -2112,6 +2112,28 @@ GtkFileChooserDialog {
}
}
$_placesidebar_icons_opacity: 0.9;
GtkSidebarRow {
// Needs overriding of the GtkListBoxRow padding
@at-root .list-row {
padding: 0px;
}
// Using margins/padding directly in the SidebarRow
// will make the animation of the new bookmark row jump
.sidebar-revealer {
padding: 4px 14px 4px 12px;
}
.sidebar-icon {
opacity: $_placesidebar_icons_opacity; // dim the device icons
&:dir(ltr) { padding-right: 8px; }
&:dir(rtl) { padding-left: 8px; }
}
.sidebar-label {
&:dir(ltr) { padding-right: 2px; }
&:dir(rtl) { padding-left: 2px; }
}
}
// Places sidebar is a special case, since the view here have to look like chrome not content, so we override text color
GtkPlacesSidebar.sidebar .view {

View File

@ -2216,12 +2216,10 @@ GtkCalendar {
.message-dialog .dialog-action-area .button {
padding: 8px; }
.message-dialog {
-GtkDialog-button-spacing: 0; }
.message-dialog .titlebar {
.message-dialog .titlebar {
border-style: none;
box-shadow: inset 0 1px #fff; }
.message-dialog.csd {
.message-dialog.csd {
border-bottom-left-radius: 9px;
border-bottom-right-radius: 9px; }
.message-dialog.csd .dialog-action-area .button {
@ -2398,6 +2396,21 @@ GtkFileChooserDialog .dialog-action-box {
border-right: none;
border-left: 1px solid #7f7f7f; }
.list-row {
padding: 0px; }
GtkSidebarRow .sidebar-revealer {
padding: 4px 14px 4px 12px; }
GtkSidebarRow .sidebar-icon {
opacity: 0.9; }
GtkSidebarRow .sidebar-icon:dir(ltr) {
padding-right: 8px; }
GtkSidebarRow .sidebar-icon:dir(rtl) {
padding-left: 8px; }
GtkSidebarRow .sidebar-label:dir(ltr) {
padding-right: 2px; }
GtkSidebarRow .sidebar-label:dir(rtl) {
padding-left: 2px; }
GtkPlacesSidebar.sidebar .view {
color: #000;
background-color: transparent; }