Files
hyprland/config/swaync/style.css
T
2024-05-08 21:58:50 +05:45

420 lines
7.9 KiB
CSS

@define-color cc-bg #191919;
@define-color noti-border-color #47423E;
@define-color noti-bg #121212;
@define-color noti-bg-darker #121212;
@define-color noti-bg-hover #000000;
@define-color noti-bg-focus #000000;
@define-color noti-close-bg #1B1D1D;
@define-color noti-close-bg-hover #000000;
@define-color text-color #E0CDA5;
@define-color text-color-disabled #928374;
@define-color bg-selected #1B1D1D;
@define-color black #1C1B19;
@define-color red #F75341;
@define-color green #519F50;
@define-color yellow #FBB829;
@define-color blue #2C78BF;
@define-color purple #E02C6D;
@define-color aqua #0AAEB3;
@define-color gray #BEAC8E;
@define-color brgray #928374;
@define-color brred #F3594B;
@define-color brgreen #B1B946;
@define-color bryellow #E9B243;
@define-color brblue #80AA9E;
@define-color brpurple #D3869B;
@define-color braqua #8CBA7F;
@define-color white #BAA67F;
@define-color bg2 #504945;
* {
font-family: Iosevka Nerd Font;
/* font-weight: bolder; */
}
.control-center .notification-row:focus,
.control-center .notification-row:hover {
opacity: 1;
background: alpha(@red, 0.25);
border-radius: 0px;
margin: 0px;
}
.notification {
border-radius: 10px;
padding: 0;
border: 1px solid @noti-close-bg;
background: @noti-bg-darker;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.75);
}
.notification-content {
background: transparent;
padding: 10px;
}
.close-button {
background: @noti-close-bg;
color: @red;
text-shadow: none;
padding: 0;
border-radius: 100%;
margin-top: 20px;
margin-right: 13px;
box-shadow: none;
border: none;
min-width: 24px;
min-height: 24px
}
.close-button:hover {
box-shadow: none;
background: @noti-close-bg-hover;
transition: all .15s ease-in-out;
border: none
}
.notification-default-action,
.notification-action {
padding: 4px;
margin: 0;
box-shadow: none;
background: @noti-bg;
border: none;
color: @text-color;
transition: all .15s ease-in-out;
font-size: 11pt;
}
.notification-default-action:hover,
.notification-action:hover {
-gtk-icon-effect: none;
background: @noti-bg-hover;
/* text-shadow: 0 0 3px @text-color; */
}
.notification-default-action {
border-radius: 8px
}
.notification-default-action:not(:only-child) {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0
}
.notification-action {
border-radius: 0;
border-top: none;
border-right: none
}
.notification-action:first-child {
border-bottom-left-radius: 10px;
background: @bgblack
}
.notification-action:last-child {
border-bottom-right-radius: 10px;
background: @bgblack
}
.notification-group-headers {
font-weight: bold;
font-size: 11pt;
color: @white;
}
.notification-group-icon {
color: @red;
margin-right: 8px;
}
.notification-group-collapse-button {
background: @noti-close-bg;
border: none;
min-width: 24px;
min-height: 24px;
}
.notification-group-collapse-button:hover {
background: @noti-close-bg-hover;
color: @red;
}
.notification-group-close-all-button {
background: @noti-close-bg;
border: none;
min-width: 24px;
min-height: 24px;
}
.notification-group-close-all-button:hover {
background: @noti-close-bg-hover;
color: @red
}
.inline-reply {
margin-top: 8px
}
.inline-reply-entry {
background: @noti-bg-darker;
color: @text-color;
caret-color: @text-color;
border: 1px solid @noti-border-color;
border-radius: 10px
}
.inline-reply-button {
margin-left: 4px;
background: @noti-bg;
border: 1px solid @noti-border-color;
border-radius: 10px;
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;
}
.body-image {
margin-top: 0px;
background-color: transparent;
border-radius: 10px
}
.summary {
font-size: 11pt;
font-weight: bold;
font-style: italic;
background: transparent;
color: @purple;
margin-left: 10px;
/* text-shadow: 0 0 3px @red; */
}
.time {
font-size: 11pt;
font-weight: bold;
font-style: italic;
background: transparent;
color: @blue;
text-shadow: none;
margin-right: 10px
}
.body {
font-size: 11pt;
font-weight: normal;
background: transparent;
color: @text-color;
text-shadow: none;
font-weight: bold;
margin-left: 10px;
}
.image {
background: transparent;
border-radius: 8px;
}
.control-center {
background: alpha(@cc-bg, 0.9);
border: 1px solid @noti-close-bg;
border-radius: 10px;
margin: 10px;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 1);
}
.control-center-list {
background: transparent;
}
.control-center-list-placeholder {
opacity: .5
}
.floating-notifications .notification-row {
background: transparent;
margin: 15px 10px 0 0;
}
.blank-window {
background: alpha(black, 0.0)
}
.widget-title {
color: #2f88ff;
margin: 20px 20px 5px 20px;
font-size: 11pt;
font-weight: bold;
font-style: italic;
/* text-shadow: 0 0 3px @red; */
}
.widget-title>button {
font-size: initial;
font-weight: bold;
font-family: 'Symbols Nerd Font';
color: @purple;
text-shadow: none;
background: @noti-bg;
border: 1px solid @noti-border-color;
box-shadow: none;
border-radius: 10px;
}
.widget-title>button:hover {
background: @noti-bg-hover;
/* text-shadow: 0 0 3px @brgreen; */
}
.widget-dnd {
color: @text-color;
margin: 5px 20px 5px 20px;
font-size: 11pt;
font-weight: bold;
}
.widget-dnd>switch {
font-size: initial;
border-radius: 999px;
background: @gray;
/* border: 1px solid @bgblack; */
box-shadow: none;
padding: 1px;
transition: all .1s ease-in-out;
}
.widget-dnd>switch:checked {
background: @purple
}
.widget-dnd>switch slider {
background: @noti-bg-hover;
border-radius: 999px
}
.widget-label {
margin: 10px;
}
.widget-label>label {
font-size: 1.5rem;
color: @text-color;
}
.widget-mpris {
color: @text-color;
background: @noti-bg-darker;
padding: 10px;
margin: 10px;
border-radius: 10px;
}
.widget-mpris-player {
padding: 8px;
margin: 8px
}
.widget-mpris-title {
font-weight: 700;
font-size: 1.25rem
}
.widget-mpris-subtitle {
font-size: 1.1rem
}
.widget-buttons-grid {
font-size: x-large;
padding: 8px;
margin: 20px 10px 10px;
border-radius: 10px;
background: @noti-bg-darker;
}
.widget-buttons-grid>flowbox>flowboxchild>button {
margin: 3px;
background: @noti-bg-hover;
border-radius: 10px;
color: @text-color
}
.widget-buttons-grid>flowbox>flowboxchild>button:hover {
/* background: @noti-bg-hover; */
color: @brgreen;
/* text-shadow: 0 0 3px @white; */
}
.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: 8px;
margin: 10px;
border-radius: 10px;
font-size: x-large;
color: @text-color
}
.widget-volume>box>button {
background: transparent;
border: none
}
.per-app-volume {
background-color: @noti-bg;
padding: 4px 8px 8px;
margin: 0 8px 8px;
border-radius: 10px
}
.widget-backlight {
background: @noti-bg-darker;
padding: 8px;
margin: 10px;
border-radius: 10px;
font-size: x-large;
color: @text-color
}
.widget-inhibitors {
margin: 8px;
font-size: 1.5rem
}
.widget-inhibitors>button {
font-size: initial;
color: @text-color;
text-shadow: none;
background: @noti-bg;
border: 1px solid @noti-border-color;
box-shadow: none;
border-radius: 10px
}
.widget-inhibitors>button:hover {
background: @noti-bg-hover
}