forked from webianproject/shell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
275 lines (234 loc) · 4.5 KB
/
main.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
/**
* Webian Shell browser styles
* http://webian.org
*
* Copyright See AUTHORS file
*
* Webian Shell is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Webian Shell is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Webian Shell in the LICENSE file. If not, see
* <http://www.gnu.org/licenses/>.
*/
html, body {
height: 100%;
padding: 0;
margin: 0;
}
body {
font-family: Arial, Helvetica, Sans-serif;
font-size: 13px;
display: -moz-box;
-moz-box-orient: vertical;
width: 100%;
background-color: #000;
}
.toolbar {
display: -moz-box;
-moz-box-orient: horizontal;
width: 100%;
height: 30px;
margin: 0;
}
/* Home Screen Styles */
#home_screen {
display: none;
visibility: hidden;
background-color: #000;
padding: 0;
margin: 0;
}
#home_screen.active {
visibility: visible;
display: -moz-box;
-moz-box-flex: 1;
-moz-box-orient: vertical;
}
#home_screen #top_toolbar {
}
#home_screen #top_toolbar #power_button {
position: absolute;
right: 0;
top: 0;
}
#home_screen #widget_space {
background-image: url('webian_shell_logo.png'), -moz-radial-gradient(closest-side, #434343 0%, #000 100%);
background-repeat: no-repeat;
background-position: center center;
-moz-box-flex: 1;
padding: 0;
margin: 0;
}
/* Bottom Toolbar Styles */
#bottom_toolbar {
display: -moz-box;
-moz-box-orient: horizontal;
background-color: #000;
}
#bottom_toolbar #home_button {
display: none;
visibility: hidden;
}
#bottom_toolbar #home_button.active {
display: inline;
visibility: visible;
}
#bottom_toolbar #clock {
display: -moz-box;
-moz-box-orient: vertical;
-moz-box-pack: end;
padding: 8px;
color: #fff;
}
#bottom_toolbar img#new_tab_button {
cursor: pointer;
}
/* Window Styles */
#windows {
display: none;
visibility: hidden;
}
#windows.active {
-moz-box-flex: 1;
visibility: visible;
display: -moz-box;
-moz-box-orient: vertical;
}
.window {
padding: 0;
margin: 0;
width: 100%;
height: 0;
overflow: hidden;
display: -moz-box;
-moz-box-flex: -1;
}
.window.selected {
height:auto;
-moz-box-orient: vertical;
-moz-box-flex: 1;
}
.window_toolbar {
background-color: #666;
top: 0px;
left: 0px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
}
.button {
width: 20px;
height: 20px;
padding: 5px 4px;
}
.document_title {
float: left;
color: #fff;
font-weight: bold;
padding: 2px 5px;
display: none;
visibility: hidden;
}
.document_title.active {
display: block;
visibility: visible;
}
.address_bar {
-moz-box-flex: 1;
display: -moz-box;
-moz-box-orient: horizontal;
-moz-box-align: start;
width: 100%;
background-color: #333;
height: 20px;
padding: 0;
-moz-border-radius: 5px;
margin: 5px;
}
.url_form {
height: 20px;
display: -moz-box;
-moz-box-flex: 1;
padding: 0;
margin: 0;
}
.url_form .url_input {
background-color: #fff;
-moz-box-flex: 1;
height: 16px;
padding: 2px 5px;
border: none;
-moz-border-radius: 5px;
}
.url_form .url_input.loading {
background-image: url('progress_bar.png');
background-repeat: no-repeat;
}
.url_form .url_input.loaded {
background-color: #dae2e9;
}
.go_button {
display: block;
padding: 0px 4px;
}
.window_iframe {
-moz-box-flex: 1;
width: 100%;
height: 100%;
border: solid 5px #666;
border-top: none;
background-color: white;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
-moz-border-radius-bottomleft: 5px;
-moz-border-radius-bottomright: 5px;
}
/* Tab Styles */
#tabs {
-moz-box-flex: 1;
}
#tabs ul {
margin: 0;
padding: 0;
float: left;
}
.tab {
padding: 0 0 0 5px;
list-style-type: none;
margin: 0;
float: left;
}
.tab img {
background-color: #333;
display: block;
width: 16px;
height: 16px;
padding: 8px 8px;
-moz-border-radius-bottomleft: 5px;
-moz-border-radius-bottomright: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
#tabs.detached .tab img {
-moz-border-radius: 5px;
border-radius: 5px;
}
.tab.selected img {
background-color: #666;
}
.tab img:focus,
.tab img:hover {
cursor: pointer;
}
#new_tab_button {
float: left;
}