tazpanel view styles/default/tweaks.css @ rev 533
index.cgi: add kill button
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 29 12:16:13 2015 +0200 (2015-08-29) |
parents | 470ab4241de5 |
children | a15373a181ff |
line source
1 /**
2 * CSS style for TazPanel - (C) 2011-2015 SliTaz GNU/Linux
3 */
6 body.light { background: #EBEBEB; }
7 body.dark { background: #3C3C3C; }
11 /*********************
12 * Toolbar with menu *
13 *********************/
15 .dark nav {
16 background-image: -webkit-linear-gradient(#3B3B3B, #393939);
17 border-top-color: #454545; border-bottom-color: #313131; } /*ok*/
18 .light nav {
19 background-image: -webkit-linear-gradient(#EAEAEA, #E0E0E0);
20 border-top-color: #F5F5F5; border-bottom-color: #C1C1C1; } /*ok*/
24 .light #toolbarMenu menu { background-color: #F7F7F7; border-color: #A4A4A4;} /*ok*/
25 .dark #toolbarMenu menu { background-color: #333333; border-color: #222222;} /*ok*/
29 /*******************
30 * Panes, sections *
31 *******************/
33 .dark #sidebar, .dark section {
34 border-color: #2E2E2E; /*ok*/
35 background-color: #454545; /*ok*/
36 box-shadow: inset 0 0 0 1pt hsla(0, 0%, 100%, 0.05);
37 }
38 .light #sidebar, .light section {
39 border-color: #A3A3A3; /*ok*/
40 background-color: #F5F5F5; /*ok*/
41 box-shadow: inset 1pt 1pt 0 0 #FFF, inset -1pt -1pt 0 0 #EBEBEB; /*ok*/
42 }
44 .dark #sidebar, .dark section header {
45 background-image: -webkit-linear-gradient(hsla(0, 0%, 100%, 0.04), transparent); /*ok*/
46 }
47 .light #sidebar, .light section header {
48 background-image: -webkit-linear-gradient(hsla(0, 0%, 100%, 1), hsla(0, 0%, 100%, 0)); /*ok*/
49 }
51 .dark section footer {
52 background-image: -webkit-linear-gradient(transparent, hsla(0, 0%, 0%, 0.1)); /*ok*/
53 }
54 .light section footer {
55 background-image: -webkit-linear-gradient(transparent, hsla(0, 0%, 0%, 0.1)); /*ok*/
56 }
60 .dark fieldset, .dark .scroll {
61 border-color: #313131;
62 box-shadow: inset 1pt 1pt 0 0 #3E3E3E, 1pt 1pt 0 0 #3E3E3E; /*ok*/
63 }
64 .light fieldset, .light .scroll {
65 border-color: #C1C1C1; }
66 .dark legend { background-color: #454545; }
70 /* Page first header */
72 .light h2 { color: #333; }
73 .dark h2 { color: #CCC; }
77 /* Additional headers (obsolete) */
79 .light h3 { color: hsla(0, 0%, 0%, 0.7); } /*#444*/
80 .dark h3 { color: hsla(0, 0%, 100%, 0.7); }
81 .light h4 { color: hsla(0, 0%, 0%, 0.6); } /*#666*/
82 .dark h4 { color: hsla(0, 0%, 100%, 0.6); }
86 /**********
87 * Tables *
88 **********/
90 /* Table Zebra */
91 .light .zebra tr:nth-child(odd) { background-color: #FFFFFF; } /*ok*/
92 .light .zebra tr:nth-child(even) { background-color: #ECECEC; } /*ok*/
93 .dark .zebra tr:nth-child(odd) { background-color: #4C4C4C; } /*ok*/
94 .dark .zebra tr:nth-child(even) { background-color: #484848; } /*ok*/
95 .light .zebra thead td {
96 background-image: -webkit-linear-gradient(#FFFFFF, #FFFFFF 49%, #F4F4F4 50%, #D9D9D9); /*ok*/
97 border-color: #9C9C9C hsla(0, 0%, 0%, 0.1) #B1B1B1 transparent; /*ok*/
98 box-shadow: inset 1px 0 0 hsla(0, 0%, 100%, 0.5);
99 }
100 .dark .zebra thead td {
101 background-image: -webkit-linear-gradient(#565656, #515151 49%, #484848 50%, #414141); /*ok*/
102 border-color: #282828 hsla(0, 0%, 0%, 0.1) #2F2F2F transparent; /*ok*/
103 box-shadow: inset 1px 0 0 hsla(0, 0%, 100%, 0.1);
104 }
105 .dark .zebra thead td:nth-child(1) { box-shadow: none; } /*fix*/
109 .light .borders.zebra td + td { border-color: #ddd; }
110 .dark .borders.zebra td + td { border-color: #383838; }
112 .light .borders tr { border-color: rgba(92, 92, 92, 0.1); }
113 .dark .borders tr { border-color: #111; }
115 .light .hborders thead tr { border-color: rgba(92, 92, 92, 0.1); }
116 .dark .hborders thead tr { border-color: #333; }
120 /**********************
121 * Syntax highlighter *
122 **********************/
124 .sh-comment, .conf-comment {font-style:italic}
126 .light .conf-var {color:hsl(40, 100%, 30%)} .dark .conf-var {color:hsl(40, 100%, 50%)} /*brown*/
127 .light .conf-val {color:hsl(22, 100%, 50%)} .dark .conf-val {color:hsl(22, 100%, 60%)} /*orange*/
128 .light .conf-comment {color:hsl( 0, 0%, 40%)} .dark .conf-comment {color:hsl( 0, 0%, 50%)} /*gray*/
130 .light .sh-var {color:hsl(40, 100%, 30%)} .dark .sh-var {color:hsl(40, 100%, 50%)} /*brown*/
131 .light .sh-val {color:hsl(22, 100%, 50%)} .dark .sh-val {color:hsl(22, 100%, 60%)} /*orange*/
132 .light .sh-comment {color:hsl( 0, 100%, 35%)} .dark .sh-comment {color:hsl( 0, 100%, 60%)} /*tomato*/
136 .activity-log { color: #888; }
138 .light .diff-rm {color:hsl( 0, 100%, 50%)} .dark .diff-rm {color:hsl( 0, 100%, 70%)} /*red*/
139 .light .diff-add{color:hsl(120, 100%, 40%)} .dark .diff-add{color:hsl(120, 100%, 40%)} /*green*/
140 .light .diff-at {color:hsl(240, 100%, 50%)} .dark .diff-at {color:hsl(240, 100%, 70%)} /*blue*/
142 .top { color: #00C800; font-weight: normal; }
143 .kernel-hex { color: #18A423; }
144 .kernel-id { color: #287FC7; }
145 .kernel-id2 { color: #843523; }
146 .kernel-trace { background-color: red; }
148 .lsusb-h, .lspci-h, .lsusb-t, .lspci-t { font-weight: bold; }
149 .light .lsusb-h, .light .lspci-h { color: #800; }
150 .dark .lsusb-h, .dark .lspci-h { color: #C66; }
151 .light .lsusb-t, .light .lspci-t { color: #448; }
152 .dark .lsusb-t, .dark .lspci-t { color: #66C; }
154 .xlog-timestamp { color: #287FC7; }
155 .xlog-probed, .xlog-config, .xlog-default, .xlog-cmdline, .xlog-info { color: #5A0; }
156 .xlog-notice, .xlog-warn { color: #A50; }
157 .xlog-error, .xlog-ni, .xlog-unknown { color: #F00; }
158 .xlog { cursor: help; }
162 /* Misc */
164 .dark .scroll { border-color: #2E2E2E; }
168 /***************
169 * Page footer *
170 ***************/
172 .light > footer { border-color: #C1C1C1; background-color: #EBEBEB; color: #444; }
173 .dark > footer { border-color: #313131; background-color: #3C3C3C; color: #CCC; }
175 .light > footer a { color: #555; }
176 .light > footer a:hover { color: #666; }
178 .dark > footer a { color: #BBB; }
179 .dark > footer a:hover { color: #AAA; }
183 /**********************
184 * Buttons with icons *
185 **********************/
187 /*.light a[data-icon]:not([disabled])::before,
188 .light button[data-icon]:not([disabled])::before
189 { color: #333; }*/
191 .light button[data-icon]::before {
192 text-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.9); }
194 .dark [data-icon]:not([disabled])::before, .dark [data-img] {
195 /* Experimental webkit-only styles */
196 background-image: -webkit-radial-gradient(25% 25%, #fff, #777);
197 -webkit-background-clip: text;
198 -webkit-text-fill-color: transparent;
199 }
201 a[data-icon] { white-space: pre-line; }
203 [data-icon="cancel"]::before, [data-icon="delete"]::before,
204 [data-icon="remove"]::before, [data-icon="stop"]:not([disabled])::before,
205 [data-img="help"]::before, [data-img="man"]::before,
206 [data-img="off"]::before, [data-img="remove"]::before,
207 [data-img="stop"]::before, [data-icon="pkgib"]::before,
208 [data-icon="msgerr"]::before, [data-icon="msgwarn"]::before
209 {color:#dc322f!important} /*red*/
211 [data-icon="restart"]:not([disabled])::before, [data-img="conf"]::before,
212 [data-img="slitaz"]::before, [data-icon="msgup"]::before
213 {color:#cb4b16!important} /*orange*/
215 [data-icon="ok"]::before, [data-icon="run"]::before,
216 [data-icon="start"]:not([disabled])::before, [data-img="on"]::before,
217 [data-img="opt"]::before, [data-img="run"]::before, [data-icon="pkgi"]::before,
218 [data-img="user"]::before, [data-icon="msgtip"]::before
219 {color:#859900!important} /*green*/
221 [data-img="web"]::before, [data-icon="pkg"]::before,
222 [data-icon="msg"]::before
223 {color:#268bd2!important} /*blue*/
225 /* disabled buttons with gray icons */
226 /*.light [disabled][data-icon]::before {color:#888}
227 .dark [disabled][data-icon]::before {color:#222}*/
229 .light [data-icon="tazpanel"]::before {
230 color: #EBEBEB;
231 border-color: hsl(5, 85%, 35%);
232 text-shadow: 0 1pt 2pt hsla(0, 0%, 0%, 0.9), 0 0 2pt hsla(0, 0%, 0%, 0.6);
233 background-image: -webkit-linear-gradient(top, hsl(10, 100%, 40%), hsl(0, 70%, 30%));
234 }
235 .dark [data-icon="tazpanel"]::before {
236 border-color: hsl(0, 0%, 35%);
237 }
242 /**********
243 * Inputs *
244 **********/
246 .dark textarea { border-color: #2E2E2E; }
247 .light textarea { border-color: #A3A3A3; }
251 /***********************
252 * System memory gauge *
253 ***********************/
255 .dark .sysmem { border-color: #2E2E2E; }
256 .light .sysmem { border-color: #A3A3A3; }
259 /* Disable some links to root actions */
260 .light.user [data-root] { color: #999 !important; }
261 .dark.user [data-root] { color: #666 !important; }
262 .dark.user [data-root]:before {
263 color: #666 !important; background: transparent; -webkit-text-fill-color: #666; }