update css
This commit is contained in:
1 parent
a18c3d5249
commit
4e0fa33ba5
3 files changed
+109
-102
No files matched your search
+8
-12
@@ -3,14 +3,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#bar.start-container {
|
#bar.start-container {
|
||||||
padding-top: 4px;
|
padding-top: 2px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 2px;
|
||||||
border-bottom-right-radius: 15px;
|
border-bottom-right-radius: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bar.end-container {
|
#bar.end-container {
|
||||||
padding-top: 4px;
|
padding-top: 2px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 2px;
|
||||||
border-bottom-left-radius: 15px;
|
border-bottom-left-radius: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -25,15 +25,11 @@
|
|||||||
|
|
||||||
#bar.hidden {
|
#bar.hidden {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
padding: 3px;
|
|
||||||
margin-bottom: -52px;
|
|
||||||
transition: all 0.5s cubic-bezier(0.5, 0.25, 0, 1);
|
transition: all 0.5s cubic-bezier(0.5, 0.25, 0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#bar.visible {
|
#bar.visible {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
padding: 3px;
|
|
||||||
margin-bottom: 0px;
|
|
||||||
transition: all 0.5s cubic-bezier(0.5, 0.25, 0, 1);
|
transition: all 0.5s cubic-bezier(0.5, 0.25, 0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -54,7 +50,7 @@
|
|||||||
|
|
||||||
#button-bar-label {
|
#button-bar-label {
|
||||||
color: @primary;
|
color: @primary;
|
||||||
font-size: 24px;
|
font-size: 20px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
transition: all 0.1s ease;
|
transition: all 0.1s ease;
|
||||||
}
|
}
|
||||||
@@ -99,7 +95,7 @@
|
|||||||
#updated-icon {
|
#updated-icon {
|
||||||
color: @primary;
|
color: @primary;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
padding: 8px;
|
padding: 4px;
|
||||||
border-radius: 99px;
|
border-radius: 99px;
|
||||||
transition: all 0.1s ease;
|
transition: all 0.1s ease;
|
||||||
}
|
}
|
||||||
@@ -172,7 +168,7 @@
|
|||||||
#battery-balanced-label,
|
#battery-balanced-label,
|
||||||
#battery-performance-label {
|
#battery-performance-label {
|
||||||
color: @outline;
|
color: @outline;
|
||||||
font-size: 24px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery-save:hover,
|
#battery-save:hover,
|
||||||
@@ -317,7 +313,7 @@ menu > menuitem:hover > label {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#system-indicator-icon {
|
#system-indicator-icon {
|
||||||
font-size: 24px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
+35
-41
@@ -6,10 +6,10 @@
|
|||||||
@import "./dashboard.css";
|
@import "./dashboard.css";
|
||||||
|
|
||||||
* {
|
* {
|
||||||
all: unset;
|
all: unset;
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-family: "Product Sans", sans-serif;
|
font-family: "Product Sans", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -17,66 +17,60 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
tooltip {
|
tooltip {
|
||||||
background-color: @surfaceContainer;
|
border: solid 1px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
padding: 6px 10px;
|
border-color: @surface;
|
||||||
outline: none;
|
background-color: @shadow;
|
||||||
border: none;
|
animation: tooltipShow 0.25s cubic-bezier(0.5, 0.25, 0, 1);
|
||||||
box-shadow: none;
|
|
||||||
animation: tooltipShow 0.25s cubic-bezier(0.5, 0.25, 0, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
tooltip label {
|
|
||||||
color: @onSurface;
|
|
||||||
outline: none;
|
|
||||||
border: none;
|
|
||||||
box-shadow: none;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes tooltipShow {
|
@keyframes tooltipShow {
|
||||||
from {
|
from {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
to {
|
to {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
tooltip > * {
|
||||||
|
padding: 6px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ── dock ──────────────────────────────────────────────────────────────
|
* ── dock ──────────────────────────────────────────────────────────────
|
||||||
*/
|
*/
|
||||||
#dock-icon {
|
#dock-icon {
|
||||||
padding: 0px 2px 0px 2px;
|
padding: 0px 2px 0px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#dock {
|
#dock {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
background-color: alpha(@background, 0.8);
|
background-color: alpha(@shadow, 0.5);
|
||||||
box-shadow: inset 0 -0.5px 0 0.5px alpha(@outlineVariant, 0.4);
|
border: 0.5px solid alpha(@outlineVariant, 0.4);
|
||||||
border: 0.5px solid alpha(@outlineVariant, 0.4);
|
border-radius: 12px;
|
||||||
border-radius: 12px;
|
margin-bottom: 2px;
|
||||||
margin-bottom: 2px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#dock-separator {
|
#dock-separator {
|
||||||
border-right: 1px solid alpha(@foreground, 0.3);
|
border-right: 1px solid alpha(@foreground, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
#dock-app-button {
|
#dock-app-button {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.show-dock {
|
.show-dock {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hide-dock {
|
.hide-dock {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
margin: -80px;
|
margin: -80px;
|
||||||
}
|
}
|
||||||
+66
-49
@@ -1,63 +1,80 @@
|
|||||||
#notification {
|
#notification-action-buttons button.start-action {
|
||||||
padding: 16px;
|
|
||||||
border: solid 1px @outlineVariant;
|
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
margin-bottom: 12px;
|
|
||||||
background-color: @surfaceContainerLow;
|
|
||||||
min-width: 350px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.notification-header .summary {
|
|
||||||
font-size: 0.92rem;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.notification-body .body {
|
|
||||||
color: darker(@foreground);
|
|
||||||
font-weight: 600;
|
|
||||||
font-size: 0.92rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#notification .close-button {
|
|
||||||
border-radius: 100px;
|
|
||||||
min-width: 40px;
|
|
||||||
min-height: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#notification .close-button:hover {
|
|
||||||
background: alpha(@foreground, 0.2);
|
|
||||||
transition: background 0.15s ease-in-out;
|
|
||||||
border-radius: 100px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#notification-action-button button.start-action {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#notification-action-button button.end-action {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#notification-action-buttons button {
|
#notification-action-buttons button {
|
||||||
padding: 0.6rem;
|
background-color: @surfaceContainer;
|
||||||
font-weight: 600;
|
padding: 8px;
|
||||||
border-radius: 100px;
|
border-radius: 20px;
|
||||||
background-color: transparent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#notification-action-buttons button:hover {
|
#notification-action-buttons button:hover {
|
||||||
background-color: lighter(@outlineVariant);
|
background-color: @surfaceBright;
|
||||||
}
|
}
|
||||||
|
|
||||||
#notification-icon {
|
#notification-action-buttons button:active {
|
||||||
margin-right: 5px;
|
background-color: @primary;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image {
|
#notification-action-buttons button:active #button-label {
|
||||||
border-radius: 30px;
|
color: @shadow;
|
||||||
}
|
}
|
||||||
|
|
||||||
#notification-circular-progress-bar {
|
#notification-image image {
|
||||||
border: solid 0px @outlineVariant;
|
border-radius: 16px;
|
||||||
color: transparent;
|
color: @onSurface;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notification-summary,
|
||||||
|
#button-label {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notification-summary {
|
||||||
|
font-weight: bold;
|
||||||
|
color: @primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notification-app-name {
|
||||||
|
color: @outline;
|
||||||
|
}
|
||||||
|
|
||||||
|
#action-button {
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notification-box {
|
||||||
|
border-radius: 20px;
|
||||||
|
padding: 16px;
|
||||||
|
background-color: @surfaceContainerLow;
|
||||||
|
margin: 4px;
|
||||||
|
min-width: 336px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#boxed-notification-revealer {
|
||||||
|
margin-top: -14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notif-close-button {
|
||||||
|
background-color: @surface;
|
||||||
|
border-radius: 16px;
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notif-close-button:hover,
|
||||||
|
#notif-close-button:focus {
|
||||||
|
background-color: @surfaceBright;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notif-close-button:active {
|
||||||
|
background-color: @error;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notif-close-label {
|
||||||
|
color: @error;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notif-close-button:active #notif-close-label {
|
||||||
|
color: @shadow;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user