mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
e89a2f0bfd
We're not loading css files via resouce uris, as we want to support editing, so we need to use absolute references to any included resources.
53 lines
1.3 KiB
CSS
53 lines
1.3 KiB
CSS
@import url("resource://css_accordion/reset.css");
|
|
|
|
* {
|
|
transition-property: color, background-color, border-color, background-image, padding, border-width;
|
|
transition-duration: 1s;
|
|
|
|
font: Cantarell 20px;
|
|
}
|
|
|
|
GtkWindow {
|
|
background: linear-gradient(153deg, #151515, #151515 5px, transparent 5px) 0 0,
|
|
linear-gradient(333deg, #151515, #151515 5px, transparent 5px) 10px 5px,
|
|
linear-gradient(153deg, #222, #222 5px, transparent 5px) 0 5px,
|
|
linear-gradient(333deg, #222, #222 5px, transparent 5px) 10px 10px,
|
|
linear-gradient(90deg, #1b1b1b, #1b1b1b 10px, transparent 10px),
|
|
linear-gradient(#1d1d1d, #1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);
|
|
background-color: #131313;
|
|
background-size: 20px 20px;
|
|
}
|
|
|
|
.button {
|
|
color: black;
|
|
background-color: #bbb;
|
|
border-style: solid;
|
|
border-width: 2px 0 2px 2px;
|
|
border-color: #333;
|
|
|
|
padding: 12px 4px;
|
|
}
|
|
|
|
.button:first-child {
|
|
border-radius: 5px 0 0 5px;
|
|
}
|
|
|
|
.button:last-child {
|
|
border-radius: 0 5px 5px 0;
|
|
border-width: 2px;
|
|
}
|
|
|
|
.button:hover {
|
|
padding: 12px 48px;
|
|
background-color: #4870bc;
|
|
}
|
|
|
|
.button *:hover {
|
|
color: white;
|
|
}
|
|
|
|
.button:hover:active,
|
|
.button:active {
|
|
background-color: #993401;
|
|
}
|