Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for padding in menus and menu items #38

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions gtk-3.0/applications.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
border-image: none;
}

}

/*******************
* gnome-documents *
*******************/
Expand Down
27 changes: 18 additions & 9 deletions gtk-3.0/gtk-widgets.css
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,11 @@ combobox arrow {
min-height: 16px;
min-width: 16px;
}

combobox arrow:disabled {
background-color: transparent;
}

combobox entry.combo,
combobox button.combo {
padding: 5px 5px 5px 5px;
Expand Down Expand Up @@ -1206,7 +1211,7 @@ combobox > .linked > button.combo:focus:hover:last-child,
combobox > .linked > button.combo:disabled:last-child {
border-image-width: 3px 3px 4px 0;
border-radius: 0 3px 3px 0;
border-width: 0;
border-width: 0 1;
}
combobox > .linked > entry.combo:only-child,
combobox > .linked > button.combo:only-child,
Expand Down Expand Up @@ -1591,10 +1596,10 @@ treemenu menuitem {

menu,
.menu {
font: normal;
font-weight: normal;
background-color: @menu_bg_color;
color: @menu_fg_color;
padding: 1px;
padding: 0px;
border-style: solid;
border-width: 1px;
border-color: @menu_border_color;
Expand Down Expand Up @@ -1630,7 +1635,7 @@ menu button:disabled,
menubar,
.menubar {
border-style: none;
padding: 4px;
padding: 0px;
-GtkWidget-window-dragging: true;
background-image: -gtk-gradient (linear,
left top,
Expand Down Expand Up @@ -1973,7 +1978,7 @@ placessidebar .view {

assistant .sidebar highlight {
color: @theme_fg_color;
font: bold;
font-weight: bold;
}

assistant .sidebar {
Expand Down Expand Up @@ -2523,7 +2528,7 @@ infobar:last-child,
}

.titlebar .title {
font: Bold;
font-weight: bold;
}

/*.titlebar :first-child {*/
Expand All @@ -2539,8 +2544,13 @@ decoration {
box-shadow: none;
}

window decoration {
border: solid 2px @insensitive_border_color;
window.background decoration {
border: solid 2px @insensitive_border_color;
}

combobox window.background decoration,
menuitem window.background decoration {
border: none 0 transparent;
}

tooltip.csd decoration {
Expand Down Expand Up @@ -2572,7 +2582,6 @@ headerbar {

headerbar.titlebar > stackswitcher.linked.stack-switcher > button,
headerbar.titlebar > stackswitcher.linked.stack-switcher > button:checked:hover {
padding: 6px 12px;
border-width: 1px 1px 1px 0px;
}

Expand Down