configuration.nix/home/wm/addon/swaync/style.css

312 lines
5.3 KiB
CSS
Raw Permalink Normal View History

2024-05-19 15:58:14 +05:30
@define-color cc-bg rgba(26, 27, 38, 1);
@define-color noti-border-color rgba(255, 255, 255, 0.15);
@define-color noti-bg rgb(17, 17, 27);
@define-color noti-bg-darker rgb(43, 43, 57);
@define-color noti-bg-hover rgb(27, 27, 43);
@define-color noti-bg-focus rgba(27, 27, 27, 0.6);
@define-color noti-close-bg rgba(255, 255, 255, 0.1);
@define-color noti-close-bg-hover rgba(255, 255, 255, 0.15);
@define-color text-color rgba(169, 177, 214, 1);
@define-color text-color-disabled rgb(150, 150, 150);
@define-color bg-selected rgb(0, 128, 255);
* {
font-family: JetBrainsMono NFM SemiBold;
}
.control-center .notification-row:focus,
.control-center .notification-row:hover {
2024-05-19 15:58:14 +05:30
opacity: 1;
background: @noti-bg-darker;
}
2024-05-19 15:58:14 +05:30
.notification-row {
outline: none;
margin: 0px;
padding: 0px;
}
.notification {
2024-05-19 15:58:14 +05:30
background: @cc-bg;
border: 2px solid #34548a;
border-radius: 5px;
margin: 3px -2px 3px 0px;
}
2024-05-19 15:58:14 +05:30
.notification-content {
background: @cc-bg;
}
2024-05-19 15:58:14 +05:30
.notification-default-action {
margin: 0;
padding: 0;
border-radius: 5px;
}
.close-button {
2024-05-19 15:58:14 +05:30
background: #f7768e;
color: @cc-bg;
text-shadow: none;
2024-05-19 15:58:14 +05:30
padding: 0px;
border-radius: 5px;
margin-top: 5px;
margin-right: 5px;
}
.close-button:hover {
box-shadow: none;
2024-05-19 15:58:14 +05:30
background: #f7768e;
transition: all 0.15s ease-in-out;
border: none;
}
.notification-action {
2024-05-19 15:58:14 +05:30
border: 2px solid #34548a;
border-top: none;
border-radius: 5px;
}
.notification-default-action:hover,
.notification-action:hover {
2024-05-19 15:58:14 +05:30
color: #7aa2f7;
background: @cc-bg;
}
.notification-default-action {
2024-05-19 15:58:14 +05:30
border-radius: 5px;
margin: 0px;
}
.notification-default-action:not(:only-child) {
2024-05-19 15:58:14 +05:30
border-bottom-left-radius: 7px;
border-bottom-right-radius: 7px;
}
.notification-action:first-child {
2024-05-19 15:58:14 +05:30
border-bottom-left-radius: 10px;
background: #1b1b2b;
}
.notification-action:last-child {
2024-05-19 15:58:14 +05:30
border-bottom-right-radius: 10px;
background: #1b1b2b;
}
2024-05-19 15:58:14 +05:30
.inline-reply {
margin-top: 8px;
}
2024-05-19 15:58:14 +05:30
.inline-reply-entry {
background: @noti-bg-darker;
color: @text-color;
caret-color: @text-color;
border: 1px solid @noti-border-color;
border-radius: 5px;
}
.inline-reply-button {
margin-left: 4px;
background: @noti-bg;
border: 1px solid @noti-border-color;
border-radius: 5px;
color: @text-color;
}
.inline-reply-button:disabled {
background: initial;
color: @text-color-disabled;
border: 1px solid transparent;
}
.inline-reply-button:hover {
background: @noti-bg-hover;
}
.image {
border-radius: 5px;
margin-right: 10px;
}
.summary {
font-size: 16px;
2024-05-19 15:58:14 +05:30
font-weight: 700;
background: transparent;
2024-05-19 15:58:14 +05:30
color: rgba(158, 206, 106, 1);
text-shadow: none;
}
.time {
font-size: 16px;
2024-05-19 15:58:14 +05:30
font-weight: 700;
background: transparent;
2024-05-19 15:58:14 +05:30
color: @text-color;
text-shadow: none;
margin-right: 18px;
}
.body {
font-size: 15px;
2024-05-19 15:58:14 +05:30
font-weight: 400;
background: transparent;
2024-05-19 15:58:14 +05:30
color: @text-color;
text-shadow: none;
}
.control-center {
2024-05-19 15:58:14 +05:30
background: @cc-bg;
border: 2px solid #34548a;
border-radius: 5px;
}
.control-center-list {
background: transparent;
}
2024-05-19 15:58:14 +05:30
.control-center-list-placeholder {
opacity: 0.5;
}
.floating-notifications {
background: transparent;
}
.blank-window {
2024-05-19 15:58:14 +05:30
background: alpha(black, 0.1);
}
.widget-title {
2024-05-19 15:58:14 +05:30
color: #7aa2f7;
background: @noti-bg-darker;
padding: 5px 10px;
margin: 10px 10px 5px 10px;
font-size: 1.5rem;
2024-05-19 15:58:14 +05:30
border-radius: 5px;
}
2024-05-19 15:58:14 +05:30
.widget-title>button {
font-size: 1rem;
color: @text-color;
text-shadow: none;
2024-05-19 15:58:14 +05:30
background: @noti-bg;
box-shadow: none;
2024-05-19 15:58:14 +05:30
border-radius: 5px;
}
2024-05-19 15:58:14 +05:30
.widget-title>button:hover {
background: #f7768e;
color: @cc-bg;
}
.widget-dnd {
2024-05-19 15:58:14 +05:30
background: @noti-bg-darker;
padding: 5px 10px;
margin: 5px 10px;
border-radius: 5px;
font-size: large;
color: #7aa2f7;
}
2024-05-19 15:58:14 +05:30
.widget-dnd>switch {
border-radius: 5px;
background: #7aa2f7;
}
2024-05-19 15:58:14 +05:30
.widget-dnd>switch:checked {
background: #f7768e;
border: 1px solid #f7768e;
}
2024-05-19 15:58:14 +05:30
.widget-dnd>switch slider,
.widget-dnd>switch:checked slider {
background: @cc-bg;
border-radius: 5px;
}
.widget-label {
2024-05-19 15:58:14 +05:30
margin: 10px 10px 5px 10px;
}
2024-05-19 15:58:14 +05:30
.widget-label>label {
font-size: 1rem;
color: @text-color;
}
.widget-mpris {
2024-05-19 15:58:14 +05:30
color: @text-color;
background: @noti-bg-darker;
padding: 5px 10px;
margin: 5px 10px 5px 10px;
border-radius: 5px;
}
2024-05-19 15:58:14 +05:30
.widget-mpris>box>button {
border-radius: 5px;
}
.widget-mpris-player {
2024-05-19 15:58:14 +05:30
padding: 5px 10px;
margin: 10px;
}
2024-05-19 15:58:14 +05:30
.widget-mpris-title {
2024-05-19 15:58:14 +05:30
font-weight: 700;
font-size: 1.25rem;
}
2024-05-19 15:58:14 +05:30
.widget-mpris-subtitle {
font-size: 1.1rem;
}
2024-05-19 15:58:14 +05:30
.widget-buttons-grid {
font-size: x-large;
padding: 5px;
margin: 5px 10px 10px 10px;
border-radius: 5px;
background: @noti-bg-darker;
}
.widget-buttons-grid>flowbox>flowboxchild>button {
margin: 3px;
background: @cc-bg;
border-radius: 5px;
color: @text-color;
}
.widget-buttons-grid>flowbox>flowboxchild>button:hover {
background: rgba(122, 162, 247, 1);
color: @cc-bg;
}
.widget-buttons-grid>flowbox>flowboxchild>button:checked {
background: rgb(158, 206, 106);
color: @cc-bg;
}
.widget-menubar>box>.menu-button-bar>button {
border: none;
background: transparent;
}
.topbar-buttons>button {
border: none;
background: transparent;
}
.widget-volume {
background: @noti-bg-darker;
padding: 5px;
margin: 5px 10px;
border-radius: 5px;
font-size: 2rem;
color: #7aa2f7;
}
.widget-backlight {
background: @noti-bg-darker;
padding: 5px;
margin: 5px 10px;
border-radius: 5px;
font-size: 2rem;
color: #7aa2f7;
}