Files
Arch_Hyprland_dots/.config/swaync/style.css
T
2026-01-08 11:17:46 +03:00

440 lines
8.5 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* vim: ft=less
*/
@define-color cc-bg rgba(50, 50, 79, 0.5);
@define-color border-color rgb(83, 86, 133);
@define-color noti-border-color rgba(0, 0, 50, 0.6);
@define-color noti-bg rgba(0, 0, 48, 0.3);
@define-color noti-bg-darker rgba(0, 0, 38, 0.4);
@define-color noti-bg-hover rgba(0, 0, 56, 0.5);
@define-color noti-bg-focus rgba(0, 0, 0, 0.0);
@define-color noti-close-bg rgba(0, 0, 255, 0.4);
@define-color noti-close-bg-hover rgba(0, 0, 255, 0.7);
@define-color text-color rgba(145, 200, 228, 255);
@define-color text-color-disabled rgb(0, 0, 150);
@define-color bg-unselected rgb(28, 110, 164);
@define-color bg-selected rgba(145, 200, 228, .8);
.notification-row {
outline: none;
}
.notification-row:focus,
.notification-row:hover {
background: @noti-bg-focus;
}
.notification {
background: rgba(0, 0, 70, 0.2);
border-radius: 24px;
margin: 6px 6px;
/*box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.7),
0 2px 6px 2px rgba(0, 0, 0, 0.3);*/
box-shadow: 0 0 0 0px rgba(0, 0, 0, 0), 0 0px 0px 0px rgba(0, 0, 0, 0), 0 0px 0px 0px rgba(0, 0, 0, 0);
padding: 0;
}
/* Uncomment to enable specific urgency colors
.low {
background: yellow;
padding: 6px;
border-radius: 24px;
}
.normal {
background: green;
padding: 6px;
border-radius: 24px;
}
.critical {
background: red;
padding: 6px;
border-radius: 24px;
}
*/
.notification-content {
background: transparent;
padding: 10px;
border-radius: 24px;
}
.close-button {
background: @noti-close-bg;
color: @text-color;
text-shadow: none;
padding: 0;
border-radius: 100%;
margin-top: 10px;
margin-right: 16px;
box-shadow: none;
border: none;
min-width: 24px;
min-height: 24px;
}
.close-button:hover {
box-shadow: none;
background: @noti-close-bg-hover;
transition: all 0.15s ease-in-out;
border: none;
}
.notification-default-action,
.notification-action {
padding: 4px;
margin: 0;
box-shadow: none;
background: @noti-bg;
border: 1px solid @noti-border-color;
color: @text-color;
transition: all 0.15s ease-in-out;
}
.notification-default-action:hover,
.notification-action:hover {
/*-gtk-icon-effect: none;*/
background: @noti-bg-hover;
}
.notification-default-action {
border-radius: 24px;
}
/* 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 @noti-border-color;
}
.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: 24px;
}
.inline-reply-button {
margin-left: 4px;
background: @noti-bg;
border: 1px solid @noti-border-color;
border-radius: 24px;
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 {
}
.body-image {
margin-top: 6px;
background-color: white;
border-radius: 24px;
}
.summary {
font-size: 16px;
font-weight: bold;
background: transparent;
color: @text-color;
text-shadow: none;
}
.time {
font-size: 16px;
background: transparent;
color: @text-color;
text-shadow: none;
margin-right: 18px;
}
.body {
font-size: 16px;
border-radius: 24px;
font-weight: normal;
background: transparent;
color: @text-color;
text-shadow: none;
}
.control-center {
background: @cc-bg;
border-radius: 24px;
border: 2px solid @border-color;
color: @text-color;
}
.control-center-list {
background: transparent;
border-radius: 24px;
}
.control-center-list-placeholder {
opacity: 0.8;
}
.floating-notifications {
background: transparent;
border-radius: 24px;
}
/* Window behind control center and on all other monitors */
.blank-window {
background: alpha(black, 0.0);
}
/*** Widgets ***/
/* Title widget */
.widget-title {
margin: 8px;
font-size: 1.8rem;
}
.widget-title > button {
font-size: initial;
color: @text-color;
/*color: rgb(0, 230, 255)*/;
text-shadow: none;
background: @noti-bg;
border: 1px solid @noti-border-color;
box-shadow: none;
border-radius: 24px;
}
.widget-title > button:hover {
background: @noti-bg-hover;
}
/* DND widget */
.widget-dnd {
margin: 15px 8px 8px;
font-size: 1.2rem;
}
.widget-dnd > switch {
font-size: initial;
border-radius: 24px;
background: @bg-unselected;
border: 1px solid @bg-unselected;
box-shadow: none;
}
.widget-dnd > switch:checked {
background: @bg-selected;
}
.widget-dnd > switch slider {
background: @noti-bg-hover;
border-radius: 24px;
}
/* Label widget */
.widget-label {
margin: 8px;
}
.widget-label > label {
font-size: 1.1rem;
}
/* Mpris widget */
/* ------------------------
Container & Player Card
------------------------ */
.widget-mpris {
margin: 8px; /* spacing around the entire MPRIS widget */
}
.widget-mpris .widget-mpris-player {
margin: 4px; /* inner card padding */
border-radius: 12px; /* rounded corners */
box-shadow: 0 0 10px rgba(37, 36, 35, 0.75);
}
/* -------------------------
Blurred Background Layer
------------------------- */
.widget-mpris .widget-mpris-player .mpris-background {
filter: blur(10px);
}
/* -------------------
Overlay & Controls
------------------- */
.widget-mpris .widget-mpris-player .mpris-overlay {
padding: 8px;
background-color: rgba(60, 56, 54, 0.55);
}
/* Button hover state */
.widget-mpris .widget-mpris-player .mpris-overlay button:hover {
background-color: var(--noti-bg-hover);
}
/* -----------------
Album Art & Text
----------------- */
.widget-mpris .widget-mpris-player .mpris-overlay .widget-mpris-album-art {
border-radius: 12px;
box-shadow: 0 0 10px rgba(37, 36, 35, 0.75);
-gtk-icon-size: 96px;
}
.widget-mpris .widget-mpris-player .mpris-overlay .widget-mpris-title {
font-weight: bold;
font-size: 1.25rem;
color: var(--text-color);
}
.widget-mpris .widget-mpris-player .mpris-overlay .widget-mpris-subtitle {
font-size: 1.1rem;
color: var(--text-color);
}
/* ----------------
Control Buttons
---------------- */
.widget-mpris .widget-mpris-player .mpris-overlay > box > button {
color: var(--text-color);
}
.widget-mpris .widget-mpris-player .mpris-overlay > box > button:disabled {
color: var(--text-disabled);
}
/* Buttons widget */
.widget-buttons-grid {
padding: 8px;
margin: 8px;
border-radius: 24px;
background-color: @noti-bg;
}
.widget-buttons-grid>flowbox>flowboxchild>button{
background: @noti-bg;
border-radius: 24px;
}
.widget-buttons-grid>flowbox>flowboxchild>button:hover {
background: @noti-bg-hover;
}
.widget-buttons-grid>flowbox>flowboxchild>button:active {
background: @noti-bg-hover;
color: cyan; /* tıklanırken yeşile dönsün */
}
.widget-buttons-grid>flowbox>flowboxchild>button:checked {
background: @noti-bg-hover;
color: cyan; /* kalıcı aktif durumda mavi */
}
/* Menubar widget */
.widget-menubar>box>.menu-button-bar>button {
border: none;
background: transparent;
}
/* .AnyName { Name defined in config after #
background-color: @noti-bg;
padding: 8px;
margin: 8px;
border-radius: 12px;
// }
.AnyName>button {
background: transparent;
border: none;
}
.AnyName>button:hover {
background-color: @noti-bg-hover;
} */
.topbar-buttons>button { /* Name defined in config after # */
border: none;
background: transparent;
}
/* Volume widget */
.widget-volume {
background-color: @noti-bg;
padding: 8px;
margin: 8px;
border-radius: 24px;
}
.widget-volume>box>button {
background: transparent;
border: none;
}
.per-app-volume {
background-color: @noti-bg-alt;
padding: 4px 8px 8px 8px;
margin: 0px 8px 8px 8px;
border-radius: 24px
}
/* Backlight widget */
.widget-backlight {
background-color: @noti-bg;
padding: 8px;
margin: 8px;
border-radius: 24px;
}
/* Title widget */
.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: 24px;
}
.widget-inhibitors > button:hover {
background: @noti-bg-hover;
}