Huge updates: ControlCenter, DropDown Menu

This commit is contained in:
sankalp committed 2025-07-31 20:46:02 +05:45
1 parent 1f2d0a33f4
commit 9d83d960ef
34 files changed
+3261 -1440

No files matched your search

+166
View File
@@ -0,0 +1,166 @@
#control-center-menu {
background-color: transparent;
border-radius: 15px;
box-shadow: none;
margin: 0;
}
#control-center-widgets {
background-color: alpha(#000, 0.3);
box-shadow: inset 0 0 0 1px alpha(#aaa, 0.4);
border: 1px solid alpha(#111, 0.4);
border-radius: 1.25rem;
padding: 0.5rem;
}
/* Widgets */
#wifi-widget,
#bluetooth-widget {
padding: 10px;
}
.icon {
background-color: #2369ff;
font-size: 15px;
padding: 20px 20px;
}
#bluetooth-widget-label,
#wifi-widget-label {
font-size: 10px;
margin-left: 5px;
font-weight: 400;
color: #aaa;
}
#bluetooth-widget-title {
font-size: 12px;
font-weight: 500;
color: #fff;
}
#bluetooth-widget-top {
padding-bottom: 10px;
border-bottom: 1px solid alpha(#aaa, 0.3);
}
#device-icon {
border-radius: 50%;
padding: 5px;
margin-bottom: 2.5px;
margin-top: 2.5px;
margin-right: 10px;
background-color: #555;
}
#devices-title {
color: alpha(#fff, 0.6);
}
#device-icon.paired {
background-color: #888;
}
#device-icon.connected {
background-color: #2369ff;
}
#toggle-button {
min-width: 40px;
min-height: 20px;
background-color: var(--surface);
border-radius: 15px;
padding: 2px;
transition: background-color 0.3s ease;
}
#toggle-button slider {
background-color: var(--primary);
border-radius: 16px;
min-width: 16px;
min-height: 8px;
transition:
background-color 0.1s cubic-bezier(0.5, 0.25, 0, 1.25),
transform 0.25s cubic-bezier(0.5, 0.25, 0, 1.25);
}
#toggle-button:checked {
background-color: var(--primary);
}
#toggle-button:checked slider {
background-color: var(--shadow);
}
#toggle-button:checked image {
color: var(--shadow);
}
.menu {
margin: 5px;
background-color: alpha(#000, 0.3);
border: 0.5px solid alpha(#888, 0.4);
box-shadow: inset 0 0 200px 0 alpha(#111, 0.3);
border-radius: 12px;
padding: 1rem;
}
.title {
padding: 0;
font-weight: 500;
font-size: 12px;
}
.ct {
margin-left: 5px;
}
#volume-widget-icon {
margin-top: -24px;
margin-right: -30px;
color: var(--shadow);
}
#brightness-widget-icon {
margin-top: -24px;
margin-right: -25px;
color: alpha(#111, 0.6);
}
#control-center-menu slider {
background-image: none;
background-color: transparent;
padding: 2px;
min-width: 4px;
min-height: 20px;
border-radius: 20px;
}
#control-center-menu scale {
background-color: transparent;
margin-top: 10px;
border-radius: 20px;
}
#control-center-menu trough {
min-width: 25px;
border-radius: 99px;
background-color: alpha(#666, 0.5);
border: 1px solid alpha(#444, 0.3);
}
#control-center-menu highlight {
background: alpha(#fff, 0.8);
border-radius: 99px;
}
#control-center-menu mark indicator {
background: none;
background-image: none;
color: alpha(#fff, 0.2);
}
#control-center-menu mark label {
background: none;
background-image: none;
color: alpha(#fff, 0.2);
}
+61
View File
@@ -0,0 +1,61 @@
#dropdown-menu {
background-color: transparent;
border-radius: 0.75rem;
margin: 0;
}
#dropdown-options {
background-color: alpha(#000, 0.3);
box-shadow: inset 0 0 0 1px alpha(#aaa, 0.4);
border: 1px solid alpha(#111, 0.4);
border-radius: 0.75rem;
padding: 0.5rem;
}
#dropdown-option {
background-color: transparent;
border-radius: 5px;
padding: 0px 10px;
margin: 1px 2px;
transition: all 0ms ease-in-out;
}
#dropdown-option:hover {
transition: all 20ms ease-in-out;
color: #222;
background-color: alpha(#2369ff, 1);
}
#dropdown-option-label {
font-size: 12px;
margin: 0px;
color: #fff;
font-weight: 400;
}
#dropdown-option-label:first-child {
padding-right: 5rem;
}
#dropdown-option:hover #dropdown-option-keybind {
color: #fff;
}
#dropdown-option-keybind {
font-family: "Fira Code Nerd Font";
font-weight: 500;
color: #aaa;
}
/* Divider */
#dropdown-divider-box {
background-color: transparent;
border-radius: 5px;
padding: 0px 10px;
margin: 2px;
}
#dropdown-divider {
border-bottom: 1px solid alpha(#aaa, 0.3);
margin: 2px 0;
}
-21
View File
@@ -1,21 +0,0 @@
#menu-separator {
color: red;
}
#dropdown-content {
background-color: alpha(var(--shadow), 0.6);
border-radius: 8px;
}
#dropdown-label {
margin-left: 10px;
padding: 4px;
}
#dropdown-item {
border-radius: 4px;
}
#dropdown-item:hover {
background-color: var(--surface-bright);
}
+50 -29
View File
@@ -1,5 +1,7 @@
#panel {
background-color: alpha(var(--shadow), 0.6);
background-color: alpha(#010101, 0.1);
border-bottom: 1px solid alpha(#010101, 0.025);
transition: all 120ms ease-in-out;
}
#panel-icon {
@@ -8,7 +10,7 @@
#panel-button {
border-radius: 8px;
margin: 0 4px 0 6px;
margin: 0 4px 0 4px;
min-width: 20px;
min-height: 20px;
}
@@ -17,6 +19,36 @@
background-color: var(--surface-bright);
}
#battery-button {
padding-right: 3px;
padding-left: 3px;
border-radius: 8px;
}
#battery-button:hover {
background-color: var(--surface-bright);
}
#network-button {
padding-right: 3px;
padding-left: 3px;
border-radius: 8px;
}
#network-button:hover {
background-color: var(--surface-bright);
}
#bt-button {
padding-right: 3px;
padding-left: 3px;
border-radius: 8px;
}
#bt-button:hover {
background-color: var(--surface-bright);
}
#tray-button {
border-radius: 8px;
margin: 0 4px 0 0px;
@@ -29,7 +61,7 @@
}
#date-time {
margin-right: 6px;
margin: 0 10px;
}
#modules-left,
@@ -38,36 +70,25 @@
padding: 3px 0;
}
#notch-spot {
background-color: var(--surface);
.button {
border-radius: 5px;
padding: 0 5px;
margin: 0 2.5px;
background: radial-gradient(alpha(#aaa, 0) 0%, transparent, transparent);
transition: all 100ms ease-in-out;
}
#indicators-icon {
font-size: 20px;
.button:hover {
background: radial-gradient(alpha(#aaa, 0.2) 100%, transparent, transparent);
}
#bt-icon {
font-size: 18px;
}
/* .button.active { */
/* background: radial-gradient(alpha(#aaa, 0.2) 100%, transparent, transparent); */
/* } */
#indicators {
margin: 0 8px;
}
/* EnvSH Button */
#indicators-icon.alert {
color: var(--red-dim);
}
#menubar-button {
margin: 0 2px;
border-radius: 4px;
padding: 0 6px;
}
#menubar-button:hover {
background-color: var(--surface-bright);
}
#activewindow-label {
font-weight: bold;
#modus-button label {
font-size: 17px;
margin: 0 10px;
}