refactor(styles): simplify color variables and update CSS constants
Add new color palette file and refactor constant definitions to use variable tokens.
This commit is contained in:
46 files changed
+1789
-1815
No files matched your search
@@ -0,0 +1,134 @@
|
||||
#wifi-password-dialog {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* WiFi Password Dialog */
|
||||
|
||||
#wifi-dialog-background {
|
||||
background-color: @bg-a50;
|
||||
border-radius: apply(radius-md);
|
||||
border: 1px solid @fg-a10;
|
||||
padding: 20px;
|
||||
min-width: 450px;
|
||||
}
|
||||
|
||||
#wifi-dialog-title-container {
|
||||
/* margin-bottom: 12px; */
|
||||
}
|
||||
|
||||
#wifi-dialog-icon {
|
||||
color: @primary;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
#wifi-dialog-title {
|
||||
color: @foreground;
|
||||
font-size: apply(font-base);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#wifi-dialog-error {
|
||||
color: @error;
|
||||
font-size: apply(font-sm);
|
||||
font-weight: 500;
|
||||
/* margin-bottom: 8px; */
|
||||
}
|
||||
|
||||
#wifi-dialog-password-container {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
#wifi-dialog-password-label {
|
||||
color: @foreground;
|
||||
font-size: apply(font-md);
|
||||
font-weight: 500;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
#wifi-dialog-password-entry {
|
||||
background-color: @fg-a10;
|
||||
border: 1px solid @fg-a20;
|
||||
border-radius: apply(radius-xs);
|
||||
padding: 8px 12px;
|
||||
color: @foreground;
|
||||
font-size: apply(font-md);
|
||||
}
|
||||
|
||||
#wifi-dialog-password-entry:focus {
|
||||
border-color: @primary;
|
||||
box-shadow: 0 0 0 2px @primary-a30;
|
||||
background-color: @fg-a15;
|
||||
}
|
||||
|
||||
#wifi-dialog-show-password-box {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
#wifi-dialog-show-password-button {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
padding: 4px;
|
||||
border-radius: apply(radius-xs);
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
}
|
||||
|
||||
#wifi-dialog-show-password-button:hover {
|
||||
background-color: @fg-a10;
|
||||
}
|
||||
|
||||
#wifi-dialog-show-password-button image {
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
#wifi-dialog-show-password-label {
|
||||
color: @foreground;
|
||||
font-size: apply(font-sm);
|
||||
}
|
||||
|
||||
#wifi-dialog-button-box {
|
||||
margin-top: -15px;
|
||||
}
|
||||
|
||||
#wifi-dialog-cancel-button,
|
||||
#wifi-dialog-join-button {
|
||||
border-radius: apply(radius-xs);
|
||||
font-size: apply(font-md);
|
||||
font-weight: 500;
|
||||
min-width: 80px;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
#wifi-dialog-cancel-button {
|
||||
background-color: @fg-a10;
|
||||
border: 1px solid @fg-a20;
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
#wifi-dialog-cancel-button:hover {
|
||||
background-color: @fg-a15;
|
||||
}
|
||||
|
||||
#wifi-dialog-join-button {
|
||||
background-color: @primary;
|
||||
border: 1px solid @primary;
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
#wifi-dialog-join-button:hover {
|
||||
background-color: @secondary;
|
||||
border-color: @secondary;
|
||||
}
|
||||
|
||||
#wifi-dialog-join-button.disabled {
|
||||
opacity: 0.5;
|
||||
background-color: @bg-a90;
|
||||
border-color: @bg-a90;
|
||||
color: @fg-a80;
|
||||
}
|
||||
|
||||
#wifi-dialog-join-button.disabled:hover {
|
||||
background-color: @bg-a90;
|
||||
border-color: @bg-a90;
|
||||
color: @fg-a80;
|
||||
}
|
||||
@@ -0,0 +1,288 @@
|
||||
/* Apple-style seek bar for expanded player */
|
||||
#apple-seek-bar {
|
||||
background-color: transparent;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 4px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
#apple-seek-bar trough {
|
||||
min-width: 28px;
|
||||
min-height: 3px;
|
||||
border-radius: 1.5px;
|
||||
background-color: @fg-a30;
|
||||
border: none;
|
||||
box-shadow: inset 0 1px 1px @shadow-a10;
|
||||
}
|
||||
|
||||
#apple-seek-bar highlight {
|
||||
background: @primary;
|
||||
border-radius: 1.5px;
|
||||
border: none;
|
||||
box-shadow: 0 0 2px @primary-a40;
|
||||
}
|
||||
|
||||
#apple-seek-bar slider {
|
||||
background: @foreground;
|
||||
border: 1px solid @primary-a80;
|
||||
border-radius: apply(radius-full);
|
||||
min-width: 12px;
|
||||
min-height: 12px;
|
||||
margin: -4.5px;
|
||||
box-shadow:
|
||||
0 1px 3px @shadow-a20,
|
||||
0 0 0 1px @fg-a80;
|
||||
transition: all apply(transition-xfast) ease;
|
||||
}
|
||||
|
||||
#apple-seek-bar slider:hover {
|
||||
background: @foreground;
|
||||
border-color: @primary;
|
||||
min-width: 14px;
|
||||
min-height: 14px;
|
||||
margin: -5.5px;
|
||||
box-shadow:
|
||||
0 2px 6px @shadow-a25,
|
||||
0 0 0 2px @primary-a30;
|
||||
}
|
||||
|
||||
#apple-seek-bar slider:active {
|
||||
background: @foreground;
|
||||
min-width: 13px;
|
||||
min-height: 13px;
|
||||
margin: -5px;
|
||||
box-shadow:
|
||||
0 1px 3px @shadow-a30,
|
||||
0 0 0 2px @primary-a50;
|
||||
}
|
||||
|
||||
/* macOS-style expanded player - more compact */
|
||||
#macos-outer-player-box {
|
||||
min-height: 80px;
|
||||
/* Reduced height */
|
||||
min-width: 345px;
|
||||
/* Match the standard player width */
|
||||
/* margin: 10px; */
|
||||
padding: 10px;
|
||||
/* background-color: @shadow-a40; */
|
||||
}
|
||||
|
||||
#macos-main-section {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
#macos-album-cover-image image {
|
||||
min-width: 70px;
|
||||
min-height: 70px;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
#macos-album-image {
|
||||
min-width: 70px;
|
||||
min-height: 70px;
|
||||
border-radius: 9px;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
box-shadow: 0 2px 8px @shadow-a30;
|
||||
}
|
||||
|
||||
#macos-album-image-no {
|
||||
min-width: 90px;
|
||||
min-height: 90px;
|
||||
border-radius: 9px;
|
||||
margin-left: 12px;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
box-shadow: 0 2px 8px @shadow-a30;
|
||||
}
|
||||
|
||||
#macos-album-image image {
|
||||
min-width: 70px;
|
||||
min-height: 70px;
|
||||
border-radius: 9px;
|
||||
box-shadow: 0 2px 8px @shadow-a30;
|
||||
}
|
||||
|
||||
/* Track info container that expands to fill available space */
|
||||
#macos-track-info {
|
||||
margin-top: 5px;
|
||||
margin-left: 15px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
#macos-player-title {
|
||||
font-weight: 600;
|
||||
font-size: apply(font-lg);
|
||||
color: @foreground;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
#macos-player-artist {
|
||||
font-weight: 400;
|
||||
margin-top: -2px;
|
||||
font-size: apply(font-md);
|
||||
color: alpha(@fg-a40, 0.8);
|
||||
}
|
||||
|
||||
#macos-player-album {
|
||||
font-weight: 400;
|
||||
margin-top: -4px;
|
||||
font-size: apply(font-md);
|
||||
color: alpha(@fg-a40, 0.8);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/* macOS seek bar styling */
|
||||
#macos-seek-bar {
|
||||
background-color: transparent;
|
||||
margin: 8px 0 4px 0;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
#macos-seek-bar trough {
|
||||
min-width: 200px;
|
||||
|
||||
min-height: 2px;
|
||||
border-radius: apply(radius-2xs);
|
||||
background-color: @fg-a25;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#macos-seek-bar highlight {
|
||||
background: @foreground;
|
||||
border-radius: apply(radius-2xs);
|
||||
border: none;
|
||||
}
|
||||
|
||||
#macos-seek-bar slider {
|
||||
background: @foreground;
|
||||
border: none;
|
||||
border-radius: 20%;
|
||||
min-width: 1px;
|
||||
min-height: 8px;
|
||||
margin: -3px;
|
||||
box-shadow: 0 1px 3px @shadow-a30;
|
||||
transition: all apply(transition-xfast) ease;
|
||||
}
|
||||
|
||||
#macos-seek-bar slider:hover {
|
||||
min-width: 4px;
|
||||
min-height: 14px;
|
||||
margin: -5px;
|
||||
box-shadow: 0 2px 6px @shadow-a40;
|
||||
}
|
||||
|
||||
#macos-position-label,
|
||||
#macos-length-label {
|
||||
font-size: apply(font-xs);
|
||||
color: alpha(@fg-a40, 0.9);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* macOS control buttons - more compact */
|
||||
#macos-button-box {
|
||||
margin-top: -1px;
|
||||
/* Reduced top margin */
|
||||
}
|
||||
|
||||
#macos-control-button {
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: apply(radius-full);
|
||||
min-width: 28px;
|
||||
/* Slightly smaller */
|
||||
opacity: 0.7;
|
||||
min-height: 28px;
|
||||
padding: 5px;
|
||||
/* Reduced padding */
|
||||
color: @foreground;
|
||||
transition: all apply(transition-fast) ease;
|
||||
}
|
||||
|
||||
#macos-control-button:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#macos-play-button {
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: apply(radius-full);
|
||||
min-width: 36px;
|
||||
/* Slightly smaller */
|
||||
opacity: 0.7;
|
||||
min-height: 36px;
|
||||
padding: 7px;
|
||||
/* Reduced padding */
|
||||
color: @foreground;
|
||||
transition: all apply(transition-fast) ease;
|
||||
}
|
||||
|
||||
#macos-play-button:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* macOS player switcher dots - compact horizontal layout */
|
||||
#macos-stack-buttons-box {
|
||||
margin: 2px 5px;
|
||||
/* Minimal margins */
|
||||
}
|
||||
|
||||
.macos-switcher-dot {
|
||||
background: @fg-a30;
|
||||
/* border: none; */
|
||||
border-radius: apply(radius-full);
|
||||
min-width: 12px;
|
||||
/* Smaller dots */
|
||||
min-height: 12px;
|
||||
margin: 2px;
|
||||
/* Reduced margins */
|
||||
/* transition: all 0.2s ease; */
|
||||
}
|
||||
|
||||
.macos-switcher-dot:hover {
|
||||
background: @fg-a50;
|
||||
}
|
||||
|
||||
.macos-switcher-dot.active {
|
||||
background: @foreground;
|
||||
box-shadow: 0 0 0 1px @fg-a30;
|
||||
/* Smaller glow */
|
||||
}
|
||||
#expanded-seek-bar {
|
||||
background-color: transparent;
|
||||
margin: 8px 0 4px 0;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
#expanded-seek-bar trough {
|
||||
min-width: 200px;
|
||||
|
||||
min-height: 2px;
|
||||
border-radius: apply(radius-2xs);
|
||||
background-color: @fg-a25;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#expanded-seek-bar highlight {
|
||||
background: @foreground;
|
||||
border-radius: apply(radius-2xs);
|
||||
border: none;
|
||||
}
|
||||
|
||||
#expanded-seek-bar slider {
|
||||
background: @foreground;
|
||||
border: none;
|
||||
border-radius: 20%;
|
||||
min-width: 1px;
|
||||
min-height: 10px;
|
||||
margin: -3px;
|
||||
box-shadow: 0 1px 3px @shadow-a30;
|
||||
transition: all apply(transition-xfast) ease;
|
||||
}
|
||||
|
||||
#expanded-seek-bar slider:hover {
|
||||
min-width: 4px;
|
||||
min-height: 14px;
|
||||
margin: -5px;
|
||||
box-shadow: 0 2px 6px @shadow-a40;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
.title {
|
||||
font-size: apply(font-lg);
|
||||
font-family: "SF Pro Rounded";
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#separator {
|
||||
min-height: 0.09rem;
|
||||
margin: 3px 0;
|
||||
background-color: @fg-a20;
|
||||
border-radius: apply(radius-sm);
|
||||
}
|
||||
|
||||
|
||||
#control-center-menu {
|
||||
background-color: @bg-a50;
|
||||
border-radius: apply(radius-md);
|
||||
box-shadow: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
#control-center-widgets {
|
||||
/* background-color: @bg-a50; */
|
||||
box-shadow: inset 0 0 0 1px alpha(@text-dim, 0.4);
|
||||
border: 1px solid @border-strong;
|
||||
border-radius: apply(radius-md);
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
@import url("controlpanel/general.css");
|
||||
@import url("controlpanel/quicksettings.css");
|
||||
@import url("controlpanel/dialogs.css");
|
||||
@import url("controlpanel/sliders.css");
|
||||
@import url("controlpanel/per_app_volume.css");
|
||||
@import url("controlpanel/player.css");
|
||||
@import url("controlpanel/expaned-player.css");
|
||||
@import url("controlpanel/networks.css");
|
||||
@@ -0,0 +1,83 @@
|
||||
#bluetooth-title,
|
||||
#wifi-title {
|
||||
font-size: apply(font-lg);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#wifi-window,
|
||||
#bluetooth-window {
|
||||
background-color: @bg-a50;
|
||||
border-radius: apply(radius-sm);
|
||||
}
|
||||
|
||||
/* macOS-style WiFi interface */
|
||||
#wifi-connections,
|
||||
#bluetooth-connections {
|
||||
/* background-color: @fg-a08; */
|
||||
background-color: @fg-a05;
|
||||
box-shadow: inset 0 0 0 1px alpha(@fg-a40, 0.4);
|
||||
border: 1px solid @outline-a40;
|
||||
border-radius: apply(radius-sm);
|
||||
/* padding: 0.5rem; */
|
||||
/* border-radius: apply(radius-md); */
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
/* WiFi network slots - macOS style */
|
||||
#wifi-network-slot button {
|
||||
border-radius: apply(radius-sm);
|
||||
padding: 4px 4px;
|
||||
/* min-width: 280px; */
|
||||
margin: 2px 0;
|
||||
}
|
||||
|
||||
#wifi-network-slot button:hover,
|
||||
#wifi-network-button:hover {
|
||||
background-color: @fg-a18;
|
||||
border-radius: apply(radius-sm);
|
||||
}
|
||||
|
||||
#wifi-network-slot button:hover .wifi-icon-box,
|
||||
#wifi-network-button:hover .wifi-icon-box {
|
||||
background-color: @fg-a90;
|
||||
}
|
||||
|
||||
/* WiFi-specific device icon styles */
|
||||
#wifi-connections #device-icon {
|
||||
background-color: @fg-a10;
|
||||
}
|
||||
|
||||
#wifi-connections #device-icon.connected {
|
||||
background-color: @primary;
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
#wifi-network-name {
|
||||
color: @foreground;
|
||||
font-size: apply(font-base);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#wifi-lock-icon {
|
||||
color: @fg-a60;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
/* Other Networks and Settings buttons */
|
||||
#wifi-other-button {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
padding: 8px 6px;
|
||||
margin-bottom: -12px;
|
||||
margin-top: -6px;
|
||||
border-radius: apply(radius-sm);
|
||||
/* transition: background-color 0.2s ease; */
|
||||
}
|
||||
|
||||
#wifi-other-button:hover {
|
||||
background-color: @fg-a18;
|
||||
}
|
||||
|
||||
#wifi-other-button:last-child {
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
/* Per-app volume control styles */
|
||||
#per-app-volume-control {
|
||||
min-height: 140px;
|
||||
min-width: 328px;
|
||||
border-radius: apply(radius-sm);
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#apps-scrolled-container {
|
||||
min-height: 120px;
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
#back-button {
|
||||
padding: 8px 12px;
|
||||
background-color: @fg-a10;
|
||||
border-radius: apply(radius-sm);
|
||||
border: none;
|
||||
color: @foreground;
|
||||
font-size: apply(font-md);
|
||||
font-weight: 500;
|
||||
transition: background-color apply(transition-medium) ease;
|
||||
}
|
||||
|
||||
#back-button:hover {
|
||||
background-color: @fg-a18;
|
||||
}
|
||||
|
||||
.apple-app-volume-item {
|
||||
margin: 3px 0;
|
||||
padding: 16px;
|
||||
background-color: @fg-a08;
|
||||
border-radius: apply(radius-md);
|
||||
border: 1px solid @fg-a12;
|
||||
transition: background-color apply(transition-fast);
|
||||
}
|
||||
|
||||
.apple-app-volume-item:hover {
|
||||
background-color: @fg-a12;
|
||||
}
|
||||
|
||||
.apple-app-name {
|
||||
font-size: apply(font-base);
|
||||
font-weight: 600;
|
||||
color: @foreground;
|
||||
margin-bottom: 4px;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.app-volume-item {
|
||||
margin: 8px 0;
|
||||
padding: 8px;
|
||||
background-color: @fg-a05;
|
||||
border-radius: apply(radius-xs);
|
||||
border: 1px solid @fg-a10;
|
||||
}
|
||||
|
||||
.app-name {
|
||||
font-size: apply(font-md);
|
||||
font-weight: 500;
|
||||
color: @foreground;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
#per-app-volume-button {
|
||||
background-color: @fg-a15;
|
||||
border: 1px solid alpha(@fg-a40, 0.6);
|
||||
border-radius: apply(radius-full);
|
||||
}
|
||||
|
||||
#per-app-volume-button:hover {
|
||||
background-color: @fg-a25;
|
||||
box-shadow: 0 4px 12px @shadow-a20;
|
||||
}
|
||||
|
||||
#per-app-volume-button:active {
|
||||
background-color: @fg-a20;
|
||||
box-shadow: 0 1px 3px @shadow-a30;
|
||||
}
|
||||
|
||||
#per-app-volume-icon {
|
||||
background-color: @fg-a15;
|
||||
|
||||
border: 2px solid alpha(@fg-a40, 0.6);
|
||||
|
||||
border-radius: apply(radius-full);
|
||||
|
||||
min-width: 30px;
|
||||
}
|
||||
|
||||
/* Per app-volume-item */
|
||||
|
||||
.compact-app-volume-item {
|
||||
padding-bottom: 5px;
|
||||
padding-right: 14px;
|
||||
border-bottom: 1px solid @fg-a10;
|
||||
}
|
||||
|
||||
#app-icon {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.app-name-compact {
|
||||
font-size: apply(font-base);
|
||||
font-weight: bold;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
#compact-app-volume-slider scale {
|
||||
margin-right: 8px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
#app-volume-header {
|
||||
font-size: apply(font-lg);
|
||||
padding-left: 5px;
|
||||
margin-top: -2px;
|
||||
font-weight: bold;
|
||||
color: @foreground;
|
||||
}
|
||||
@@ -0,0 +1,167 @@
|
||||
#player-stack-button {
|
||||
border-radius: apply(radius-xs);
|
||||
min-width: 7px;
|
||||
min-height: 7px;
|
||||
margin: 10px 3px;
|
||||
}
|
||||
|
||||
#button-box-c {
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
#player-stack-button:hover {
|
||||
background-color: @bg-a80;
|
||||
box-shadow: inset @fg-a50 0 0 10px;
|
||||
}
|
||||
|
||||
#player-stack-button.active {
|
||||
border-radius: apply(radius-xs);
|
||||
background-color: @foreground;
|
||||
}
|
||||
|
||||
#outer-player-box {
|
||||
min-height: 110px;
|
||||
min-width: 320px;
|
||||
border-radius: apply(radius-sm);
|
||||
margin: 0 6px;
|
||||
background-color: alpha(@background, 0.3);
|
||||
box-shadow: inset 0 0 0 1px alpha(@fg-a40, 0.4);
|
||||
}
|
||||
|
||||
#outer-player-box-c {
|
||||
min-height: 55px;
|
||||
min-width: 245px;
|
||||
border-radius: apply(radius-sm);
|
||||
}
|
||||
|
||||
#outer-no-player-box-c {
|
||||
min-height: 55px;
|
||||
min-width: 345px;
|
||||
border-radius: apply(radius-sm);
|
||||
}
|
||||
|
||||
#box-c {
|
||||
background-color: alpha(@background, 0.3);
|
||||
box-shadow: inset 0 0 0 0.5px alpha(@fg-a40, 0.4);
|
||||
border: 1px solid @outline-a40;
|
||||
border-radius: apply(radius-md);
|
||||
margin-top: 0.5rem;
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
margin-bottom: 0.5rem;
|
||||
min-height: 50px;
|
||||
min-width: 330px;
|
||||
}
|
||||
|
||||
#player-box:disabled highlight,
|
||||
#player-box:disabled progress {
|
||||
background-color: @primary-a60;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
#player-info-box-c {
|
||||
margin-left: 10px;
|
||||
}
|
||||
#player-info-box {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
#player-title-c {
|
||||
/* margin-top: 18px; */
|
||||
font-weight: bold;
|
||||
font-size: apply(font-base);
|
||||
}
|
||||
#player-title {
|
||||
margin-top: 18px;
|
||||
font-weight: 700;
|
||||
font-size: apply(font-lg);
|
||||
}
|
||||
#player-title-no {
|
||||
font-weight: 700;
|
||||
margin-left: 120px;
|
||||
font-size: apply(font-lg);
|
||||
}
|
||||
#player-app-icon {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#player-artist-c {
|
||||
margin-top: -5px;
|
||||
color: @fg-a40;
|
||||
font-size: apply(font-sm);
|
||||
}
|
||||
#player-artist,
|
||||
#player-album {
|
||||
font-weight: 500;
|
||||
font-size: apply(font-sm);
|
||||
}
|
||||
|
||||
#player-controls {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.player-icon {
|
||||
font-size: apply(font-lg);
|
||||
}
|
||||
|
||||
.player-button {
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
#player-box #player-controls #button-box .player-button:disabled {
|
||||
color: @fg-a85;
|
||||
}
|
||||
|
||||
#player-button {
|
||||
opacity: 0.5;
|
||||
}
|
||||
#player-button:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
#btn svg {
|
||||
margin: 0 2px;
|
||||
}
|
||||
.album-image-c {
|
||||
min-width: 50px;
|
||||
min-height: 50px;
|
||||
background-position: center;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
background-size: cover;
|
||||
margin-left: 10px;
|
||||
border-radius: apply(radius-xs);
|
||||
}
|
||||
.album-image {
|
||||
min-width: 70px;
|
||||
min-height: 70px;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
margin-left: 12px;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
#seek-bar slider {
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#seek-bar scale {
|
||||
background-color: transparent;
|
||||
margin-top: 10px;
|
||||
border-radius: apply(radius-sm);
|
||||
}
|
||||
|
||||
#seek-bar trough {
|
||||
min-width: 10px;
|
||||
border-radius: apply(radius-full);
|
||||
background-color: alpha(@bg-a80, 0.5);
|
||||
border: 1px solid alpha(@bg-a95, 0.3);
|
||||
}
|
||||
|
||||
#seek-bar highlight {
|
||||
background: @fg-a80;
|
||||
border-radius: apply(radius-full);
|
||||
}
|
||||
@@ -0,0 +1,186 @@
|
||||
/* Widgets */
|
||||
#wifi-widget,
|
||||
#bluetooth-widget,
|
||||
#nightlight-widget {
|
||||
min-width: 140px;
|
||||
padding: 5px 0 0px 0;
|
||||
}
|
||||
|
||||
.icon {
|
||||
background-color: @primary;
|
||||
font-size: 15px;
|
||||
padding: 20px 20px;
|
||||
}
|
||||
|
||||
#bluetooth-widget-label,
|
||||
#wifi-widget-label,
|
||||
#nightlight-widget-label {
|
||||
font-size: apply(font-sm);
|
||||
margin-left: 5px;
|
||||
font-weight: 500;
|
||||
color: @fg-a40;
|
||||
}
|
||||
#bluetooth-widget-title {
|
||||
font-size: apply(font-sm);
|
||||
font-weight: 500;
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
/* #bluetooth-widget-top { */
|
||||
/* padding-bottom: 10px; */
|
||||
/* border-bottom: 1px solid alpha(@fg-a80, 0.3); */
|
||||
/* } */
|
||||
|
||||
#device-icon {
|
||||
border-radius: apply(radius-full);
|
||||
padding: 5px;
|
||||
margin-bottom: 2.5px;
|
||||
margin-top: 2.5px;
|
||||
margin-right: 10px;
|
||||
background-color: @bg-a50;
|
||||
}
|
||||
|
||||
#devices-title {
|
||||
color: @fg-a60;
|
||||
}
|
||||
|
||||
#device-icon.paired {
|
||||
background-color: @fg-a60;
|
||||
}
|
||||
|
||||
#device-icon.connected {
|
||||
background-color: @primary;
|
||||
}
|
||||
|
||||
#toggle-button {
|
||||
min-width: 40px;
|
||||
min-height: 22px;
|
||||
background-color: @fg-a30;
|
||||
border-radius: apply(radius-full);
|
||||
padding: 3px;
|
||||
transition: background-color apply(transition-slow) ease;
|
||||
}
|
||||
|
||||
#toggle-button slider {
|
||||
background-color: @foreground;
|
||||
border-radius: apply(radius-full);
|
||||
min-width: 16px;
|
||||
min-height: 16px;
|
||||
margin: -1px;
|
||||
transition: background-color apply(transition-xfast) cubic-bezier(0.5, 0.25, 0, 1.25);
|
||||
}
|
||||
|
||||
#toggle-button:checked {
|
||||
background-color: @primary;
|
||||
}
|
||||
|
||||
|
||||
.menu {
|
||||
background-color: alpha(@background, 0.3);
|
||||
box-shadow: inset 0 0 0 0.5px alpha(@fg-a40, 0.4);
|
||||
border: 1px solid @outline-a40;
|
||||
border-radius: apply(radius-md);
|
||||
margin: 5px;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
padding: 0;
|
||||
font-weight: 500;
|
||||
font-size: apply(font-sm);
|
||||
}
|
||||
|
||||
#bluetooth-widget-name,
|
||||
#wifi-widget-name,
|
||||
#nightlight-widget-name {
|
||||
margin-top: 6px;
|
||||
font-size: apply(font-base);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.ct {
|
||||
margin-left: 5px;
|
||||
}
|
||||
#control-center-menu mark indicator {
|
||||
background: none;
|
||||
background-image: none;
|
||||
color: @fg-a20;
|
||||
}
|
||||
|
||||
#control-center-menu mark label {
|
||||
background: none;
|
||||
background-image: none;
|
||||
color: @fg-a20;
|
||||
}
|
||||
|
||||
#device-button {
|
||||
background-color: transparent;
|
||||
border-radius: apply(radius-sm);
|
||||
}
|
||||
|
||||
#device-button button:hover {
|
||||
background-color: @fg-a18;
|
||||
border-radius: apply(radius-sm);
|
||||
}
|
||||
|
||||
#device-button button:hover #device-icon {
|
||||
background-color: @fg-a25;
|
||||
}
|
||||
|
||||
.device-slot:hover {
|
||||
background-color: @fg-a05;
|
||||
}
|
||||
|
||||
.button-hovered {
|
||||
background-color: @fg-a10;
|
||||
}
|
||||
|
||||
#device-button #battery-label {
|
||||
font-size: apply(font-xs);
|
||||
color: @fg-a60;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
#wifi-other-device label,
|
||||
#wifi-other-button label {
|
||||
font-size: apply(font-sm);
|
||||
font-weight: bold;
|
||||
}
|
||||
.wifi-icon-box {
|
||||
background-color: @fg-a80;
|
||||
border-radius: apply(radius-full);
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.wifi-icon-box-connected {
|
||||
background-color: @primary;
|
||||
border-radius: apply(radius-full);
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.title-widget {
|
||||
font-size: apply(font-md);
|
||||
font-family: "SF Pro Rounded";
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.status-label {
|
||||
font-size: apply(font-xs);
|
||||
font-weight: 500;
|
||||
color: @fg-a80;
|
||||
font-family: "SF Pro Rounded";
|
||||
}
|
||||
|
||||
#app-control-box {
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
#caffeine-widget,
|
||||
#flight-widget {
|
||||
padding: 0px 0 5px 0;
|
||||
min-width: 50px;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
#vol-slider-box {
|
||||
/* margin-bottom: 2px; */
|
||||
margin-top: -10px;
|
||||
/* border: 1px solid @foreground; */
|
||||
}
|
||||
|
||||
#volume-widget-slider {
|
||||
/* margin-bottom: 2px; */
|
||||
}
|
||||
|
||||
#volume-widget-icon {
|
||||
margin-left: 10px;
|
||||
color: @shadow-a40;
|
||||
}
|
||||
|
||||
#brightness-widget-icon {
|
||||
margin-left: 10px;
|
||||
color: @shadow-a40;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user