tazpanel diff styles/default/tweaks.css @ rev 426
Code cleaning; add icons for packages and "toggle" to tazpanel.ttf; merge checkbox.js with tazpanel.js.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 27 14:28:32 2015 +0200 (2015-03-27) |
parents | a279382f786f |
children | b0146d791379 |
line diff
1.1 --- a/styles/default/tweaks.css Wed Mar 25 00:38:04 2015 +0200 1.2 +++ b/styles/default/tweaks.css Fri Mar 27 14:28:32 2015 +0200 1.3 @@ -184,24 +184,10 @@ 1.4 * Buttons with icons * 1.5 **********************/ 1.6 1.7 -.light .icon:before, 1.8 -.light .icon2:before, 1.9 -.light [class|="icon"]:before { 1.10 - text-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.3), 0 0 3px hsla(0, 0%, 100%, 0.7); } 1.11 -.dark .icon:before, 1.12 -.dark .icon2:before { 1.13 - text-shadow: 0 0 3px hsla(0, 0%, 0%, 0.7), 0 1px 0 hsla(0, 0%, 0%, 0.3); } 1.14 +.light button[data-icon]::before { 1.15 + text-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.9); } 1.16 1.17 -.dark.nowebkit [data-icon]::before { 1.18 - text-shadow: 1.19 - 0 1px 0 hsla(0, 0%, 0%, 0.7), 0 -1px 0 hsla(0, 0%, 0%, 0.4), 1.20 - 1px 0 0 hsla(0, 0%, 0%, 0.4), -1px 0 0 hsla(0, 0%, 0%, 0.4); } 1.21 -.light button[data-icon]::before, button { 1.22 - text-shadow: 1.23 - 0 1px 0 hsla(0, 0%, 100%, 0.9) /*, 0 -1px 0 hsla(0, 0%, 100%, 0.6), 1.24 - 1px 0 0 hsla(0, 0%, 100%, 0.6), -1px 0 0 hsla(0, 0%, 100%, 0.6)*/; } 1.25 - 1.26 -.dark [data-icon]:before, .dark [data-img] { 1.27 +.dark [data-icon]:not([disabled])::before, .dark [data-img] { 1.28 /* Experimental webkit-only styles */ 1.29 background-image: -webkit-radial-gradient(25% 25%, #fff, #777); 1.30 -webkit-background-clip: text; 1.31 @@ -211,21 +197,22 @@ 1.32 a[data-icon] { white-space: pre-line; } 1.33 1.34 [data-icon="cancel"]::before, [data-icon="delete"]::before, 1.35 -[data-icon="remove"]::before, [data-icon="stop"]::before, 1.36 +[data-icon="remove"]::before, [data-icon="stop"]:not([disabled])::before, 1.37 [data-img="help"]::before, [data-img="man"]::before, 1.38 [data-img="off"]::before, [data-img="remove"]::before, 1.39 -[data-img="stop"]::before {color:#dc322f} /*red*/ 1.40 +[data-img="stop"]::before, [data-icon="pkgib"]::before {color:#dc322f} /*red*/ 1.41 1.42 -[data-icon="restart"]::before, [data-img="conf"]::before {color:#cb4b16} /*orange*/ 1.43 +[data-icon="restart"]:not([disabled])::before, [data-img="conf"]::before {color:#cb4b16} /*orange*/ 1.44 1.45 [data-icon="ok"]::before, [data-icon="run"]::before, 1.46 -[data-icon="start"]::before, [data-img="on"]::before, 1.47 -[data-img="opt"]::before, [data-img="run"]::before {color:#859900} /*green*/ 1.48 +[data-icon="start"]:not([disabled])::before, [data-img="on"]::before, 1.49 +[data-img="opt"]::before, [data-img="run"]::before, [data-icon="pkgi"]::before {color:#859900} /*green*/ 1.50 1.51 -[data-img="web"]::before {color:#268bd2} /*blue*/ 1.52 +[data-img="web"]::before {color:#268bd2}, [data-icon="pkg"]::before /*blue*/ 1.53 1.54 /* disabled buttons with gray icons */ 1.55 -[disabled][data-icon]:before { color: #888; } 1.56 +/*.light [disabled][data-icon]::before {color:#888} 1.57 +.dark [disabled][data-icon]::before {color:#222}*/ 1.58 1.59 1.60