- Style slider trough, highlight, and thumb to 14px height - Add threshold value label with font-sm and 32px min-width
147 lines
2.6 KiB
CSS
147 lines
2.6 KiB
CSS
#battery-widget {
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
.battery-main-title {
|
|
font-size: apply(font-lg);
|
|
font-weight: bold;
|
|
|
|
color: @glass-text;
|
|
margin: 6px 10px;
|
|
}
|
|
|
|
.battery-power-source {
|
|
font-size: 0.9em;
|
|
font-weight: 500;
|
|
color: @glass-text-secondary;
|
|
margin: 0px 12px;
|
|
}
|
|
|
|
.battery-section-title {
|
|
font-size: 0.9em;
|
|
font-weight: 500;
|
|
color: @glass-text;
|
|
margin: 8px 12px 4px 12px;
|
|
}
|
|
|
|
.battery-status-section {
|
|
padding: 2px;
|
|
}
|
|
|
|
.battery-percentage {
|
|
font-size: apply(font-lg);
|
|
margin-right: 8px;
|
|
font-weight: 500;
|
|
color: @glass-text;
|
|
}
|
|
|
|
#energy-mode-button-clickable,
|
|
#charge-limit-button-clickable,
|
|
#game-mode-button-clickable{
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: apply(radius-sm);
|
|
padding: 6px 12px;
|
|
margin: 1px 0;
|
|
}
|
|
|
|
#energy-mode-button-clickable:hover,
|
|
#charge-limit-button-clickable:hover,
|
|
#game-mode-button-clickable:hover {
|
|
background: @glass-hover;
|
|
}
|
|
|
|
#energy-mode-button-clickable:hover #energy-mode-icon,
|
|
#game-mode-button-clickable:hover #game-mode-icon,
|
|
#charge-limit-button-clickable:hover #charge-limit-icon {
|
|
background-color: @glass-active;
|
|
}
|
|
|
|
#energy-mode-icon,
|
|
#game-mode-icon,
|
|
#charge-limit-icon{
|
|
border-radius: apply(radius-full);
|
|
padding: 4px;
|
|
margin-top: -2px;
|
|
margin-bottom: -2px;
|
|
margin-right: 6px;
|
|
margin-left: -6px;
|
|
background-color: @glass-hover;
|
|
color: @glass-text-secondary;
|
|
}
|
|
|
|
.battery-power-source {
|
|
font-size: apply(font-sm);
|
|
margin-bottom: -4px;
|
|
color: @glass-text-secondary;
|
|
}
|
|
|
|
.battery-section-title {
|
|
font-size: apply(font-base);
|
|
color: @glass-text-secondary;
|
|
margin: 2px 0 0 8px;
|
|
}
|
|
|
|
.battery-power-mode {
|
|
font-size: apply(font-md);
|
|
}
|
|
|
|
.battery-settings-button:hover {
|
|
margin-top: -5px;
|
|
background: @glass-hover;
|
|
min-height: 30px;
|
|
border-radius: apply(radius-sm);
|
|
}
|
|
|
|
.battery-settings-button {
|
|
margin-top: -5px;
|
|
min-height: 30px;
|
|
border-radius: apply(radius-sm);
|
|
}
|
|
|
|
.battery-settings-button label {
|
|
font-weight: 500;
|
|
color: @glass-text;
|
|
}
|
|
|
|
#energy-mode-button:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
#energy-mode-button {
|
|
margin-top: -8px;
|
|
margin-bottom: 4px;
|
|
color: @glass-text-secondary;
|
|
}
|
|
|
|
|
|
#energy-mode-icon.connected,
|
|
#charge-limit-icon.connected {
|
|
background-color: @glass-active;
|
|
color: @glass-text;
|
|
}
|
|
|
|
#charge-threshold-slider {
|
|
margin: 0;
|
|
}
|
|
|
|
#charge-threshold-slider slider {
|
|
min-height: 14px;
|
|
min-width: 14px;
|
|
}
|
|
|
|
#charge-threshold-slider trough {
|
|
min-height: 14px;
|
|
}
|
|
|
|
#charge-threshold-slider highlight {
|
|
min-height: 14px;
|
|
}
|
|
|
|
.charge-threshold-value {
|
|
font-size: apply(font-sm);
|
|
font-weight: 500;
|
|
color: @glass-text;
|
|
min-width: 32px;
|
|
}
|