annotate gtk-4.4/gtk-minimal.css @ 106:763cdfeaf613

Improve Adwaita recolouring and contrast * Several widgets have borders/outlines * Improve radio/checkbutton colouring * Make dim labels more readable on our darker background * Make text entry use text entry colours
author IBBoard <dev@ibboard.co.uk>
date Thu, 21 Apr 2022 17:19:29 +0100
parents 52522384054f
children 3a790d4649eb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
98
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 /* Accent Colors */
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 @define-color accent_color #5E7F3E;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 @define-color accent_bg_color #5E7F3E;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 @define-color accent_fg_color #ffffff;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 /* Window Colors */
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 @define-color window_bg_color #C6C6C6;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 @define-color window_fg_color #161616;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 /* View Colors */
99
85674188d6d3 Correct Adwaita view/table colours
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
9 @define-color view_bg_color #F0F0F0;
85674188d6d3 Correct Adwaita view/table colours
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
10 @define-color view_fg_color black;
98
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 /* Header Bar Colors */
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 @define-color headerbar_bg_color #3D3D3D;
101
1e5ce701b8d8 Lighten views (lists, tables, etc)
IBBoard <dev@ibboard.co.uk>
parents: 99
diff changeset
13 @define-color headerbar_fg_color #fff;
98
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 @define-color headerbar_backdrop_color #3D3D3D;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 /* Card Colors */
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 @define-color card_bg_color #e1e1e1;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 @define-color card_fg_color #161616;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 @define-color card_shade_color #161616;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 /* Popover Colors */
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 @define-color popover_bg_color #C6C6C6;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 @define-color popover_fg_color #161616;
99
85674188d6d3 Correct Adwaita view/table colours
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
22 /* Fix the avatar shape */
85674188d6d3 Correct Adwaita view/table colours
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
23 avatar { border-radius: 4px; }
102
52522384054f Add slight border to buttons in lists
IBBoard <dev@ibboard.co.uk>
parents: 101
diff changeset
24
106
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
25 list button.image-button:not(.toggle), list button.toggle:checked, list button:hover, list spinbutton { outline: 1px @borders solid; outline-offset: -1px; }
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
26
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
27 button.combo, button.text-button { outline: 1px @borders solid; outline-offset: -1px; }
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
28
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
29 list spinbutton button.image-button:not(.toggle), list button.image-button.background-preview-button, headerbar button.text-button { outline-width: 0; }
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
30
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
31 checkbutton radio:not(:checked), checkbutton check:not(:checked) { background-color: #F0F0F0; }
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
32
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
33 checkbutton radio:not(:checked):backdrop, checkbutton check:not(:checked):backdrop { background-color: #ededed; }
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
34
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
35 .dim-label { opacity: 0.75; }
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
36
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
37 entry { background: @view_bg_color; color: @view_fg_color; }
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
38
763cdfeaf613 Improve Adwaita recolouring and contrast
IBBoard <dev@ibboard.co.uk>
parents: 102
diff changeset
39 switch { border: 1px solid #00000044; }