mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 08:20:36 +00:00
Adwaita: actionbars' padding
This commit is contained in:
parent
630b5b9797
commit
0ff5c41718
@ -273,16 +273,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
// headerbar buttons
|
||||
.header-bar & {
|
||||
&.text-button {
|
||||
padding: 6px 8px 5px; // due to font metrics the image buttons
|
||||
// are 1px shorter
|
||||
}
|
||||
&.image-button {
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
// buttons in header bars and action bars
|
||||
&.image-button { padding: 8px; }
|
||||
&.text-button { padding: 6px 8px 5px; } // due to font metrics
|
||||
|
||||
//inline-toolbar buttons
|
||||
.inline-toolbar &, .inline-toolbar &:backdrop {
|
||||
@ -562,10 +555,6 @@ GtkComboBox {
|
||||
}
|
||||
}
|
||||
|
||||
.action-bar {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
/***************
|
||||
* Header bars *
|
||||
***************/
|
||||
@ -1549,8 +1538,12 @@ GtkLevelBar.vertical {
|
||||
**********/
|
||||
.frame {
|
||||
border: 1px solid $borders_color;
|
||||
padding: 0;
|
||||
&:backdrop { border-color: $backdrop_borders_color; }
|
||||
padding: 0;
|
||||
&.action-bar {
|
||||
padding: 6px;
|
||||
border-width: 1px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
GtkScrolledWindow {
|
||||
|
@ -408,10 +408,10 @@
|
||||
text-shadow: none;
|
||||
icon-shadow: none;
|
||||
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0.1); }
|
||||
.header-bar .button.text-button {
|
||||
padding: 6px 8px 5px; }
|
||||
.header-bar .button.image-button {
|
||||
.button.image-button {
|
||||
padding: 8px; }
|
||||
.button.text-button {
|
||||
padding: 6px 8px 5px; }
|
||||
.inline-toolbar .button, .inline-toolbar .button:backdrop {
|
||||
border-radius: 2px;
|
||||
border-width: 1px; }
|
||||
@ -672,9 +672,6 @@ GtkComboBox {
|
||||
background-color: #2f3434;
|
||||
box-shadow: none; }
|
||||
|
||||
.action-bar {
|
||||
padding: 4px; }
|
||||
|
||||
/***************
|
||||
* Header bars *
|
||||
***************/
|
||||
@ -2124,6 +2121,9 @@ GtkLevelBar.vertical {
|
||||
padding: 0; }
|
||||
.frame:backdrop {
|
||||
border-color: #1e2222; }
|
||||
.frame.action-bar {
|
||||
padding: 6px;
|
||||
border-width: 1px 0 0; }
|
||||
|
||||
GtkScrolledWindow .frame {
|
||||
border-radius: 2px; }
|
||||
|
@ -408,10 +408,10 @@
|
||||
text-shadow: none;
|
||||
icon-shadow: none;
|
||||
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; }
|
||||
.header-bar .button.text-button {
|
||||
padding: 6px 8px 5px; }
|
||||
.header-bar .button.image-button {
|
||||
.button.image-button {
|
||||
padding: 8px; }
|
||||
.button.text-button {
|
||||
padding: 6px 8px 5px; }
|
||||
.inline-toolbar .button, .inline-toolbar .button:backdrop {
|
||||
border-radius: 2px;
|
||||
border-width: 1px; }
|
||||
@ -672,9 +672,6 @@ GtkComboBox {
|
||||
background-color: #d4d4d4;
|
||||
box-shadow: none; }
|
||||
|
||||
.action-bar {
|
||||
padding: 4px; }
|
||||
|
||||
/***************
|
||||
* Header bars *
|
||||
***************/
|
||||
@ -2122,6 +2119,9 @@ GtkLevelBar.vertical {
|
||||
padding: 0; }
|
||||
.frame:backdrop {
|
||||
border-color: #a8a8a8; }
|
||||
.frame.action-bar {
|
||||
padding: 6px;
|
||||
border-width: 1px 0 0; }
|
||||
|
||||
GtkScrolledWindow .frame {
|
||||
border-radius: 2px; }
|
||||
|
Loading…
Reference in New Issue
Block a user