1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-22 19:01:50 +08:00
dotfiles/.config/swaync/style.css
2023-07-16 15:37:50 +08:00

150 lines
2.5 KiB
CSS

/*
* vim: ft=less
*/
@import "dark.less";
* {
color: @fg;
text-shadow: none;
}
.notification-row {
outline: none;
background: transparent;
}
.notification-row:focus,
.notification-row:hover {
background: @bg-hover;
}
.notification {
border-radius: 2px;
margin: 6px 12px;
box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.3);
padding: 0;
}
.notification-content {
background: transparent;
padding: 6px;
border-radius: 3px;
}
.close-button {
background: black;
color: white;
text-shadow: none;
padding: 0 2px;
box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.3);
border-radius: 50%;
}
.close-button:hover {
background: rgb(30, 30, 30);
transition: all 0.15s ease-in-out;
}
.notification-default-action,
.notification-action {
padding: 4px;
margin: 0;
box-shadow: none;
background: @bg;
border: 1px solid @border-color;
}
.notification-default-action:hover,
.notification-action:hover {
background: @bg-hover;
}
.notification-default-action {
border-radius: 3px;
}
/* When alternative actions are visible */
.notification-default-action:not(:only-child) {
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
.notification-action {
border-radius: 0px;
border-top: none;
border-right: none;
}
/* add bottom border radius to eliminate clipping */
.notification-action:first-child {
border-bottom-left-radius: 10px;
}
.notification-action:last-child {
border-bottom-right-radius: 10px;
border-right: 1px solid @border-color;
}
.body-image {
margin-top: 6px;
background-color: white;
border-radius: 3px;
}
.summary {
color: @fg;
text-shadow: none;
}
.time {
color: @fg;
text-shadow: none;
}
.body {
background: transparent;
color: @fg;
text-shadow: none;
}
.control-center-clear-all {
color: @warning;
text-shadow: none;
background: @bg;
border: 1px solid @border-color;
box-shadow: none;
border-radius: 3px;
}
.control-center-clear-all:hover {
background: @bg-hover;
}
.control-center-dnd {
border-radius: 3px;
background: @bg;
border: 1px solid @border-color;
box-shadow: none;
}
.control-center-dnd:checked {
background: @primary;
}
.control-center-dnd slider {
border-radius: 3px;
background: @bg-hover;
border: 1px solid @border-color;
}
.control-center {
background: @bg-trans;
border-radius: 5px;
border: 1px solid @border-color;
}
.control-center-list {
background: @bg-trans;
border: 1px @border-color;
border-style: dashed solid hidden solid;
}
.floating-notifications {
background: transparent;
}