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