Update audio menu styling to combine available devie sections and improve bluetooth spacing

This commit is contained in:
Jas Singh
2024-07-11 00:53:38 -07:00
parent 2bc344c266
commit 869e940a4b
5 changed files with 22 additions and 16 deletions

View File

@@ -38,17 +38,11 @@ const availableDevices = () => {
}), }),
], ],
}), }),
],
}),
Widget.Box({
class_name: "menu-section-container input",
vertical: true,
children: [
Widget.Box({ Widget.Box({
class_name: "menu-label-container playback", class_name: "menu-label-container input",
hpack: "fill", hpack: "fill",
child: Widget.Label({ child: Widget.Label({
class_name: "menu-label audio playback", class_name: "menu-label audio input",
hexpand: true, hexpand: true,
hpack: "start", hpack: "start",
label: "Input Devices", label: "Input Devices",

View File

@@ -32,8 +32,15 @@
} }
.menu-section-container.playback { .menu-section-container.playback {
margin-top: 0em; margin-top: 0em;
margin-bottom: 0.65em; margin-bottom: 1.35em;
} }
.menu-section-container.input { .menu-section-container.input {
margin-top: 0em; margin-top: 0em;
} }
.menu-label-container.input {
border-radius: 0em;
}
.menu-items-section.playback {
border-radius: 0em;
}

View File

@@ -40,14 +40,12 @@
} }
.bluetooth-element-item { .bluetooth-element-item {
margin-bottom: 0.5em; margin-bottom: 0.7em;
// background: $teal;
&:hover { &:hover {
color: $sky; color: $sky;
} }
image { image {
// background: $red;
margin-right: 0em; margin-right: 0em;
margin-top: 0.0em; margin-top: 0.0em;
min-height: 1em; min-height: 1em;
@@ -59,7 +57,6 @@
} }
label { label {
// background: $yellow;
font-size: 1em; font-size: 1em;
} }

View File

@@ -878,13 +878,21 @@ window#powermenu .powermenu.box {
.menu-section-container.playback { .menu-section-container.playback {
margin-top: 0em; margin-top: 0em;
margin-bottom: 0.65em; margin-bottom: 1.35em;
} }
.menu-section-container.input { .menu-section-container.input {
margin-top: 0em; margin-top: 0em;
} }
.menu-label-container.input {
border-radius: 0em;
}
.menu-items-section.playback {
border-radius: 0em;
}
.menu-items-container.network { .menu-items-container.network {
font-size: 1.3em; font-size: 1.3em;
} }
@@ -989,7 +997,7 @@ window#powermenu .powermenu.box {
color: #89dceb; color: #89dceb;
} }
.menu-items-container.bluetooth .bluetooth-element-item { .menu-items-container.bluetooth .bluetooth-element-item {
margin-bottom: 0.5em; margin-bottom: 0.7em;
} }
.menu-items-container.bluetooth .bluetooth-element-item:hover { .menu-items-container.bluetooth .bluetooth-element-item:hover {
color: #89dceb; color: #89dceb;

File diff suppressed because one or more lines are too long