tinycm view style.css @ rev 17

index.cgi: small improvments
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jan 04 20:21:17 2014 +0100 (2014-01-04)
parents 6841b2e2379d
children 09f5185ff6e0
line source
1 /* CSS style for SliTaz Bugs/TinyCM */
3 html { min-height: 102%; }
4 body { font: 13px sans-serif, vernada, arial; margin: 0; }
5 h1 { margin: 0; padding: 8px; color: #fff; font-size: 20px; }
6 h1 a { color: #fff; text-decoration: none; }
7 h2 { color: #444; } h3 { color: #666; font-size: 140%; }
8 a { text-decoration: underline; color: #215090; }
9 a:hover { text-decoration: none; }
10 img { border: 0pt none; vertical-align: middle; }
11 pre {
12 overflow: auto;
13 font-size: 96%;
14 }
15 textarea, table { width: 100%; }
16 thead { font-weight: bold; }
18 /* Header */
20 #header {
21 /*background: #351a0a;*/
22 background: #443b31;
23 height: 40px;
24 border-bottom: 8px solid #cfcfcf;
25 }
27 #header h1 {
28 margin: 0;
29 padding: 8px 0 0 42px;
30 width: 250px;
31 }
33 #header h1 a {
34 color: white;
35 text-decoration: none;
36 font-size: 20px;
37 font-style: italic;
38 }
40 #header h1 a:hover {
41 color: #cfcfcf;
42 }
44 /* Header links */
46 #network {
47 float: right;
48 padding: 12px 5px 0;
49 font-size: 12px;
50 margin-right: 100px;
51 }
53 #network a {
54 padding: 0 4px;
55 color: #fff;
56 font-weight: bold;
57 text-decoration: none;
58 }
60 #network a:hover, #user a:hover { color: #cfcfcf; }
62 /* Logo */
64 #logo {
65 background: url(images/logo.png) no-repeat left;
66 position: absolute;
67 float: left;
68 left: 0px;
69 top: 0px;
70 width: 40px;
71 height: 40px;
72 }
74 /* Login and user box */
76 #login {
77 width: 240px;
78 float: left;
79 height: 120px;
80 }
82 #login input[type="text"], #login input[type="password"] {
83 width: 200px; }
85 #login input[type="submit"] { float: none; }
86 #login p { display: inline; }
88 #user {
89 background-color: #362E24;
90 padding: 4px;
91 width: 84px;
92 float: right;
93 font-size: 12px;
94 position: absolute;
95 right: 10px;
96 top: 6px;
97 }
98 #user a { padding: 0 2px; color: #fff;
99 font-weight: bold; text-decoration: none; }
101 #account-info { width: 380px; height: 120px; float: right; }
103 /* Languages */
105 #lang {
106 position: absolute;
107 right: 0;
108 top: 48px;
109 padding: 6px;
110 font-size: 12px;
111 }
113 #lang a {
114 text-decoration: none;
115 padding: 0 2px;
116 }
118 #lang a:hover {
119 text-decoration: underline;
120 }
122 /* Search */
124 #search {
125 position: absolute;
126 right: 20px;
127 top: 72px;
129 }
131 #search input[type="text"] { width: 180px; }
133 /* Content */
135 #content {
136 margin: 40px auto;
137 padding: 0 20px;
138 text-align: justify;
139 max-width: 680px;
140 }
142 #edit textarea { width: 100%; height: 240px; background: #f8f8f8; }
143 #edit a { text-decoration: none; }
145 .box, pre, #login, #account-info {
146 background-color: #f8f8f8;
147 border: 1px solid #ddd;
148 padding: 10px;
149 }
151 pre img { padding: 4px; }
153 .error { color: red; }
154 .ok { color: green; }
156 /* Progress bar */
158 .pct { background: #9dff4a; padding: 2px 4px; }
160 .pctbar {
161 margin: 0;
162 color: #666;
163 background: #f1f1f1;
164 border: 1px solid #ddd;
165 overflow: hidden;
166 clear: both;
167 }
169 /* Form */
171 form { display: inline; }
172 textarea { border: 2px solid #ccc; padding: 4px; width: 100%; }
173 select { min-width: 180px; }
174 input[type="submit"], input[type="text"], input[type="password"],
175 select, #tools a {
176 color: #444444;
177 border: 1px solid #cccccc;
178 padding: 4px;
179 margin: 4px 0px;
180 font-size: 14px;
181 line-height: 1.2em;
182 background-image: -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
183 background-image: -moz-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
184 -webkit-appearance: none;
185 -webkit-padding-end: 12px;
186 -webkit-padding-start: 6px;
187 }
189 input[type="text"], input[type="password"] {
190 background: #fefefe; border: 2px solid #ccc;
191 width: 460px; }
192 /*input[type="file"] { border: 2px solid #ddd; }*/
193 /*input[type="checkbox"] { background: #fefefe; }*/
195 /* Be compatible with old FF and Webkit version. */
196 input[type="submit"] {
197 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
198 -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
199 box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
200 }
202 input[type="submit"]:hover, #tools a:hover {
203 cursor: pointer;
204 color: black;
205 }
207 select {
208 background-image: url(images/down.png),
209 -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
210 background-position: center right;
211 background-repeat: no-repeat;
212 }
214 #tools {
215 padding-top: 10px;
216 margin-top: 20px;
217 /*border-top: 1px dotted #ccc;
218 position: fixed;
219 bottom: 10px;*/
220 }
221 #tools a { text-decoration: none; margin: 4px 6px 4px 0px; }
223 /* Round corner */
225 pre, .button, .pctbar, .box, #login, #account-info, #user, img,
226 input, textarea, select, #tools a {
227 -moz-border-radius: 4px;
228 -webkit-border-radius: 4px;
229 border-radius: 4px;
230 }
232 /* notes */
234 .noteclassic,.noteimportant,.notewarning,.notetip {
235 margin:2em;
236 margin-left:auto;
237 margin-right:auto;
238 width:70% !important;
239 min-height:40px;
240 clear:both;
241 text-align:justify;
242 vertical-align:middle;
243 border-collapse:collapse;
244 padding:15px 20px 15px 80px;
245 background-position:20px 50%;
246 background-repeat:no-repeat;
247 -moz-border-radius:20px;
248 -khtml-border-radius:20px;
249 border-radius:20px;
250 }
252 .noteclassic {
253 background-color:#eef;
254 background-image:url(images/note.png);
255 }
257 .noteimportant {
258 background-color:#ffc;
259 background-image:url(images/important.png);
260 }
262 .notewarning {
263 background-color:#fdd;
264 background-image:url(images/warning.png);
265 }
267 .notetip {
268 background-color:#dfd;
269 background-image:url(images/tip.png);
270 }
272 /* Footer */
274 #footer {
275 text-align: center;
276 padding: 20px;
277 border-top: 1px solid #ddd;
278 font-size: 90%;
279 }
281 #footer a { padding: 0 2px; }