1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00

update pathbar buttons

This commit is contained in:
Horst3180 2016-03-09 20:00:09 +01:00
parent f056240b29
commit b8ddf6b047
7 changed files with 92 additions and 62 deletions

View File

@ -1274,20 +1274,24 @@ headerbar entry, headerbar button, headerbar separator, headerbar .sidebar separ
.primary-toolbar scale trough:disabled, headerbar scale trough:disabled { .primary-toolbar scale trough:disabled, headerbar scale trough:disabled {
background-image: linear-gradient(to bottom, rgba(21, 23, 28, 0.27)); } background-image: linear-gradient(to bottom, rgba(21, 23, 28, 0.27)); }
.path-bar button:only-child { .path-bar button.text-button, .path-bar button.image-button, .path-bar button {
padding-left: 10px; padding-left: 6px;
padding-right: 6px; }
.path-bar button.text-button.image-button label {
padding-left: 0;
padding-right: 0; }
.path-bar button.text-button.image-button label:last-child, .path-bar button label:last-child {
padding-right: 10px; } padding-right: 10px; }
.path-bar button label:last-child { .path-bar button.text-button.image-button label:first-child, .path-bar button label:first-child {
padding-left: 4px; } padding-left: 10px; }
.path-bar button label:first-child { .path-bar button image {
padding-left: 4px;
padding-right: 4px; } padding-right: 4px; }
.path-bar button label:only-child, .path-bar button label {
padding-right: 0;
padding-left: 0; }
treeview.view { treeview.view {
-GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-width: 1;
-GtkTreeView-grid-line-pattern: ''; -GtkTreeView-grid-line-pattern: '';

View File

@ -1273,20 +1273,24 @@ headerbar entry, headerbar button, headerbar separator, headerbar .sidebar separ
.primary-toolbar scale trough:disabled, headerbar scale trough:disabled { .primary-toolbar scale trough:disabled, headerbar scale trough:disabled {
background-image: linear-gradient(to bottom, rgba(21, 23, 28, 0.27)); } background-image: linear-gradient(to bottom, rgba(21, 23, 28, 0.27)); }
.path-bar button:only-child { .path-bar button.text-button, .path-bar button.image-button, .path-bar button {
padding-left: 10px; padding-left: 6px;
padding-right: 6px; }
.path-bar button.text-button.image-button label {
padding-left: 0;
padding-right: 0; }
.path-bar button.text-button.image-button label:last-child, .path-bar button label:last-child {
padding-right: 10px; } padding-right: 10px; }
.path-bar button label:last-child { .path-bar button.text-button.image-button label:first-child, .path-bar button label:first-child {
padding-left: 4px; } padding-left: 10px; }
.path-bar button label:first-child { .path-bar button image {
padding-left: 4px;
padding-right: 4px; } padding-right: 4px; }
.path-bar button label:only-child, .path-bar button label {
padding-right: 0;
padding-left: 0; }
treeview.view { treeview.view {
-GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-width: 1;
-GtkTreeView-grid-line-pattern: ''; -GtkTreeView-grid-line-pattern: '';

View File

@ -1274,20 +1274,24 @@ headerbar entry, headerbar button, headerbar separator, headerbar .sidebar separ
.primary-toolbar scale trough:disabled, headerbar scale trough:disabled { .primary-toolbar scale trough:disabled, headerbar scale trough:disabled {
background-image: linear-gradient(to bottom, rgba(21, 23, 28, 0.3)); } background-image: linear-gradient(to bottom, rgba(21, 23, 28, 0.3)); }
.path-bar button:only-child { .path-bar button.text-button, .path-bar button.image-button, .path-bar button {
padding-left: 10px; padding-left: 6px;
padding-right: 6px; }
.path-bar button.text-button.image-button label {
padding-left: 0;
padding-right: 0; }
.path-bar button.text-button.image-button label:last-child, .path-bar button label:last-child {
padding-right: 10px; } padding-right: 10px; }
.path-bar button label:last-child { .path-bar button.text-button.image-button label:first-child, .path-bar button label:first-child {
padding-left: 4px; } padding-left: 10px; }
.path-bar button label:first-child { .path-bar button image {
padding-left: 4px;
padding-right: 4px; } padding-right: 4px; }
.path-bar button label:only-child, .path-bar button label {
padding-right: 0;
padding-left: 0; }
treeview.view { treeview.view {
-GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-width: 1;
-GtkTreeView-grid-line-pattern: ''; -GtkTreeView-grid-line-pattern: '';

View File

@ -1273,20 +1273,24 @@ headerbar entry, headerbar button, headerbar separator, headerbar .sidebar separ
.primary-toolbar scale trough:disabled, headerbar scale trough:disabled { .primary-toolbar scale trough:disabled, headerbar scale trough:disabled {
background-image: linear-gradient(to bottom, rgba(21, 23, 28, 0.3)); } background-image: linear-gradient(to bottom, rgba(21, 23, 28, 0.3)); }
.path-bar button:only-child { .path-bar button.text-button, .path-bar button.image-button, .path-bar button {
padding-left: 10px; padding-left: 6px;
padding-right: 6px; }
.path-bar button.text-button.image-button label {
padding-left: 0;
padding-right: 0; }
.path-bar button.text-button.image-button label:last-child, .path-bar button label:last-child {
padding-right: 10px; } padding-right: 10px; }
.path-bar button label:last-child { .path-bar button.text-button.image-button label:first-child, .path-bar button label:first-child {
padding-left: 4px; } padding-left: 10px; }
.path-bar button label:first-child { .path-bar button image {
padding-left: 4px;
padding-right: 4px; } padding-right: 4px; }
.path-bar button label:only-child, .path-bar button label {
padding-right: 0;
padding-left: 0; }
treeview.view { treeview.view {
-GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-width: 1;
-GtkTreeView-grid-line-pattern: ''; -GtkTreeView-grid-line-pattern: '';

View File

@ -1277,20 +1277,24 @@ headerbar entry, headerbar button, headerbar separator, headerbar .sidebar separ
.primary-toolbar scale trough:disabled, headerbar scale trough:disabled { .primary-toolbar scale trough:disabled, headerbar scale trough:disabled {
background-image: linear-gradient(to bottom, rgba(82, 93, 118, 0.1)); } background-image: linear-gradient(to bottom, rgba(82, 93, 118, 0.1)); }
.path-bar button:only-child { .path-bar button.text-button, .path-bar button.image-button, .path-bar button {
padding-left: 10px; padding-left: 6px;
padding-right: 6px; }
.path-bar button.text-button.image-button label {
padding-left: 0;
padding-right: 0; }
.path-bar button.text-button.image-button label:last-child, .path-bar button label:last-child {
padding-right: 10px; } padding-right: 10px; }
.path-bar button label:last-child { .path-bar button.text-button.image-button label:first-child, .path-bar button label:first-child {
padding-left: 4px; } padding-left: 10px; }
.path-bar button label:first-child { .path-bar button image {
padding-left: 4px;
padding-right: 4px; } padding-right: 4px; }
.path-bar button label:only-child, .path-bar button label {
padding-right: 0;
padding-left: 0; }
treeview.view { treeview.view {
-GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-width: 1;
-GtkTreeView-grid-line-pattern: ''; -GtkTreeView-grid-line-pattern: '';

View File

@ -1277,20 +1277,24 @@ headerbar entry, headerbar button, headerbar separator, headerbar .sidebar separ
.primary-toolbar scale trough:disabled, headerbar scale trough:disabled { .primary-toolbar scale trough:disabled, headerbar scale trough:disabled {
background-image: linear-gradient(to bottom, rgba(82, 93, 118, 0.1)); } background-image: linear-gradient(to bottom, rgba(82, 93, 118, 0.1)); }
.path-bar button:only-child { .path-bar button.text-button, .path-bar button.image-button, .path-bar button {
padding-left: 10px; padding-left: 6px;
padding-right: 6px; }
.path-bar button.text-button.image-button label {
padding-left: 0;
padding-right: 0; }
.path-bar button.text-button.image-button label:last-child, .path-bar button label:last-child {
padding-right: 10px; } padding-right: 10px; }
.path-bar button label:last-child { .path-bar button.text-button.image-button label:first-child, .path-bar button label:first-child {
padding-left: 4px; } padding-left: 10px; }
.path-bar button label:first-child { .path-bar button image {
padding-left: 4px;
padding-right: 4px; } padding-right: 4px; }
.path-bar button label:only-child, .path-bar button label {
padding-right: 0;
padding-left: 0; }
treeview.view { treeview.view {
-GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-width: 1;
-GtkTreeView-grid-line-pattern: ''; -GtkTreeView-grid-line-pattern: '';

View File

@ -1302,16 +1302,22 @@ headerbar {
// Pathbars // Pathbars
// //
.path-bar button { .path-bar button {
&.text-button, &.image-button, & {
&:only-child { padding-left: 6px;
padding-left: 10px; padding-right: 6px;
padding-right: 10px;
} }
// the following is for spacing the icon and the label inside the home button &.text-button.image-button label { padding-left: 0; padding-right: 0; }
label:last-child { padding-left: 4px; }
label:first-child { padding-right: 4px; } &.text-button.image-button, & {
label:only-child, label { padding-right: 0; padding-left: 0; } label:last-child { padding-right: 10px; }
label:first-child { padding-left: 10px; }
}
image {
padding-left: 4px;
padding-right: 4px;
}
} }
// //