~elementary-design/egtk/egtk-2a

507 by Daniel Fore
add standard headers to CSS
1
/* Copyright 2011-2012 elementary
2
*
3
* This file is part of the elementary GTK theme.
4
*
5
* The elementary GTK theme is free software: you can redistribute it
6
* and/or modify it under the terms of the GNU General Public License as
7
* published by the Free Software Foundation, either version 3 of the
8
* License, or (at your option) any later version.
9
*
10
* The elementary GTK theme is distributed in the hope that it will be
11
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
13
* Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License along
16
* with the elementary GTK theme. If not, see http://www.gnu.org/licenses/.
17
*/
18
442 by Daniel Fore
some popover stuff
19
GraniteWidgetsPopOver {
349 by Daniel Fore
some initial popover styling
20
425 by Daniel Fore
fix some popover stuff
21
    -GraniteWidgetsPopOver-arrow-width: 24;
22
    -GraniteWidgetsPopOver-arrow-height: 12;
467 by Daniel Fore
slightly rounder slingshot
23
    -GraniteWidgetsPopOver-border-radius: 7px;
349 by Daniel Fore
some initial popover styling
24
    -GraniteWidgetsPopOver-border-width: 1;
442 by Daniel Fore
some popover stuff
25
    -GraniteWidgetsPopOver-shadow-size: 18;
349 by Daniel Fore
some initial popover styling
26
    
425 by Daniel Fore
fix some popover stuff
27
    border-style: solid;
461 by Daniel Fore
little darker
28
    border-color: alpha (#000, 0.40);
349 by Daniel Fore
some initial popover styling
29
    margin: 0;
30
}
31
463 by Daniel Fore
figured out how to make popovers semi-transparent
32
.popover_bg {
473 by Daniel Fore
let's get some legit typography going on
33
    background-color: @transparent;
468 by Daniel Fore
slight gradient on popovers
34
    background-image: -gtk-gradient (linear,
35
			         left top,
36
			         left bottom,
491 by Daniel Fore
fix entries and menus off infobar
37
			         from (alpha (#f9f9f9, 0.97)),
38
                     color-stop (0.80, alpha (#f9f9f9, 0.97)),
39
			         to (alpha (#f0f0f0, 0.97)));
463 by Daniel Fore
figured out how to make popovers semi-transparent
40
}
41
42
GraniteWidgetsPopOver .sidebar.view,
442 by Daniel Fore
some popover stuff
43
GraniteWidgetsPopOver * {
463 by Daniel Fore
figured out how to make popovers semi-transparent
44
    background-color: @transparent;
380 by Daniel Fore
slingshot fixes
45
}
46
349 by Daniel Fore
some initial popover styling
47
GraniteWidgetsPopOver .button {
48
49
    background-image: none;
50
    
51
    background-color: alpha (#fff, 0.0);    
52
53
    -unico-outer-stroke-gradient: -gtk-gradient (linear,
54
                     left top, left bottom,
55
                     from (alpha (#fff, 0.00)),
56
                     color-stop (0.80, alpha (#fff, 0.00)),
57
                     to (alpha (#fff, 0.40)));
58
59
    -unico-border-gradient: -gtk-gradient (linear,
60
                     left top, left bottom,
61
                     from (shade (@base_color, 0.80)),
62
                     to (shade (@base_color, 0.74)));
63
64
}
65
66
GraniteWidgetsPopOver .button:active,
67
GraniteWidgetsPopOver .button:hover:active {
68
371 by Daniel Fore
better depressed popover buttons
69
	background-image: none;
70
71
    background-color: alpha (#000, 0.05);
349 by Daniel Fore
some initial popover styling
72
73
    -unico-border-gradient: -gtk-gradient (linear,
74
                     left top, left bottom,
75
                     from (shade (@base_color, 0.74)),
76
                     to (shade (@base_color, 0.74)));
77
78
    -unico-inner-stroke-gradient: -gtk-gradient (linear,
79
                    left top, left bottom,
80
                    from (alpha (#000, 0.07)),
81
                    to (alpha (#000, 0.03)));
82
}
83
84
GraniteWidgetsPopOver .entry {
85
86
    background-image: -gtk-gradient (linear,
87
			         left top,
88
			         left bottom,
89
			         from (shade (@base_color, 0.88)),
90
                     color-stop (0.20, shade (@base_color, 0.94)),
91
			         to (shade (@base_color, 0.96)));
92
93
    -unico-border-gradient: -gtk-gradient (linear,
94
                     left top, left bottom,
95
                     from (shade (@base_color, 0.74)),
96
                     to (shade (@base_color, 0.76)));
97
98
    -unico-inner-stroke-gradient: -gtk-gradient (linear,
99
                    left top, left bottom,
100
                    from (alpha (#000, 0.07)),
101
                    to (alpha (#000, 0.03)));
102
}
351 by Daniel Fore
proper pane theming
103
104
.button.app {
105
106
    border-width: 0;
397 by Daniel Fore
fix theme parsing errors. Not using units is now deprecated
107
    border-radius: 5px;
351 by Daniel Fore
proper pane theming
108
109
    -unico-inner-stroke-gradient: -gtk-gradient (linear,
110
                     left top, left bottom,
111
                     from (alpha (#fff, 0.00)),
112
                     to (alpha (#fff, 0.00)));
113
114
    -unico-outer-stroke-gradient: -gtk-gradient (linear,
115
                     left top, left bottom,
116
                     from (alpha (#000, 0.00)),
117
                     to (alpha (#000, 0.00)));
118
}
119
515.1.1 by Andrea Basso
Hovered apps in Slingshot are now distinguished from selected ones
120
.app:hover {
515.1.2 by Andrea Basso
Hovered apps in Slingshot are now distinguished from selected ones
121
122
    background-color: alpha (#000, 0.08);
123
    
515.1.1 by Andrea Basso
Hovered apps in Slingshot are now distinguished from selected ones
124
}
381 by Daniel Fore
small tabs for Marlin, Button spacing issues
125
.app:focus {
126
515.1.2 by Andrea Basso
Hovered apps in Slingshot are now distinguished from selected ones
127
    background-color: alpha (#000, 0.20);
381 by Daniel Fore
small tabs for Marlin, Button spacing issues
128
129
}
130
131
/*.app:hover, .app:focus {
351 by Daniel Fore
proper pane theming
132
133
    border-width: 3;
134
135
    -unico-outer-stroke-gradient: -gtk-gradient (linear,
136
                    left top, left bottom,
137
                    from (shade (@selected_bg_color, 1.05)),
138
                    to (shade (@selected_bg_color, 0.88)));
139
140
    -unico-border-gradient: -gtk-gradient (linear,
141
                    left top,
142
                    left bottom,
143
                    from (shade (@selected_bg_color, 1.30)),
144
                    to (shade (@selected_bg_color, 0.98)));
145
381 by Daniel Fore
small tabs for Marlin, Button spacing issues
146
}*/