mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-17 07:30:09 +00:00
HC: sidebars and vertical toolbars with borders
- the assumption for vertical toolbar being on the left is perhaps a little daring, but... https://bugzilla.gnome.org/show_bug.cgi?id=740859
This commit is contained in:
parent
825ef99e17
commit
88a12fe777
@ -828,6 +828,13 @@ GtkComboBox {
|
|||||||
border-width: 0 0 1px;
|
border-width: 0 0 1px;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
}
|
}
|
||||||
|
&.vertical {
|
||||||
|
border-right: 1px solid $borders_color;
|
||||||
|
&:dir(rtl) {
|
||||||
|
border-right: none;
|
||||||
|
border-left: 1px solid $borders_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
%inset-bar {
|
%inset-bar {
|
||||||
@ -1990,10 +1997,7 @@ GtkFileChooserDialog {
|
|||||||
***********/
|
***********/
|
||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
border-width: 1px 0 0 0;
|
border: none;
|
||||||
border-style: solid;
|
|
||||||
border-color: $borders_color;
|
|
||||||
&:dir(rtl) { border-width: 0 0 0 1px; }
|
|
||||||
&:backdrop {
|
&:backdrop {
|
||||||
background-color: $bg_color;
|
background-color: $bg_color;
|
||||||
}
|
}
|
||||||
@ -2001,6 +2005,14 @@ GtkFileChooserDialog {
|
|||||||
&:selected {
|
&:selected {
|
||||||
@extend %selected_items;
|
@extend %selected_items;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& > GtkScrolledWindow > .frame {
|
||||||
|
border-right: 1px solid $borders_color;
|
||||||
|
&:dir(rtl) {
|
||||||
|
border-right: none;
|
||||||
|
border-left: 1px solid $borders_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Places sidebar is a special case, since the view here have to look like chrome not content, so we override text color
|
// Places sidebar is a special case, since the view here have to look like chrome not content, so we override text color
|
||||||
|
@ -946,6 +946,11 @@ GtkComboBox {
|
|||||||
.toolbar.search-bar {
|
.toolbar.search-bar {
|
||||||
border-width: 0 0 1px;
|
border-width: 0 0 1px;
|
||||||
padding: 3px; }
|
padding: 3px; }
|
||||||
|
.toolbar.vertical {
|
||||||
|
border-right: 1px solid #7f7f7f; }
|
||||||
|
.toolbar.vertical:dir(rtl) {
|
||||||
|
border-right: none;
|
||||||
|
border-left: 1px solid #7f7f7f; }
|
||||||
|
|
||||||
.toolbar.inline-toolbar, .toolbar.search-bar {
|
.toolbar.inline-toolbar, .toolbar.search-bar {
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
@ -2173,13 +2178,14 @@ GtkFileChooserDialog .dialog-action-box {
|
|||||||
* Sidebar *
|
* Sidebar *
|
||||||
***********/
|
***********/
|
||||||
.sidebar {
|
.sidebar {
|
||||||
border-width: 1px 0 0 0;
|
border: none; }
|
||||||
border-style: solid;
|
|
||||||
border-color: #7f7f7f; }
|
|
||||||
.sidebar:dir(rtl) {
|
|
||||||
border-width: 0 0 0 1px; }
|
|
||||||
.sidebar:backdrop {
|
.sidebar:backdrop {
|
||||||
background-color: #fff; }
|
background-color: #fff; }
|
||||||
|
.sidebar > GtkScrolledWindow > .frame {
|
||||||
|
border-right: 1px solid #7f7f7f; }
|
||||||
|
.sidebar > GtkScrolledWindow > .frame:dir(rtl) {
|
||||||
|
border-right: none;
|
||||||
|
border-left: 1px solid #7f7f7f; }
|
||||||
|
|
||||||
GtkPlacesSidebar.sidebar .view {
|
GtkPlacesSidebar.sidebar .view {
|
||||||
color: #000;
|
color: #000;
|
||||||
|
Loading…
Reference in New Issue
Block a user