| 1 |
/* You can edit the text in this window to change the |
| 2 |
* appearance of this Window. |
| 3 |
* Be careful, if you screw it up, nothing might be visible |
| 4 |
* anymore. :) |
| 5 |
*/ |
| 6 |
|
| 7 |
/* This CSS resets all properties to their defaults values |
| 8 |
* and overrides all user settings and the theme in use |
| 9 |
*/ |
| 10 |
@import url("resource://css_shadows/reset.css"); |
| 11 |
@import url("resource://css_shadows/cssview.css"); |
| 12 |
|
| 13 |
/* Get a nice background for the window */ |
| 14 |
window.demo.background { |
| 15 |
background-color: #4870bc; |
| 16 |
background-image: linear-gradient(to left, transparent, rgba(255,255,255,.07) 50%, transparent 50%), |
| 17 |
linear-gradient(to left, transparent, rgba(255,255,255,.13) 50%, transparent 50%), |
| 18 |
linear-gradient(to left, transparent, transparent 50%, rgba(255,255,255,.17) 50%), |
| 19 |
linear-gradient(to left, transparent, transparent 50%, rgba(255,255,255,.19) 50%); |
| 20 |
background-size: 29px, 59px, 73px, 109px; |
| 21 |
} |
| 22 |
|
| 23 |
window.demo button { |
| 24 |
color: black; |
| 25 |
padding: 10px; |
| 26 |
border-radius: 5px; |
| 27 |
transition: all 250ms ease-in; |
| 28 |
border: 1px transparent solid; |
| 29 |
} |
| 30 |
|
| 31 |
window.demo button:hover { |
| 32 |
text-shadow: 3px 3px 5px alpha(black, 0.75); |
| 33 |
-gtk-icon-shadow: 3px 3px 5px alpha(black, 0.75); |
| 34 |
box-shadow: 3px 3px 5px alpha(black, 0.5) inset; |
| 35 |
border: solid 1px alpha(black, 0.75); |
| 36 |
} |
| 37 |
|
| 38 |
window.demo button:active { |
| 39 |
padding: 11px 9px 9px 11px; |
| 40 |
text-shadow: 1px 1px 2.5px alpha(black, 0.6); |
| 41 |
-gtk-icon-shadow: 1px 1px 2.5px alpha(black, 0.6); |
| 42 |
} |