dots/ags/styles/components/_battery_info.scss

57 lines
1.0 KiB
SCSS

@use '../theme_colors.scss' as *;
window.battery_info {
font-weight: bold;
>box {
border: 1px solid $base01;
border-radius: 10px;
margin: 8px;
}
>.inner {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
background: color-mix(in srgb, $base00, transparent 15%);
padding: 0.75rem 3rem;
margin: 0;
label.percentage {
font-size: 300%;
}
* {
transition: all 0.2s ease-in-out;
color: $base0A;
}
}
button {
padding: 0.75rem 1rem;
}
}
window.battery_info button {
transition: all 0.2s ease-in-out;
background: color-mix(in srgb, $base00, transparent 15%);
border: 2px solid $base01;
margin: 5px;
&:hover {
background: $base01;
* {
color: $base0A;
}
}
&.active {
background: $base01;
border: 2px solid $base00;
* {
color: $base0A;
}
}
}