Files
hyprland/config/fabric/style/main.css
T
2024-11-16 09:24:05 +05:45

500 lines
9.1 KiB
CSS

@import url(../../.cache/material/colors.css);
* {
all: unset;
color: @foreground;
font-size: 16px;
font-family: "Product Sans", Roboto, "Font Awesome 6 Free", Helvetica, Arial,
sans-serif;
}
#bar {
background-color: @surface;
padding: 3px;
}
#bar label {
font-weight: bold;
}
#start-container,
#center-container,
#end-container {
padding-top: 6px;
padding-bottom: 6px;
margin-left: 12px;
margin-right: 12px;
}
#progress {
color: transparent;
background-color: transparent;
}
#material_icon,
#material_icon * {
all: unset;
font-family: "Material Symbols Outlined", "Material Symbols Sharp";
}
#progress {
border: solid 0px @outlineVariant;
}
#logo {
font-size: 18px;
background-color: @surfaceContainer;
border-radius: 100px;
padding: 0px;
min-width: 35px;
}
#logo:hover {
background-color: mix(@secondaryContainer, @onSecondaryContainer, 0.05);
box-shadow: 00px 3px 3px -2px rgba(0, 0, 0, 0.2);
}
#logo:active {
background-image: radial-gradient(
circle,
mix(@secondaryContainer, @onSecondaryContainer, 0.1) 10%,
transparent 0%
);
box-shadow: none;
}
#workspaces {
border-radius: 100px;
font-weight: bold;
font-style: normal;
color: @onSurface;
background: @surfaceContainer;
padding: 0px 10px 0px 10px;
}
#datetime {
background-color: @surfaceContainer;
border-radius: 100px;
padding: 8px;
}
#battery {
background-color: @surfaceContainer;
border-radius: 100px;
padding: 2px 10px 2px 10px;
}
#battery label {
color: @onSurface;
font-size: 16px;
font-weight: 300;
}
#battery .icon {
color: @onSurface;
}
#battery.critical {
background-color: @error;
}
#battery.critical label,
#battery.critical .icon {
color: @onError;
}
#tray {
background-color: @surfaceContainer;
border-radius: 100px;
padding: 2px 10px 0px 10px;
}
#tray > button {
margin: 0px;
padding: 0px;
}
#tray image {
color: @onSurface;
}
#progress {
color: lighter(@outlineVariant);
border: 2px solid @onSecondaryContainer;
}
#applets {
background-color: @surfaceContainer;
border-radius: 100px;
padding: 2px 10px 2px 10px;
margin: 0px;
}
#applets .icon {
color: @onSurface;
font-weight: 900;
}
#applets > button {
color: @onSurface;
margin: 0px;
padding: 0px;
}
menu {
border-radius: 10px;
background-color: @surfaceContainer;
}
menu > menuitem {
border-radius: 0px;
padding: 6px;
margin-left: 2px;
margin-right: 2px;
color: @onSurface;
}
menu > menuitem:first-child {
margin-top: 1px;
border-radius: 8px 8px 0px 0px;
}
menu > menuitem:last-child {
margin-bottom: 1px;
border-radius: 0px 0px 8px 8px;
}
menu > menuitem:hover {
background-color: mix(@onSurface, @surface, 0.85);
}
tooltip {
background-color: @surfaceContainer;
border-radius: 11px;
outline: none;
border: none;
box-shadow: none;
}
tooltip label {
color: @onSurface;
outline: none;
border: none;
box-shadow: none;
font-weight: normal;
}
#panel-button {
margin: 0px 2px 0px 2px;
padding: 0px 5px 0px 5px;
border-style: solid;
border-width: 2px;
border-radius: 10px;
border-color: transparent;
}
#panel-button.activated {
background-color: alpha(white, 0.15);
border-style: solid;
border-color: transparent;
border-bottom-style: solid;
border-bottom-color: alpha(white, 0.5);
}
#taskbar {
border-radius: 100px;
font-weight: bold;
font-style: normal;
color: @onSurface;
background: @surfaceContainer;
padding-left: 4px;
padding-right: 4px;
}
#taskbar > button {
padding: 0px 5px;
margin: 4px 0px;
margin-right: 3px;
border-radius: 100px;
border: 0px;
}
#taskbar > button:last-child {
margin-right: 0px;
}
#launcher {
margin: 18px;
border: 1px solid @outlineVariant;
background-color: @surface;
border-radius: 24px;
padding: 18px;
}
#launcher button {
border-radius: 11px;
background-color: transparent;
background-image: none;
box-shadow: none;
}
#launcher button:focus {
box-shadow: inset 0 0 0 1px @primary;
background-color: @background;
color: @foreground;
}
#launcher button:hover {
box-shadow: inset 0 0 0 1px @background;
background-color: @background;
}
#launcher entry {
transition: all 0.1s ease;
border-radius: 11px;
color: @foreground;
background-color: @surfaceContainer;
box-shadow: inset 0 0 0 @background;
padding: 10px;
margin: 12px;
}
#launcher entry:focus {
box-shadow: inset 0 0 0 1px @primary;
background-color: @background;
}
#launcher entry:hover {
box-shadow: inset 0 0 0 1px @background;
background-color: @background;
}
#launcher entry selection {
color: @outline;
background-color: transparent;
}
#launcher button#app-item {
border-radius: 11px;
color: @foreground;
background-color: transparent;
background-image: none;
box-shadow: none;
transition: 200ms;
padding: 7px;
}
#launcher button#app-item:hover #title,
#launcher button#app-item:focus #title {
color: @primary;
}
#launcher button#app-item:hover #description,
#launcher button#app-item:focus #description {
color: @inversePrimary;
}
#launcher button#app-item:hover image,
#launcher button#app-item:focus image {
-gtk-icon-shadow: 2px 2px @primary;
}
#launcher button#app-item:active {
background-color: @primaryContainer;
border-radius: 11px;
box-shadow: inset 0 0 0 1px rgba(158, 142, 130, 0.04);
}
#launcher button#app-item:active #title {
color: @foreground;
}
#launcher button#fav-item {
border-radius: 10px;
padding: 10px;
background-image: none;
box-shadow: none;
}
#launcher button#fav-item:hover image,
#launcher button#fav-item:focus image {
-gtk-icon-shadow: 2px 2px @primary;
}
#launcher button#fav-item:active {
background-color: transparent;
border-radius: 11px;
box-shadow: inset 0 0 0 1px rgba(158, 142, 130, 0.04);
}
#launcher button#emoji-item {
border-radius: 11px;
background-color: transparent;
background-image: none;
box-shadow: none;
padding: 0px;
}
#launcher button#emoji-item:disabled {
color: mix(@onSurface, transparent, 0.38);
}
#launcher button#emoji-item label {
font-size: 27px;
}
#launcher button#emoji-item:hover,
#launcher button#emoji-item:focus {
text-shadow: 2px 2px 2px @primary;
}
#launcher button#wall-item {
border-radius: 11px;
background-color: transparent;
background-image: none;
box-shadow: none;
padding: 7px;
}
#launcher button#wall-item:disabled {
color: mix(@onSurface, transparent, 0.38);
}
#launcher button#wall-item:hover,
#launcher button#wall-item:focus {
background-color: mix(@onSurfaceVariant, @surface, 0.9);
}
#launcher button#cliphist-item {
border-radius: 11px;
background-color: transparent;
background-image: none;
box-shadow: none;
}
#launcher button#cliphist-item:disabled {
color: mix(@onSurface, transparent, 0.38);
}
#launcher button#cliphist-item:hover,
#launcher button#cliphist-item:focus {
text-shadow: 2px 2px 2px @primary;
}
#launcher button#cliphist-img-item {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
border-radius: 8px;
min-width: 70px;
min-height: 70px;
}
#launcher button#cliphist-img-item:hover,
#launcher button#cliphist-img-item:focus {
text-shadow: 2px 2px 2px @primary;
}
#launcher button#sh-item {
border-radius: 11px;
background-color: transparent;
background-image: none;
box-shadow: none;
}
#launcher button#sh-item:disabled {
color: mix(@onSurface, transparent, 0.38);
}
#launcher button#sh-item:hover,
#launcher button#sh-item:focus {
text-shadow: 2pt 2pt 2pt @primary;
}
#launcher button#help-item {
border-radius: 11px;
background-color: transparent;
background-image: none;
box-shadow: none;
}
#launcher button#help-item:hover label,
#launcher button#help-item:focus label {
text-shadow: 2px 2px 2px @primary;
}
#osd-container {
background: @surfaceContainer;
padding: 12px;
border-radius: 14px;
margin-bottom: 16px;
}
#osd-container scale {
min-width: 150px;
}
#osd-container slider {
color: @onPrimary;
background-color: @primary;
background-size: 20px 20px;
min-width: 5px;
min-height: 14px;
border-radius: 100px;
padding: 0px;
background-repeat: no-repeat;
background-position: center;
margin-left: 0px;
margin-right: 0px;
margin-top: -16px;
margin-bottom: -16px;
box-shadow:
-4px 0px 0px 1px @surfaceContainer,
4px 0px 0px 1px @surfaceContainer;
}
#osd-container trough {
background: @secondaryContainer;
min-height: 10px;
margin-right: 4px;
border-radius: 100px;
}
#osd-container highlight {
border-radius: 100px 0px 0px 100px;
background: @primary;
}
#notification {
padding: 16px;
border: solid 1px @outlineVariant;
border-radius: 20px;
margin-bottom: 12px;
background-color: @surfaceContainerLow;
min-width: 400px;
}
#notification .summary {
font-size: 20px;
font-weight: bold;
}
#notification .body {
color: darker(@foreground);
font-weight: normal;
}
#notification_action_button button.start-action {
margin-left: 0;
}
#notification_action_button button.end-action {
margin-right: 0;
}
#notification_action_button button {
padding: 0.6rem;
font-weight: 600;
border-radius: 3rem;
background-color: @outlineVariant;
}
#notification_action_button button:hover {
background-color: lighter(@outlineVariant);
}