tinycm view style.css @ rev 9

Add notes section on style.css (for the handbook) & images used for notes.
author Claudinei Pereira <claudinei@slitaz.org>
date Sat Sep 01 11:41:27 2012 -0300 (2012-09-01)
parents b0892064b66b
children 6841b2e2379d
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 .error { color: red; }
152 .ok { color: green; }
154 /* Progress bar */
156 .pct { background: #9dff4a; padding: 2px 4px; }
158 .pctbar {
159 margin: 0;
160 color: #666;
161 background: #f1f1f1;
162 border: 1px solid #ddd;
163 overflow: hidden;
164 clear: both;
165 }
167 /* Form */
169 form { display: inline; }
170 textarea { border: 2px solid #ccc; padding: 4px; width: 100%; }
171 select { min-width: 180px; }
172 input[type="submit"], input[type="text"], input[type="password"],
173 select, #tools a {
174 color: #444444;
175 border: 1px solid #cccccc;
176 padding: 4px;
177 margin: 4px 0px;
178 font-size: 14px;
179 line-height: 1.2em;
180 background-image: -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
181 background-image: -moz-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
182 -webkit-appearance: none;
183 -webkit-padding-end: 12px;
184 -webkit-padding-start: 6px;
185 }
187 input[type="text"], input[type="password"] {
188 background: #fefefe; border: 2px solid #ccc;
189 width: 460px; }
190 /*input[type="file"] { border: 2px solid #ddd; }*/
191 /*input[type="checkbox"] { background: #fefefe; }*/
193 /* Be compatible with old FF and Webkit version. */
194 input[type="submit"] {
195 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
196 -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
197 box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
198 }
200 input[type="submit"]:hover, #tools a:hover {
201 cursor: pointer;
202 color: black;
203 }
205 select {
206 background-image: url(images/down.png),
207 -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
208 background-position: center right;
209 background-repeat: no-repeat;
210 }
212 #tools {
213 padding-top: 10px;
214 margin-top: 20px;
215 /*border-top: 1px dotted #ccc;
216 position: fixed;
217 bottom: 10px;*/
218 }
219 #tools a { text-decoration: none; margin: 4px 6px 4px 0px; }
221 /* Round corner */
223 pre, .button, .pctbar, .box, #login, #account-info, #user, img,
224 input, textarea, select, #tools a {
225 -moz-border-radius: 4px;
226 -webkit-border-radius: 4px;
227 border-radius: 4px;
228 }
230 /* notes */
232 .noteclassic,.noteimportant,.notewarning,.notetip {
233 margin:2em;
234 margin-left:auto;
235 margin-right:auto;
236 width:70% !important;
237 min-height:40px;
238 clear:both;
239 text-align:justify;
240 vertical-align:middle;
241 border-collapse:collapse;
242 padding:15px 20px 15px 80px;
243 background-position:20px 50%;
244 background-repeat:no-repeat;
245 -moz-border-radius:20px;
246 -khtml-border-radius:20px;
247 border-radius:20px;
248 }
250 .noteclassic {
251 background-color:#eef;
252 background-image:url(images/note.png);
253 }
255 .noteimportant {
256 background-color:#ffc;
257 background-image:url(images/important.png);
258 }
260 .notewarning {
261 background-color:#fdd;
262 background-image:url(images/warning.png);
263 }
265 .notetip {
266 background-color:#dfd;
267 background-image:url(images/tip.png);
268 }
270 /* Footer */
272 #footer {
273 text-align: center;
274 padding: 20px;
275 border-top: 1px solid #ddd;
276 font-size: 90%;
277 }
279 #footer a { padding: 0 2px; }