| 1 | /************ |
| 2 | * Pathbars * |
| 3 | ************/ |
| 4 | .path-bar button { |
| 5 | &.text-button, &.image-button, & { |
| 6 | padding-left: 4px; |
| 7 | padding-right: 4px; |
| 8 | } |
| 9 | |
| 10 | &.text-button.image-button label { |
| 11 | padding-left: 0; |
| 12 | padding-right: 0; |
| 13 | } |
| 14 | |
| 15 | &.text-button.image-button, & { |
| 16 | label:last-child { padding-right: 8px; } |
| 17 | label:first-child { padding-left: 8px; } |
| 18 | } |
| 19 | |
| 20 | image { |
| 21 | padding-left: 4px; |
| 22 | padding-right: 4px; |
| 23 | } |
| 24 | |
| 25 | &.slider-button { |
| 26 | padding-left: 0; |
| 27 | padding-right: 0; |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | // nautilus, filechooser(Gnome 47) pathbar |
| 32 | #NautilusPathBar, .pathbar, .nautilus-pathbar { |
| 33 | @include button(normal-header); |
| 34 | |
| 35 | .dim-label { |
| 36 | color: transparent; |
| 37 | margin-right: -5px; |
| 38 | } |
| 39 | |
| 40 | //Buttons before current path |
| 41 | button { |
| 42 | .horizontal > .dim-label { |
| 43 | color: $headerbar_fg_color; |
| 44 | padding: 5.5px 12px; |
| 45 | margin: 0; |
| 46 | border-right: 1px solid $borders_color; |
| 47 | } |
| 48 | &:hover, &:focus { |
| 49 | .dim-label {@include button(hover-header, $selected_bg_color, #fff); } |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | // Home icon |
| 54 | button > .horizontal > image.dim-label { |
| 55 | padding: 3px 0px 3px 12px; |
| 56 | border-right: none; |
| 57 | margin-right: -6px; |
| 58 | border-radius: 6px 0px 0px 6px; |
| 59 | } |
| 60 | |
| 61 | // Reset path buttons appearance |
| 62 | button { |
| 63 | background: transparent; |
| 64 | border: none; |
| 65 | margin: 0; |
| 66 | padding: 0; |
| 67 | } |
| 68 | |
| 69 | // Current directory options button |
| 70 | .flat.popup { |
| 71 | margin: 0; |
| 72 | button { |
| 73 | padding: 4px 6px; |
| 74 | border-top-left-radius: 0px; |
| 75 | border-bottom-left-radius: 0px; |
| 76 | &:hover, &:active, &:checked { |
| 77 | @include button(active, transparentize($selected_bg_color, 0.3), #fff); |
| 78 | } |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | |
| 83 | // Selected dir |
| 84 | .current-dir { |
| 85 | label { padding: 5.5px 12px; } |
| 86 | |
| 87 | label, image { @include button(active, transparentize($selected_bg_color, 0.3), #fff); } |
| 88 | } |
| 89 | |
| 90 | button.current-dir:only-child { |
| 91 | image { |
| 92 | margin-right: -6px; |
| 93 | padding: 0px 0px 0px 12px; |
| 94 | border-radius: 6px 0px 0px 6px; |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | // search entry |
| 100 | #NautilusQueryEditor { |
| 101 | |
| 102 | > menubutton > button { |
| 103 | margin-right: -7px; |
| 104 | -gtk-icon-size: 12px; |
| 105 | border: none; |
| 106 | background-color: transparent; |
| 107 | &:hover, &:active, &:focus, &:checked { |
| 108 | image { color: $selected_fg_color; } |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | > text, > image { margin: 0; } |
| 113 | } |