Titlebar button sizes

This should bring some consistency to the header-bar button sizes.
The symbolic printer icon was missing in the icon theme, causing a print button in the GNOME FeedReader to default to a much larger version on the same icon, which would cause the other titlebar buttons to increase in size. There are bound to be other icons that will cause a similar effect.
This commit is contained in:
EMH-Mark-I 2020-04-11 01:25:26 -05:00
parent be868f4e14
commit 5ec4fcfd41
16 changed files with 40 additions and 56 deletions

View File

@ -0,0 +1 @@
printer.png

View File

@ -0,0 +1 @@
printer.png

View File

@ -0,0 +1 @@
printer.png

View File

@ -0,0 +1 @@
printer.png

View File

@ -0,0 +1 @@
printer.png

View File

@ -0,0 +1 @@
printer.png

View File

@ -233,8 +233,7 @@ box-shadow: inset 1px 1px @border_color, inset -1px -1px @border_color; }
/* image buttons */
.image-button {
padding: 0px;
min-width: 20px;
min-height: 20px; }
color: @text_color; }
.image-button label {
padding-left: 4px;
padding-right: 4px; }

View File

@ -36,20 +36,6 @@ headerbar,
margin: 3px;
padding-top: 1px;
padding-bottom: 1px; }
headerbar button:not(.titlebutton) > image {
border: solid 1px;
border-color: transparent;
padding-left: 3px;
padding-right: 3px;
margin-top: -3px;
margin-bottom: -3px; }
headerbar button:active:not(.titlebutton) > image {
border: solid;
border-color: transparent;
border-left-width: 2px;
border-right-width: 0px;
border-top-width: 2px;
border-bottom-width: 0px; }
headerbar separator {
margin-right: 3px;
border-left-width: 1px;

View File

@ -3,7 +3,8 @@
*********/
paned {
margin: 0px; }
margin: 0px;
padding: 1px; }
/* GTK has the panes flipped. the .horizontal is ACTUALLY a vertical.*/
paned.horizontal > separator {

View File

@ -20,13 +20,13 @@
/* The following button definitions allows us to have slim buttons on
* headerbars with no big elements while still maintaining a good
* looking headerbar with big elements */
.titlebar button:not(.titlebutton) {
.titlebar button {
padding-top: 0px;
padding-bottom: 0px;
padding-left: 1px;
padding-right: 1px;
margin-top: 2px;
margin-bottom: 2px;
margin-top: 4px;
margin-bottom: 4px;
min-height: 16px;
min-width: 16px; }

View File

@ -417,14 +417,9 @@ headerbar .title {
headerbar .subtitle {
font-size: smaller; }
headerbar box {
margin: 1px; }
headerbar button image {
padding: 1px; }
headerbar box button image {
padding: 1px; }
/**************
* rubberband *
**************/
.rubberband,
rubberband,
@ -451,3 +446,11 @@ grid viewport box box textview {
/* dialog-vbox */
.dialog-vbox flowbox flowboxchild:focus {
outline-color: @selected_fg_color; }
.dialog-vbox > grid {
border: 1px solid red;
border: 2px solid @border_dark;
border-image: url("assets/frame_inset.png");
border-image-slice: 2 2 2 2;
border-radius: 0px;
box-shadow: none; }

View File

@ -233,8 +233,7 @@ box-shadow: inset 1px 1px @border_color, inset -1px -1px @border_color; }
/* image buttons */
.image-button {
padding: 0px;
min-width: 20px;
min-height: 20px; }
color: @text_color; }
.image-button label {
padding-left: 4px;
padding-right: 4px; }

View File

@ -36,20 +36,6 @@ headerbar,
margin: 3px;
padding-top: 1px;
padding-bottom: 1px; }
headerbar button:not(.titlebutton) > image {
border: solid 1px;
border-color: transparent;
padding-left: 3px;
padding-right: 3px;
margin-top: -3px;
margin-bottom: -3px; }
headerbar button:active:not(.titlebutton) > image {
border: solid;
border-color: transparent;
border-left-width: 2px;
border-right-width: 0px;
border-top-width: 2px;
border-bottom-width: 0px; }
headerbar separator {
margin-right: 3px;
border-left-width: 1px;

View File

@ -3,7 +3,8 @@
*********/
paned {
margin: 0px; }
margin: 0px;
padding: 1px; }
/* GTK has the panes flipped. the .horizontal is ACTUALLY a vertical.*/
paned.horizontal > separator {

View File

@ -20,13 +20,13 @@
/* The following button definitions allows us to have slim buttons on
* headerbars with no big elements while still maintaining a good
* looking headerbar with big elements */
.titlebar button:not(.titlebutton) {
.titlebar button {
padding-top: 0px;
padding-bottom: 0px;
padding-left: 1px;
padding-right: 1px;
margin-top: 2px;
margin-bottom: 2px;
margin-top: 4px;
margin-bottom: 4px;
min-height: 16px;
min-width: 16px; }

View File

@ -417,14 +417,9 @@ headerbar .title {
headerbar .subtitle {
font-size: smaller; }
headerbar box {
margin: 1px; }
headerbar button image {
padding: 1px; }
headerbar box button image {
padding: 1px; }
/**************
* rubberband *
**************/
.rubberband,
rubberband,
@ -451,3 +446,11 @@ grid viewport box box textview {
/* dialog-vbox */
.dialog-vbox flowbox flowboxchild:focus {
outline-color: @selected_fg_color; }
.dialog-vbox > grid {
border: 1px solid red;
border: 2px solid @border_dark;
border-image: url("assets/frame_inset.png");
border-image-slice: 2 2 2 2;
border-radius: 0px;
box-shadow: none; }