* Resolves #13 - Added on-screen-displays to indicate volume and brightness changes. * <3 Aylur * Update brightness logic for osd * Update brightness labels * Fixed typos in the settings menu component. * Added options to toggle OSD and change its orientation.
124 lines
3.2 KiB
SCSS
124 lines
3.2 KiB
SCSS
@import "../colors";
|
|
@import '../../variables';
|
|
|
|
.menu-items.media {
|
|
background: if($bar-menus-monochrome, $bar-menus-background, $bar-menus-menu-media-background-color);
|
|
border-color: if($bar-menus-monochrome, $bar-menus-border-color, $bar-menus-menu-media-border-color);
|
|
}
|
|
|
|
.menu-items-container.media {
|
|
min-width: 23em;
|
|
min-height: 10em;
|
|
|
|
.menu-section-container {
|
|
margin: 1em 0em;
|
|
}
|
|
|
|
.menu-items-section {
|
|
border-radius: $bar-menus-card_radius;
|
|
padding: 0em;
|
|
}
|
|
|
|
.menu-content {
|
|
border-radius: 0.4em;
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
|
|
.media-content {
|
|
margin: 1em;
|
|
}
|
|
|
|
.media-indicator-current-song-name {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.media-indicator-current-song-author {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.media-indicator-current-song-name-label {
|
|
color: if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-media-song);
|
|
font-size: 1.35em;
|
|
}
|
|
|
|
.media-indicator-current-song-author-label {
|
|
color: if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-media-artist);
|
|
font-size: 1em;
|
|
}
|
|
|
|
.media-indicator-current-song-album-label {
|
|
color: if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-media-album);
|
|
font-size: 1em;
|
|
}
|
|
|
|
.media-indicator-current-controls {
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.media-indicator-control-button {
|
|
margin: 0rem 0.5rem;
|
|
}
|
|
|
|
.media-indicator-control-button {
|
|
background: if($bar-menus-monochrome, $bar-menus-buttons-default, $bar-menus-menu-media-buttons-background);
|
|
color: if($bar-menus-monochrome, $bar-menus-buttons-text, $bar-menus-menu-media-buttons-text);
|
|
min-height: 1.8em;
|
|
min-width: 2.5em;
|
|
border-radius: 0.2rem;
|
|
|
|
&.disabled {
|
|
background: if($bar-menus-monochrome, $bar-menus-buttons-disabled, $bar-menus-menu-media-buttons-inactive);
|
|
}
|
|
|
|
&.enabled {
|
|
background: if($bar-menus-monochrome, $bar-menus-buttons-default, $bar-menus-menu-media-buttons-background);
|
|
|
|
&:hover {
|
|
background: transparentize(if($bar-menus-monochrome, $bar-menus-buttons-default, $bar-menus-menu-media-buttons-background), 0.5);
|
|
}
|
|
|
|
&.active {
|
|
background: if($bar-menus-monochrome, $bar-menus-buttons-default, $bar-menus-menu-media-buttons-enabled);
|
|
|
|
&:hover {
|
|
background: transparentize(if($bar-menus-monochrome, $bar-menus-buttons-default, $bar-menus-menu-media-buttons-enabled), 0.5);
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
image {
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.menu-slider.media.progress {
|
|
margin-top: 1em;
|
|
margin-bottom: 1em;
|
|
|
|
trough {
|
|
background: if($bar-menus-monochrome, $bar-menus-slider-background, $bar-menus-menu-media-slider-background);
|
|
border-radius: 0.2em;
|
|
|
|
highlight,
|
|
progress {
|
|
border-radius: 0.2em;
|
|
min-height: .85em;
|
|
background: if($bar-menus-monochrome, $bar-menus-slider-primary, $bar-menus-menu-media-slider-primary);
|
|
}
|
|
}
|
|
|
|
slider {
|
|
background: if($bar-menus-monochrome, $bar-menus-slider-puck, $bar-menus-menu-media-slider-puck);
|
|
}
|
|
|
|
&:hover {
|
|
trough {
|
|
background: transparentize(if($bar-menus-monochrome, $bar-menus-slider-backgroundhover, $bar-menus-menu-media-slider-backgroundhover), 0.3);
|
|
}
|
|
}
|
|
}
|
|
}
|