tazbug view web/style.css @ rev 105

Overall improvments
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 10 18:12:00 2017 +0100 (2017-02-10)
parents 61e512bd800b
children 1a43d9e16913
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: 98%;
14 }
15 textarea { width: 100%; }
17 /* Header */
19 #header {
20 background: #222;
21 height: 40px;
22 border-bottom: 4px solid #afafaf;
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 {
39 color: #afafaf;
40 }
42 /* Header links */
44 #network {
45 float: right;
46 padding: 14px 5px 0;
47 font-size: 12px;
48 margin-right: 100px;
49 }
51 #network a {
52 padding: 0 4px;
53 color: #fff;
54 font-weight: bold;
55 text-decoration: none;
56 }
58 #network a:hover, #user a:hover { color: #cfcfcf; }
60 /* Logo */
62 #logo {
63 background: url(images/logo.png) no-repeat left;
64 position: absolute;
65 float: left;
66 left: 0px;
67 top: 0px;
68 width: 40px;
69 height: 40px;
70 }
72 /* Login and user box */
74 #login {
75 min-width: 300px;
76 float: left;
77 height: 140px;
78 }
80 #login input[type="text"], #login input[type="password"] {
81 width: 280px; }
83 #login input[type="submit"] { float: none; }
85 #user {
86 background-color: #333;
87 padding: 4px;
88 width: 84px;
89 float: right;
90 font-size: 12px;
91 position: absolute;
92 right: 10px;
93 top: 6px;
94 }
95 #user a { padding: 0 2px; color: #fff;
96 font-weight: bold; text-decoration: none; }
98 #account-info { width: 360px; height: 140px; float: right; }
100 /* Search */
102 #search {
103 position: absolute;
104 right: 20px;
105 top: 60px;
106 }
108 #search input[type="text"] { width: 200px; }
110 /* Content */
112 #content {
113 margin: 40px auto;
114 padding: 0 20px;
115 text-align: justify;
116 max-width: 720px;
117 }
119 #newbug textarea, #edit textarea { width: 490px; height: 180px; }
121 /* #edit textarea { width: 100%; height: 240px; } */
123 .box, pre, #login, #account-info {
124 background-color: #f8f8f8;
125 border: 1px solid #ddd;
126 padding: 10px;
127 }
129 pre img { margin: 4px 4px 4px 0px; }
131 .error { color: red; }
132 .ok { color: green; }
133 .date { color: #666; font-size: 96%; }
135 /* Progress bar */
137 .pct { background: #9dff4a; padding: 2px 4px; }
139 .pctbar {
140 margin: 0;
141 color: #666;
142 background: #f1f1f1;
143 border: 1px solid #ddd;
144 overflow: hidden;
145 clear: both;
146 }
148 /* Form */
150 form { display: inline; }
151 textarea { border: 2px solid #ccc; padding: 4px; min-height: 60px; }
152 select { min-width: 180px; }
153 input[type="submit"], input[type="text"], input[type="password"],
154 select, #tools a {
155 color: #444444;
156 border: 1px solid #afafaf;
157 padding: 4px;
158 margin: 4px 0px;
159 font-size: 14px;
160 line-height: 1.2em;
161 background-image: -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
162 background-image: -moz-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
163 -webkit-appearance: none;
164 -webkit-padding-end: 12px;
165 -webkit-padding-start: 6px;
166 }
168 input[type="text"], input[type="password"] {
169 background: #fefefe; border: 2px solid #ccc;
170 width: 480px; }
171 /*input[type="file"] { border: 2px solid #ddd; }*/
172 /*input[type="checkbox"] { background: #fefefe; }*/
174 /* Be compatible with old FF and Webkit version. */
175 input[type="submit"] {
176 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
177 -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
178 box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
179 }
181 input[type="submit"]:hover, #tools a:hover {
182 cursor: pointer;
183 color: black;
184 }
186 select {
187 background-image: url(images/down.png),
188 -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
189 background-position: center right;
190 background-repeat: no-repeat;
191 }
193 #tools {
194 padding-top: 10px;
195 /*margin-top: 20px;
196 border-top: 1px dotted #ccc;
197 position: fixed;
198 bottom: 10px;*/
199 }
200 #tools a { text-decoration: none; margin: 4px 6px 4px 0px; }
202 /* Round corner */
204 pre, .button, .pctbar, #login, #account-info, #user, img, input,
205 textarea, select, #tools a {
206 -moz-border-radius: 4px;
207 -webkit-border-radius: 4px;
208 border-radius: 4px;
209 }
211 /* Footer */
213 #footer {
214 text-align: center;
215 padding: 20px;
216 border-top: 1px solid #ddd;
217 font-size: 90%;
218 }
220 #footer a { padding: 0 2px; }