Adwaita: pathbar style cleanup

This commit is contained in:
Lapo Calamandrei 2016-01-14 17:51:49 +01:00
parent ea69bf8c17
commit c667f9f1d1
3 changed files with 20 additions and 50 deletions

View File

@ -1393,10 +1393,6 @@ headerbar {
************/
.path-bar button {
padding: 5px 6px 6px;
&:first-child { padding-left: 8px; }
&:last-child { padding-right: 8px; }
&:only-child {
padding-left: 12px;
padding-right: 12px;
@ -1406,8 +1402,6 @@ headerbar {
& label:last-child { padding-left: 2px; }
& label:first-child { padding-right: 2px; }
& label:only-child { padding-right: 0; padding-left: 0; }
image { padding-top: 1px; }
}
/**************

View File

@ -1976,28 +1976,16 @@ window.csd > .titlebar:not(headerbar) {
/************
* Pathbars *
************/
.path-bar button, .path-bar headerbar button.titlebutton, headerbar .path-bar button.titlebutton,
.path-bar .titlebar button.titlebutton,
.titlebar .path-bar button.titlebutton {
padding: 5px 6px 6px; }
.path-bar button:first-child {
padding-left: 8px; }
.path-bar button:last-child {
padding-right: 8px; }
.path-bar button:only-child {
padding-left: 12px;
padding-right: 12px; }
.path-bar button label:last-child {
padding-left: 2px; }
.path-bar button label:first-child {
padding-right: 2px; }
.path-bar button label:only-child {
padding-right: 0;
padding-left: 0; }
.path-bar button image,
.path-bar .titlebar button.titlebutton image,
.titlebar .path-bar button.titlebutton image {
padding-top: 1px; }
.path-bar button:only-child {
padding-left: 12px;
padding-right: 12px; }
.path-bar button label:last-child {
padding-left: 2px; }
.path-bar button label:first-child {
padding-right: 2px; }
.path-bar button label:only-child {
padding-right: 0;
padding-left: 0; }
/**************
* Tree Views *

View File

@ -1980,28 +1980,16 @@ window.csd > .titlebar:not(headerbar) {
/************
* Pathbars *
************/
.path-bar button, .path-bar headerbar button.titlebutton, headerbar .path-bar button.titlebutton,
.path-bar .titlebar button.titlebutton,
.titlebar .path-bar button.titlebutton {
padding: 5px 6px 6px; }
.path-bar button:first-child {
padding-left: 8px; }
.path-bar button:last-child {
padding-right: 8px; }
.path-bar button:only-child {
padding-left: 12px;
padding-right: 12px; }
.path-bar button label:last-child {
padding-left: 2px; }
.path-bar button label:first-child {
padding-right: 2px; }
.path-bar button label:only-child {
padding-right: 0;
padding-left: 0; }
.path-bar button image,
.path-bar .titlebar button.titlebutton image,
.titlebar .path-bar button.titlebutton image {
padding-top: 1px; }
.path-bar button:only-child {
padding-left: 12px;
padding-right: 12px; }
.path-bar button label:last-child {
padding-left: 2px; }
.path-bar button label:first-child {
padding-right: 2px; }
.path-bar button label:only-child {
padding-right: 0;
padding-left: 0; }
/**************
* Tree Views *