comparison gtk-3.20/nautilus.css @ 90:575609b1a6d8

Update Nautilus 3.32+ to use button styles Luckily, there's enough CSS class change between 3.30 and 3.32 that we can keep 3.30 using its older style
author IBBoard <dev@ibboard.co.uk>
date Sun, 13 Oct 2019 12:15:07 +0100
parents fe8579b6ce50
children
comparison
equal deleted inserted replaced
89:328498311786 90:575609b1a6d8
65 65
66 .disclosure-button { 66 .disclosure-button {
67 padding: 4px; 67 padding: 4px;
68 } 68 }
69 69
70 /* New style path bar */ 70 /* New style path bar - Nautilus 3.30 */
71
72 .nautilus-window .path-bar:not(.linked) button, .nautilus-window .path-bar:not(.linked) button:checked, .nautilus-window .path-bar:not(.linked) button:active, .nautilus-window .path-bar:not(.linked) button:hover, 71 .nautilus-window .path-bar:not(.linked) button, .nautilus-window .path-bar:not(.linked) button:checked, .nautilus-window .path-bar:not(.linked) button:active, .nautilus-window .path-bar:not(.linked) button:hover,
73 .nautilus-window .path-bar:not(.linked) button:backdrop, .nautilus-window .path-bar:not(.linked) button:backdrop:checked, .nautilus-window .path-bar:not(.linked) button:backdrop:active, .nautilus-window .path-bar:not(.linked) button:backdrop:hover, 72 .nautilus-window .path-bar:not(.linked) button:backdrop, .nautilus-window .path-bar:not(.linked) button:backdrop:checked, .nautilus-window .path-bar:not(.linked) button:backdrop:active, .nautilus-window .path-bar:not(.linked) button:backdrop:hover
74 .nautilus-window .nautilus-path-bar button, .nautilus-window .nautilus-path-bar button:checked, .nautilus-window .nautilus-path-bar button:active, .nautilus-window .nautilus-path-bar button:hover,
75 .nautilus-window .nautilus-path-bar button:backdrop, .nautilus-window .nautilus-path-bar button:backdrop:checked, .nautilus-window .nautilus-path-bar button:backdrop:active, .nautilus-window .nautilus-path-bar button:backdrop:hover
76 { /* undecorate the buttons */ 73 { /* undecorate the buttons */
77 background-image: none; 74 background-image: none;
78 background-color: transparent; 75 background-color: transparent;
79 border-radius: 0; 76 border-radius: 0;
80 border-width: 0px; 77 border-width: 0px;
81 margin: 0px; 78 margin: 0px;
82 box-shadow: none; 79 box-shadow: none;
83 } 80 }
84 81
82 /* New new style path bar - Nautilus 3.32 */
83 .nautilus-path-bar button, .nautilus-path-bar button:checked, .nautilus-path-bar button:active, .nautilus-path-bar button:hover,
84 .nautilus-path-bar button:backdrop, .nautilus-path-bar button:backdrop:checked, .nautilus-path-bar button:backdrop:active, .nautilus-path-bar button:backdrop:hover,
85 .nautilus-path-bar button:first-child {
86 margin: 0px;
87 }
88
89 .nautilus-window .width-maximized .nautilus-path-bar button, .nautilus-window .width-maximized .nautilus-path-bar button:checked, .nautilus-window .width-maximized .nautilus-path-bar button:active, .nautilus-window .width-maximized .nautilus-path-bar button:hover,
90 .nautilus-window .width-maximized .nautilus-path-bar button:backdrop, .nautilus-window .width-maximized .nautilus-path-bar button:backdrop:checked, .nautilus-window .width-maximized .nautilus-path-bar button:backdrop:active, .nautilus-window .width-maximized .nautilus-path-bar button:backdrop:hover,
91 .nautilus-window .width-maximized .nautilus-path-bar button:first-child
92 {
93 border-width: 0px;
94 border-right: 1px solid @wm_button_border;
95 box-shadow: none;
96 }
97
98 .nautilus-window .width-maximized .nautilus-path-bar button:last-child {
99 border-top-right-radius: 0;
100 border-bottom-right-radius: 0;
101 }
102
85 .nautilus-window .path-bar:not(.linked) button:not(:checked) image, 103 .nautilus-window .path-bar:not(.linked) button:not(:checked) image,
86 .nautilus-window .nautilus-path-bar button:not(:checked) image 104 .nautilus-path-bar button:not(:checked) image
87 { opacity: 0.8; } /* dim the icon when not checked */ 105 { opacity: 0.8; } /* dim the icon when not checked */
88 106
89 .nautilus-window .path-bar:not(.linked) button:not(:backdrop):hover { box-shadow: inset 0 -3px @borders; } 107 .nautilus-window .path-bar:not(.linked) button:not(:backdrop):hover { box-shadow: inset 0 -3px @borders; }
90 108
91 .nautilus-window .path-bar-box { 109 .nautilus-window .path-bar-box {
96 border: 1px @wm_button_border solid; 114 border: 1px @wm_button_border solid;
97 border-radius: 3px; 115 border-radius: 3px;
98 } 116 }
99 .nautilus-window .path-bar-box.width-maximized:not(:backdrop) { 117 .nautilus-window .path-bar-box.width-maximized:not(:backdrop) {
100 background-color: @wm_bg_a; 118 background-color: @wm_bg_a;
119 /* Nautlis 3.30 should also have an inset shadow for the top, but we can't differentiate it from 3.32 that doesn't need it, so we'll do without */
120 box-shadow: 0 1px @button_emphasis_c;
101 } 121 }
102 122
103 /* Make the tags fit into the box */ 123 /* Make the tags fit into the box */
104 entry.search > * { 124 entry.search > * {
105 margin: 5px; 125 margin: 5px;