tazbug view web/style.css @ rev 21

Improve search function and login page, use placeholder and THANKS Paul for the corrections
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 04 22:40:54 2012 +0200 (2012-04-04)
parents 5adb233a979b
children 828d018ffb0f
line source
1 /* CSS style for SliTaz Bugs */
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 { width: 100%; }
17 /* Header */
19 #header {
20 background: #351a0a;
21 height: 40px;
22 border-bottom: 8px solid #d66018;
23 }
25 #header h1 {
26 margin: 0;
27 padding: 8px 0 0 42px;
28 width: 250px;
29 }
31 #header h1 a {
32 color: white;
33 text-decoration: none;
34 font-size: 20px;
35 font-style: italic;
36 }
38 #header h1 a:hover, #network a:hover {
39 color: #d66018;
40 }
42 /* Header links */
44 #network {
45 float: right;
46 padding: 10px 5px 0;
47 font-size: 12px;
48 }
50 #network a {
51 padding: 0 6px;
52 color: #fff;
53 font-weight: bold;
54 text-decoration: none;
55 }
57 /* Logo */
59 #logo {
60 background: url(images/logo.png) no-repeat left;
61 position: absolute;
62 float: left;
63 left: 0px;
64 top: 0px;
65 width: 40px;
66 height: 40px;
67 }
69 /* Content */
71 #content {
72 margin: 40px auto;
73 text-align: justify;
74 max-width: 720px;
75 }
77 #login {
78 width: 240px;
79 float: left;
80 height: 120px;
81 }
83 #login input[type="text"], #login input[type="password"],
84 #tools input[type="text"] {
85 width: 220px; padding: 3px; }
86 #tools input[type="submit"] { padding: 3px; }
87 #login input[type="submit"] { float: none; }
89 #user {
90 min-width: 180px;
91 height: 20px;
92 float: right;
93 position: absolute;
94 right: 20px;
95 top: 68px;
96 }
97 #user a { padding: 0 4px; }
99 #account-info { width: 420px; height: 120px; float: right; }
101 #newbug textarea { width: 460px; }
103 #edit textarea { width: 100%; height: 240px; }
105 .box, pre, #user, #login, #account-info {
106 background-color: #f8f8f8;
107 border: 1px solid #ddd;
108 padding: 10px;
109 }
111 .error { color: red; }
112 .ok { color: green; }
114 /* Progress bar */
116 .pct { background: #9dff4a; padding: 2px 4px; }
118 .pctbar {
119 margin: 0;
120 color: #666;
121 background: #f1f1f1;
122 border: 1px solid #ddd;
123 overflow: hidden;
124 clear: both;
125 }
127 /* Form */
129 form { display: inline; }
130 textarea { border: 2px solid #ccc; padding: 4px; width: 100%; }
131 select { min-width: 180px; }
132 input[type="submit"], input[type="text"], input[type="password"],
133 select, #tools a {
134 color: #444444;
135 border: 1px solid #cccccc;
136 padding: 4px;
137 margin: 4px 0px;
138 font-size: 14px;
139 line-height: 1.2em;
140 background-image: -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
141 background-image: -moz-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
142 -webkit-appearance: none;
143 -webkit-padding-end: 12px;
144 -webkit-padding-start: 6px;
145 }
147 input[type="text"], input[type="password"] {
148 background: #fefefe; border: 2px solid #ccc;
149 width: 460px; }
150 /*input[type="file"] { border: 2px solid #ddd; }*/
151 /*input[type="checkbox"] { background: #fefefe; }*/
153 /* Be compatible with old FF and Webkit version. */
154 input[type="submit"] {
155 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
156 -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
157 box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
158 }
160 input[type="submit"]:hover, #tools a:hover {
161 cursor: pointer;
162 color: black;
163 }
165 select {
166 background-image: url(images/down.png),
167 -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
168 background-position: center right;
169 background-repeat: no-repeat;
170 }
172 #tools a { text-decoration: none; margin: 4px 6px 4px 0px; }
174 /* Round corner */
176 pre, .button, .pctbar, #login, #account-info, #user, img, input,
177 textarea, select, #tools a {
178 -moz-border-radius: 4px;
179 -webkit-border-radius: 4px;
180 border-radius: 4px;
181 }
183 /* Footer */
185 #footer {
186 text-align: center;
187 padding: 20px;
188 border-top: 1px solid #ddd;
189 font-size: 90%;
190 }
192 #footer a { padding: 0 2px; }