Removes some over bevelling, specially in notebook widgets.

Notebooks will now only have a full frame around them if .frame style is
set!
This commit is contained in:
Adriano Moura 2017-05-04 14:02:35 -03:00
parent 30fd496f9f
commit bca32d0e4d
1 changed files with 11 additions and 5 deletions

View File

@ -116,7 +116,7 @@ slider, .slider {
frame { frame {
background-color: transparent; background-color: transparent;
padding: 2px; padding: 1px;
} }
.frame { .frame {
background-color: transparent; background-color: transparent;
@ -227,7 +227,6 @@ stacksidebar list row:active,
colorswatch:selected, colorswatch:selected,
calendar.view, calendar.view,
frame, frame,
scrolledwindow,
entry, entry,
slider, slider,
switch, switch,
@ -237,7 +236,10 @@ combobox button:checked,
popover button.flat:selected, popover button.flat:active, popover button.flat:selected, popover button.flat:active,
bbutton.appmenu:selected, button.appmenu:active bbutton.appmenu:selected, button.appmenu:active
button:selected, button:active, button:selected, button:active,
check, radio { check, radio,
scrolledwindow.frame,
scrolledwindow:not(.frame) > viewport,
notebook:not(.frame) > stack > box {
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
border-color: @bg_shade @bg_bright @bg_bright @bg_shade; border-color: @bg_shade @bg_bright @bg_bright @bg_shade;
@ -272,7 +274,6 @@ popover button.flat,
button, .button, button, .button,
slider, slider,
notebook > header > tabs > tab, notebook > header > tabs > tab,
notebook,
notebook.frame { notebook.frame {
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
@ -795,8 +796,9 @@ expander arrow {
scrolledwindow.frame, scrolledwindow.frame,
scrolledwindow { scrolledwindow {
padding: 1px; padding: 0px;
padding-bottom: 0px; padding-bottom: 0px;
margin: 1px;
} }
/* transmission misteriously resets border-width to zero, cant even force it here /* transmission misteriously resets border-width to zero, cant even force it here
@ -956,6 +958,10 @@ notebook > header {
notebook > stack{ notebook > stack{
margin: 3px; margin: 3px;
} }
notebook:not(.frame) > stack {
padding: 0px;
margin: 0px;
}
notebook > header > tabs > tab { notebook > header > tabs > tab {
padding-top: 4px; padding-top: 4px;
padding-bottom: 4px; padding-bottom: 4px;