tazpanel view styles/default/style.css @ rev 41

Better CSS for pkgs.cgi and handle packages category as fast as we can
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 06 19:02:07 2011 +0200 (2011-04-06)
parents fa59528e8bdf
children a7b1d69663c3
line source
1 /*
2 CSS style for TazPanel - (C) 2011 SliTaz GNU/Linux
3 */
5 /* To always have a scroll bar */
6 html {
7 min-height: 102%;
8 }
10 body {
11 background: #ffffff;
12 color: black;
13 font: 13px sans-serif, vernada, arial;
14 margin: 25px 0 0;
15 }
17 h1 { color: #d66018; padding: 10px 0 0 40px;}
18 h2 { color: #444; margin: 10px 0 10px; }
19 h3 { color: #666; font-size: 140%; }
20 h4 { color: #888; font-size: 120%; }
21 img { border: 0pt none; vertical-align: middle; padding: 0px 6px 2px 0;}
22 p { margin: 6px 0; }
23 ul { list-style-type: none; padding: 0; }
24 li { padding: 4px 0; }
25 a { text-decoration: none; color: #666; }
26 a:hover { color: #000; }
28 /* Header and main title */
30 #header {
31 height: 52px;
32 border-bottom: 1px dotted #ddd;
33 }
35 /* Desktop gui style bar */
37 #toolbar {
38 position: fixed;
39 top: 0;
40 left: 0;
41 height: 24px;
42 width: 100%;
43 padding: 0 0 0 0;
44 background-color: #f1efeb;
45 border-bottom: 1px solid #c1baad;
46 z-index: 200;
47 cursor: default;
48 }
49 #menu { margin: 4px 8px; }
50 #menu a { padding: 2px 4px; color: #000; cursor: default; }
51 #menu a:hover { color: #444; }
52 #icons { margin: 2px 8px; float: right; }
53 #icons img { padding: 0; }
55 .progress { cursor: progress; }
57 /* Blocks */
59 #block { float: left; }
61 /* Sidebar menus */
63 #sidebar {
64 position: fixed;
65 top: 187px;
66 right: 5px;
67 width: 116px;
68 }
70 #sidebar a {
71 display: block;
72 padding: 1px 0 1px 12px;
73 margin:0;
74 }
76 #sidebar a.active {
77 color: #000;
78 font-weight: bold;
79 /* Vertical tab alike menu
80 background-color: #f8f8f8;
81 border-top: 1px solid #ddd;
82 border-bottom: 1px solid #ddd;
83 border-right: 1px solid #ddd;
84 border-top-right-radius: 4px;
85 border-bottom-right-radius: 4px; */
86 }
87 #sidebar h4 { margin: 0 0 2px 12px; }
89 /* Content */
91 #content { margin: 20px 40px 20px 40px; }
92 #content-sidebar { margin: 20px 120px 20px 40px; }
93 #wrapper { margin: 10px 0 20px; }
95 .search {
96 position: absolute;
97 right: 40px;
98 top: 32px;
99 }
101 .search input[type=submit] {
102 padding: 4px;
103 margin-left: -5px;
104 background-color: #f1f1f1;
105 border: 1px solid #ddd;
106 cursor: pointer;
107 color: #000;
108 font-weight: bold;
109 border-top-right-radius: 4px;
110 border-bottom-right-radius: 4px;
111 border-top-left-radius: 0px;
112 border-bottom-left-radius: 0px;
113 }
115 .search input[type=text] {
116 border: 1px solid #ddd;
117 padding: 4px;
118 height: 17px;
119 margin: 0;
120 border-top-left-radius: 4px;
121 border-bottom-left-radius: 4px;
122 }
124 #actions {
125 height: 20px;
126 margin: 16px 0;
127 }
129 .box {
130 margin: 10px 0;
131 padding: 12px;
132 background: #f8f8f8;
133 border: 1px solid #ddd;
134 }
136 .debug {
137 position: fixed;
138 top: 20px;
139 left: 5px;
140 padding: 6px 20px;
141 background-color: #f8f8f8;
142 border: 1px solid #ddd;
143 }
145 .float-left { float: left; }
146 .float-right { float: right; }
148 /* Table */
150 table {
151 background-color: #f8f8f8;
152 border: 1px solid #ddd;
153 padding: 10px;
154 width: 100%;
155 margin: 0 0 6px 0;
156 }
158 table a { color: #000; }
159 table a:hover { color: #666; }
160 td.pkg { max-width: 160px; }
161 td.desc { max-width: 300px; }
163 #thead, thead {
164 height: 10px;
165 font-weight: bold;
166 }
168 /* Misc */
170 pre, .pre-main {
171 background-color: #f8f8f8;
172 border: 1px solid #ddd;
173 padding: 10px;
174 margin: 10px 0;
175 overflow: auto;
176 }
178 .pre-main { margin: 16px 0; }
180 input[type=submit], select, .button {
181 padding: 4px;
182 margin: 0;
183 background-color: #f1f1f1;
184 border: 1px solid #ddd;
185 cursor: pointer;
186 color: #000;
187 }
189 input[type=submit]:hover, select:hover, .button:hover {
190 background-color: #ddd;
191 border: 1px solid #999;
192 }
194 input[type=text] { height: 18px; }
196 /* Round corner */
198 table, pre, input[type=submit], .debug, .box, .button {
199 /*-moz-border-radius: 4px;
200 -webkit-border-radius: 4px; */
201 border-radius: 4px;
202 }
204 /* Footer */
206 #footer {
207 /* border-bottom: 1px solid #c1baad; */
208 height: 25px;
209 text-align: center;
210 padding: 40px 10px;
211 font-size: 11px;
212 }