forked from nico/dots
363 lines
8.8 KiB
CSS
363 lines
8.8 KiB
CSS
/* MIT License
|
|
|
|
Copyright (c) 2021 Catppuccin
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.*/
|
|
|
|
@import "colors.css";
|
|
|
|
* {
|
|
all: unset;
|
|
font-size: 14px;
|
|
/* font-family: "ComicShannsMono Nerd Font";*/
|
|
transition: 200ms;
|
|
}
|
|
|
|
trough highlight {
|
|
background: @primary;
|
|
}
|
|
|
|
scale trough {
|
|
margin: 0rem 1rem;
|
|
background-color: @background;
|
|
min-height: 8px;
|
|
min-width: 70px;
|
|
}
|
|
|
|
slider {
|
|
background-color: @yellow;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background {
|
|
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px @background;
|
|
border-radius: 12.6px;
|
|
margin: 18px;
|
|
background-color: @background;
|
|
color: @primary;
|
|
padding: 0;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background .notification {
|
|
padding: 7px;
|
|
border-radius: 12.6px;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background .notification.critical {
|
|
box-shadow: inset 0 0 7px 0 @error;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background .notification .notification-content {
|
|
margin: 7px;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background .notification .notification-content .summary {
|
|
color: @primary;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background .notification .notification-content .time {
|
|
color: @subtext0;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background .notification .notification-content .body {
|
|
color: @primary;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background .notification>*:last-child>* {
|
|
min-height: 3.4em;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background .notification>*:last-child>* .notification-action {
|
|
border-radius: 7px;
|
|
color: @primary;
|
|
background-color: @background;
|
|
box-shadow: inset 0 0 0 1px @surface1;
|
|
margin: 7px;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background .notification>*:last-child>* .notification-action:hover {
|
|
box-shadow: inset 0 0 0 1px @surface1;
|
|
background-color: @background;
|
|
color: @primary;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background .notification>*:last-child>* .notification-action:active {
|
|
box-shadow: inset 0 0 0 1px @surface1;
|
|
background-color: @error;
|
|
color: @primary;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background .close-button {
|
|
margin: 7px;
|
|
padding: 2px;
|
|
border-radius: 6.3px;
|
|
color: @background;
|
|
background-color: @error;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background .close-button:hover {
|
|
background-color: @maroon;
|
|
color: @background;
|
|
}
|
|
|
|
.floating-notifications.background .notification-row .notification-background .close-button:active {
|
|
background-color: @error;
|
|
color: @background;
|
|
}
|
|
|
|
.control-center {
|
|
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px @background;
|
|
border-radius: 12.6px;
|
|
margin: 18px;
|
|
background-color: @background;
|
|
color: @primary;
|
|
padding: 14px;
|
|
}
|
|
|
|
.control-center .widget-title>label {
|
|
color: @primary;
|
|
font-size: 1.3em;
|
|
}
|
|
|
|
.control-center .widget-title button {
|
|
border-radius: 7px;
|
|
color: @primary;
|
|
background-color: @background;
|
|
box-shadow: inset 0 0 0 1px @surface1;
|
|
padding: 8px;
|
|
}
|
|
|
|
.control-center .widget-title button:hover {
|
|
box-shadow: inset 0 0 0 1px @surface1;
|
|
background-color: @surface2;
|
|
color: @primary;
|
|
}
|
|
|
|
.control-center .widget-title button:active {
|
|
box-shadow: inset 0 0 0 1px @surface1;
|
|
background-color: @error;
|
|
color: @background;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background {
|
|
border-radius: 7px;
|
|
color: @primary;
|
|
background-color: @primary_container;
|
|
box-shadow: inset 0 0 0 1px @surface1;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background .notification {
|
|
padding: 7px;
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background .notification.critical {
|
|
box-shadow: inset 0 0 7px 0 @error;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background .notification .notification-content {
|
|
margin: 7px;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background .notification .notification-content .summary {
|
|
color: @primary;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background .notification .notification-content .time {
|
|
color: @subtext0;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background .notification .notification-content .body {
|
|
color: @primary;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background .notification>*:last-child>* {
|
|
min-height: 3.4em;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background .notification>*:last-child>* .notification-action {
|
|
border-radius: 7px;
|
|
color: @primary;
|
|
background-color: @crust;
|
|
box-shadow: inset 0 0 0 1px @surface1;
|
|
margin: 7px;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background .notification>*:last-child>* .notification-action:hover {
|
|
box-shadow: inset 0 0 0 1px @surface1;
|
|
background-color: @background;
|
|
color: @primary;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background .notification>*:last-child>* .notification-action:active {
|
|
box-shadow: inset 0 0 0 1px @surface1;
|
|
background-color: @error;
|
|
color: @primary;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background .close-button {
|
|
margin: 7px;
|
|
padding: 2px;
|
|
border-radius: 6.3px;
|
|
color: @background;
|
|
background-color: @maroon;
|
|
}
|
|
|
|
.close-button {
|
|
border-radius: 6.3px;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background .close-button:hover {
|
|
background-color: @error;
|
|
color: @background;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background .close-button:active {
|
|
background-color: @error;
|
|
color: @background;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background:hover {
|
|
box-shadow: inset 0 0 0 1px @surface1;
|
|
background-color: @overlay1;
|
|
color: @primary;
|
|
}
|
|
|
|
.control-center .notification-row .notification-background:active {
|
|
box-shadow: inset 0 0 0 1px @surface1;
|
|
background-color: @error;
|
|
color: @primary;
|
|
}
|
|
|
|
.notification.critical progress {
|
|
background-color: @error;
|
|
}
|
|
|
|
.notification.low progress,
|
|
.notification.normal progress {
|
|
background-color: @yellow;
|
|
}
|
|
|
|
.control-center-dnd {
|
|
margin-top: 5px;
|
|
border-radius: 8px;
|
|
background: @background;
|
|
border: 1px solid @surface1;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.control-center-dnd:checked {
|
|
background: @background;
|
|
}
|
|
|
|
.control-center-dnd slider {
|
|
background: @surface1;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.widget-dnd {
|
|
margin: 0px;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.widget-dnd>switch {
|
|
font-size: initial;
|
|
border-radius: 8px;
|
|
background: @background;
|
|
border: 1px solid @surface1;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.widget-dnd>switch:checked {
|
|
background: @background;
|
|
}
|
|
|
|
.widget-dnd>switch slider {
|
|
background: @surface1;
|
|
border-radius: 8px;
|
|
border: 1px solid @overlay0;
|
|
}
|
|
|
|
.widget-mpris .widget-mpris-player {
|
|
background: @background;
|
|
padding: 7px;
|
|
}
|
|
|
|
.widget-mpris .widget-mpris-title {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.widget-mpris .widget-mpris-subtitle {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.widget-menubar>box>.menu-button-bar>button>label {
|
|
font-size: 3rem;
|
|
padding: 0.5rem 2rem;
|
|
}
|
|
|
|
.widget-menubar>box>.menu-button-bar>:last-child {
|
|
color: @error;
|
|
}
|
|
|
|
.power-buttons button:hover,
|
|
.powermode-buttons button:hover,
|
|
.screenshot-buttons button:hover {
|
|
background: @background;
|
|
}
|
|
|
|
.control-center .widget-label>label {
|
|
color: @primary;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.widget-buttons-grid {
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
.widget-buttons-grid>flowbox>flowboxchild>button label {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.widget-volume {
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
.widget-volume label {
|
|
font-size: 1.5rem;
|
|
color: @error;
|
|
}
|
|
|
|
.widget-volume trough highlight {
|
|
background: @error;
|
|
}
|
|
|
|
.widget-backlight trough highlight {
|
|
background: @secondary;
|
|
}
|
|
|
|
.widget-backlight label {
|
|
font-size: 1.5rem;
|
|
color: @secondary;
|
|
}
|
|
|
|
.widget-backlight .KB {
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.image {
|
|
padding-right: 0.5rem;
|
|
}
|