Debian Codegraph @

testsuite/reftests/treeview-fixed-height.css

raw
1 /* "Tradition" theme for GTK 3, by John Lindgren */
2 /* Last modified: October 21, 2012 */
3 /* Public domain */
4
5 /* COLORS */
6
7 @define-color color_base #c8c4c0;
8 @define-color color_sel #406080;
9 @define-color color_tip #ffffc0;
10 @define-color color_dark shade (@color_base, 0.6);
11
12 * {
13 background-color: @color_base;
14 border-color: @color_dark;
15 border-style: solid;
16 color: black;
17 }
18
19 .cell, .check, .entry, .menu, .radio, GtkTextView, GtkTreeView {
20 background-color: white;
21 }
22
23 image, label, .menuitem {
24 background-color: transparent;
25 }
26
27 .tooltip {
28 background-color: @color_tip;
29 }
30
31 *:disabled {
32 color: @color_dark;
33 }
34
35 *:selected, .menuitem:hover , *:hover {
36 background-color: @color_sel;
37 color: white;
38 }
39
40 GtkCheckButton:selected {
41 background-color: @color_base;
42 }
43
44 .check:hover, .check:selected, .radio:hover, .radio:selected {
45 background-color: white;
46 color: black;
47 }
48
49 .slider, .pane-separator {
50 background-color: alpha (black, 0);
51 color: alpha (black, 0);
52 }
53
54 /* GRADIENTS */
55
56 button, .notebook tab:active, .slider {
57 background-image: -gtk-gradient (linear, left top, left bottom,
58 from (shade (@color_base, 1.2)), to (@color_base));
59 }
60
61 button:active, .notebook tab, .trough {
62 background-image: -gtk-gradient (linear, left top, left bottom,
63 from (shade (@color_base, 0.8)), to (@color_base));
64 }
65
66 button.vertical, .slider.vertical {
67 background-image: -gtk-gradient (linear, left top, right top,
68 from (shade (@color_base, 1.2)), to (@color_base));
69 }
70
71 button.vertical:active, .trough.vertical {
72 background-image: -gtk-gradient (linear, left top, right top,
73 from (shade (@color_base, 0.8)), to (@color_base));
74 }
75
76 column-header > .button {
77 background-image: none;
78 }
79
80 .progressbar {
81 background-image: -gtk-gradient (linear, left top, left bottom,
82 from (shade (@color_sel, 1.2)), to (@color_sel));
83 border-color: shade (@color_sel, 0.7);
84 }
85
86 .progressbar.vertical {
87 background-image: -gtk-gradient (linear, left top, right top,
88 from (shade (@color_sel, 1.2)), to (@color_sel));
89 }
90
91 /* SPACING */
92
93 * {
94 border-width: 0px;
95 border-radius: 0px;
96 padding: 0px;
97 }
98
99 .menu {
100 border-width: 1px;
101 padding: 1px;
102 }
103
104 .menuitem {
105 border-radius: 3px;
106 padding: 1px;
107 }
108
109 .toolbar {
110 padding: 0px 3px 0px 3px;
111 }
112
113 button, .check, .entry, .frame, .notebook, .progressbar, .radio, .scale,
114 .scrollbar, .slider, .trough {
115 border-radius: 2px;
116 border-width: 1px;
117 }
118
119 notebook tab {
120 padding: 2px;
121 }
122
123 notebook tab:active {
124 padding: 3px;
125 }
126
127 button {
128 padding: 3px;
129 }
130
131 .entry, column-header > .button {
132 padding: 2px;
133 }
134
135 GtkComboBox .button {
136 padding: 0px 2px 0px 2px;
137 }
138
139 .combobox-entry > .entry {
140 border-radius: 2px 0px 0px 2px;
141 border-width: 1px 0px 1px 1px;
142 }
143
144 .combobox-entry > .button {
145 border-radius: 0px 2px 2px 0px;
146 }
147
148 .spinbutton.button {
149 border-radius: 0px;
150 border-width: 0px 1px 0px 1px;
151 }
152
153 .spinbutton.button:last-child {
154 border-width: 0px;
155 }
156
157 column-header > .button {
158 border-radius: 0px;
159 border-width: 0px 0px 1px 0px;
160 }
161