Mercurial > repos > other > Adwaita-Dark-Green
annotate gtk-4.4/gtk.css @ 113:3a790d4649eb default tip
Fix GTK4/Adwaita outline and background issues
* Views are now used in popovers but shouldn't have
"normal" view background colour
* Flat buttons should be flat, not bordered/outlines
* Spinbuttons in lists don't need outlines on their buttons
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 01 May 2022 11:34:31 +0100 |
parents | 374207f64e2f |
children |
rev | line source |
---|---|
98 | 1 /*************************** Check and Radio buttons * */ |
2 /*************** Base States * */ | |
3 .background { color: #161616; background-color: #C6C6C6; } | |
4 | |
5 .background:backdrop { text-shadow: none; -gtk-icon-shadow: none; } | |
6 | |
7 dnd { color: #161616; } | |
8 | |
9 .normal-icons { -gtk-icon-size: 16px; } | |
10 | |
11 .large-icons { -gtk-icon-size: 32px; } | |
12 | |
13 image:disabled { -gtk-icon-filter: opacity(0.5); } | |
14 | |
15 .view, iconview, textview > text { color: black; background-color: #C6C6C6; } | |
16 | |
17 .view:disabled, iconview:disabled, textview > text:disabled { color: #6e6e6e; background-color: #c6c6c6; } | |
18 | |
19 .view:selected:focus, iconview:selected:focus, .view:selected, iconview:selected, textview > text:selected:focus, textview > text:selected { border-radius: 3px; } | |
20 | |
21 textview:drop(active) { caret-color: #2ec27e; } | |
22 | |
23 textview > border { background-color: #c6c6c6; } | |
24 | |
25 iconview { transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
26 | |
27 iconview { outline: 0 solid transparent; outline-offset: 4px; } | |
28 | |
29 iconview:focus:focus-visible { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
30 | |
31 iconview:drop(active) { box-shadow: none; } | |
32 | |
33 iconview > dndtarget:drop(active) { border-style: solid; border-width: 1px; border-color: #2b3a1d; } | |
34 | |
35 rubberband, .content-view > rubberband, columnview.view > rubberband, treeview.view > rubberband, gridview > rubberband, flowbox > rubberband { border: 1px solid #455d2d; background-color: rgba(69, 93, 45, 0.2); } | |
36 | |
37 flowbox > flowboxchild { padding: 3px; transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
38 | |
39 flowbox > flowboxchild { outline: 0 solid transparent; outline-offset: 4px; } | |
40 | |
41 flowbox > flowboxchild:focus:focus-visible { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
42 | |
43 flowbox > flowboxchild:selected { outline-color: rgba(255, 255, 255, 0.8); } | |
44 | |
45 gridview > child { padding: 3px; transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
46 | |
47 gridview > child { outline: 0 solid transparent; outline-offset: 4px; } | |
48 | |
49 gridview > child:focus:focus-visible { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
50 | |
51 gridview > child:selected { outline-color: rgba(255, 255, 255, 0.8); } | |
52 | |
53 gridview > child box { border-spacing: 8px; margin: 12px; } | |
54 | |
55 coverflow cover { color: black; background-color: #C6C6C6; border: 1px solid black; } | |
56 | |
57 label { transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
58 | |
59 label { outline: 0 solid transparent; outline-offset: 4px; } | |
60 | |
61 label:focus:focus-visible { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
62 | |
63 label > selection { background-color: #5E7F3E; color: #ffffff; } | |
64 | |
65 label:disabled { color: #6e6e6e; } | |
66 | |
67 button label:disabled { color: inherit; } | |
68 | |
69 label.error { color: #cc0000; } | |
70 | |
71 label.error:disabled { color: rgba(204, 0, 0, 0.5); } | |
72 | |
73 .dim-label, .titlebar:not(headerbar) .subtitle, headerbar .subtitle, spinbutton.vertical > text > text > placeholder, spinbutton:not(.vertical) > text > placeholder, entry > text > placeholder, label.separator { opacity: 0.55; text-shadow: none; } | |
74 | |
75 window.assistant .sidebar { padding: 5px; border-top: 1px solid #7a7a7a; } | |
76 | |
77 window.assistant.csd .sidebar { border-top-style: none; } | |
78 | |
79 window.assistant .sidebar > label { padding: 6px 12px; } | |
80 | |
81 window.assistant .sidebar > label.highlight { background-color: #b7b7b7; border-radius: 5px; } | |
82 | |
83 window.aboutdialog image.large-icons { -gtk-icon-size: 128px; } | |
84 | |
85 .osd .scale-popup, .app-notification, .osd popover.background > arrow, .osd popover.background > contents, popover.background.touch-selection > arrow, popover.background.touch-selection > contents, popover.background.magnifier > arrow, popover.background.magnifier > contents, .osd { color: #eeeeec; border: none; background-color: rgba(53, 53, 53, 0.7); background-clip: padding-box; -gtk-icon-shadow: 0 1px black; } | |
86 | |
87 /********************* Spinner Animation * */ | |
88 @keyframes spin { to { transform: rotate(1turn); } } | |
89 | |
90 spinner { background: none; opacity: 0; -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); } | |
91 | |
92 spinner:checked { opacity: 1; animation: spin 1s linear infinite; } | |
93 | |
94 spinner:checked:disabled { opacity: 0.5; } | |
95 | |
96 /********************** General Typography * */ | |
97 .large-title { font-weight: 300; font-size: 24pt; } | |
98 | |
99 .title-1 { font-weight: 800; font-size: 20pt; } | |
100 | |
101 .title-2 { font-weight: 800; font-size: 15pt; } | |
102 | |
103 .title-3 { font-weight: 700; font-size: 15pt; } | |
104 | |
105 .title-4 { font-weight: 700; font-size: 13pt; } | |
106 | |
107 .heading { font-weight: 700; font-size: 11pt; } | |
108 | |
109 .body { font-weight: 400; font-size: 11pt; } | |
110 | |
111 .caption-heading { font-weight: 700; font-size: 9pt; } | |
112 | |
113 .caption { font-weight: 400; font-size: 9pt; } | |
114 | |
115 /**************** Text Entries * */ | |
116 spinbutton.vertical > text, spinbutton:not(.vertical), entry { min-height: 32px; padding-left: 8px; padding-right: 8px; border: 1px solid; border-radius: 5px; border-spacing: 6px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); color: black; border-color: #7a7a7a; background-color: #C6C6C6; transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
117 | |
118 spinbutton.vertical > text, spinbutton:not(.vertical), entry { outline: 0 solid transparent; outline-offset: 4px; } | |
119 | |
120 spinbutton.vertical > text:focus-within, spinbutton:focus-within:not(.vertical), entry:focus-within { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
121 | |
122 spinbutton.vertical > text > image.left, spinbutton:not(.vertical) > image.left, entry > image.left { margin-right: 6px; } | |
123 | |
124 spinbutton.vertical > text > image.right, spinbutton:not(.vertical) > image.right, entry > image.right { margin-left: 6px; } | |
125 | |
126 spinbutton.vertical > text > text > block-cursor, spinbutton:not(.vertical) > text > block-cursor, entry > text > block-cursor { color: #C6C6C6; background-color: black; } | |
127 | |
128 spinbutton.vertical > text.flat, spinbutton.flat:not(.vertical), entry.flat:focus-within, entry.flat:backdrop, entry.flat:disabled, entry.flat { min-height: 0; padding: 2px; background-color: transparent; border-color: transparent; border-radius: 0; } | |
129 | |
130 spinbutton.vertical > text:focus-within > placeholder, spinbutton:focus-within:not(.vertical) > placeholder, entry:focus-within > placeholder { opacity: 0; /* We hide placeholders on focus */ } | |
131 | |
132 spinbutton.vertical > text:disabled, spinbutton:disabled:not(.vertical), entry:disabled { color: #6e6e6e; border-color: #7a7a7a; background-color: #c6c6c6; } | |
133 | |
134 spinbutton.vertical > text.error, spinbutton.error:not(.vertical), entry.error { color: #cc0000; transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
135 | |
136 spinbutton.vertical > text.error, spinbutton.error:not(.vertical), entry.error { outline: 0 solid transparent; outline-offset: 4px; } | |
137 | |
138 spinbutton.vertical > text.error:focus-within, spinbutton.error:focus-within:not(.vertical), entry.error:focus-within { outline-color: rgba(204, 0, 0, 0.5); outline-width: 2px; outline-offset: -2px; } | |
139 | |
140 spinbutton.vertical > text.error > selection, spinbutton.error:not(.vertical) > selection, entry.error > selection { background-color: #cc0000; } | |
141 | |
142 spinbutton.vertical > text.warning, spinbutton.warning:not(.vertical), entry.warning { color: #f57900; transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
143 | |
144 spinbutton.vertical > text.warning, spinbutton.warning:not(.vertical), entry.warning { outline: 0 solid transparent; outline-offset: 4px; } | |
145 | |
146 spinbutton.vertical > text.warning:focus-within, spinbutton.warning:focus-within:not(.vertical), entry.warning:focus-within { outline-color: rgba(245, 121, 0, 0.5); outline-width: 2px; outline-offset: -2px; } | |
147 | |
148 spinbutton.vertical > text.warning > selection, spinbutton.warning:not(.vertical) > selection, entry.warning > selection { background-color: #f57900; } | |
149 | |
150 spinbutton.vertical > text > image, spinbutton:not(.vertical) > image, entry > image { color: #393939; } | |
151 | |
152 spinbutton.vertical > text > image:hover, spinbutton:not(.vertical) > image:hover, entry > image:hover { color: #161616; } | |
153 | |
154 spinbutton.vertical > text > image:active, spinbutton:not(.vertical) > image:active, entry > image:active { color: #5E7F3E; } | |
155 | |
156 spinbutton.vertical > text.password image.caps-lock-indicator, spinbutton.password:not(.vertical) image.caps-lock-indicator, entry.password image.caps-lock-indicator { color: #7f7f7f; } | |
157 | |
158 spinbutton.vertical > text:drop(active), spinbutton:drop(active):not(.vertical), entry:drop(active):focus-within, entry:drop(active) { border-color: #2ec27e; box-shadow: inset 0 0 0 1px #2ec27e; } | |
159 | |
160 .osd spinbutton.vertical > text, .osd spinbutton:not(.vertical), .osd entry { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(0, 0, 0, 0.5); background-clip: padding-box; box-shadow: none; -gtk-icon-shadow: 0 1px black; } | |
161 | |
162 .osd spinbutton.vertical > text:focus-within, .osd spinbutton:focus-within:not(.vertical), .osd entry:focus-within { color: white; border-color: #5E7F3E; background-color: rgba(0, 0, 0, 0.5); background-clip: padding-box; } | |
163 | |
164 .osd spinbutton.vertical > text:disabled, .osd spinbutton:disabled:not(.vertical), .osd entry:disabled { color: #919190; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(71, 71, 71, 0.5); background-clip: padding-box; } | |
165 | |
166 spinbutton.vertical > text > progress, spinbutton:not(.vertical) > progress, entry > progress { margin-bottom: 2px; } | |
167 | |
168 spinbutton.vertical > text progress > trough > progress, spinbutton:not(.vertical) progress > trough > progress, entry progress > trough > progress { background-color: transparent; background-image: none; border-radius: 0; border-width: 0 0 2px; border-color: #5E7F3E; border-style: solid; box-shadow: none; } | |
169 | |
170 spinbutton.vertical.linked:not(.vertical) > text:drop(active) + text, spinbutton.vertical.linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + text, spinbutton.vertical.linked:not(.vertical) > text:drop(active) + spinbutton:not(.vertical), .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + spinbutton:not(.vertical), spinbutton.vertical.linked:not(.vertical) > text:drop(active) + button, .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + button, spinbutton.vertical.linked:not(.vertical) > text:drop(active) + menubutton > button, .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + menubutton > button, spinbutton.vertical.linked:not(.vertical) > text:drop(active) + dropdown > button, .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + dropdown > button, spinbutton.vertical.linked:not(.vertical) > text:drop(active) + colorbutton > button, .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + colorbutton > button, spinbutton.vertical.linked:not(.vertical) > text:drop(active) + fontbutton > button, .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + fontbutton > button, spinbutton.vertical.linked:not(.vertical) > text:drop(active) + filechooserbutton > button, .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + filechooserbutton > button, spinbutton.vertical.linked:not(.vertical) > text:drop(active) + combobox > box > button.combo, .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + combobox > box > button.combo, spinbutton.vertical.linked:not(.vertical) > text:drop(active) + entry, .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + entry, .linked:not(.vertical) > entry:drop(active) + button, .linked:not(.vertical) > entry:drop(active) + menubutton > button, .linked:not(.vertical) > entry:drop(active) + dropdown > button, .linked:not(.vertical) > entry:drop(active) + colorbutton > button, .linked:not(.vertical) > entry:drop(active) + fontbutton > button, .linked:not(.vertical) > entry:drop(active) + filechooserbutton > button, .linked:not(.vertical) > entry:drop(active) + combobox > box > button.combo, spinbutton.vertical.linked:not(.vertical) > entry:drop(active) + text, .linked:not(.vertical) > entry:drop(active) + spinbutton:not(.vertical), .linked:not(.vertical) > entry:drop(active) + entry { border-left-color: #2ec27e; } | |
171 | |
172 spinbutton.vertical.linked > text:not(:disabled) + entry:not(:disabled), .linked.vertical > spinbutton:not(:disabled):not(.vertical) + entry:not(:disabled), spinbutton.vertical.linked > text:not(:disabled) + text:not(:disabled), spinbutton.vertical.linked > spinbutton:not(:disabled):not(.vertical) + text:not(:disabled), spinbutton.vertical.linked > text:not(:disabled) + spinbutton:not(:disabled):not(.vertical), .linked.vertical > spinbutton:not(:disabled):not(.vertical) + spinbutton:not(:disabled):not(.vertical), .linked.vertical > entry:not(:disabled) + entry:not(:disabled), spinbutton.vertical.linked > entry:not(:disabled) + text:not(:disabled), .linked.vertical > entry:not(:disabled) + spinbutton:not(:disabled):not(.vertical) { border-top-color: #afafaf; } | |
173 | |
174 spinbutton.vertical.linked > text:disabled + text:disabled, spinbutton.vertical.linked > spinbutton:disabled:not(.vertical) + text:disabled, spinbutton.vertical.linked > text:disabled + spinbutton:disabled:not(.vertical), .linked.vertical > spinbutton:disabled:not(.vertical) + spinbutton:disabled:not(.vertical), spinbutton.vertical.linked > text:disabled + entry:disabled, .linked.vertical > spinbutton:disabled:not(.vertical) + entry:disabled, spinbutton.vertical.linked > entry:disabled + text:disabled, .linked.vertical > entry:disabled + spinbutton:disabled:not(.vertical), .linked.vertical > entry:disabled + entry:disabled { border-top-color: #afafaf; } | |
175 | |
176 spinbutton.vertical.linked > text + text:drop(active):not(:only-child), spinbutton.vertical.linked > spinbutton:not(.vertical) + text:drop(active):not(:only-child), spinbutton.vertical.linked > text + spinbutton:drop(active):not(:only-child):not(.vertical), .linked.vertical > spinbutton:not(.vertical) + spinbutton:drop(active):not(:only-child):not(.vertical), spinbutton.vertical.linked > text + entry:drop(active):not(:only-child), .linked.vertical > spinbutton:not(.vertical) + entry:drop(active):not(:only-child), spinbutton.vertical.linked > entry + text:drop(active):not(:only-child), .linked.vertical > entry + spinbutton:drop(active):not(:only-child):not(.vertical), .linked.vertical > entry + entry:drop(active):not(:only-child) { border-top-color: #2ec27e; } | |
177 | |
178 spinbutton.vertical.linked > text:drop(active):not(:only-child) + text, spinbutton.vertical.linked > spinbutton:drop(active):not(:only-child):not(.vertical) + text, spinbutton.vertical.linked > text:drop(active):not(:only-child) + spinbutton:not(.vertical), .linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + spinbutton:not(.vertical), spinbutton.vertical.linked > text:drop(active):not(:only-child) + entry, .linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + entry, spinbutton.vertical.linked > text:drop(active):not(:only-child) + button, .linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + button, spinbutton.vertical.linked > text:drop(active):not(:only-child) + menubutton > button, .linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + menubutton > button, spinbutton.vertical.linked > text:drop(active):not(:only-child) + dropdown > button, .linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + dropdown > button, spinbutton.vertical.linked > text:drop(active):not(:only-child) + colorbutton > button, .linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + colorbutton > button, spinbutton.vertical.linked > text:drop(active):not(:only-child) + fontbutton > button, .linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + fontbutton > button, spinbutton.vertical.linked > text:drop(active):not(:only-child) + filechooserbutton > button, .linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + filechooserbutton > button, spinbutton.vertical.linked > text:drop(active):not(:only-child) + combobox > box > button.combo, .linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + combobox > box > button.combo, spinbutton.vertical.linked > entry:drop(active):not(:only-child) + text, .linked.vertical > entry:drop(active):not(:only-child) + spinbutton:not(.vertical), .linked.vertical > entry:drop(active):not(:only-child) + entry, .linked.vertical > entry:drop(active):not(:only-child) + button, .linked.vertical > entry:drop(active):not(:only-child) + menubutton > button, .linked.vertical > entry:drop(active):not(:only-child) + dropdown > button, .linked.vertical > entry:drop(active):not(:only-child) + colorbutton > button, .linked.vertical > entry:drop(active):not(:only-child) + fontbutton > button, .linked.vertical > entry:drop(active):not(:only-child) + filechooserbutton > button, .linked.vertical > entry:drop(active):not(:only-child) + combobox > box > button.combo { border-top-color: #2ec27e; } | |
179 | |
180 spinbutton.vertical > text.error, spinbutton.error:not(.vertical), entry.error { color: #cc0000; } | |
181 | |
182 treeview entry:focus-within:dir(rtl), treeview entry:focus-within:dir(ltr) { background-color: #C6C6C6; transition-property: color, background; } | |
183 | |
184 treeview entry.flat, treeview entry { border-radius: 0; background-image: none; background-color: #C6C6C6; } | |
185 | |
186 treeview entry.flat:focus-within, treeview entry:focus-within { border-color: #5E7F3E; } | |
187 | |
188 /******************* Editable Labels * */ | |
189 editablelabel > stack > text { color: black; border-color: #7a7a7a; background-color: #C6C6C6; } | |
190 | |
191 /*********** Buttons * */ | |
192 @keyframes needs_attention { from { background-image: radial-gradient(farthest-side, #5E7F3E 0%, rgba(94, 127, 62, 0) 0%); } | |
193 to { background-image: radial-gradient(farthest-side, #5E7F3E 95%, rgba(94, 127, 62, 0)); } } | |
194 | |
195 notebook > header > tabs > arrow, windowcontrols button, button { min-height: 24px; min-width: 16px; padding: 4px 9px; border: 1px solid; border-radius: 5px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); color: #161616; outline-color: rgba(94, 127, 62, 0.5); border-color: #7a7a7a; background-image: linear-gradient(to top, #c6c6c6 2px, #cbcbcb); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
196 | |
197 notebook > header > tabs > arrow, windowcontrols button, button { outline: 0 solid transparent; outline-offset: 4px; } | |
198 | |
199 notebook > header > tabs > arrow:focus:focus-visible, button:focus:focus-visible { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
200 | |
201 notebook > header > tabs > arrow:hover, button:hover { color: #161616; border-color: #7a7a7a; background-image: linear-gradient(to top, #a2a2a2, #b7b7b7 1px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); -gtk-icon-filter: brightness(1.2); } | |
202 | |
203 notebook > header > tabs > arrow.keyboard-activating, notebook > header > tabs > arrow:active, notebook > header > tabs > arrow:checked, button.keyboard-activating, button:active, button:checked { color: #161616; border-color: #7a7a7a; background-image: image(#a7a7a7); box-shadow: none; transition-duration: 50ms; } | |
204 | |
205 notebook > header > tabs > arrow:checked:hover, button:checked:hover { color: #161616; border-color: #7a7a7a; background-image: image(#9d9d9d); box-shadow: none; } | |
206 | |
207 notebook > header > tabs > arrow:checked:active, button:checked:active { color: #161616; border-color: #7a7a7a; background-image: image(#939393); box-shadow: none; } | |
208 | |
209 notebook > header > tabs > arrow:backdrop, button:backdrop.flat, button:backdrop { color: #6e6e6e; border-color: #818181; background-image: image(#C6C6C6); box-shadow: none; transition: 200ms ease-out; } | |
210 | |
211 notebook > header > tabs > arrow:backdrop:not(:disabled), button:backdrop.flat:not(:disabled), button:backdrop:not(:disabled) { -gtk-icon-filter: none; } | |
212 | |
213 notebook > header > tabs > arrow:backdrop:active, notebook > header > tabs > arrow:backdrop:checked, button:backdrop.flat:active, button:backdrop.flat:checked, button:backdrop:active, button:backdrop:checked { color: #6e6e6e; border-color: #818181; background-image: image(#b6b6b6); box-shadow: none; } | |
214 | |
215 notebook > header > tabs > arrow:backdrop:disabled, button:backdrop.flat:disabled, button:backdrop:disabled { color: #a0a0a0; border-color: #818181; background-image: image(#c6c6c6); box-shadow: none; } | |
216 | |
217 notebook > header > tabs > arrow:backdrop:disabled:active, notebook > header > tabs > arrow:backdrop:disabled:checked, button:backdrop.flat:disabled:active, button:backdrop.flat:disabled:checked, button:backdrop:disabled:active, button:backdrop:disabled:checked { color: #a0a0a0; border-color: #818181; background-image: image(#b6b6b6); box-shadow: none; } | |
218 | |
219 notebook > header > tabs > arrow:disabled, button:disabled { color: #6e6e6e; border-color: #7a7a7a; background-image: image(#c6c6c6); -gtk-icon-filter: opacity(0.5); } | |
220 | |
221 notebook > header > tabs > arrow:disabled:active, notebook > header > tabs > arrow:disabled:checked, button:disabled:active, button:disabled:checked { color: #6e6e6e; border-color: #7a7a7a; background-image: image(#b6b6b6); box-shadow: none; } | |
222 | |
223 button.sidebar-button, notebook > header > tabs > arrow, windowcontrols button, notebook > header > tabs > arrow.flat, button.flat { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; transition: none; } | |
224 | |
225 button.sidebar-button:hover, notebook > header > tabs > arrow:hover, windowcontrols button:hover, button.flat:hover { border-color: transparent; background-image: none; box-shadow: none; background-color: #a7a7a7; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); transition-duration: 500ms; } | |
226 | |
227 button.keyboard-activating.sidebar-button, notebook > header > tabs > arrow.keyboard-activating, windowcontrols button.keyboard-activating, button.sidebar-button:active, notebook > header > tabs > arrow:active, windowcontrols button:active, button.sidebar-button:checked, notebook > header > tabs > arrow:checked, windowcontrols button:checked, button.flat.keyboard-activating, button.flat:active, button.flat:checked { border-color: transparent; background-image: none; box-shadow: none; background-color: #989898; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } | |
228 | |
229 button.sidebar-button:backdrop, notebook > header > tabs > arrow:backdrop, windowcontrols button:backdrop, button.sidebar-button:disabled, notebook > header > tabs > arrow:disabled, windowcontrols button:disabled, button.flat:backdrop, button.flat:disabled, button.flat:backdrop:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; } | |
230 | |
231 notebook > header > tabs > arrow.image-button, button.image-button { min-width: 24px; padding-left: 5px; padding-right: 5px; } | |
232 | |
233 notebook > header > tabs > arrow.text-button, button.text-button { padding-left: 16px; padding-right: 16px; } | |
234 | |
235 notebook > header > tabs > arrow.text-button.image-button, button.text-button.image-button { padding-left: 8px; padding-right: 8px; } | |
236 | |
237 notebook > header > tabs > arrow.text-button.image-button label, button.text-button.image-button label { padding-left: 8px; padding-right: 8px; } | |
238 | |
239 dropdown:drop(active) button.combo, combobox:drop(active) button.combo, notebook > header > tabs > arrow:drop(active), button:drop(active) { color: #2ec27e; border-color: #2ec27e; box-shadow: inset 0 0 0 1px #2ec27e; } | |
240 | |
241 row:selected button { border-color: #2b3a1d; } | |
242 | |
243 row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(disabled), row:selected button.flat:not(:active):not(:checked):not(:hover):not(disabled) { color: #ffffff; border-color: transparent; } | |
244 | |
245 row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(disabled):backdrop, row:selected button.flat:not(:active):not(:checked):not(:hover):not(disabled):backdrop { color: #c3c3c3; } | |
246 | |
247 button.osd { min-width: 26px; min-height: 32px; color: #eeeeec; border-radius: 5px; color: #eeeeec; outline-color: rgba(94, 127, 62, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(53, 53, 53, 0.7)); background-clip: padding-box; border: none; box-shadow: none; } | |
248 | |
249 button.osd.image-button { min-width: 30px; } | |
250 | |
251 button.osd.image-button:only-child { margin: 4px; border-radius: 50%; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); } | |
252 | |
253 button.osd:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(27, 27, 27, 0.7)); background-clip: padding-box; border: none; box-shadow: none; } | |
254 | |
255 button.osd:active, button.osd:checked { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(2, 2, 2, 0.7)); background-clip: padding-box; box-shadow: none; border: none; box-shadow: none; } | |
256 | |
257 .app-notification button, popover.background.touch-selection button, popover.background.magnifier button, .osd button { color: #eeeeec; outline-color: rgba(94, 127, 62, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(53, 53, 53, 0.7)); background-clip: padding-box; } | |
258 | |
259 .app-notification button:hover, popover.background.touch-selection button:hover, popover.background.magnifier button:hover, .osd button:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(27, 27, 27, 0.7)); background-clip: padding-box; } | |
260 | |
261 .app-notification button:active, popover.background.touch-selection button:active, popover.background.magnifier button:active, .app-notification button:checked, popover.background.touch-selection button:checked, popover.background.magnifier button:checked, .osd button:active:backdrop, .osd button:active, .osd button:checked:backdrop, .osd button:checked { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(2, 2, 2, 0.7)); background-clip: padding-box; box-shadow: none; } | |
262 | |
263 .app-notification button:disabled, popover.background.touch-selection button:disabled, popover.background.magnifier button:disabled, .osd button:disabled:backdrop, .osd button:disabled { color: #919190; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(71, 71, 71, 0.5)); background-clip: padding-box; } | |
264 | |
265 .app-notification button.flat, popover.background.touch-selection button.flat, popover.background.magnifier button.flat, .osd button.flat { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; box-shadow: none; -gtk-icon-shadow: 0 1px black; } | |
266 | |
267 .app-notification button.flat:hover, popover.background.touch-selection button.flat:hover, popover.background.magnifier button.flat:hover, .osd button.flat:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(27, 27, 27, 0.7)); background-clip: padding-box; } | |
268 | |
269 .app-notification button.flat:disabled, popover.background.touch-selection button.flat:disabled, popover.background.magnifier button.flat:disabled, .osd button.flat:disabled { color: #919190; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(71, 71, 71, 0.5)); background-clip: padding-box; background-image: none; border-color: transparent; box-shadow: none; } | |
270 | |
271 .app-notification button.flat:active, popover.background.touch-selection button.flat:active, popover.background.magnifier button.flat:active, .app-notification button.flat:checked, popover.background.touch-selection button.flat:checked, popover.background.magnifier button.flat:checked, .osd button.flat:active, .osd button.flat:checked { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(2, 2, 2, 0.7)); background-clip: padding-box; box-shadow: none; } | |
272 | |
273 button.suggested-action { color: white; outline-color: rgba(255, 255, 255, 0.8); border-color: #2b3a1d; background-image: linear-gradient(to top, #59783b 2px, #5E7F3E); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
274 | |
275 button.suggested-action { outline: 0 solid transparent; outline-offset: 4px; } | |
276 | |
277 button.suggested-action:focus:focus-visible { outline-color: rgba(255, 255, 255, 0.8); outline-width: 2px; outline-offset: -2px; } | |
278 | |
279 button.suggested-action.flat { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; color: #5E7F3E; } | |
280 | |
281 button.suggested-action:hover { color: white; border-color: #384c25; background-image: linear-gradient(to top, #354823, #4a6431 1px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); } | |
282 | |
283 button.suggested-action:active, button.suggested-action:checked { color: white; border-color: #384c25; background-image: image(#3a4f27); box-shadow: none; } | |
284 | |
285 button.suggested-action.flat:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; color: rgba(94, 127, 62, 0.8); } | |
286 | |
287 button.suggested-action:disabled { color: #6e6e6e; border-color: #7a7a7a; background-image: image(#c6c6c6); } | |
288 | |
289 button.suggested-action:disabled:active, button.suggested-action:disabled:checked { color: #bdc6b4; border-color: #384c25; background-image: image(#5a7043); box-shadow: none; } | |
290 | |
291 .osd button.suggested-action { color: #eeeeec; outline-color: rgba(255, 255, 255, 0.8); border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(94, 127, 62, 0.5)); background-clip: padding-box; } | |
292 | |
293 .osd button.suggested-action:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(94, 127, 62, 0.7)); background-clip: padding-box; } | |
294 | |
295 .osd button.suggested-action:active:backdrop, .osd button.suggested-action:active, .osd button.suggested-action:checked:backdrop, .osd button.suggested-action:checked { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(#5E7F3E); background-clip: padding-box; box-shadow: none; } | |
296 | |
297 .osd button.suggested-action:disabled:backdrop, .osd button.suggested-action:disabled { color: #919190; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(71, 71, 71, 0.5)); background-clip: padding-box; } | |
298 | |
299 button.destructive-action { color: white; outline-color: rgba(255, 255, 255, 0.8); border-color: #41080a; background-image: linear-gradient(to top, #931218 2px, #9c1319); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
300 | |
301 button.destructive-action { outline: 0 solid transparent; outline-offset: 4px; } | |
302 | |
303 button.destructive-action:focus:focus-visible { outline-color: rgba(255, 255, 255, 0.8); outline-width: 2px; outline-offset: -2px; } | |
304 | |
305 button.destructive-action.flat { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; color: #9c1319; } | |
306 | |
307 button.destructive-action:hover { color: white; border-color: #570b0e; background-image: linear-gradient(to top, #530a0d, #770e13 1px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); } | |
308 | |
309 button.destructive-action:active, button.destructive-action:checked { color: white; border-color: #570b0e; background-image: image(#5c0b0f); box-shadow: none; } | |
310 | |
311 button.destructive-action.flat:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; color: rgba(156, 19, 25, 0.8); } | |
312 | |
313 button.destructive-action:disabled { color: #6e6e6e; border-color: #7a7a7a; background-image: image(#c6c6c6); } | |
314 | |
315 button.destructive-action:disabled:active, button.destructive-action:disabled:checked { color: #cda8a9; border-color: #570b0e; background-image: image(#822529); box-shadow: none; } | |
316 | |
317 .osd button.destructive-action { color: #eeeeec; outline-color: rgba(255, 255, 255, 0.8); border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(156, 19, 25, 0.5)); background-clip: padding-box; } | |
318 | |
319 .osd button.destructive-action:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(156, 19, 25, 0.7)); background-clip: padding-box; } | |
320 | |
321 .osd button.destructive-action:active:backdrop, .osd button.destructive-action:active, .osd button.destructive-action:checked:backdrop, .osd button.destructive-action:checked { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(#9c1319); background-clip: padding-box; box-shadow: none; } | |
322 | |
323 .osd button.destructive-action:disabled:backdrop, .osd button.destructive-action:disabled { color: #919190; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(71, 71, 71, 0.5)); background-clip: padding-box; } | |
324 | |
325 stackswitcher > button > label { padding: 0 6px; margin: 0 -6px; } | |
326 | |
327 stackswitcher > button > image { padding: 3px 6px; margin: -3px -6px; } | |
328 | |
329 button.font separator { background-color: transparent; } | |
330 | |
331 button.font > box { border-spacing: 6px; } | |
332 | |
333 button.font > box > box > label { font-weight: bold; } | |
334 | |
335 menubutton.circular button, button.circular { min-width: 32px; min-height: 32px; padding: 0; border-radius: 9999px; } | |
336 | |
337 menubutton.circular button label, button.circular label { padding: 0; } | |
338 | |
339 stacksidebar row.needs-attention > label, stackswitcher > button.needs-attention > label, stackswitcher > button.needs-attention > image { animation: needs_attention 150ms ease-in; background-image: radial-gradient(farthest-side, #5E7F3E 96%, rgba(94, 127, 62, 0)); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; background-position: right 3px, right 4px; } | |
340 | |
341 stacksidebar row.needs-attention > label:backdrop, stackswitcher > button.needs-attention > label:backdrop, stackswitcher > button.needs-attention > image:backdrop { background-size: 6px 6px, 0 0; } | |
342 | |
343 stacksidebar row.needs-attention > label:dir(rtl), stackswitcher > button.needs-attention > label:dir(rtl), stackswitcher > button.needs-attention > image:dir(rtl) { background-position: left 3px, left 4px; } | |
344 | |
345 .linked:not(.vertical) > filechooserbutton > combobox:dir(rtl):not(:last-child) > box > button.combo, .linked:not(.vertical) > appchooserbutton > combobox:dir(rtl):not(:last-child) > box > button.combo, .linked:not(.vertical) > combobox:dir(rtl):not(:last-child) > box > button.combo, .linked:not(.vertical) > filechooserbutton > combobox:dir(ltr):not(:first-child) > box > button.combo, .linked:not(.vertical) > appchooserbutton > combobox:dir(ltr):not(:first-child) > box > button.combo, .linked:not(.vertical) > combobox:dir(ltr):not(:first-child) > box > button.combo, dropdown.linked button:nth-child(2):dir(ltr), combobox.linked button:nth-child(2):dir(ltr), .linked:not(.vertical) > menubutton:dir(rtl):not(:last-child) > button, .linked:not(.vertical) > dropdown:dir(rtl):not(:last-child) > button, .linked:not(.vertical) > colorbutton:dir(rtl):not(:last-child) > button, .linked:not(.vertical) > fontbutton:dir(rtl):not(:last-child) > button, .linked:not(.vertical) > filechooserbutton:dir(rtl):not(:last-child) > button, .linked:not(.vertical) > menubutton:dir(ltr):not(:first-child) > button, .linked:not(.vertical) > dropdown:dir(ltr):not(:first-child) > button, .linked:not(.vertical) > colorbutton:dir(ltr):not(:first-child) > button, .linked:not(.vertical) > fontbutton:dir(ltr):not(:first-child) > button, .linked:not(.vertical) > filechooserbutton:dir(ltr):not(:first-child) > button, spinbutton.vertical.linked:not(.vertical) > text:dir(rtl):not(:last-child), .linked:not(.vertical) > spinbutton:dir(rtl):not(:last-child):not(.vertical), .linked:not(.vertical) > entry:dir(rtl):not(:last-child), .linked:not(.vertical) > button:dir(rtl):not(:last-child), spinbutton.vertical.linked:not(.vertical) > text:dir(ltr):not(:first-child), .linked:not(.vertical) > spinbutton:dir(ltr):not(:first-child):not(.vertical), .linked:not(.vertical) > entry:dir(ltr):not(:first-child), .linked:not(.vertical) > button:dir(ltr):not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; } | |
346 | |
347 .linked:not(.vertical) > filechooserbutton > combobox:dir(rtl):not(:first-child) > box > button.combo, .linked:not(.vertical) > appchooserbutton > combobox:dir(rtl):not(:first-child) > box > button.combo, .linked:not(.vertical) > combobox:dir(rtl):not(:first-child) > box > button.combo, .linked:not(.vertical) > filechooserbutton > combobox:dir(ltr):not(:last-child) > box > button.combo, .linked:not(.vertical) > appchooserbutton > combobox:dir(ltr):not(:last-child) > box > button.combo, .linked:not(.vertical) > combobox:dir(ltr):not(:last-child) > box > button.combo, dropdown.linked button:nth-child(2):dir(rtl), combobox.linked button:nth-child(2):dir(rtl), .linked:not(.vertical) > menubutton:dir(rtl):not(:first-child) > button, .linked:not(.vertical) > dropdown:dir(rtl):not(:first-child) > button, .linked:not(.vertical) > colorbutton:dir(rtl):not(:first-child) > button, .linked:not(.vertical) > fontbutton:dir(rtl):not(:first-child) > button, .linked:not(.vertical) > filechooserbutton:dir(rtl):not(:first-child) > button, .linked:not(.vertical) > menubutton:dir(ltr):not(:last-child) > button, .linked:not(.vertical) > dropdown:dir(ltr):not(:last-child) > button, .linked:not(.vertical) > colorbutton:dir(ltr):not(:last-child) > button, .linked:not(.vertical) > fontbutton:dir(ltr):not(:last-child) > button, .linked:not(.vertical) > filechooserbutton:dir(ltr):not(:last-child) > button, spinbutton.vertical.linked:not(.vertical) > text:dir(rtl):not(:first-child), .linked:not(.vertical) > spinbutton:dir(rtl):not(:first-child):not(.vertical), .linked:not(.vertical) > entry:dir(rtl):not(:first-child), .linked:not(.vertical) > button:dir(rtl):not(:first-child), spinbutton.vertical.linked:not(.vertical) > text:dir(ltr):not(:last-child), .linked:not(.vertical) > spinbutton:dir(ltr):not(:last-child):not(.vertical), .linked:not(.vertical) > entry:dir(ltr):not(:last-child), .linked:not(.vertical) > button:dir(ltr):not(:last-child) { border-right-style: none; border-top-right-radius: 0; border-bottom-right-radius: 0; } | |
348 | |
349 .linked.vertical > filechooserbutton > combobox:not(:first-child) > box > button.combo, .linked.vertical > appchooserbutton > combobox:not(:first-child) > box > button.combo, .linked.vertical > combobox:not(:first-child) > box > button.combo, .linked.vertical > menubutton:not(:first-child) > button, .linked.vertical > dropdown:not(:first-child) > button, .linked.vertical > colorbutton:not(:first-child) > button, .linked.vertical > fontbutton:not(:first-child) > button, .linked.vertical > filechooserbutton:not(:first-child) > button, spinbutton.vertical.linked > text:not(:first-child), .linked.vertical > spinbutton:not(:first-child):not(.vertical), .linked.vertical > entry:not(:first-child), .linked.vertical > button:not(:first-child) { border-top-left-radius: 0; border-top-right-radius: 0; } | |
350 | |
351 .linked.vertical > filechooserbutton > combobox:not(:last-child) > box > button.combo, .linked.vertical > appchooserbutton > combobox:not(:last-child) > box > button.combo, .linked.vertical > combobox:not(:last-child) > box > button.combo, .linked.vertical > menubutton:not(:last-child) > button, .linked.vertical > dropdown:not(:last-child) > button, .linked.vertical > colorbutton:not(:last-child) > button, .linked.vertical > fontbutton:not(:last-child) > button, .linked.vertical > filechooserbutton:not(:last-child) > button, spinbutton.vertical.linked > text:not(:last-child), .linked.vertical > spinbutton:not(:last-child):not(.vertical), .linked.vertical > entry:not(:last-child), .linked.vertical > button:not(:last-child) { border-bottom-style: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } | |
352 | |
353 .scale-popup button:hover, button.link, button.link:hover, button.link:active, button.link:checked, popover.menu box.circular-buttons button.circular.image-button.model, list > row button.image-button:not(.flat), .toolbar button, modelbutton.flat { background-color: transparent; background-image: none; border-color: transparent; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; } | |
354 | |
355 /* menu buttons */ | |
356 modelbutton.flat { min-height: 26px; padding-left: 5px; padding-right: 5px; border-radius: 5px; } | |
357 | |
358 modelbutton.flat:hover { background-color: #b7b7b7; } | |
359 | |
360 modelbutton.flat:disabled { color: #6e6e6e; } | |
361 | |
362 modelbutton.flat arrow { background: none; min-width: 16px; min-height: 16px; opacity: 0.3; } | |
363 | |
364 modelbutton.flat arrow:hover { background: none; } | |
365 | |
366 modelbutton.flat arrow.left { -gtk-icon-source: -gtk-icontheme("go-previous-symbolic"); } | |
367 | |
368 modelbutton.flat arrow.right { -gtk-icon-source: -gtk-icontheme("go-next-symbolic"); } | |
369 | |
370 /* oldstyle toolbar buttons */ | |
371 .toolbar button { margin: 1px; } | |
372 | |
373 .toolbar button:hover { color: #161616; border-color: #7a7a7a; background-image: linear-gradient(to top, #a2a2a2, #b7b7b7 1px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); } | |
374 | |
375 .toolbar button:active { color: #161616; border-color: #7a7a7a; background-image: image(#a7a7a7); box-shadow: none; } | |
376 | |
377 .toolbar button:disabled { color: #6e6e6e; border-color: #7a7a7a; background-image: image(#c6c6c6); } | |
378 | |
379 .toolbar button:backdrop { color: #6e6e6e; border-color: #818181; background-image: image(#C6C6C6); box-shadow: none; } | |
380 | |
381 .toolbar button:backdrop:disabled { color: #a0a0a0; border-color: #818181; background-image: image(#c6c6c6); box-shadow: none; } | |
382 | |
383 button.color { padding: 4px; } | |
384 | |
385 button.color > colorswatch:only-child { box-shadow: 0 1px rgba(0, 0, 0, 0.1); } | |
386 | |
387 button.color > colorswatch:only-child, button.color > colorswatch:only-child > overlay { border-radius: 0; } | |
388 | |
389 .osd button.color > colorswatch:only-child { box-shadow: none; } | |
390 | |
391 .osd button.color:disabled colorswatch:only-child, .osd button.color:active colorswatch:only-child, .osd button.color:checked colorswatch:only-child, button.color:disabled colorswatch:only-child, button.color:active colorswatch:only-child, button.color:checked colorswatch:only-child { box-shadow: none; } | |
392 | |
393 /* list buttons */ | |
394 /* tone down as per new designs, see issue #1473 */ | |
395 popover.menu box.circular-buttons button.circular.image-button.model, list > row button.image-button:not(.flat) { border: 1px solid rgba(122, 122, 122, 0.5); } | |
396 | |
397 popover.menu box.circular-buttons button.circular.image-button.model:hover, list > row button.image-button:not(.flat):hover { color: #161616; border-color: #7a7a7a; background-image: linear-gradient(to top, #a2a2a2, #b7b7b7 1px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); } | |
398 | |
399 popover.menu box.circular-buttons button.circular.image-button.model:active, popover.menu box.circular-buttons button.circular.image-button.model:checked, list > row button.image-button:not(.flat):active, list > row button.image-button:not(.flat):checked { color: #161616; border-color: #7a7a7a; background-image: image(#a7a7a7); box-shadow: none; } | |
400 | |
401 popover.menu box.circular-buttons button.suggested-action.circular.image-button.model, list > row button.image-button:not(.flat).suggested-action { color: white; outline-color: rgba(255, 255, 255, 0.8); border-color: #2b3a1d; background-image: linear-gradient(to top, #59783b 2px, #5E7F3E); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
402 | |
403 popover.menu box.circular-buttons button.suggested-action.circular.image-button.model, list > row button.image-button:not(.flat).suggested-action { outline: 0 solid transparent; outline-offset: 4px; } | |
404 | |
405 popover.menu box.circular-buttons button.suggested-action.circular.image-button.model:focus:focus-visible, list > row button.image-button:not(.flat).suggested-action:focus:focus-visible { outline-color: rgba(255, 255, 255, 0.8); outline-width: 2px; outline-offset: -2px; } | |
406 | |
407 popover.menu box.circular-buttons button.destructive-action.circular.image-button.model, list > row button.image-button:not(.flat).destructive-action { color: white; outline-color: rgba(255, 255, 255, 0.8); border-color: #41080a; background-image: linear-gradient(to top, #931218 2px, #9c1319); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
408 | |
409 popover.menu box.circular-buttons button.destructive-action.circular.image-button.model, list > row button.image-button:not(.flat).destructive-action { outline: 0 solid transparent; outline-offset: 4px; } | |
410 | |
411 popover.menu box.circular-buttons button.destructive-action.circular.image-button.model:focus:focus-visible, list > row button.image-button:not(.flat).destructive-action:focus:focus-visible { outline-color: rgba(255, 255, 255, 0.8); outline-width: 2px; outline-offset: -2px; } | |
412 | |
413 /********* Links * */ | |
414 button.link, link { color: #455d2d; text-decoration: underline; } | |
415 | |
416 button.link:visited, link:visited { color: #2b3a1d; } | |
417 | |
418 *:selected button.link:visited, *:selected link:visited { color: #aab0a4; } | |
419 | |
420 button.link:hover, link:hover { color: #5e7f3e; } | |
421 | |
422 *:selected button.link:hover, *:selected link:hover { color: #eff2ec; } | |
423 | |
424 button.link:active, link:active { color: #455d2d; } | |
425 | |
426 *:selected button.link:active, *:selected link:active { color: #dadfd5; } | |
427 | |
428 button.link:disabled, link:disabled { color: rgba(69, 69, 69, 0.8); } | |
429 | |
430 button.link:selected, *:selected button.link, link:selected, *:selected link { color: #dadfd5; } | |
431 | |
432 link { transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
433 | |
434 link { outline: 0 solid transparent; outline-offset: 4px; } | |
435 | |
436 link:focus:focus-visible { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
437 | |
438 button.link, button.link:hover, button.link:active, button.link:checked { text-shadow: none; } | |
439 | |
440 button.link > label { text-decoration: underline; } | |
441 | |
442 /***************** GtkSpinButton * */ | |
443 spinbutton { font-feature-settings: "tnum"; } | |
444 | |
445 spinbutton:not(.vertical) { padding: 0; border-spacing: 0; /* :not here just to bump specificity above that of the list button styling */ } | |
446 | |
447 .osd spinbutton:not(.vertical) > text, spinbutton:not(.vertical) > text { min-width: 28px; margin: 0; background: none; background-color: transparent; border: none; border-radius: 0; box-shadow: none; padding: 6px; } | |
448 | |
449 .osd spinbutton:not(.vertical) > text:backdrop:disabled, spinbutton:not(.vertical) > text:backdrop:disabled { background-color: transparent; } | |
450 | |
451 spinbutton:not(.vertical) > button.image-button.up:not(.flat), spinbutton:not(.vertical) > button.image-button.down:not(.flat) { min-height: 16px; margin: 0; padding-bottom: 0; padding-top: 0; color: #282828; background-image: none; border-style: none none none solid; border-color: rgba(122, 122, 122, 0.3); border-radius: 0; box-shadow: none; } | |
452 | |
453 spinbutton:not(.vertical) > button.image-button.up:not(.flat):dir(rtl), spinbutton:not(.vertical) > button.image-button.down:not(.flat):dir(rtl) { border-style: none solid none none; } | |
454 | |
455 spinbutton:not(.vertical) > button.image-button.up:not(.flat):hover, spinbutton:not(.vertical) > button.image-button.down:not(.flat):hover { color: #161616; background-color: #b9b9b9; } | |
456 | |
457 spinbutton:not(.vertical) > button.image-button.up:not(.flat):disabled, spinbutton:not(.vertical) > button.image-button.down:not(.flat):disabled { color: rgba(110, 110, 110, 0.3); background-color: transparent; } | |
458 | |
459 spinbutton:not(.vertical) > button.image-button.up:not(.flat):active, spinbutton:not(.vertical) > button.image-button.down:not(.flat):active { background-color: rgba(0, 0, 0, 0.1); box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.2); } | |
460 | |
461 spinbutton:not(.vertical) > button.image-button.up:not(.flat):dir(ltr):last-child, spinbutton:not(.vertical) > button.image-button.down:not(.flat):dir(ltr):last-child { border-radius: 0 5px 5px 0; } | |
462 | |
463 spinbutton:not(.vertical) > button.image-button.up:not(.flat):dir(rtl):first-child, spinbutton:not(.vertical) > button.image-button.down:not(.flat):dir(rtl):first-child { border-radius: 5px 0 0 5px; } | |
464 | |
465 .osd spinbutton:not(.vertical) > button.image-button.up:not(.flat), .osd spinbutton:not(.vertical) > button.image-button.down:not(.flat) { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; color: #eeeeec; border-style: none none none solid; border-color: rgba(0, 0, 0, 0.4); border-radius: 0; box-shadow: none; -gtk-icon-shadow: 0 1px black; } | |
466 | |
467 .osd spinbutton:not(.vertical) > button.image-button.up:not(.flat):dir(rtl), .osd spinbutton:not(.vertical) > button.image-button.down:not(.flat):dir(rtl) { border-style: none solid none none; } | |
468 | |
469 .osd spinbutton:not(.vertical) > button.image-button.up:not(.flat):hover, .osd spinbutton:not(.vertical) > button.image-button.down:not(.flat):hover { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; color: #eeeeec; border-color: rgba(0, 0, 0, 0.5); background-color: rgba(27, 27, 27, 0.7); -gtk-icon-shadow: 0 1px black; box-shadow: none; } | |
470 | |
471 .osd spinbutton:not(.vertical) > button.image-button.up:not(.flat):disabled, .osd spinbutton:not(.vertical) > button.image-button.down:not(.flat):disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; color: #919190; border-color: rgba(0, 0, 0, 0.5); -gtk-icon-shadow: none; box-shadow: none; } | |
472 | |
473 .osd spinbutton:not(.vertical) > button.image-button.up:not(.flat):dir(ltr):last-child, .osd spinbutton:not(.vertical) > button.image-button.down:not(.flat):dir(ltr):last-child { border-radius: 0 5px 5px 0; } | |
474 | |
475 .osd spinbutton:not(.vertical) > button.image-button.up:not(.flat):dir(rtl):first-child, .osd spinbutton:not(.vertical) > button.image-button.down:not(.flat):dir(rtl):first-child { border-radius: 5px 0 0 5px; } | |
476 | |
477 spinbutton.vertical:disabled { color: #6e6e6e; } | |
478 | |
479 spinbutton.vertical:drop(active) { border-color: transparent; box-shadow: none; } | |
480 | |
481 spinbutton.vertical > text { min-height: 32px; min-width: 32px; padding: 0; border-radius: 0; } | |
482 | |
483 spinbutton.vertical > text > block-cursor { color: #C6C6C6; background-color: black; } | |
484 | |
485 spinbutton.vertical > button { min-height: 32px; min-width: 32px; padding: 0; } | |
486 | |
487 spinbutton.vertical > button.up { border-bottom-style: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } | |
488 | |
489 spinbutton.vertical > button.down { border-top-style: none; border-top-left-radius: 0; border-top-right-radius: 0; } | |
490 | |
491 .osd spinbutton.vertical > button:first-child { color: #eeeeec; outline-color: rgba(94, 127, 62, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(53, 53, 53, 0.7)); background-clip: padding-box; } | |
492 | |
493 .osd spinbutton.vertical > button:first-child:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(27, 27, 27, 0.7)); background-clip: padding-box; } | |
494 | |
495 .osd spinbutton.vertical > button:first-child:active { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(2, 2, 2, 0.7)); background-clip: padding-box; box-shadow: none; } | |
496 | |
497 .osd spinbutton.vertical > button:first-child:disabled { color: #919190; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(71, 71, 71, 0.5)); background-clip: padding-box; } | |
498 | |
499 treeview spinbutton:not(.vertical) { min-height: 0; border-style: none; border-radius: 0; } | |
500 | |
501 treeview spinbutton:not(.vertical) > text { min-height: 0; padding: 1px 2px; } | |
502 | |
503 /************** ComboBoxes * */ | |
504 dropdown > popover.menu.background > contents { padding: 0; } | |
505 | |
506 dropdown > button > box { border-spacing: 6px; } | |
507 | |
508 dropdown > button > box > stack > row.activatable:hover { background: none; box-shadow: none; } | |
509 | |
510 dropdown arrow, combobox arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); min-height: 16px; min-width: 16px; } | |
511 | |
512 dropdown > popover.menu > contents modelbutton, combobox > popover.menu > contents modelbutton { padding-left: 9px; padding-right: 9px; } | |
513 | |
514 dropdown:drop(active), combobox:drop(active) { box-shadow: none; } | |
515 | |
516 dropdown popover, combobox popover { margin-top: 6px; padding: 0; } | |
517 | |
518 dropdown popover listview, combobox popover listview { margin: 8px 0; } | |
519 | |
520 dropdown popover listview > row.activatable, combobox popover listview > row.activatable { padding: 8px; } | |
521 | |
522 dropdown popover listview > row.activatable:selected, dropdown popover listview > row.activatable:selected:hover, combobox popover listview > row.activatable:selected, combobox popover listview > row.activatable:selected:hover { outline-color: rgba(255, 255, 255, 0.8); color: black; background-color: #b7b7b7; box-shadow: none; } | |
523 | |
524 dropdown popover .dropdown-searchbar, combobox popover .dropdown-searchbar { padding: 6px; border-bottom: 1px solid #7a7a7a; } | |
525 | |
526 /************ Toolbars * */ | |
527 searchbar > revealer > box, .toolbar, toolbar { padding: 4px; border-spacing: 4px; background-color: #C6C6C6; } | |
528 | |
529 .osd .toolbar, .osd toolbar { background-color: transparent; } | |
530 | |
531 .toolbar.osd, toolbar.osd { padding: 13px; border: none; border-radius: 5px; background-color: rgba(53, 53, 53, 0.7); } | |
532 | |
533 .toolbar.osd.left, .toolbar.osd.right, .toolbar.osd.top, .toolbar.osd.bottom, toolbar.osd.left, toolbar.osd.right, toolbar.osd.top, toolbar.osd.bottom { border-radius: 0; } | |
534 | |
535 .toolbar.horizontal > separator, toolbar.horizontal > separator { margin: 4px 0; } | |
536 | |
537 .toolbar.vertical > separator, toolbar.vertical > separator { margin: 0 4px; } | |
538 | |
539 searchbar > revealer > box { padding: 6px; border-spacing: 6px; border-width: 0 0 1px; } | |
540 | |
541 searchbar > revealer > box { border-style: solid; border-color: #7a7a7a; background-color: #afafaf; } | |
542 | |
543 searchbar > revealer > box:backdrop { border-color: #818181; background-color: #aeaeae; box-shadow: none; transition: 200ms ease-out; } | |
544 | |
545 /************** GtkInfoBar * */ | |
546 infobar > revealer > box { padding: 8px; border-spacing: 12px; } | |
547 | |
548 infobar.action:hover > revealer > box { background-color: white; } | |
549 | |
550 infobar.info > revealer > box, infobar.question > revealer > box, infobar.warning > revealer > box, infobar.error > revealer > box { border-bottom: 1px solid #868686; background-color: white; } | |
551 | |
552 infobar .close, searchbar .close { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; min-width: 16px; min-height: 16px; padding: 4px; border-radius: 50%; } | |
553 | |
554 infobar .close:hover, searchbar .close:hover { color: #161616; border-color: #7a7a7a; background-image: linear-gradient(to top, #a2a2a2, #b7b7b7 1px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); } | |
555 | |
556 /***************** Title buttons * */ | |
557 windowcontrols { border-spacing: 6px; } | |
558 | |
559 windowcontrols:not(.empty).start:dir(ltr), windowcontrols:not(.empty).end:dir(rtl) { margin-right: 7px; } | |
560 | |
561 windowcontrols:not(.empty).start:dir(rtl), windowcontrols:not(.empty).end:dir(ltr) { margin-left: 7px; } | |
562 | |
563 windowcontrols button { border-radius: 9999px; padding: 6px; margin: 0 2px; min-width: 0; min-height: 0; } | |
564 | |
565 windowcontrols button:hover { border-color: transparent; background-image: none; box-shadow: none; background-color: #d1ccc7; } | |
566 | |
567 windowcontrols button:active, windowcontrols button:checked { border-color: transparent; background-image: none; box-shadow: none; background-color: #bab3ab; } | |
568 | |
569 /*************** Header bars * */ | |
570 .titlebar:not(headerbar), headerbar { padding: 0 6px; min-height: 46px; border-width: 0 0 1px; border-style: solid; border-color: #6d6d6d; border-radius: 0; background: #adadad linear-gradient(to top, #a7a7a7, #afafaf); /* Darken switchbuttons for headerbars. issue #1588 */ } | |
571 | |
572 .titlebar:backdrop:not(headerbar), headerbar:backdrop { border-color: #818181; background-color: #C6C6C6; background-image: none; transition: 200ms ease-out; } | |
573 | |
574 .titlebar:not(headerbar) .title, headerbar .title { padding-left: 12px; padding-right: 12px; font-weight: bold; } | |
575 | |
576 .titlebar:not(headerbar) .subtitle, headerbar .subtitle { font-size: smaller; padding-left: 12px; padding-right: 12px; } | |
577 | |
578 .titlebar:not(headerbar) stackswitcher > button:checked, .titlebar:not(headerbar) button.toggle:checked, headerbar stackswitcher > button:checked, headerbar button.toggle:checked { background: image(#9b9b9b); border-color: #727272; border-top-color: #656565; } | |
579 | |
580 .titlebar:not(headerbar) stackswitcher > button:checked:backdrop, .titlebar:not(headerbar) button.toggle:checked:backdrop, headerbar stackswitcher > button:checked:backdrop, headerbar button.toggle:checked:backdrop { color: #6e6e6e; border-color: #818181; background-image: image(#b6b6b6); box-shadow: none; } | |
581 | |
582 .tiled .titlebar:not(headerbar), .tiled-top .titlebar:not(headerbar), .tiled-left .titlebar:not(headerbar), .tiled-right .titlebar:not(headerbar), .tiled-bottom .titlebar:not(headerbar), .maximized .titlebar:not(headerbar), .fullscreen .titlebar:not(headerbar), .tiled headerbar, .tiled-top headerbar, .tiled-left headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .maximized headerbar, .fullscreen headerbar { border-radius: 0; } | |
583 | |
584 .default-decoration.titlebar:not(headerbar), headerbar.default-decoration { min-height: 28px; padding: 4px; } | |
585 | |
586 .default-decoration.titlebar:not(headerbar) windowcontrols button, .default-decoration.titlebar:not(headerbar) windowcontrols menubutton, headerbar.default-decoration windowcontrols button, headerbar.default-decoration windowcontrols menubutton { min-height: 26px; min-width: 26px; margin: 0; padding: 0; } | |
587 | |
588 .default-decoration.titlebar:not(headerbar) windowcontrols menubutton button, headerbar.default-decoration windowcontrols menubutton button { min-height: 20px; min-width: 20px; margin: 0; padding: 4px; } | |
589 | |
590 .solid-csd .titlebar:dir(rtl):not(headerbar), .solid-csd .titlebar:dir(ltr):not(headerbar), .solid-csd headerbar:backdrop:dir(rtl), .solid-csd headerbar:backdrop:dir(ltr), .solid-csd headerbar:dir(rtl), .solid-csd headerbar:dir(ltr) { margin-left: -1px; margin-right: -1px; margin-top: -1px; border-radius: 0; box-shadow: none; } | |
591 | |
592 headerbar > windowhandle > box, headerbar > windowhandle > box > box.start, headerbar > windowhandle > box > box.end { border-spacing: 6px; } | |
593 | |
594 headerbar entry, headerbar spinbutton, headerbar separator:not(.sidebar), headerbar button, headerbar menubutton { margin-top: 6px; margin-bottom: 6px; } | |
595 | |
596 headerbar menubutton > button { margin-top: 0px; margin-bottom: 0px; } | |
597 | |
598 headerbar switch { margin-top: 10px; margin-bottom: 10px; } | |
599 | |
600 window.csd > .titlebar:not(headerbar) { padding: 0; background-color: transparent; background-image: none; border-style: none; border-color: transparent; } | |
601 | |
602 .titlebar:not(headerbar) separator { background-color: #7a7a7a; } | |
603 | |
604 window.devel headerbar.titlebar { background: #C6C6C6 cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, linear-gradient(to right, transparent 65%, rgba(94, 127, 62, 0.2)), linear-gradient(to top, #a5a5a5, #adadad 3px, #bcbcbc); } | |
605 | |
606 window.devel headerbar.titlebar:backdrop { background: #C6C6C6 cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, image(#C6C6C6); /* background-color would flash */ } | |
607 | |
608 /************ Pathbars * */ | |
609 pathbar > button.text-button, pathbar > button.image-button, pathbar > button { padding-left: 4px; padding-right: 4px; } | |
610 | |
611 pathbar > button.text-button.image-button label { padding-left: 0; padding-right: 0; } | |
612 | |
613 pathbar > button.text-button.image-button label:last-child, pathbar > button label:last-child { padding-right: 8px; } | |
614 | |
615 pathbar > button.text-button.image-button label:first-child, pathbar > button label:first-child { padding-left: 8px; } | |
616 | |
617 pathbar > button image { padding-left: 4px; padding-right: 4px; } | |
618 | |
619 pathbar > button.slider-button { padding-left: 0; padding-right: 0; } | |
620 | |
621 /************** Tree Views * */ | |
622 columnview.view, treeview.view { border-left-color: #898989; border-top-color: #898989; transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
623 | |
624 columnview.view, treeview.view { outline: 0 solid transparent; outline-offset: 4px; } | |
625 | |
626 columnview.view:focus:focus-visible, treeview.view:focus:focus-visible { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
627 | |
628 columnview.view:selected:focus, columnview.view:selected, treeview.view:selected:focus, treeview.view:selected { border-radius: 0; outline-color: rgba(255, 255, 255, 0.8); } | |
629 | |
630 columnview.view:disabled, treeview.view:disabled { color: #6e6e6e; } | |
631 | |
632 columnview.view:disabled:selected, treeview.view:disabled:selected { color: #9eb28b; } | |
633 | |
634 columnview.view:disabled:selected:backdrop, treeview.view:disabled:selected:backdrop { color: #8ea578; } | |
635 | |
636 columnview.view.separator, treeview.view.separator { min-height: 2px; color: #898989; } | |
637 | |
638 columnview.view:backdrop, treeview.view:backdrop { border-left-color: #8f8f8f; border-top: #8f8f8f; } | |
639 | |
640 columnview.view:drop(active), treeview.view:drop(active) { box-shadow: none; } | |
641 | |
642 columnview.view > dndtarget:drop(active), treeview.view > dndtarget:drop(active) { border-style: solid none; border-width: 1px; border-color: #2b3a1d; } | |
643 | |
644 columnview.view > dndtarget:drop(active).after, treeview.view > dndtarget:drop(active).after { border-top-style: none; } | |
645 | |
646 columnview.view > dndtarget:drop(active).before, treeview.view > dndtarget:drop(active).before { border-bottom-style: none; } | |
647 | |
648 columnview.view.expander, treeview.view.expander { min-width: 16px; min-height: 16px; -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); color: #3b3b3b; } | |
649 | |
650 columnview.view.expander:dir(rtl), treeview.view.expander:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } | |
651 | |
652 columnview.view.expander:hover, treeview.view.expander:hover { color: black; } | |
653 | |
654 columnview.view.expander:selected, treeview.view.expander:selected { color: #cfd9c5; } | |
655 | |
656 columnview.view.expander:selected:hover, treeview.view.expander:selected:hover { color: #ffffff; } | |
657 | |
658 columnview.view.expander:checked, treeview.view.expander:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } | |
659 | |
660 columnview.view.progressbar, treeview.view.progressbar { color: #C6C6C6; background-color: #5E7F3E; background-image: image(#5E7F3E); box-shadow: none; } | |
661 | |
662 columnview.view.progressbar:selected:focus, columnview.view.progressbar:selected, treeview.view.progressbar:selected:focus, treeview.view.progressbar:selected { color: #5E7F3E; background-image: image(#C6C6C6); } | |
663 | |
664 columnview.view.progressbar:selected:focus:backdrop, columnview.view.progressbar:selected:backdrop, treeview.view.progressbar:selected:focus:backdrop, treeview.view.progressbar:selected:backdrop { color: #5E7F3E; background-color: #c3c3c3; } | |
665 | |
666 columnview.view.trough, treeview.view.trough { background-color: rgba(22, 22, 22, 0.1); } | |
667 | |
668 columnview.view.trough:selected:focus, columnview.view.trough:selected, treeview.view.trough:selected:focus, treeview.view.trough:selected { background-color: rgba(255, 255, 255, 0.3); } | |
669 | |
670 columnview.view > header > button, treeview.view > header > button { color: #6e6e6e; background-color: #C6C6C6; font-weight: bold; text-shadow: none; box-shadow: none; } | |
671 | |
672 columnview.view > header > button:hover, treeview.view > header > button:hover { color: #424242; box-shadow: none; transition: none; } | |
673 | |
674 columnview.view > header > button:active, treeview.view > header > button:active { color: #161616; transition: none; } | |
675 | |
676 columnview.view > header > button sort-indicator, treeview.view > header > button sort-indicator { min-height: 16px; min-width: 16px; } | |
677 | |
678 columnview.view > header > button sort-indicator.ascending, treeview.view > header > button sort-indicator.ascending { -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); } | |
679 | |
680 columnview.view > header > button sort-indicator.descending, treeview.view > header > button sort-indicator.descending { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } | |
681 | |
682 columnview.view button.dnd:active, columnview.view button.dnd:selected, columnview.view button.dnd:hover, columnview.view button.dnd, columnview.view header.button.dnd:active, columnview.view header.button.dnd:selected, columnview.view header.button.dnd:hover, columnview.view header.button.dnd, treeview.view button.dnd:active, treeview.view button.dnd:selected, treeview.view button.dnd:hover, treeview.view button.dnd, treeview.view header.button.dnd:active, treeview.view header.button.dnd:selected, treeview.view header.button.dnd:hover, treeview.view header.button.dnd { padding: 0 6px; color: #C6C6C6; background-image: none; background-color: #5E7F3E; border-style: none; border-radius: 0; box-shadow: inset 0 0 0 1px #C6C6C6; text-shadow: none; transition: none; } | |
683 | |
684 columnview.view acceleditor > label, treeview.view acceleditor > label { background-color: #5E7F3E; } | |
685 | |
686 columnview.view > header > button, treeview.view > header > button, columnview.view > header > button:hover, treeview.view > header > button:hover, columnview.view > header > button:active, treeview.view > header > button:active { padding: 0 6px; background-image: none; border-style: none none solid solid; border-color: #898989; border-radius: 0; text-shadow: none; } | |
687 | |
688 columnview.view > header > button:disabled, treeview.view > header > button:disabled { border-color: #C6C6C6; background-image: none; } | |
689 | |
690 columnview.view > header > button:last-child, treeview.view > header > button:last-child { border-right-style: none; } | |
691 | |
692 /*************** Popovers * */ | |
693 popover.background { background-color: transparent; font: initial; } | |
694 | |
695 popover.background > arrow, popover.background > contents { background-color: #C6C6C6; background-clip: padding-box; border: 1px solid rgba(0, 0, 0, 0.23); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } | |
696 | |
697 popover.background:backdrop { background-color: transparent; } | |
698 | |
699 popover.background > contents { padding: 8px; border-radius: 9px; } | |
700 | |
701 popover.background > contents > list, popover.background > contents > .view, popover.background > contents > iconview, popover.background > contents > toolbar { border-style: none; background-color: transparent; } | |
702 | |
703 popover.background > contents separator { background-color: #909090; margin: 3px; } | |
704 | |
705 popover.background > contents list separator { margin: 0; } | |
706 | |
707 .osd popover.background, popover.background.touch-selection, popover.background.magnifier { background-color: transparent; } | |
708 | |
709 .osd popover.background > arrow, .osd popover.background > contents, popover.background.touch-selection > arrow, popover.background.touch-selection > contents, popover.background.magnifier > arrow, popover.background.magnifier > contents { border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: none; } | |
710 | |
711 magnifier { background-color: #C6C6C6; } | |
712 | |
713 /********************** Popover Base Menus * */ | |
714 popover.menu { padding: 0; } | |
715 | |
716 popover.menu box.inline-buttons { padding: 0 12px; } | |
717 | |
718 popover.menu box.inline-buttons button.image-button.model { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; min-height: 30px; min-width: 30px; padding: 0; border: none; outline: none; transition: none; } | |
719 | |
720 popover.menu box.inline-buttons button.image-button.model:selected { background: image(#b7b7b7); } | |
721 | |
722 popover.menu box.circular-buttons { padding: 12px 12px 6px; } | |
723 | |
724 popover.menu box.circular-buttons button.circular.image-button.model { padding: 11px; } | |
725 | |
726 popover.menu box.circular-buttons button.circular.image-button.model:focus { background-color: #b7b7b7; border-color: #b7b7b7; } | |
727 | |
728 popover.menu > arrow, popover.menu.background > contents { background-color: #C6C6C6; padding: 5px; } | |
729 | |
730 popover.menu.background separator { margin: 6px 0; } | |
731 | |
732 popover.menu accelerator { color: alpha(currentColor,0.55); } | |
733 | |
734 popover.menu accelerator:dir(ltr) { margin-left: 12px; } | |
735 | |
736 popover.menu accelerator:dir(rtl) { margin-right: 12px; } | |
737 | |
738 popover.menu check, popover.menu radio { transform: scale(0.8); border-width: 1.2px; border-color: transparent; box-shadow: none; background-image: image(transparent); color: black; } | |
739 | |
740 popover.menu check:hover, popover.menu radio:hover { transform: scale(0.8); border-width: 1.2px; color: black; box-shadow: none; background-image: image(transparent); } | |
741 | |
742 popover.menu check:active, popover.menu radio:active { transform: scale(0.8); border-width: 1.2px; color: black; box-shadow: none; background-image: image(transparent); } | |
743 | |
744 popover.menu radio { border-color: #7a7a7a; } | |
745 | |
746 popover.menu radio:active { border-color: rgba(122, 122, 122, 0.5); } | |
747 | |
748 popover.menu arrow.left, popover.menu radio.left, popover.menu check.left { margin-left: -2px; margin-right: 6px; } | |
749 | |
750 popover.menu arrow.right, popover.menu radio.right, popover.menu check.right { margin-left: 6px; margin-right: -2px; } | |
751 | |
752 popover.menu modelbutton { min-height: 30px; min-width: 40px; padding: 0 12px; border-radius: 5px; } | |
753 | |
754 popover.menu modelbutton:selected { color: black; background-color: #b7b7b7; } | |
755 | |
756 popover.menu modelbutton:selected:active { background-color: #a2a2a2; } | |
757 | |
758 popover.menu label.title { font-weight: bold; padding: 4px 32px; } | |
759 | |
760 menubar { padding: 0px; box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); } | |
761 | |
762 menubar > item { min-height: 16px; padding: 4px 8px; } | |
763 | |
764 menubar > item:selected { box-shadow: inset 0 -3px #5E7F3E; color: #455d2d; } | |
765 | |
766 menubar > item:disabled { color: #6e6e6e; box-shadow: none; } | |
767 | |
768 menubar > item popover.menu.background > contents { padding: 5px; } | |
769 | |
770 menubar > item popover.menu popover.menu { padding: 0 0 4px 0; } | |
771 | |
772 menubar > item popover.menu.background popover.menu.background > contents { margin: 0; border-radius: 9px; } | |
773 | |
774 /************* Notebooks * */ | |
775 notebook { transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
776 | |
777 notebook > header > tabs > tab:checked { outline: 0 solid transparent; outline-offset: 4px; } | |
778 | |
779 notebook:focus:focus-visible > header > tabs > tab:checked { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
780 | |
781 notebook > header { padding: 1px; border-color: #7a7a7a; border-width: 1px; background-color: #ababab; } | |
782 | |
783 notebook > header > tabs { margin: -1px; } | |
784 | |
785 notebook > header.top { border-bottom-style: solid; } | |
786 | |
787 notebook > header.top > tabs { margin-bottom: -2px; } | |
788 | |
789 notebook > header.top > tabs > tab:hover { box-shadow: inset 0 -4px #7a7a7a; } | |
790 | |
791 notebook > header.top > tabs > tab:checked { box-shadow: inset 0 -4px #5E7F3E; } | |
792 | |
793 notebook > header.bottom { border-top-style: solid; } | |
794 | |
795 notebook > header.bottom > tabs { margin-top: -2px; } | |
796 | |
797 notebook > header.bottom > tabs > tab:hover { box-shadow: inset 0 4px #7a7a7a; } | |
798 | |
799 notebook > header.bottom > tabs > tab:checked { box-shadow: inset 0 4px #5E7F3E; } | |
800 | |
801 notebook > header.left { border-right-style: solid; } | |
802 | |
803 notebook > header.left > tabs { margin-right: -2px; } | |
804 | |
805 notebook > header.left > tabs > tab:hover { box-shadow: inset -4px 0 #7a7a7a; } | |
806 | |
807 notebook > header.left > tabs > tab:checked { box-shadow: inset -4px 0 #5E7F3E; } | |
808 | |
809 notebook > header.right { border-left-style: solid; } | |
810 | |
811 notebook > header.right > tabs { margin-left: -2px; } | |
812 | |
813 notebook > header.right > tabs > tab:hover { box-shadow: inset 4px 0 #7a7a7a; } | |
814 | |
815 notebook > header.right > tabs > tab:checked { box-shadow: inset 4px 0 #5E7F3E; } | |
816 | |
817 notebook > header.top > tabs > arrow { border-top-style: none; } | |
818 | |
819 notebook > header.bottom > tabs > arrow { border-bottom-style: none; } | |
820 | |
821 notebook > header.top > tabs > arrow, notebook > header.bottom > tabs > arrow { margin-left: -5px; margin-right: -5px; padding-left: 4px; padding-right: 4px; } | |
822 | |
823 notebook > header.top > tabs > arrow.down, notebook > header.bottom > tabs > arrow.down { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); } | |
824 | |
825 notebook > header.top > tabs > arrow.up, notebook > header.bottom > tabs > arrow.up { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } | |
826 | |
827 notebook > header.left > tabs > arrow { border-left-style: none; } | |
828 | |
829 notebook > header.right > tabs > arrow { border-right-style: none; } | |
830 | |
831 notebook > header.left > tabs > arrow, notebook > header.right > tabs > arrow { margin-top: -5px; margin-bottom: -5px; padding-top: 4px; padding-bottom: 4px; } | |
832 | |
833 notebook > header.left > tabs > arrow.down, notebook > header.right > tabs > arrow.down { -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); } | |
834 | |
835 notebook > header.left > tabs > arrow.up, notebook > header.right > tabs > arrow.up { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } | |
836 | |
837 notebook > header > tabs > arrow { min-height: 16px; min-width: 16px; border-radius: 0; } | |
838 | |
839 notebook > header > tabs > arrow:hover:not(:active):not(:backdrop) { background-clip: padding-box; background-image: none; background-color: rgba(255, 255, 255, 0.3); border-color: transparent; box-shadow: none; } | |
840 | |
841 notebook > header > tabs > arrow:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; } | |
842 | |
843 notebook > header > tabs > tab { transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); min-height: 30px; min-width: 30px; padding: 3px 12px; color: #161616; font-weight: normal; border-width: 1px; border-color: transparent; } | |
844 | |
845 notebook > header > tabs > tab:hover { color: #161616; background-color: #a1a1a1; } | |
846 | |
847 notebook > header > tabs > tab:hover.reorderable-page { border-color: rgba(122, 122, 122, 0.3); background-color: rgba(198, 198, 198, 0.2); } | |
848 | |
849 notebook > header > tabs > tab:not(:checked) { outline-color: transparent; } | |
850 | |
851 notebook > header > tabs > tab:checked { color: #161616; } | |
852 | |
853 notebook > header > tabs > tab:checked.reorderable-page { border-color: rgba(122, 122, 122, 0.5); background-color: rgba(198, 198, 198, 0.5); } | |
854 | |
855 notebook > header > tabs > tab:checked.reorderable-page:hover { background-color: rgba(198, 198, 198, 0.7); } | |
856 | |
857 notebook > header > tabs > tab button.flat { color: alpha(currentColor,0.3); padding: 0; margin-top: 4px; margin-bottom: 4px; min-width: 20px; min-height: 20px; } | |
858 | |
859 notebook > header > tabs > tab button.flat:hover { color: currentColor; } | |
860 | |
861 notebook > header > tabs > tab button.flat:last-child { margin-left: 4px; margin-right: -4px; } | |
862 | |
863 notebook > header > tabs > tab button.flat:first-child { margin-left: -4px; margin-right: 4px; } | |
864 | |
865 notebook > header.top > tabs, notebook > header.bottom > tabs { padding-left: 4px; padding-right: 4px; } | |
866 | |
867 notebook > header.top > tabs:not(:only-child), notebook > header.bottom > tabs:not(:only-child) { margin-left: 3px; margin-right: 3px; } | |
868 | |
869 notebook > header.top > tabs:not(:only-child):first-child, notebook > header.bottom > tabs:not(:only-child):first-child { margin-left: -1px; } | |
870 | |
871 notebook > header.top > tabs:not(:only-child):last-child, notebook > header.bottom > tabs:not(:only-child):last-child { margin-right: -1px; } | |
872 | |
873 notebook > header.top > tabs > tab, notebook > header.bottom > tabs > tab { margin-left: 4px; margin-right: 4px; } | |
874 | |
875 notebook > header.top > tabs > tab.reorderable-page, notebook > header.bottom > tabs > tab.reorderable-page { border-style: none solid; } | |
876 | |
877 notebook > header.left > tabs, notebook > header.right > tabs { padding-top: 4px; padding-bottom: 4px; } | |
878 | |
879 notebook > header.left > tabs:not(:only-child), notebook > header.right > tabs:not(:only-child) { margin-top: 3px; margin-bottom: 3px; } | |
880 | |
881 notebook > header.left > tabs:not(:only-child):first-child, notebook > header.right > tabs:not(:only-child):first-child { margin-top: -1px; } | |
882 | |
883 notebook > header.left > tabs:not(:only-child):last-child, notebook > header.right > tabs:not(:only-child):last-child { margin-bottom: -1px; } | |
884 | |
885 notebook > header.left > tabs > tab, notebook > header.right > tabs > tab { margin-top: 4px; margin-bottom: 4px; } | |
886 | |
887 notebook > header.left > tabs > tab.reorderable-page, notebook > header.right > tabs > tab.reorderable-page { border-style: solid none; } | |
888 | |
889 notebook > header.top > tabs > tab { padding-bottom: 4px; } | |
890 | |
891 notebook > header.bottom > tabs > tab { padding-top: 4px; } | |
892 | |
893 notebook > stack:not(:only-child) { background-color: #C6C6C6; } | |
894 | |
895 /************** Scrollbars * */ | |
896 scrollbar { background-color: #b4b4b4; transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } | |
897 | |
898 scrollbar.top { border-bottom: 1px solid #7a7a7a; } | |
899 | |
900 scrollbar.bottom { border-top: 1px solid #7a7a7a; } | |
901 | |
902 scrollbar.left { border-right: 1px solid #7a7a7a; } | |
903 | |
904 scrollbar.right { border-left: 1px solid #7a7a7a; } | |
905 | |
906 scrollbar > range > trough > slider { min-width: 8px; min-height: 8px; margin: -1px; border: 4px solid transparent; border-radius: 10px; background-clip: padding-box; background-color: #7e8182; transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } | |
907 | |
908 scrollbar > range > trough > slider:hover { background-color: #565b5c; } | |
909 | |
910 scrollbar > range > trough > slider:hover:active { background-color: #5E7F3E; } | |
911 | |
912 scrollbar > range > trough > slider:disabled { background-color: transparent; } | |
913 | |
914 scrollbar > range.fine-tune > trough > slider { transition: none; min-width: 6px; min-height: 6px; } | |
915 | |
916 scrollbar > range.fine-tune.horizontal > trough > slider { border-width: 5px 4px; } | |
917 | |
918 scrollbar > range.fine-tune.vertical > trough > slider { border-width: 4px 5px; } | |
919 | |
920 scrollbar.overlay-indicator:not(.dragging):not(.hovering) { border-color: transparent; opacity: 0.4; background-color: transparent; } | |
921 | |
922 scrollbar.overlay-indicator:not(.dragging):not(.hovering) > range > trough > slider { margin: 0; min-width: 3px; min-height: 3px; background-color: #161616; border: 1px solid white; } | |
923 | |
924 scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal > range > trough > slider { margin: 0 2px; min-width: 40px; } | |
925 | |
926 scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical > range > trough > slider { margin: 2px 0; min-height: 40px; } | |
927 | |
928 scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering { opacity: 0.8; } | |
929 | |
930 scrollbar.horizontal > range > trough > slider { min-width: 40px; } | |
931 | |
932 scrollbar.vertical > range > trough > slider { min-height: 40px; } | |
933 | |
934 treeview ~ scrollbar.vertical { border-top: 1px solid #7a7a7a; margin-top: -1px; } | |
935 | |
936 /********** Switch * */ | |
937 switch { font-weight: bold; font-size: smaller; border: 1px solid #7a7a7a; border-radius: 14px; color: #161616; background-color: #ababab; transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; /* only show i / o for the accessible theme */ } | |
938 | |
939 switch { outline: 0 solid transparent; outline-offset: 4px; } | |
940 | |
941 switch:focus:focus-visible { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: 0; } | |
942 | |
943 headerbar switch { background-color: #979797; } | |
944 | |
945 switch:checked { color: #ffffff; border-color: #384c25; background-color: #5E7F3E; } | |
946 | |
947 switch:disabled { color: #6e6e6e; border-color: #7a7a7a; background-color: #c6c6c6; text-shadow: none; } | |
948 | |
949 switch > slider { color: #161616; outline-color: rgba(94, 127, 62, 0.5); border-color: #7a7a7a; background-image: linear-gradient(to top, #c6c6c6 2px, #cbcbcb); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); margin: -1px; min-width: 24px; min-height: 24px; border: 1px solid; border-color: #7a7a7a; border-radius: 50%; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } | |
950 | |
951 switch > image { color: transparent; } | |
952 | |
953 switch:hover > slider { color: #161616; border-color: #7a7a7a; background-image: linear-gradient(to top, #a2a2a2, #b7b7b7 1px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); } | |
954 | |
955 switch:checked > slider { border: 1px solid #384c25; } | |
956 | |
957 switch:disabled > slider { color: #6e6e6e; border-color: #7a7a7a; background-image: image(#c6c6c6); } | |
958 | |
959 row:selected switch { outline-color: rgba(255, 255, 255, 0.8); box-shadow: none; border-color: #384c25; } | |
960 | |
961 row:selected switch > slider:checked, row:selected switch > slider { border-color: #384c25; } | |
962 | |
963 /************************* Check and Radio items * */ | |
964 .view.content-view.check:not(list), iconview.content-view.check:not(list), .content-view .tile check:not(list) { margin: 4px; min-width: 32px; min-height: 32px; color: transparent; background-color: #5E7F3E; border-radius: 5px; background-image: none; transition: 200ms; box-shadow: none; border-width: 0; -gtk-icon-source: none; -gtk-icon-shadow: none; } | |
965 | |
966 .view.content-view.check:hover:not(list), iconview.content-view.check:hover:not(list), .content-view .tile check:hover:not(list) { margin: 4px; min-width: 32px; min-height: 32px; color: transparent; background-color: #5E7F3E; border-radius: 5px; background-image: none; transition: 200ms; box-shadow: none; border-width: 0; -gtk-icon-source: none; -gtk-icon-shadow: none; } | |
967 | |
968 .view.content-view.check:active:not(list), iconview.content-view.check:active:not(list), .content-view .tile check:active:not(list) { margin: 4px; min-width: 32px; min-height: 32px; color: transparent; background-color: #5E7F3E; border-radius: 5px; background-image: none; transition: 200ms; box-shadow: none; border-width: 0; -gtk-icon-source: none; -gtk-icon-shadow: none; } | |
969 | |
970 .view.content-view.check:backdrop:not(list), iconview.content-view.check:backdrop:not(list), .content-view .tile check:backdrop:not(list) { margin: 4px; min-width: 32px; min-height: 32px; color: transparent; background-color: #5f5f5f; border-radius: 5px; background-image: none; transition: 200ms; box-shadow: none; border-width: 0; -gtk-icon-source: none; -gtk-icon-shadow: none; } | |
971 | |
972 .view.content-view.check:checked:not(list), iconview.content-view.check:checked:not(list), .content-view .tile check:checked:not(list) { margin: 4px; min-width: 32px; min-height: 32px; color: #eeeeec; background-color: #5E7F3E; border-radius: 5px; background-image: none; transition: 200ms; box-shadow: none; border-width: 0; -gtk-icon-source: -gtk-icontheme('object-select-symbolic'); -gtk-icon-shadow: none; } | |
973 | |
974 .view.content-view.check:checked:hover:not(list), iconview.content-view.check:checked:hover:not(list), .content-view .tile check:checked:hover:not(list) { margin: 4px; min-width: 32px; min-height: 32px; color: #eeeeec; background-color: #5E7F3E; border-radius: 5px; background-image: none; transition: 200ms; box-shadow: none; border-width: 0; -gtk-icon-source: -gtk-icontheme('object-select-symbolic'); -gtk-icon-shadow: none; } | |
975 | |
976 .view.content-view.check:checked:active:not(list), iconview.content-view.check:checked:active:not(list), .content-view .tile check:checked:active:not(list) { margin: 4px; min-width: 32px; min-height: 32px; color: #eeeeec; background-color: #5E7F3E; border-radius: 5px; background-image: none; transition: 200ms; box-shadow: none; border-width: 0; -gtk-icon-source: -gtk-icontheme('object-select-symbolic'); -gtk-icon-shadow: none; } | |
977 | |
978 .view.content-view.check:backdrop:checked:not(list), iconview.content-view.check:backdrop:checked:not(list), .content-view .tile check:backdrop:checked:not(list) { margin: 4px; min-width: 32px; min-height: 32px; color: rgba(238, 238, 236, 0.8); background-color: #5f5f5f; border-radius: 5px; background-image: none; transition: 200ms; box-shadow: none; border-width: 0; -gtk-icon-source: -gtk-icontheme('object-select-symbolic'); -gtk-icon-shadow: none; } | |
979 | |
980 checkbutton { border-spacing: 4px; border-radius: 5px; transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
981 | |
982 checkbutton { outline: 0 solid transparent; outline-offset: 4px; } | |
983 | |
984 checkbutton:focus:focus-visible { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
985 | |
986 checkbutton.text-button { padding: 4px; } | |
987 | |
988 check, radio { min-height: 14px; min-width: 14px; border: 1px solid; -gtk-icon-source: none; } | |
989 | |
990 check, radio { background-clip: padding-box; background-image: linear-gradient(to bottom, white 20%, white 90%); border-color: #6d6d6d; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #ffffff; } | |
991 | |
992 check:hover, radio:hover { background-image: image(#f2f2f2); } | |
993 | |
994 check:active, radio:active { box-shadow: inset 0 1px rgba(0, 0, 0, 0.2); background-image: image(#d9d9d9); } | |
995 | |
996 check:disabled, radio:disabled { box-shadow: none; color: rgba(255, 255, 255, 0.7); } | |
997 | |
998 check:checked, radio:checked { background-clip: border-box; background-image: linear-gradient(to bottom, #6b9046 20%, #5E7F3E 90%); border-color: #2b3a1d; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #ffffff; } | |
999 | |
1000 check:checked:hover, radio:checked:hover { background-image: linear-gradient(to bottom, #759e4d 10%, #688d45 90%); } | |
1001 | |
1002 check:checked:active, radio:checked:active { box-shadow: inset 0 1px rgba(0, 0, 0, 0.2); background-image: image(#516e36); } | |
1003 | |
1004 check:checked:disabled, radio:checked:disabled { box-shadow: none; color: rgba(255, 255, 255, 0.7); } | |
1005 | |
1006 check:indeterminate, radio:indeterminate { background-clip: border-box; background-image: linear-gradient(to bottom, #6b9046 20%, #5E7F3E 90%); border-color: #2b3a1d; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #ffffff; } | |
1007 | |
1008 check:indeterminate:hover, radio:indeterminate:hover { background-image: linear-gradient(to bottom, #759e4d 10%, #688d45 90%); } | |
1009 | |
1010 check:indeterminate:active, radio:indeterminate:active { box-shadow: inset 0 1px rgba(0, 0, 0, 0.2); background-image: image(#516e36); } | |
1011 | |
1012 check:indeterminate:disabled, radio:indeterminate:disabled { box-shadow: none; color: rgba(255, 255, 255, 0.7); } | |
1013 | |
1014 row:selected check, row:selected radio { border-color: #2b3a1d; } | |
1015 | |
1016 .osd check, .osd radio { color: #eeeeec; outline-color: rgba(94, 127, 62, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(53, 53, 53, 0.7)); background-clip: padding-box; } | |
1017 | |
1018 .osd check:hover, .osd radio:hover { color: #eeeeec; outline-color: rgba(94, 127, 62, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(53, 53, 53, 0.7)); background-clip: padding-box; } | |
1019 | |
1020 .osd check:active, .osd radio:active { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(2, 2, 2, 0.7)); background-clip: padding-box; box-shadow: none; } | |
1021 | |
1022 .osd check:disabled, .osd radio:disabled { color: #919190; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(71, 71, 71, 0.5)); background-clip: padding-box; } | |
1023 | |
1024 check { border-radius: 3px; -gtk-icon-size: 14px; } | |
1025 | |
1026 check:checked { -gtk-icon-source: -gtk-scaled(-gtk-recolor(url("assets/check-symbolic.symbolic.png")), -gtk-recolor(url("assets/check@2-symbolic.symbolic.png"))); } | |
1027 | |
1028 check:indeterminate { -gtk-icon-source: -gtk-scaled(-gtk-recolor(url("assets/dash-symbolic.symbolic.png")), -gtk-recolor(url("assets/dash@2-symbolic.symbolic.png"))); } | |
1029 | |
1030 treeview.view radio:selected:focus, treeview.view radio:selected, radio { border-radius: 100%; -gtk-icon-size: 14px; } | |
1031 | |
1032 treeview.view radio:checked:selected, radio:checked { -gtk-icon-source: -gtk-scaled(-gtk-recolor(url("assets/bullet-symbolic.symbolic.png")), -gtk-recolor(url("assets/bullet@2-symbolic.symbolic.png"))); } | |
1033 | |
1034 treeview.view radio:indeterminate:selected, radio:indeterminate { -gtk-icon-source: -gtk-scaled(-gtk-recolor(url("assets/dash-symbolic.symbolic.png")), -gtk-recolor(url("assets/dash@2-symbolic.symbolic.png"))); } | |
1035 | |
1036 treeview.view check:selected:focus, treeview.view check:selected, treeview.view radio:selected:focus, treeview.view radio:selected { color: #ffffff; border-color: #2b3a1d; } | |
1037 | |
1038 /************ GtkScale * */ | |
1039 progressbar > trough, scale > trough > fill, scale > trough { border: 1px solid #ababab; border-radius: 3px; background-color: #ababab; } | |
1040 | |
1041 headerbar progressbar > trough, headerbar scale > trough > fill, headerbar scale > trough { background-color: #979797; } | |
1042 | |
1043 progressbar > trough:disabled, scale > trough > fill:disabled, scale > trough:disabled { background-color: #c6c6c6; border-color: #7a7a7a; } | |
1044 | |
1045 row:selected progressbar > trough, row:selected scale > trough > fill, row:selected scale > trough { outline-color: rgba(255, 255, 255, 0.8); border-color: #2b3a1d; } | |
1046 | |
1047 .osd progressbar > trough, .osd scale > trough > fill, .osd scale > trough { border-color: rgba(0, 0, 0, 0.7); background-color: rgba(0, 0, 0, 0.5); } | |
1048 | |
1049 .osd progressbar > trough:disabled, .osd scale > trough > fill:disabled, .osd scale > trough:disabled { background-color: rgba(71, 71, 71, 0.5); } | |
1050 | |
1051 progressbar > trough > progress, scale > trough > highlight { border: 1px solid #5E7F3E; border-radius: 3px; background-color: #5E7F3E; } | |
1052 | |
1053 progressbar > trough > progress:disabled, scale > trough > highlight:disabled { background-color: transparent; border-color: transparent; } | |
1054 | |
1055 row:selected progressbar > trough > progress, row:selected scale > trough > highlight { border-color: #2b3a1d; } | |
1056 | |
1057 .osd progressbar > trough > progress, .osd scale > trough > highlight { border-color: rgba(0, 0, 0, 0.7); } | |
1058 | |
1059 .osd progressbar > trough > progress:disabled, .osd scale > trough > highlight:disabled { border-color: transparent; } | |
1060 | |
1061 scale { min-height: 10px; min-width: 10px; padding: 12px; transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
1062 | |
1063 scale > trough { outline: 0 solid transparent; outline-offset: 16px; } | |
1064 | |
1065 scale:focus:focus-visible > trough { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: 10px; } | |
1066 | |
1067 scale > trough { transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } | |
1068 | |
1069 scale > trough > fill, scale > trough > highlight { margin: -1px; } | |
1070 | |
1071 scale > trough > slider { min-height: 18px; min-width: 18px; margin: -9px; } | |
1072 | |
1073 scale.fine-tune.horizontal { padding-top: 9px; padding-bottom: 9px; min-height: 16px; } | |
1074 | |
1075 scale.fine-tune.vertical { padding-left: 9px; padding-right: 9px; min-width: 16px; } | |
1076 | |
1077 scale.fine-tune > trough > slider { margin: -6px; } | |
1078 | |
1079 scale.fine-tune > trough > fill, scale.fine-tune > trough > highlight, scale.fine-tune > trough { border-radius: 5px; } | |
1080 | |
1081 scale > trough > fill:disabled { border-color: transparent; background-color: transparent; } | |
1082 | |
1083 .osd scale > trough > fill { background-color: rgba(91, 91, 90, 0.775); } | |
1084 | |
1085 .osd scale > trough > fill:disabled { border-color: transparent; background-color: transparent; } | |
1086 | |
1087 scale > trough > slider { color: #161616; outline-color: rgba(94, 127, 62, 0.5); border-color: #7a7a7a; background-image: linear-gradient(to top, #c6c6c6 2px, #cbcbcb); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); border-width: 1px; border-style: solid; border-radius: 100%; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); transition-property: background, border, box-shadow; } | |
1088 | |
1089 scale > trough > slider:hover { color: #161616; border-color: #7a7a7a; background-image: linear-gradient(to top, #a2a2a2, #b7b7b7 1px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); } | |
1090 | |
1091 scale > trough > slider:active { border-color: #2b3a1d; } | |
1092 | |
1093 scale > trough > slider:disabled { color: #6e6e6e; border-color: #7a7a7a; background-image: image(#c6c6c6); } | |
1094 | |
1095 row:selected scale > trough > slider:disabled, row:selected scale > trough > slider { border-color: #2b3a1d; } | |
1096 | |
1097 .osd scale > trough > slider { color: #eeeeec; outline-color: rgba(94, 127, 62, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(53, 53, 53, 0.7)); background-clip: padding-box; border-color: rgba(0, 0, 0, 0.7); background-color: #353535; } | |
1098 | |
1099 .osd scale > trough > slider:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(27, 27, 27, 0.7)); background-clip: padding-box; background-color: #353535; } | |
1100 | |
1101 .osd scale > trough > slider:active { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(2, 2, 2, 0.7)); background-clip: padding-box; box-shadow: none; background-color: #353535; } | |
1102 | |
1103 .osd scale > trough > slider:disabled { color: #919190; border-color: rgba(0, 0, 0, 0.7); background-color: transparent; background-image: image(rgba(71, 71, 71, 0.5)); background-clip: padding-box; background-color: #353535; } | |
1104 | |
1105 scale > value { color: alpha(currentColor,0.55); font-feature-settings: "tnum"; } | |
1106 | |
1107 scale.horizontal > marks { color: alpha(currentColor,0.55); } | |
1108 | |
1109 scale.horizontal > marks.top { margin-bottom: 6px; } | |
1110 | |
1111 scale.horizontal > marks.bottom { margin-top: 6px; } | |
1112 | |
1113 scale.horizontal > marks indicator { background-color: currentColor; min-height: 6px; min-width: 1px; } | |
1114 | |
1115 scale.horizontal > value.left { margin-right: 9px; } | |
1116 | |
1117 scale.horizontal > value.right { margin-left: 9px; } | |
1118 | |
1119 scale.horizontal.fine-tune > marks.top { margin-top: 3px; } | |
1120 | |
1121 scale.horizontal.fine-tune > marks.bottom { margin-bottom: 3px; } | |
1122 | |
1123 scale.horizontal.fine-tune > marks indicator { min-height: 3px; } | |
1124 | |
1125 scale.vertical > marks { color: alpha(currentColor,0.55); } | |
1126 | |
1127 scale.vertical > marks.top { margin-right: 6px; } | |
1128 | |
1129 scale.vertical > marks.bottom { margin-left: 6px; } | |
1130 | |
1131 scale.vertical > marks indicator { background-color: currentColor; min-height: 1px; min-width: 6px; } | |
1132 | |
1133 scale.vertical > value.top { margin-bottom: 9px; } | |
1134 | |
1135 scale.vertical > value.bottom { margin-top: 9px; } | |
1136 | |
1137 scale.vertical.fine-tune > marks.top { margin-left: 3px; } | |
1138 | |
1139 scale.vertical.fine-tune > marks.bottom { margin-right: 3px; } | |
1140 | |
1141 scale.vertical.fine-tune > marks indicator { min-height: 3px; } | |
1142 | |
1143 scale.horizontal.marks-before:not(.marks-after) > trough > slider { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above.png"), url("assets/slider-horz-scale-has-marks-above@2.png")); min-height: 26px; min-width: 22px; margin-top: -14px; background-position: top; background-repeat: no-repeat; box-shadow: none; } | |
1144 | |
1145 scale.horizontal.marks-before:not(.marks-after).fine-tune > trough > slider { margin: -7px -10px; margin-top: -11px; } | |
1146 | |
1147 scale.horizontal.marks-before:not(.marks-after) > trough > slider:hover { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-hover.png"), url("assets/slider-horz-scale-has-marks-above-hover@2.png")); min-height: 26px; min-width: 22px; margin-top: -14px; background-position: top; background-repeat: no-repeat; box-shadow: none; } | |
1148 | |
1149 scale.horizontal.marks-before:not(.marks-after).fine-tune > trough > slider { margin: -7px -10px; margin-top: -11px; } | |
1150 | |
1151 scale.horizontal.marks-before:not(.marks-after) > trough > slider:active { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-active.png"), url("assets/slider-horz-scale-has-marks-above-active@2.png")); min-height: 26px; min-width: 22px; margin-top: -14px; background-position: top; background-repeat: no-repeat; box-shadow: none; } | |
1152 | |
1153 scale.horizontal.marks-before:not(.marks-after).fine-tune > trough > slider { margin: -7px -10px; margin-top: -11px; } | |
1154 | |
1155 scale.horizontal.marks-before:not(.marks-after) > trough > slider:disabled { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-insensitive.png"), url("assets/slider-horz-scale-has-marks-above-insensitive@2.png")); min-height: 26px; min-width: 22px; margin-top: -14px; background-position: top; background-repeat: no-repeat; box-shadow: none; } | |
1156 | |
1157 scale.horizontal.marks-before:not(.marks-after).fine-tune > trough > slider { margin: -7px -10px; margin-top: -11px; } | |
1158 | |
1159 scale.horizontal.marks-after:not(.marks-before) > trough > slider { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below.png"), url("assets/slider-horz-scale-has-marks-below@2.png")); min-height: 26px; min-width: 22px; margin-bottom: -14px; background-position: bottom; background-repeat: no-repeat; box-shadow: none; } | |
1160 | |
1161 scale.horizontal.marks-after:not(.marks-before).fine-tune > trough > slider { margin: -7px -10px; margin-bottom: -11px; } | |
1162 | |
1163 scale.horizontal.marks-after:not(.marks-before) > trough > slider:hover { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-hover.png"), url("assets/slider-horz-scale-has-marks-below-hover@2.png")); min-height: 26px; min-width: 22px; margin-bottom: -14px; background-position: bottom; background-repeat: no-repeat; box-shadow: none; } | |
1164 | |
1165 scale.horizontal.marks-after:not(.marks-before).fine-tune > trough > slider { margin: -7px -10px; margin-bottom: -11px; } | |
1166 | |
1167 scale.horizontal.marks-after:not(.marks-before) > trough > slider:active { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-active.png"), url("assets/slider-horz-scale-has-marks-below-active@2.png")); min-height: 26px; min-width: 22px; margin-bottom: -14px; background-position: bottom; background-repeat: no-repeat; box-shadow: none; } | |
1168 | |
1169 scale.horizontal.marks-after:not(.marks-before).fine-tune > trough > slider { margin: -7px -10px; margin-bottom: -11px; } | |
1170 | |
1171 scale.horizontal.marks-after:not(.marks-before) > trough > slider:disabled { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-insensitive.png"), url("assets/slider-horz-scale-has-marks-below-insensitive@2.png")); min-height: 26px; min-width: 22px; margin-bottom: -14px; background-position: bottom; background-repeat: no-repeat; box-shadow: none; } | |
1172 | |
1173 scale.horizontal.marks-after:not(.marks-before).fine-tune > trough > slider { margin: -7px -10px; margin-bottom: -11px; } | |
1174 | |
1175 scale.vertical.marks-before:not(.marks-after) > trough > slider { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above.png"), url("assets/slider-vert-scale-has-marks-above@2.png")); min-height: 22px; min-width: 26px; margin-left: -14px; background-position: left bottom; background-repeat: no-repeat; box-shadow: none; } | |
1176 | |
1177 scale.vertical.marks-before:not(.marks-after).fine-tune > trough > slider { margin: -10px -7px; margin-left: -11px; } | |
1178 | |
1179 scale.vertical.marks-before:not(.marks-after) > trough > slider:hover { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-hover.png"), url("assets/slider-vert-scale-has-marks-above-hover@2.png")); min-height: 22px; min-width: 26px; margin-left: -14px; background-position: left bottom; background-repeat: no-repeat; box-shadow: none; } | |
1180 | |
1181 scale.vertical.marks-before:not(.marks-after).fine-tune > trough > slider { margin: -10px -7px; margin-left: -11px; } | |
1182 | |
1183 scale.vertical.marks-before:not(.marks-after) > trough > slider:active { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-active.png"), url("assets/slider-vert-scale-has-marks-above-active@2.png")); min-height: 22px; min-width: 26px; margin-left: -14px; background-position: left bottom; background-repeat: no-repeat; box-shadow: none; } | |
1184 | |
1185 scale.vertical.marks-before:not(.marks-after).fine-tune > trough > slider { margin: -10px -7px; margin-left: -11px; } | |
1186 | |
1187 scale.vertical.marks-before:not(.marks-after) > trough > slider:disabled { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-insensitive.png"), url("assets/slider-vert-scale-has-marks-above-insensitive@2.png")); min-height: 22px; min-width: 26px; margin-left: -14px; background-position: left bottom; background-repeat: no-repeat; box-shadow: none; } | |
1188 | |
1189 scale.vertical.marks-before:not(.marks-after).fine-tune > trough > slider { margin: -10px -7px; margin-left: -11px; } | |
1190 | |
1191 scale.vertical.marks-after:not(.marks-before) > trough > slider { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below.png"), url("assets/slider-vert-scale-has-marks-below@2.png")); min-height: 22px; min-width: 26px; margin-right: -14px; background-position: right bottom; background-repeat: no-repeat; box-shadow: none; } | |
1192 | |
1193 scale.vertical.marks-after:not(.marks-before).fine-tune > trough > slider { margin: -10px -7px; margin-right: -11px; } | |
1194 | |
1195 scale.vertical.marks-after:not(.marks-before) > trough > slider:hover { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-hover.png"), url("assets/slider-vert-scale-has-marks-below-hover@2.png")); min-height: 22px; min-width: 26px; margin-right: -14px; background-position: right bottom; background-repeat: no-repeat; box-shadow: none; } | |
1196 | |
1197 scale.vertical.marks-after:not(.marks-before).fine-tune > trough > slider { margin: -10px -7px; margin-right: -11px; } | |
1198 | |
1199 scale.vertical.marks-after:not(.marks-before) > trough > slider:active { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-active.png"), url("assets/slider-vert-scale-has-marks-below-active@2.png")); min-height: 22px; min-width: 26px; margin-right: -14px; background-position: right bottom; background-repeat: no-repeat; box-shadow: none; } | |
1200 | |
1201 scale.vertical.marks-after:not(.marks-before).fine-tune > trough > slider { margin: -10px -7px; margin-right: -11px; } | |
1202 | |
1203 scale.vertical.marks-after:not(.marks-before) > trough > slider:disabled { margin: -10px; border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-insensitive.png"), url("assets/slider-vert-scale-has-marks-below-insensitive@2.png")); min-height: 22px; min-width: 26px; margin-right: -14px; background-position: right bottom; background-repeat: no-repeat; box-shadow: none; } | |
1204 | |
1205 scale.vertical.marks-after:not(.marks-before).fine-tune > trough > slider { margin: -10px -7px; margin-right: -11px; } | |
1206 | |
1207 scale.color { min-height: 0; min-width: 0; } | |
1208 | |
1209 scale.color > trough { background-image: image(#7a7a7a); background-repeat: no-repeat; } | |
1210 | |
1211 scale.color.horizontal { padding: 0 0 15px 0; } | |
1212 | |
1213 scale.color.horizontal > trough { padding-bottom: 4px; background-position: 0 -3px; border-top-left-radius: 0; border-top-right-radius: 0; } | |
1214 | |
1215 scale.color.horizontal > trough > slider:dir(ltr):hover, scale.color.horizontal > trough > slider:dir(ltr):backdrop, scale.color.horizontal > trough > slider:dir(ltr):disabled, scale.color.horizontal > trough > slider:dir(ltr):backdrop:disabled, scale.color.horizontal > trough > slider:dir(ltr), scale.color.horizontal > trough > slider:dir(rtl):hover, scale.color.horizontal > trough > slider:dir(rtl):backdrop, scale.color.horizontal > trough > slider:dir(rtl):disabled, scale.color.horizontal > trough > slider:dir(rtl):backdrop:disabled, scale.color.horizontal > trough > slider:dir(rtl) { margin-bottom: -15px; margin-top: 6px; } | |
1216 | |
1217 scale.color.vertical:dir(ltr) { padding: 0 0 0 15px; } | |
1218 | |
1219 scale.color.vertical:dir(ltr) > trough { padding-left: 4px; background-position: 3px 0; border-bottom-right-radius: 0; border-top-right-radius: 0; } | |
1220 | |
1221 scale.color.vertical:dir(ltr) > trough > slider:hover, scale.color.vertical:dir(ltr) > trough > slider:backdrop, scale.color.vertical:dir(ltr) > trough > slider:disabled, scale.color.vertical:dir(ltr) > trough > slider:backdrop:disabled, scale.color.vertical:dir(ltr) > trough > slider { margin-left: -15px; margin-right: 6px; } | |
1222 | |
1223 scale.color.vertical:dir(rtl) { padding: 0 15px 0 0; } | |
1224 | |
1225 scale.color.vertical:dir(rtl) > trough { padding-right: 4px; background-position: -3px 0; border-bottom-left-radius: 0; border-top-left-radius: 0; } | |
1226 | |
1227 scale.color.vertical:dir(rtl) > trough > slider:hover, scale.color.vertical:dir(rtl) > trough > slider:backdrop, scale.color.vertical:dir(rtl) > trough > slider:disabled, scale.color.vertical:dir(rtl) > trough > slider:backdrop:disabled, scale.color.vertical:dir(rtl) > trough > slider { margin-right: -15px; margin-left: 6px; } | |
1228 | |
1229 scale.color.fine-tune.horizontal:dir(ltr), scale.color.fine-tune.horizontal:dir(rtl) { padding: 0 0 12px 0; } | |
1230 | |
1231 scale.color.fine-tune.horizontal:dir(ltr) > trough, scale.color.fine-tune.horizontal:dir(rtl) > trough { padding-bottom: 7px; background-position: 0 -6px; } | |
1232 | |
1233 scale.color.fine-tune.horizontal:dir(ltr) > trough > slider, scale.color.fine-tune.horizontal:dir(rtl) > trough > slider { margin-bottom: -15px; margin-top: 6px; } | |
1234 | |
1235 scale.color.fine-tune.vertical:dir(ltr) { padding: 0 0 0 12px; } | |
1236 | |
1237 scale.color.fine-tune.vertical:dir(ltr) > trough { padding-left: 7px; background-position: 6px 0; } | |
1238 | |
1239 scale.color.fine-tune.vertical:dir(ltr) > trough > slider { margin-left: -15px; margin-right: 6px; } | |
1240 | |
1241 scale.color.fine-tune.vertical:dir(rtl) { padding: 0 12px 0 0; } | |
1242 | |
1243 scale.color.fine-tune.vertical:dir(rtl) > trough { padding-right: 7px; background-position: -6px 0; } | |
1244 | |
1245 scale.color.fine-tune.vertical:dir(rtl) > trough > slider { margin-right: -15px; margin-left: 6px; } | |
1246 | |
1247 /***************** Progress bars * */ | |
1248 progressbar { font-size: smaller; color: rgba(22, 22, 22, 0.4); font-feature-settings: "tnum"; } | |
1249 | |
1250 progressbar.horizontal > trough { min-width: 150px; } | |
1251 | |
1252 progressbar.horizontal > trough, progressbar.horizontal > trough > progress { min-height: 2px; } | |
1253 | |
1254 progressbar.vertical > trough { min-height: 80px; } | |
1255 | |
1256 progressbar.vertical > trough, progressbar.vertical > trough > progress { min-width: 2px; } | |
1257 | |
1258 progressbar.horizontal > trough > progress { margin: 0 -1px; } | |
1259 | |
1260 progressbar.vertical > trough > progress { margin: -1px 0; } | |
1261 | |
1262 progressbar > trough > progress { /* share most of scales' */ /* override insensitive that is specific to progress */ border-radius: 1.5px; } | |
1263 | |
1264 progressbar > trough > progress:disabled { background-color: #6e6e6e; border-color: #6e6e6e; } | |
1265 | |
1266 progressbar > trough > progress.left { border-top-left-radius: 5px; border-bottom-left-radius: 5px; } | |
1267 | |
1268 progressbar > trough > progress.right { border-top-right-radius: 5px; border-bottom-right-radius: 5px; } | |
1269 | |
1270 progressbar > trough > progress.top { border-top-right-radius: 5px; border-top-left-radius: 5px; } | |
1271 | |
1272 progressbar > trough > progress.bottom { border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; } | |
1273 | |
1274 progressbar.osd { min-width: 3px; min-height: 3px; background-color: transparent; } | |
1275 | |
1276 progressbar.osd > trough { border-style: none; border-radius: 0; background-color: transparent; box-shadow: none; } | |
1277 | |
1278 progressbar.osd > trough > progress { border-style: none; border-radius: 0; } | |
1279 | |
1280 progressbar > trough.empty > progress { all: unset; } | |
1281 | |
1282 /************* Level Bar * */ | |
1283 levelbar.horizontal trough > block { min-height: 9px; border-radius: 5px; } | |
1284 | |
1285 levelbar.horizontal trough > block:dir(rtl) { border-radius: 0 5px 5px 0; } | |
1286 | |
1287 levelbar.horizontal trough > block:dir(ltr) { border-radius: 5px 0 0 5px; } | |
1288 | |
1289 levelbar.horizontal trough > block.empty, levelbar.horizontal trough > block.full { border-radius: 5px; } | |
1290 | |
1291 levelbar.horizontal.discrete trough > block { min-height: 2px; margin: 1px; min-width: 24px; border-radius: 0; } | |
1292 | |
1293 levelbar.horizontal.discrete trough > block:first-child { border-radius: 2px 0 0 2px; } | |
1294 | |
1295 levelbar.horizontal.discrete trough > block:last-child { border-radius: 0 2px 2px 0; } | |
1296 | |
1297 levelbar.vertical trough > block { min-width: 9px; border-radius: 5px; } | |
1298 | |
1299 levelbar.vertical.discrete > trough > block { min-width: 2px; margin: 1px 0; min-height: 32px; } | |
1300 | |
1301 levelbar > trough { padding: 0; } | |
1302 | |
1303 levelbar > trough > block { border: 1px solid; } | |
1304 | |
1305 levelbar > trough > block.low { border-color: #f57900; background-color: #f57900; } | |
1306 | |
1307 levelbar > trough > block.high, levelbar > trough > block:not(.empty) { border-color: #5E7F3E; background-color: #5E7F3E; } | |
1308 | |
1309 levelbar > trough > block.full { border-color: #33d17a; background-color: #33d17a; } | |
1310 | |
1311 levelbar > trough > block.empty { background-color: #b9b9b9; border-color: #b9b9b9; } | |
1312 | |
1313 /**************** Print dialog * */ | |
1314 window.dialog.print drawing { color: #161616; background: none; border: none; padding: 0; } | |
1315 | |
1316 window.dialog.print drawing paper { background: white; color: #2e3436; border: 1px solid #7a7a7a; } | |
1317 | |
1318 window.dialog.print .dialog-action-box { margin: 12px; } | |
1319 | |
1320 /********** Frames * */ | |
1321 frame, .frame { border: 1px solid #7a7a7a; } | |
1322 | |
1323 frame { border-radius: 8px; } | |
1324 | |
1325 frame > label { margin: 4px; } | |
1326 | |
1327 actionbar > revealer > box { padding: 6px; border-top: 1px solid #7a7a7a; } | |
1328 | |
1329 actionbar > revealer > box, actionbar > revealer > box > box.start, actionbar > revealer > box > box.end { border-spacing: 6px; } | |
1330 | |
1331 scrolledwindow > overshoot.top { background-image: radial-gradient(farthest-side at top, #606060 85%, rgba(96, 96, 96, 0)), radial-gradient(farthest-side at top, rgba(22, 22, 22, 0.07), rgba(22, 22, 22, 0)); background-size: 100% 3%, 100% 50%; background-repeat: no-repeat; background-position: top; background-color: transparent; border: none; box-shadow: none; } | |
1332 | |
1333 scrolledwindow > overshoot.bottom { background-image: radial-gradient(farthest-side at bottom, #606060 85%, rgba(96, 96, 96, 0)), radial-gradient(farthest-side at bottom, rgba(22, 22, 22, 0.07), rgba(22, 22, 22, 0)); background-size: 100% 3%, 100% 50%; background-repeat: no-repeat; background-position: bottom; background-color: transparent; border: none; box-shadow: none; } | |
1334 | |
1335 scrolledwindow > overshoot.left { background-image: radial-gradient(farthest-side at left, #606060 85%, rgba(96, 96, 96, 0)), radial-gradient(farthest-side at left, rgba(22, 22, 22, 0.07), rgba(22, 22, 22, 0)); background-size: 3% 100%, 50% 100%; background-repeat: no-repeat; background-position: left; background-color: transparent; border: none; box-shadow: none; } | |
1336 | |
1337 scrolledwindow > overshoot.right { background-image: radial-gradient(farthest-side at right, #606060 85%, rgba(96, 96, 96, 0)), radial-gradient(farthest-side at right, rgba(22, 22, 22, 0.07), rgba(22, 22, 22, 0)); background-size: 3% 100%, 50% 100%; background-repeat: no-repeat; background-position: right; background-color: transparent; border: none; box-shadow: none; } | |
1338 | |
1339 scrolledwindow > junction { background: #7a7a7a, linear-gradient(to bottom, transparent 1px, #b4b4b4 1px), linear-gradient(to right, transparent 1px, #b4b4b4 1px); } | |
1340 | |
1341 scrolledwindow > junction:dir(rtl) { background: #7a7a7a, linear-gradient(to bottom, transparent 1px, #b4b4b4 1px), linear-gradient(to left, transparent 1px, #b4b4b4 1px); } | |
1342 | |
1343 separator { background: #868686; min-width: 1px; min-height: 1px; } | |
1344 | |
1345 /********* Lists * */ | |
1346 listview, list { color: black; background-color: #C6C6C6; border-color: #7a7a7a; } | |
1347 | |
1348 listview:backdrop, list:backdrop { color: #272727; background-color: #c3c3c3; border-color: #818181; } | |
1349 | |
1350 listview > row, list > row { padding: 2px; } | |
1351 | |
1352 listview > row.expander, list > row.expander { padding: 0px; } | |
1353 | |
1354 listview > row.expander .row-header, list > row.expander .row-header { padding: 2px; } | |
1355 | |
1356 listview.horizontal row.separator, listview.separators.horizontal > row:not(.separator), list.horizontal row.separator, list.separators.horizontal > row:not(.separator) { border-left: 1px solid #898989; } | |
1357 | |
1358 listview:not(.horizontal) row.separator, listview.separators:not(.horizontal) > row:not(.separator), list:not(.horizontal) row.separator, list.separators:not(.horizontal) > row:not(.separator) { border-bottom: 1px solid #898989; } | |
1359 | |
1360 row { transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
1361 | |
1362 row { outline: 0 solid transparent; outline-offset: 4px; } | |
1363 | |
1364 row:focus:focus-visible { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
1365 | |
1366 row.activatable.has-open-popup, row.activatable:hover { background-color: rgba(22, 22, 22, 0.05); } | |
1367 | |
1368 row.activatable:active { box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); } | |
1369 | |
1370 row.activatable:selected:active { box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); } | |
1371 | |
1372 row.activatable:selected.has-open-popup, row.activatable:selected:hover { background-color: #57753a; } | |
1373 | |
1374 row:selected { outline-color: rgba(255, 255, 255, 0.8); } | |
1375 | |
1376 columnview > listview > row { padding: 0; } | |
1377 | |
1378 columnview > listview > row > cell { padding: 8px 6px; } | |
1379 | |
1380 columnview > listview > row > cell:not(:first-child) { border-left: 1px solid transparent; } | |
1381 | |
1382 columnview.column-separators > listview > row > cell { border-left-color: #898989; } | |
1383 | |
1384 columnview.data-table > listview > row > cell { padding-top: 2px; padding-bottom: 2px; } | |
1385 | |
1386 treeexpander { border-spacing: 4px; } | |
1387 | |
1388 /******************************************************** Data Tables * treeview like tables with individual focusable cells * https://gitlab.gnome.org/GNOME/gtk/-/issues/2929 * */ | |
1389 columnview row:not(:selected) cell editablelabel:not(.editing):focus-within { outline: 2px solid rgba(94, 127, 62, 0.5); } | |
1390 | |
1391 columnview row:not(:selected) cell editablelabel.editing:focus-within { outline: 2px solid #5E7F3E; } | |
1392 | |
1393 columnview row:not(:selected) cell editablelabel.editing text selection { color: #ffffff; background-color: #5E7F3E; } | |
1394 | |
1395 /******************************************************* Rich Lists * Large list usually containing lots of widgets * https://gitlab.gnome.org/GNOME/gtk/-/issues/3073 * */ | |
1396 .rich-list { /* rich lists usually containing other widgets than just labels/text */ } | |
1397 | |
1398 .rich-list > row { padding: 8px 12px; min-height: 32px; /* should be tall even when only containing a label */ } | |
1399 | |
1400 .rich-list > row > box { border-spacing: 12px; } | |
1401 | |
1402 /********************* App Notifications * */ | |
1403 .app-notification { padding: 10px; border-spacing: 10px; border-radius: 0 0 5px 5px; background-color: rgba(53, 53, 53, 0.7); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent 2px); background-clip: padding-box; } | |
1404 | |
1405 .app-notification border { border: none; } | |
1406 | |
1407 /************* Expanders * */ | |
1408 expander { min-width: 16px; min-height: 16px; -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } | |
1409 | |
1410 expander:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } | |
1411 | |
1412 expander:disabled { color: #6e6e6e; } | |
1413 | |
1414 expander:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } | |
1415 | |
1416 expander-widget { transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
1417 | |
1418 expander-widget > box > title { outline: 0 solid transparent; outline-offset: 4px; } | |
1419 | |
1420 expander-widget:focus:focus-visible > box > title { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
1421 | |
1422 expander-widget > box > title { transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); border-radius: 5px; } | |
1423 | |
1424 expander-widget > box > title:hover > expander { color: #636363; } | |
1425 | |
1426 .navigation-sidebar:not(decoration):not(window):drop(active):focus, .navigation-sidebar:not(decoration):not(window):drop(active), placessidebar:not(decoration):not(window):drop(active):focus, placessidebar:not(decoration):not(window):drop(active), stackswitcher:not(decoration):not(window):drop(active):focus, stackswitcher:not(decoration):not(window):drop(active), expander-widget:not(decoration):not(window):drop(active):focus, expander-widget:not(decoration):not(window):drop(active) { box-shadow: none; } | |
1427 | |
1428 /************ Calendar * */ | |
1429 calendar { color: black; border: 1px solid #7a7a7a; } | |
1430 | |
1431 calendar > header { border-bottom: 1px solid #7a7a7a; } | |
1432 | |
1433 calendar > header > button { border: none; box-shadow: none; background: none; border-radius: 0; } | |
1434 | |
1435 calendar > header > button:backdrop { background: none; } | |
1436 | |
1437 calendar > grid > label.today { box-shadow: inset 0px -2px #7a7a7a; } | |
1438 | |
1439 calendar > grid > label.today:selected { box-shadow: none; } | |
1440 | |
1441 calendar > grid > label:focus { outline-color: rgba(94, 127, 62, 0.5); outline-offset: -2px; outline-width: 2px; outline-style: solid; } | |
1442 | |
1443 calendar > grid > label.day-number { padding: 4px; } | |
1444 | |
1445 calendar > grid > label.day-number:selected { border-radius: 3px; } | |
1446 | |
1447 calendar > grid > label.day-number.other-month { color: alpha(currentColor,0.3); } | |
1448 | |
1449 /*********** Dialogs * */ | |
1450 window.dialog.message .titlebar { min-height: 20px; background-image: none; background-color: #C6C6C6; border-style: none; border-top-left-radius: 7px; border-top-right-radius: 7px; } | |
1451 | |
1452 window.dialog.message box.dialog-vbox.vertical { border-spacing: 10px; } | |
1453 | |
1454 window.dialog.message label.title { font-weight: 800; font-size: 15pt; } | |
1455 | |
1456 window.dialog.message.csd.background { border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; } | |
1457 | |
1458 window.dialog.message.csd .dialog-action-area button { padding: 10px 14px; border-radius: 0; border-left-style: solid; border-right-style: none; border-bottom-style: none; } | |
1459 | |
1460 window.dialog.message.csd .dialog-action-area button:first-child { border-left-style: none; border-bottom-left-radius: 7px; } | |
1461 | |
1462 window.dialog.message.csd .dialog-action-area button:last-child { border-bottom-right-radius: 7px; } | |
1463 | |
1464 filechooser .dialog-action-box { border-top: 1px solid #7a7a7a; } | |
1465 | |
1466 filechooser #pathbarbox { border-bottom: 1px solid #C6C6C6; } | |
1467 | |
1468 filechooserbutton > button > box { border-spacing: 6px; } | |
1469 | |
1470 filechooserbutton:drop(active) { box-shadow: none; border-color: transparent; } | |
1471 | |
1472 /*********** Sidebar * */ | |
1473 .sidebar { background-color: #c6c6c6; } | |
1474 | |
1475 .sidebar:not(separator):dir(ltr), .sidebar:not(separator).left, .sidebar:not(separator).left:dir(rtl) { border-right: 1px solid #7a7a7a; border-left-style: none; } | |
1476 | |
1477 .sidebar:not(separator):dir(rtl), .sidebar:not(separator).right { border-left: 1px solid #7a7a7a; border-right-style: none; } | |
1478 | |
1479 .sidebar listview.view, .sidebar list { background-color: transparent; } | |
1480 | |
1481 paned .sidebar.left, paned .sidebar.right, paned .sidebar.left:dir(rtl), paned .sidebar:dir(rtl), paned .sidebar:dir(ltr), paned .sidebar { border-style: none; } | |
1482 | |
1483 stacksidebar list.separators:not(.horizontal) > row:not(.separator) { border-bottom: none; } | |
1484 | |
1485 stacksidebar row { padding: 10px 4px; transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
1486 | |
1487 stacksidebar row { outline: 0 solid transparent; outline-offset: 4px; } | |
1488 | |
1489 stacksidebar row:focus:focus-visible { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
1490 | |
1491 stacksidebar row > label { padding-left: 6px; padding-right: 6px; } | |
1492 | |
1493 stacksidebar row.needs-attention > label { background-size: 6px 6px, 0 0; } | |
1494 | |
1495 stacksidebar row:selected { background-color: #b7b7b7; border-radius: 5px; color: #161616; } | |
1496 | |
1497 stacksidebar row:selected:hover:dir(ltr), stacksidebar row:selected:hover:dir(rtl) { background-color: #aaaaaa; } | |
1498 | |
1499 stacksidebar row.activatable:active, stacksidebar row.activatable:selected:active { box-shadow: none; } | |
1500 | |
1501 separator.sidebar { background-color: #7a7a7a; } | |
1502 | |
1503 /********************** Navigation Sidebar * */ | |
1504 .navigation-sidebar { padding: 5px 0; } | |
1505 | |
1506 .navigation-sidebar > separator { margin: 5px; } | |
1507 | |
1508 .navigation-sidebar > row { min-height: 36px; padding: 0 8px; border-radius: 5px; margin: 0 5px 2px; transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
1509 | |
1510 .navigation-sidebar > row { outline: 0 solid transparent; outline-offset: 4px; } | |
1511 | |
1512 .navigation-sidebar > row:focus-visible:focus-within { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: -2px; } | |
1513 | |
1514 .navigation-sidebar > row:hover { background-color: #aaaaaa; } | |
1515 | |
1516 .navigation-sidebar > row:selected { background-color: #b7b7b7; color: inherit; } | |
1517 | |
1518 .navigation-sidebar > row:selected:hover { background-color: #aaaaaa; } | |
1519 | |
1520 .navigation-sidebar > row:disabled { color: #6e6e6e; } | |
1521 | |
1522 /**************** File chooser * */ | |
1523 row image.sidebar-icon { opacity: 0.7; } | |
1524 | |
1525 /* this should be more generic, only using .navigation-sidebar https://gitlab.gnome.org/GNOME/gtk/-/issues/2929 */ | |
1526 placessidebar .navigation-sidebar > row { padding: 0; } | |
1527 | |
1528 placessidebar .navigation-sidebar > row > revealer { padding: 0 14px; } | |
1529 | |
1530 placessidebar .navigation-sidebar > row image.sidebar-icon:dir(ltr) { padding-right: 8px; } | |
1531 | |
1532 placessidebar .navigation-sidebar > row image.sidebar-icon:dir(rtl) { padding-left: 8px; } | |
1533 | |
1534 placessidebar .navigation-sidebar > row label.sidebar-label:dir(ltr) { padding-right: 2px; } | |
1535 | |
1536 placessidebar .navigation-sidebar > row label.sidebar-label:dir(rtl) { padding-left: 2px; } | |
1537 | |
1538 button.sidebar-button { min-height: 26px; min-width: 26px; margin-top: 3px; margin-bottom: 3px; padding: 0; border-radius: 100%; } | |
1539 | |
1540 placessidebar .navigation-sidebar > row:selected:active { box-shadow: none; } | |
1541 | |
1542 placessidebar .navigation-sidebar > row.sidebar-placeholder-row { padding: 0 8px; min-height: 2px; background-image: image(#2ec27e); background-clip: content-box; } | |
1543 | |
1544 placessidebar .navigation-sidebar > row.sidebar-new-bookmark-row { color: #5E7F3E; } | |
1545 | |
1546 placessidebar .navigation-sidebar > row:drop(active):not(:disabled) { color: #2ec27e; box-shadow: inset 0 1px #2ec27e, inset 0 -1px #2ec27e; } | |
1547 | |
1548 placessidebar .navigation-sidebar > row:drop(active):not(:disabled):selected { color: #ffffff; background-color: #2ec27e; } | |
1549 | |
1550 placesview .server-list-button > image { transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); -gtk-icon-transform: rotate(0turn); } | |
1551 | |
1552 placesview .server-list-button:checked > image { transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); -gtk-icon-transform: rotate(-0.5turn); } | |
1553 | |
1554 placesview > actionbar > revealer > box > box { border-spacing: 6px; } | |
1555 | |
1556 /********* Paned * */ | |
1557 paned > separator { min-width: 1px; min-height: 1px; -gtk-icon-source: none; border-style: none; background-color: transparent; background-image: image(#7a7a7a); background-size: 1px 1px; } | |
1558 | |
1559 paned > separator:selected { background-image: image(#5E7F3E); } | |
1560 | |
1561 paned > separator.wide { min-width: 5px; min-height: 5px; background-color: #C6C6C6; background-image: image(#7a7a7a), image(#7a7a7a); background-size: 1px 1px, 1px 1px; } | |
1562 | |
1563 paned.horizontal > separator { background-repeat: repeat-y; } | |
1564 | |
1565 paned.horizontal > separator:dir(ltr) { margin: 0 -8px 0 0; padding: 0 8px 0 0; background-position: left; } | |
1566 | |
1567 paned.horizontal > separator:dir(rtl) { margin: 0 0 0 -8px; padding: 0 0 0 8px; background-position: right; } | |
1568 | |
1569 paned.horizontal > separator.wide { margin: 0; padding: 0; background-repeat: repeat-y, repeat-y; background-position: left, right; } | |
1570 | |
1571 paned.vertical > separator { margin: 0 0 -8px 0; padding: 0 0 8px 0; background-repeat: repeat-x; background-position: top; } | |
1572 | |
1573 paned.vertical > separator.wide { margin: 0; padding: 0; background-repeat: repeat-x, repeat-x; background-position: bottom, top; } | |
1574 | |
1575 /************** GtkVideo * */ | |
1576 video { background: black; } | |
1577 | |
1578 video image.osd { min-width: 64px; min-height: 64px; border-radius: 32px; } | |
1579 | |
1580 /************ Tooltips * */ | |
1581 tooltip { padding: 6px 10px; border-radius: 8px; box-shadow: none; } | |
1582 | |
1583 tooltip.background { background-color: rgba(0, 0, 0, 0.8); background-clip: padding-box; border: 1px solid rgba(255, 255, 255, 0.1); color: white; } | |
1584 | |
1585 tooltip > box { border-spacing: 6px; } | |
1586 | |
1587 /***************** Color Chooser * */ | |
1588 colorswatch { transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
1589 | |
1590 colorswatch { outline: 0 solid transparent; outline-offset: 6px; } | |
1591 | |
1592 colorswatch:focus:focus-visible { outline-color: rgba(94, 127, 62, 0.5); outline-width: 4px; outline-offset: -2px; } | |
1593 | |
1594 colorswatch:drop(active), colorswatch { border-style: none; } | |
1595 | |
1596 colorswatch.top { border-top-left-radius: 5.5px; border-top-right-radius: 5.5px; } | |
1597 | |
1598 colorswatch.top > overlay { border-top-left-radius: 5px; border-top-right-radius: 5px; } | |
1599 | |
1600 colorswatch.bottom { border-bottom-left-radius: 5.5px; border-bottom-right-radius: 5.5px; } | |
1601 | |
1602 colorswatch.bottom > overlay { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } | |
1603 | |
1604 colorswatch.left, colorswatch:first-child:not(.top) { border-top-left-radius: 5.5px; border-bottom-left-radius: 5.5px; } | |
1605 | |
1606 colorswatch.left > overlay, colorswatch:first-child:not(.top) > overlay { border-top-left-radius: 5px; border-bottom-left-radius: 5px; } | |
1607 | |
1608 colorswatch.right, colorswatch:last-child:not(.bottom) { border-top-right-radius: 5.5px; border-bottom-right-radius: 5.5px; } | |
1609 | |
1610 colorswatch.right > overlay, colorswatch:last-child:not(.bottom) > overlay { border-top-right-radius: 5px; border-bottom-right-radius: 5px; } | |
1611 | |
1612 colorswatch.dark > overlay { color: white; } | |
1613 | |
1614 colorswatch.dark.activatable:hover > overlay { border-color: rgba(0, 0, 0, 0.8); } | |
1615 | |
1616 colorswatch.light > overlay { color: black; } | |
1617 | |
1618 colorswatch.light.activatable:hover > overlay { border-color: rgba(0, 0, 0, 0.5); } | |
1619 | |
1620 colorswatch:drop(active) { box-shadow: none; } | |
1621 | |
1622 colorswatch:drop(active).light > overlay { border-color: #2ec27e; box-shadow: inset 0 0 0 2px #27a56b, inset 0 0 0 1px #2ec27e; } | |
1623 | |
1624 colorswatch:drop(active).dark > overlay { border-color: #2ec27e; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.3), inset 0 0 0 1px #2ec27e; } | |
1625 | |
1626 colorswatch > overlay { border: 1px solid rgba(0, 0, 0, 0.3); } | |
1627 | |
1628 colorswatch.activatable:hover > overlay { box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), inset 0 -1px rgba(0, 0, 0, 0.2); } | |
1629 | |
1630 colorswatch#add-color-button { border-radius: 5px 0 0 5px; } | |
1631 | |
1632 colorswatch#add-color-button:only-child { border-radius: 5px; } | |
1633 | |
1634 colorswatch#add-color-button > overlay { color: #161616; outline-color: rgba(94, 127, 62, 0.5); border-color: #7a7a7a; background-image: linear-gradient(to top, #c6c6c6 2px, #cbcbcb); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); } | |
1635 | |
1636 colorswatch#add-color-button.activatable:hover > overlay { color: #161616; border-color: #7a7a7a; background-image: linear-gradient(to top, #a2a2a2, #b7b7b7 1px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); } | |
1637 | |
1638 colorswatch:disabled { opacity: 0.5; } | |
1639 | |
1640 colorswatch:disabled > overlay { border-color: rgba(0, 0, 0, 0.6); box-shadow: none; } | |
1641 | |
1642 row:selected colorswatch { box-shadow: 0 0 0 2px #ffffff; } | |
1643 | |
1644 colorswatch#editor-color-sample { border-radius: 4px; } | |
1645 | |
1646 colorswatch#editor-color-sample > overlay { border-radius: 4.5px; } | |
1647 | |
1648 plane { transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); transition-property: outline, outline-width, outline-offset, outline-color; transition-duration: 300ms; animation-timing-function: ease-in-out; } | |
1649 | |
1650 plane { outline: 0 solid transparent; outline-offset: 6px; } | |
1651 | |
1652 plane:focus:focus-visible { outline-color: rgba(94, 127, 62, 0.5); outline-width: 2px; outline-offset: 2px; } | |
1653 | |
1654 colorchooser .popover.osd { border-radius: 5px; } | |
1655 | |
1656 /******** Misc * */ | |
1657 .content-view { background-color: #b4b4b4; } | |
1658 | |
1659 .content-view:hover { -gtk-icon-filter: brightness(1.2); } | |
1660 | |
1661 .content-view .tile { margin: 2px; background-color: transparent; border-radius: 0; padding: 0; } | |
1662 | |
1663 .content-view .tile:active, .content-view .tile:selected { background-color: transparent; } | |
1664 | |
1665 .content-view .tile:disabled { background-color: transparent; } | |
1666 | |
1667 .osd .scale-popup button.flat { border-style: none; border-radius: 5px; } | |
1668 | |
1669 .scale-popup button:hover { background-color: rgba(22, 22, 22, 0.1); border-radius: 5px; } | |
1670 | |
1671 /********************** Window Decorations * */ | |
1672 window { border-width: 0px; } | |
1673 | |
1674 window.csd { box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.23); margin: 0px; border-radius: 8px 8px 0 0; } | |
1675 | |
1676 window.csd:backdrop { box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.18); transition: 200ms ease-out; } | |
1677 | |
1678 window.csd.popup { border-radius: 5px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); } | |
1679 | |
1680 window.csd.dialog.message { border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); } | |
1681 | |
1682 window.solid-csd { margin: 0; padding: 4px; border: solid 1px #7a7a7a; border-radius: 0; box-shadow: inset 0 0 0 4px #7a7a7a, inset 0 0 0 3px white, inset 0 1px rgba(255, 255, 255, 0.1); } | |
1683 | |
1684 window.solid-csd:backdrop { box-shadow: inset 0 0 0 4px #7a7a7a, inset 0 0 0 3px #C6C6C6, inset 0 1px rgba(255, 255, 255, 0.1); } | |
1685 | |
1686 window.maximized, window.fullscreen { border-radius: 0; box-shadow: none; } | |
1687 | |
1688 window.tiled, window.tiled-top, window.tiled-left, window.tiled-right, window.tiled-bottom { border-radius: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 0 0 20px transparent; } | |
1689 | |
1690 window:backdrop { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 0 0 20px transparent; } | |
1691 | |
1692 window.popup { box-shadow: none; } | |
1693 | |
1694 window.ssd { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23); } | |
1695 | |
1696 tooltip.csd { border-radius: 5px; box-shadow: none; } | |
1697 | |
1698 .view:selected:focus, .view:selected, textview > text:selected:focus, textview > text:selected, textview > text > selection:focus, textview > text > selection, iconview:selected:focus, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, modelbutton.flat:selected, spinbutton:not(.vertical) > text > selection, spinbutton.vertical > text > text > selection, spinbutton.vertical > text > selection, columnview.view:selected:focus, columnview.view:selected, treeview.view:selected:focus, treeview.view:selected, row:selected, calendar > grid > label.day-number:selected { background-color: #5E7F3E; } | |
1699 | |
1700 label:selected, .view:selected:focus, .view:selected, textview > text:selected:focus, textview > text:selected, textview > text > selection:focus, textview > text > selection, iconview:selected:focus, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, modelbutton.flat:selected, spinbutton:not(.vertical) > text > selection, spinbutton.vertical > text > text > selection, spinbutton.vertical > text > selection, columnview.view:selected:focus, columnview.view:selected, treeview.view:selected:focus, treeview.view:selected, row:selected, calendar > grid > label.day-number:selected { color: #ffffff; } | |
1701 | |
1702 label:disabled > selection, label:disabled:selected, .view:disabled:selected, textview > text:disabled:selected:focus, textview > text:disabled:selected, textview > text > selection:disabled, iconview:disabled:selected:focus, iconview:disabled:selected, flowbox > flowboxchild:disabled:selected, gridview > child:disabled:selected, entry > text > selection:disabled, modelbutton.flat:disabled:selected, spinbutton:not(.vertical) > text > selection:disabled, spinbutton.vertical > text > text > selection:disabled, spinbutton.vertical > text > selection:disabled, columnview.view:disabled:selected, treeview.view:disabled:selected, row:disabled:selected, calendar > grid > label.day-number:disabled:selected { color: #afbf9f; } | |
1703 | |
1704 .monospace { font-family: monospace; } | |
1705 | |
1706 /********************** Touch Copy & Paste * */ | |
1707 cursor-handle { background-color: transparent; background-image: none; box-shadow: none; border-style: none; min-width: 20px; min-height: 24px; padding-left: 20px; padding-right: 20px; padding-top: 24px; padding-bottom: 24px; } | |
1708 | |
1709 cursor-handle.top:dir(ltr), cursor-handle.bottom:dir(rtl) { -gtk-icon-source: -gtk-scaled(url("assets/text-select-start.png"), url("assets/text-select-start@2.png")); } | |
1710 | |
1711 cursor-handle.bottom:dir(ltr), cursor-handle.top:dir(rtl) { -gtk-icon-source: -gtk-scaled(url("assets/text-select-end.png"), url("assets/text-select-end@2.png")); } | |
1712 | |
1713 cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl) { -gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above.png"), url("assets/slider-horz-scale-has-marks-above@2.png")); } | |
1714 | |
1715 cursor-handle.top:hover:dir(ltr), cursor-handle.bottom:hover:dir(rtl) { -gtk-icon-source: -gtk-scaled(url("assets/text-select-start-hover.png"), url("assets/text-select-start-hover@2.png")); } | |
1716 | |
1717 cursor-handle.bottom:hover:dir(ltr), cursor-handle.top:hover:dir(rtl) { -gtk-icon-source: -gtk-scaled(url("assets/text-select-end-hover.png"), url("assets/text-select-end-hover@2.png")); } | |
1718 | |
1719 cursor-handle.insertion-cursor:hover:dir(ltr), cursor-handle.insertion-cursor:hover:dir(rtl) { -gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-hover.png"), url("assets/slider-horz-scale-has-marks-above-hover@2.png")); } | |
1720 | |
1721 cursor-handle.top:active:dir(ltr), cursor-handle.bottom:active:dir(rtl) { -gtk-icon-source: -gtk-scaled(url("assets/text-select-start-active.png"), url("assets/text-select-start-active@2.png")); } | |
1722 | |
1723 cursor-handle.bottom:active:dir(ltr), cursor-handle.top:active:dir(rtl) { -gtk-icon-source: -gtk-scaled(url("assets/text-select-end-active.png"), url("assets/text-select-end-active@2.png")); } | |
1724 | |
1725 cursor-handle.insertion-cursor:active:dir(ltr), cursor-handle.insertion-cursor:active:dir(rtl) { -gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-active.png"), url("assets/slider-horz-scale-has-marks-above-active@2.png")); } | |
1726 | |
1727 shortcuts-section { margin: 20px; } | |
1728 | |
1729 .shortcuts-search-results { margin: 20px; border-spacing: 24px; } | |
1730 | |
1731 shortcut { border-spacing: 6px; } | |
1732 | |
1733 shortcut > .keycap { min-width: 20px; min-height: 25px; margin-top: 2px; padding-bottom: 3px; padding-left: 6px; padding-right: 6px; color: #161616; background-color: #C6C6C6; border: 1px solid; border-color: #a0a0a0; border-radius: 5px; box-shadow: inset 0 -3px #c6c6c6; font-size: smaller; } | |
1734 | |
1735 :not(decoration):not(window):drop(active):focus, :not(decoration):not(window):drop(active) { border-color: #2ec27e; box-shadow: inset 0 0 0 1px #2ec27e; caret-color: #2ec27e; } | |
1736 | |
1737 stackswitcher > button.text-button { min-width: 100px; } | |
1738 | |
1739 stackswitcher.circular { border-spacing: 12px; } | |
1740 | |
1741 stackswitcher.circular > button.circular, stackswitcher.circular > button.text-button.circular { min-width: 32px; min-height: 32px; padding: 0; } | |
1742 | |
1743 /************* App Icons * */ | |
1744 /* Outline for low res icons */ | |
1745 .lowres-icon { -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); } | |
1746 | |
1747 /* Drapshadow for large icons */ | |
1748 .icon-dropshadow { -gtk-icon-shadow: 0 1px 12px rgba(0, 0, 0, 0.05), 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); } | |
1749 | |
1750 /********* Emoji * */ | |
1751 popover.emoji-picker > contents { padding: 0; } | |
1752 | |
1753 .emoji-searchbar { padding: 6px; border-spacing: 6px; border-bottom: 1px solid #7a7a7a; } | |
1754 | |
1755 .emoji-toolbar { padding: 6px; border-spacing: 6px; border-top: 1px solid #7a7a7a; } | |
1756 | |
1757 button.emoji-section { border-color: transparent; border-width: 3px; border-style: none none solid; border-radius: 0; padding: 3px 0 0; min-width: 32px; min-height: 28px; /* reset props inherited from the button style */ background: none; box-shadow: none; text-shadow: none; } | |
1758 | |
1759 button.emoji-section:hover { border-color: #7a7a7a; } | |
1760 | |
1761 button.emoji-section:checked { border-color: #5E7F3E; } | |
1762 | |
1763 popover.emoji-picker emoji { font-size: x-large; padding: 6px; border-radius: 6px; } | |
1764 | |
1765 popover.emoji-picker emoji:focus, popover.emoji-picker emoji:hover { background: #5E7F3E; } | |
1766 | |
1767 emoji-completion-row > box { border-spacing: 10px; padding: 2px 10px; } | |
1768 | |
1769 emoji-completion-row:focus, emoji-completion-row:hover { background-color: #5E7F3E; color: #ffffff; } | |
1770 | |
1771 emoji-completion-row emoji:focus, emoji-completion-row emoji:hover { background-color: #b7b7b7; } | |
1772 | |
1773 popover.entry-completion > contents { padding: 0; } | |
1774 | |
1775 statusbar { padding: 6px 10px 6px 10px; } | |
1776 | |
1777 menubutton > button > box { border-spacing: 6px; } | |
1778 | |
1779 menubutton arrow { min-height: 16px; min-width: 16px; } | |
1780 | |
1781 menubutton arrow.none { -gtk-icon-source: -gtk-icontheme("open-menu-symbolic"); } | |
1782 | |
1783 menubutton arrow.down { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } | |
1784 | |
1785 menubutton arrow.up { -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); } | |
1786 | |
1787 menubutton arrow.left { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); } | |
1788 | |
1789 menubutton arrow.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } | |
1790 | |
1791 /* GTK NAMED COLORS ---------------- use responsibly! */ | |
1792 /* | |
1793 widget text/foreground color */ | |
1794 @define-color theme_fg_color #161616; | |
1795 /* | |
1796 text color for entries, views and content in general */ | |
1797 @define-color theme_text_color black; | |
1798 /* | |
1799 widget base background color */ | |
1800 @define-color theme_bg_color #C6C6C6; | |
1801 /* | |
1802 text widgets and the like base background color */ | |
1803 @define-color theme_base_color #C6C6C6; | |
1804 /* | |
1805 base background color of selections */ | |
1806 @define-color theme_selected_bg_color #5E7F3E; | |
1807 /* | |
1808 text/foreground color of selections */ | |
1809 @define-color theme_selected_fg_color #ffffff; | |
1810 /* | |
1811 base background color of insensitive widgets */ | |
1812 @define-color insensitive_bg_color #c6c6c6; | |
1813 /* | |
1814 text foreground color of insensitive widgets */ | |
1815 @define-color insensitive_fg_color #6e6e6e; | |
1816 /* | |
1817 insensitive text widgets and the like base background color */ | |
1818 @define-color insensitive_base_color #C6C6C6; | |
1819 /* | |
1820 widget text/foreground color on backdrop windows */ | |
1821 @define-color theme_unfocused_fg_color #6e6e6e; | |
1822 /* | |
1823 text color for entries, views and content in general on backdrop windows */ | |
1824 @define-color theme_unfocused_text_color black; | |
1825 /* | |
1826 widget base background color on backdrop windows */ | |
1827 @define-color theme_unfocused_bg_color #C6C6C6; | |
1828 /* | |
1829 text widgets and the like base background color on backdrop windows */ | |
1830 @define-color theme_unfocused_base_color #c3c3c3; | |
1831 /* | |
1832 base background color of selections on backdrop windows */ | |
1833 @define-color theme_unfocused_selected_bg_color #5E7F3E; | |
1834 /* | |
1835 text/foreground color of selections on backdrop windows */ | |
1836 @define-color theme_unfocused_selected_fg_color #ffffff; | |
1837 /* | |
1838 insensitive color on backdrop windows*/ | |
1839 @define-color unfocused_insensitive_color #a0a0a0; | |
1840 /* | |
1841 widgets main borders color */ | |
1842 @define-color borders #7a7a7a; | |
1843 /* | |
1844 widgets main borders color on backdrop windows */ | |
1845 @define-color unfocused_borders #818181; | |
1846 /* | |
1847 these are pretty self explicative */ | |
1848 @define-color warning_color #f57900; | |
1849 @define-color error_color #cc0000; | |
1850 @define-color success_color #33d17a; | |
1851 /* | |
1852 these colors are exported for the window manager and shouldn't be used in applications, | |
1853 read if you used those and something break with a version upgrade you're on your own... */ | |
1854 @define-color wm_title shade(#161616, 1.8); | |
1855 @define-color wm_unfocused_title #6e6e6e; | |
1856 @define-color wm_highlight rgba(255, 255, 255, 0.1); | |
1857 @define-color wm_borders_edge rgba(255, 255, 255, 0.1); | |
1858 @define-color wm_bg_a shade(#C6C6C6, 1.2); | |
1859 @define-color wm_bg_b #C6C6C6; | |
1860 @define-color wm_shadow alpha(black, 0.35); | |
1861 @define-color wm_border alpha(black, 0.18); | |
1862 @define-color wm_button_hover_color_a shade(#C6C6C6, 1.3); | |
1863 @define-color wm_button_hover_color_b #C6C6C6; | |
1864 @define-color wm_button_active_color_a shade(#C6C6C6, 0.85); | |
1865 @define-color wm_button_active_color_b shade(#C6C6C6, 0.89); | |
1866 @define-color wm_button_active_color_c shade(#C6C6C6, 0.9); | |
1867 /* content view background such as thumbnails view in Photos or Boxes */ | |
1868 @define-color content_view_bg #C6C6C6; | |
1869 /* Very contrasty background for text views (@theme_text_color foreground) */ | |
1870 @define-color text_view_bg #C6C6C6; | |
1871 @define-color theme_base_color #C6C6C6; | |
1872 @define-color theme_fg_dark_color #dddddd; | |
1873 @define-color theme_bg_dark_color #3D3D3D; | |
1874 @define-color wm_title #dddddd; | |
1875 @define-color wm_unfocused_title #dddddd; | |
1876 @define-color wm_highlight shade(#3D3D3D, 1.03); | |
1877 @define-color wm_borders_edge #3D3D3D; | |
1878 @define-color wm_bg_a shade(#3D3D3D, 1.2); | |
1879 @define-color wm_bg_b #3D3D3D; | |
1880 @define-color wm_button_hover_color_a shade(#3D3D3D, 1.3); | |
1881 @define-color wm_button_hover_color_b #3D3D3D; | |
1882 @define-color wm_button_active_color_a shade(#3D3D3D, 0.85); | |
1883 @define-color wm_button_active_color_b shade(#3D3D3D, 0.89); | |
1884 @define-color wm_button_active_color_c shade(#3D3D3D, 0.9); | |
1885 @define-color wm_button_border #303030; | |
1886 @define-color button_emphasis_a #707070; | |
1887 @define-color button_emphasis_b #646464; | |
1888 @define-color button_emphasis_c #575757; | |
1889 /************************** Adwaita Dark Overrides * And now do our own * overrides of styling! * */ | |
1890 avatar { border-radius: 4px; } | |
1891 | |
1892 *:disabled { -gtk-icon-filter: opacity(0.5); } | |
1893 | |
1894 /*************** Header bars * */ | |
1895 .titlebar:not(headerbar), headerbar { color: #fff; background-image: linear-gradient(to bottom, #454545 0%, #3D3D3D 45%); border-color: shade(#3D3D3D, 0.9); border-bottom-width: 0; box-shadow: inset 0 2px #4c4c4c, inset 0 1px #303030; background-color: #3D3D3D; } | |
1896 | |
1897 .titlebar:backdrop:not(headerbar), headerbar:backdrop { color: #dddddd; box-shadow: none; background-color: #3D3D3D; background-image: none; border-bottom-width: 0; border-color: #242424; } | |
1898 | |
1899 .titlebar:not(headerbar) .title, headerbar .title { color: #fff; } | |
1900 | |
1901 .titlebar:not(headerbar) label, headerbar label { color: #dddddd; } | |
1902 | |
1903 .titlebar:not(headerbar) popover label, headerbar popover label { color: #161616; } | |
1904 | |
1905 window.csd > .titlebar:not(headerbar) { padding: 0; background-color: transparent; background-image: none; border-style: none; border-color: transparent; box-shadow: none; } | |
1906 | |
1907 .titlebar:not(headerbar) > separator { background-color: #7a7a7a; } | |
1908 | |
1909 headerbar button, headerbar button label, headerbar button label:backdrop, headerbar button:checked, headerbar button:checked label, headerbar button:checked label:backdrop, headerbar button:backdrop, headerbar button:backdrop label, headerbar button:backdrop label:backdrop, headerbar button:backdrop:checked, headerbar button:backdrop:checked label, headerbar button:backdrop:checked label:backdrop { color: #dddddd; } | |
1910 | |
1911 headerbar popover modelbutton, headerbar popover modelbutton.title, headerbar popover modelbutton label { color: #161616; } | |
1912 | |
1913 .titlebar:not(headerbar) headerbar:not(.selection-mode) button, headerbar:not(.selection-mode) button { color: #dddddd; background-image: linear-gradient(to bottom, #575757, #3D3D3D); text-shadow: 0 1px rgba(87, 87, 87, 0.5); -gtk-icon-shadow: 0 1px rgba(87, 87, 87, 0.5); border-color: #303030; outline-color: #575757; box-shadow: inset 0 1px #575757, 0 1px #575757; } | |
1914 | |
1915 headerbar:not(.selection-mode) button.flat, headerbar:not(.selection-mode) button.titlebutton { color: #dddddd; background-image: none; background-color: transparent; border-color: transparent; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; } | |
1916 | |
1917 headerbar:not(.selection-mode) button.flat:hover, headerbar:not(.selection-mode) button.flat:active, headerbar:not(.selection-mode) button.flat:backdrop, headerbar:not(.selection-mode) button.flat:checked, headerbar:not(.selection-mode) button.titlebutton:hover, headerbar:not(.selection-mode) button.titlebutton:active, headerbar:not(.selection-mode) button.titlebutton:backdrop, headerbar:not(.selection-mode) button.titlebutton:checked { color: #fff; } | |
1918 | |
1919 headerbar:not(.selection-mode) button.flat:backdrop, headerbar:not(.selection-mode) button.titlebutton:backdrop { border-color: transparent; } | |
1920 | |
1921 headerbar:not(.selection-mode) button:hover { color: shade(#dddddd, 1.3); outline-color: #575757; border-color: #303030; background-image: linear-gradient(to bottom, shade(#575757, 1.1), shade(#3D3D3D, 1.1)); text-shadow: 0 1px rgba(87, 87, 87, 0.5); -gtk-icon-shadow: 0 1px rgba(87, 87, 87, 0.5); box-shadow: inset 0 1px #575757, 0 1px #575757; } | |
1922 | |
1923 headerbar:not(.selection-mode) button:active, headerbar:not(.selection-mode) button:checked { color: #fff; outline-color: #575757; border-color: #303030; background-image: linear-gradient(to bottom, #3D3D3D, #303030); text-shadow: 0 1px rgba(87, 87, 87, 0.5); -gtk-icon-shadow: 0 1px rgba(87, 87, 87, 0.5); box-shadow: inset 0 1px rgba(87, 87, 87, 0.3), 0 1px #575757; } | |
1924 | |
1925 headerbar:not(.selection-mode) button:backdrop { color: #dddddd; background-image: none; background-color: #3D3D3D; border-color: #303030; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; transition: 200ms ease-out; -gtk-icon-filter: none; } | |
1926 | |
1927 headerbar:not(.selection-mode) button:backdrop:active, headerbar:not(.selection-mode) button:backdrop:checked { background-image: none; background-color: #303030; border-color: #303030; } | |
1928 | |
1929 headerbar:not(.selection-mode) button:backdrop:disabled { color: #8d8d8d; background-color: #3D3D3D; background-image: none; border-color: #303030; box-shadow: none; } | |
1930 | |
1931 headerbar:not(.selection-mode) button:disabled { color: #8d8d8d; background-color: #3D3D3D; background-image: none; border-color: #303030; box-shadow: 0 1px #575757; } | |
1932 | |
1933 headerbar:not(.selection-mode) button:drop(active) { color: #2ec27e; border-color: #2ec27e; box-shadow: inset 0 0 0 1px #2ec27e; } | |
1934 | |
1935 headerbar:not(.selection-mode) button.suggested-action { color: white; outline-color: rgba(255, 255, 255, 0.8); border-color: #2b3a1d; background-image: linear-gradient(to top, #59783b 2px, #5E7F3E); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); } | |
1936 | |
1937 headerbar:not(.selection-mode) button.suggested-action.flat { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; color: #5E7F3E; } | |
1938 | |
1939 headerbar:not(.selection-mode) button.suggested-action:hover { color: white; border-color: #384c25; background-image: linear-gradient(to top, #354823, #4a6431 1px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); } | |
1940 | |
1941 headerbar:not(.selection-mode) button.suggested-action:active, headerbar:not(.selection-mode) button.suggested-action:checked { color: white; border-color: #384c25; background-image: image(#3a4f27); box-shadow: none; } | |
1942 | |
1943 headerbar:not(.selection-mode) button.suggested-action:backdrop { color: #dfe5d8; border-color: #5E7F3E; background-image: image(#5E7F3E); box-shadow: none; border-color: #2b3a1d; } | |
1944 | |
1945 headerbar:not(.selection-mode) button.suggested-action:backdrop:active, headerbar:not(.selection-mode) button.suggested-action:backdrop:checked { color: #83877e; border-color: #5a7043; background-image: image(#5a7043); box-shadow: none; } | |
1946 | |
1947 headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled, headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label { color: #8d8d8d; background-color: #3D3D3D; background-image: none; border-color: #303030; box-shadow: none; } | |
1948 | |
1949 headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:active, headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:checked, headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label:active, headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label:checked { color: #93a285; border-color: #5a7043; background-image: image(#5a7043); box-shadow: none; } | |
1950 | |
1951 headerbar:not(.selection-mode) button.suggested-action.flat:backdrop, headerbar:not(.selection-mode) button.suggested-action.flat:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; color: rgba(94, 127, 62, 0.8); } | |
1952 | |
1953 column-header button, column-header headerbar button.titlebutton, headerbar column-header button.titlebutton, column-header .titlebar button.titlebutton, .titlebar column-header button.titlebutton { color: #161616; background-color: #e0e0e0; } | |
1954 | |
1955 column-header button:hover, column-header headerbar button.titlebutton:hover, headerbar column-header button.titlebutton:hover, column-header .titlebar button.titlebutton:hover, .titlebar column-header button.titlebutton:hover { color: black; } | |
1956 | |
1957 spinbutton:not(.vertical), spinbutton.vertical > text, entry { background-color: #F0F0F0; } | |
1958 | |
1959 spinbutton:disabled:not(.vertical), spinbutton.vertical > text:disabled, entry:disabled { background-color: #c6c6c6; } | |
1960 | |
1961 spinbutton:backdrop:not(.vertical), spinbutton.vertical > text:backdrop, entry:backdrop { background-color: #ededed; } | |
1962 | |
1963 spinbutton:backdrop:disabled:not(.vertical), spinbutton.vertical > text:backdrop:disabled, entry:backdrop:disabled { background-color: #c6c6c6; } | |
1964 | |
1965 spinbutton:not(.vertical) button:hover { background-color: rgba(198, 198, 198, 0.4); border-top-color: transparent; border-top-style: solid; border-top-width: 1px; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; background-clip: padding-box; } | |
1966 | |
1967 .view, .view text, iconview, iconview text, textview, textview text { color: black; background-color: #F0F0F0; } | |
1968 | |
1969 .view:backdrop, .view:backdrop:hover, .view text:backdrop, .view text:backdrop:hover, iconview:backdrop, iconview:backdrop:hover, iconview text:backdrop, iconview text:backdrop:hover, textview:backdrop, textview:backdrop:hover, textview text:backdrop, textview text:backdrop:hover { color: #272727; background-color: #ededed; } | |
1970 | |
1971 .view:selected, .view text:selected, iconview:selected, iconview text:selected, textview:selected, textview text:selected { color: #ffffff; background-color: #5E7F3E; } | |
1972 | |
1973 .view:active, .view text:active, iconview:active, iconview text:active, textview:active, textview text:active { box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); } | |
1974 | |
1975 .view:selected:active, .view text:selected:active, iconview:selected:active, iconview text:selected:active, textview:selected:active, textview text:selected:active { box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); } | |
1976 | |
1977 .view:selected:hover, .view text:selected:hover, iconview:selected:hover, iconview text:selected:hover, textview:selected:hover, textview text:selected:hover { background-color: #57753a; } | |
1978 | |
1979 .view:selected:backdrop, .view text:selected:backdrop, iconview:selected:backdrop, iconview text:selected:backdrop, textview:selected:backdrop, textview text:selected:backdrop { background-color: #5E7F3E; } | |
1980 | |
113
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1981 popover .view, popover iconview { background-color: transparent; } |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1982 |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1983 list:not(.view):not(iconview), list-row, list-row.button { background-color: #e1e1e1; } |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1984 |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1985 list:not(.view):not(iconview):backdrop, list:not(.view):not(iconview):backdrop:hover, list-row:backdrop, list-row:backdrop:hover, list-row.button:backdrop, list-row.button:backdrop:hover { color: #272727; background-color: #dedede; } |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1986 |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1987 list:not(.view):not(iconview):selected, list-row:selected, list-row.button:selected { color: #ffffff; background-color: #5E7F3E; } |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1988 |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1989 list:not(.view):not(iconview):hover, list-row:hover, list-row.button:hover { background-color: #d7d7d7; } |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1990 |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1991 list:not(.view):not(iconview):active, list-row:active, list-row.button:active { box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); } |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1992 |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1993 list:not(.view):not(iconview):selected:active, list-row:selected:active, list-row.button:selected:active { box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); } |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1994 |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1995 list:not(.view):not(iconview):selected:hover, list-row:selected:hover, list-row.button:selected:hover { background-color: #57753a; } |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1996 |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
1997 list:not(.view):not(iconview):selected:backdrop, list-row:selected:backdrop, list-row.button:selected:backdrop { background-color: #5E7F3E; } |
98 | 1998 |
1999 .sidebar list { background: transparent; } | |
2000 | |
2001 #pathbarbox { background-color: #C6C6C6; } | |
2002 | |
100
374207f64e2f
Match newer Nautilus style and fix DConf path bar
IBBoard <dev@ibboard.co.uk>
parents:
98
diff
changeset
|
2003 headerbar .pathbar { background-color: @theme_bg_dark_color; border-style: none; } |
374207f64e2f
Match newer Nautilus style and fix DConf path bar
IBBoard <dev@ibboard.co.uk>
parents:
98
diff
changeset
|
2004 |
98 | 2005 list-row.sidebar-item { background-color: #b9b9b9; border-color: #7a7a7a; } |
2006 | |
2007 list-row.sidebar-item:backdrop, list-row.sidebar-item:backdrop:hover { background-color: #b9b9b9; border-color: #818181; } | |
2008 | |
2009 list-row.sidebar-item:hover { background-color: #bdbdbd; } | |
2010 | |
2011 list-row.sidebar-item:active { box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); } | |
2012 | |
2013 list-row.sidebar-item:selected { background-color: #5E7F3E; } | |
2014 | |
2015 list-row.sidebar-item:selected:active { box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); } | |
2016 | |
2017 list-row.sidebar-item:selected:hover { background-color: #57753a; } | |
2018 | |
2019 list-row.sidebar-item:selected:backdrop { background-color: #5E7F3E; } | |
2020 | |
2021 /* Fudge the Nautilus icon view background colour in the only way that seems to work */ | |
2022 .nautilus-window notebook > stack > box > grid { background-color: #F0F0F0; } | |
2023 | |
2024 /* And make the Nautilus places bar a bit darker, as it used to be */ | |
2025 placessidebar list { background-color: #b9b9b9; border-color: #7a7a7a; } | |
2026 | |
2027 placessidebar list:backdrop { background-color: #b9b9b9; border-color: #818181; } | |
2028 | |
2029 .view.rubberband, iconview.rubberband { background-color: rgba(94, 127, 62, 0.2); } | |
2030 | |
2031 menubar { background-color: #3D3D3D; color: #cccccc; box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); } | |
2032 | |
2033 menubar:backdrop { background-color: #3D3D3D; color: #cccccc; } | |
2034 | |
2035 menubar popover.menu.background > contents { border-top-width: 0; border-radius: 0 0 9px 9px; background-color: #3D3D3D; color: #cccccc; border-color: #303030; } | |
2036 | |
2037 menubar popover.menu.background > contents modelbutton.flat:selected, menubar popover.menu.background > contents modelbutton.flat:hover { background-color: #5E7F3E; color: #ffffff; } | |
2038 | |
2039 menubar popover.menu.background > contents check, menubar popover.menu.background > contents radio { color: #cccccc; } | |
2040 | |
2041 menubar popover.menu.background > contents check:hover, menubar popover.menu.background > contents radio:hover { color: #ffffff; } | |
2042 | |
2043 popover.menu, #gtk-combobox-popup-menu { color: #161616; } | |
2044 | |
2045 menubar > item:hover, menubar > item > label:hover { color: #5E7F3E; } | |
2046 | |
2047 menubar > item:backdrop, menubar > item > label:backdrop { color: #cccccc; } | |
2048 | |
2049 menubar > item menuitem.check, menubar > item menuitem.radio, menubar > item > label menuitem.check, menubar > item > label menuitem.radio { color: #dddddd; } | |
2050 | |
2051 .floating-bar { opacity: 0.9; color: black; background-color: #F0F0F0; border: 1px solid #7a7a7a; } | |
2052 | |
2053 .floating-bar.top.left { border-bottom-right-radius: 3px; border-top-width: 0; border-left-width: 0; } | |
2054 | |
2055 .floating-bar.top.right { border-bottom-left-radius: 3px; border-top-width: 0; border-right-width: 0; } | |
2056 | |
2057 .floating-bar.bottom.left { border-top-right-radius: 3px; border-bottom-width: 0; border-left-width: 0; } | |
2058 | |
2059 .floating-bar.bottom.right { border-top-left-radius: 3px; border-bottom-width: 0; border-right-width: 0; } | |
2060 | |
2061 treeview.view header button, treeview.view header button:backdrop, treeview.view header button:hover, treeview.view header button:hover:backdrop, treeview.view header button:active, treeview.view header button:active:backdrop, treeview.view header button:disabled, treeview.view header button:disabled:backdrop { border-color: #adadad; } | |
2062 | |
2063 treeview.view header button:last-child:hover { border-right-width: 0; } | |
2064 | |
2065 notebook > header tab:checked.reorderable-page { border-color: #7a7a7a; background-color: #C6C6C6; } | |
2066 | |
2067 notebook > header tab:checked.reorderable-page:hover { background-color: lightgray; } | |
2068 | |
2069 notebook > header tab:backdrop:checked.reorderable-page { background-color: #C6C6C6; } | |
2070 | |
2071 spinbutton:not(.vertical) button:backdrop:disabled { background: transparent none; } | |
2072 | |
2073 .emoji-section label { font-family: "Symbola"; font-weight: bold; font-size: 125%; } | |
2074 | |
2075 headerbar frame > border, headerbar .frame, headerbar frame > border:backdrop, headerbar .frame:backdrop { border-color: #303030; } | |
2076 | |
2077 check, radio { background-clip: padding-box; background-image: linear-gradient(to bottom, #e0e0e0 20%, lightgray 90%); border-color: #6d6d6d; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #ffffff; } | |
2078 | |
2079 check:hover, radio:hover { background-image: linear-gradient(to bottom, #eaeaea 10%, #dddddd 90%); } | |
2080 | |
2081 check:active, radio:active { box-shadow: inset 0 1px rgba(0, 0, 0, 0.2); background-image: image(#c6c6c6); } | |
2082 | |
2083 check:disabled, radio:disabled { box-shadow: none; color: rgba(255, 255, 255, 0.7); } | |
2084 | |
2085 check:checked, radio:checked { background-clip: border-box; background-image: linear-gradient(to bottom, #6b9046 20%, #5E7F3E 90%); border-color: #2b3a1d; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #ffffff; } | |
2086 | |
2087 check:checked:hover, radio:checked:hover { background-image: linear-gradient(to bottom, #759e4d 10%, #688d45 90%); } | |
2088 | |
2089 check:checked:active, radio:checked:active { box-shadow: inset 0 1px rgba(0, 0, 0, 0.2); background-image: image(#516e36); } | |
2090 | |
2091 check:checked:disabled, radio:checked:disabled { box-shadow: none; color: rgba(255, 255, 255, 0.7); } | |
2092 | |
2093 check:indeterminate, radio:indeterminate { background-clip: border-box; background-image: linear-gradient(to bottom, #6b9046 20%, #5E7F3E 90%); border-color: #2b3a1d; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #ffffff; } | |
2094 | |
2095 check:indeterminate:hover, radio:indeterminate:hover { background-image: linear-gradient(to bottom, #759e4d 10%, #688d45 90%); } | |
2096 | |
2097 check:indeterminate:active, radio:indeterminate:active { box-shadow: inset 0 1px rgba(0, 0, 0, 0.2); background-image: image(#516e36); } | |
2098 | |
2099 check:indeterminate:disabled, radio:indeterminate:disabled { box-shadow: none; color: rgba(255, 255, 255, 0.7); } | |
2100 | |
113
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
2101 button.flat { outline-width: 0; outline-color: transparent; } |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
2102 |
98 | 2103 button.suggested-action { color: white; outline-color: rgba(255, 255, 255, 0.8); border-color: #2b3a1d; background-image: linear-gradient(to top, #59783b 2px, #5E7F3E); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); } |
2104 | |
2105 button.suggested-action.flat { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; color: #5E7F3E; } | |
2106 | |
2107 button.suggested-action:hover { color: white; border-color: #384c25; background-image: linear-gradient(to top, #354823, #4a6431 1px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); } | |
2108 | |
2109 button.suggested-action:active, button.suggested-action:checked { color: white; border-color: #384c25; background-image: image(#3a4f27); box-shadow: none; } | |
2110 | |
2111 button.suggested-action:backdrop, button.suggested-action.flat:backdrop { color: #dfe5d8; border-color: #5E7F3E; background-image: image(#5E7F3E); box-shadow: none; border-color: #2b3a1d; } | |
2112 | |
2113 button.suggested-action:backdrop:active, button.suggested-action:backdrop:checked, button.suggested-action.flat:backdrop:active, button.suggested-action.flat:backdrop:checked { color: #83877e; border-color: #5a7043; background-image: image(#5a7043); box-shadow: none; } | |
2114 | |
2115 button.suggested-action:backdrop:disabled, button.suggested-action:backdrop:disabled label, button.suggested-action.flat:backdrop:disabled, button.suggested-action.flat:backdrop:disabled label { color: #8d8d8d; background-color: #3D3D3D; background-image: none; border-color: #303030; box-shadow: none; } | |
2116 | |
2117 button.suggested-action:backdrop:disabled:active, button.suggested-action:backdrop:disabled:checked, button.suggested-action:backdrop:disabled label:active, button.suggested-action:backdrop:disabled label:checked, button.suggested-action.flat:backdrop:disabled:active, button.suggested-action.flat:backdrop:disabled:checked, button.suggested-action.flat:backdrop:disabled label:active, button.suggested-action.flat:backdrop:disabled label:checked { color: #93a285; border-color: #5a7043; background-image: image(#5a7043); box-shadow: none; } | |
2118 | |
2119 button.suggested-action.flat:backdrop, button.suggested-action.flat:disabled, button.suggested-action.flat:backdrop:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: none; color: rgba(94, 127, 62, 0.8); } | |
2120 | |
113
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
2121 list spinbutton button.image-button:not(.toggle) { outline-width: 0; } |
3a790d4649eb
Fix GTK4/Adwaita outline and background issues
IBBoard <dev@ibboard.co.uk>
parents:
100
diff
changeset
|
2122 |
98 | 2123 .csd popover.background { border-color: rgba(0, 0, 0, 0.4); } |
2124 | |
2125 infobar.action:hover > revealer > box { background-color: #d9d7da; } | |
2126 | |
2127 infobar .info > revealer > box, infobar.question > revealer > box, infobar.warning > revealer > box, infobar.error > revealer > box { background-color: #d4d2d5; } |