forked from extern/the-glorious-startpage
84727755db
* centedbox css * add font-weight to the css * some cleanup
149 lines
2.5 KiB
CSS
149 lines
2.5 KiB
CSS
.weatherSettings {
|
|
font-family: roboto, sans-serif;
|
|
font-weight: 400;
|
|
width: 100%;
|
|
height: auto;
|
|
position: relative;;
|
|
border-radius: 6px;
|
|
color: var(--base-color);
|
|
background: var(--base-container);
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#weatherSettingsPadding {
|
|
padding: 10px;
|
|
height: auto;
|
|
}
|
|
|
|
#weatherSettingsHeader {
|
|
height: 32px;
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: left;
|
|
}
|
|
|
|
#weatherSettingsHeaderIcon {
|
|
background: url('../assets/ui-icons/weather.svg');
|
|
background-size: cover;
|
|
margin-right: 10px;
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
#weatherSettingsHeaderLabel {
|
|
text-align: left;
|
|
font-weight: bold;
|
|
font-size: 14pt;
|
|
margin-top: auto;
|
|
margin-bottom: auto;
|
|
}
|
|
|
|
/*Main settings*/
|
|
.weatherSettingsGroups {
|
|
height: auto;
|
|
width: 100%;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.weatherSettingsLabels {
|
|
font-size: 12pt;
|
|
text-align: left;
|
|
}
|
|
|
|
.weatherSettingsInputs {
|
|
height: 32px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
margin-top: 5px;
|
|
border: none;
|
|
text-align: center;
|
|
border-radius: 6px;
|
|
color: var(--base-color);
|
|
background: var(--panel-bg);
|
|
|
|
/*Center vertically*/
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#weatherSelectUnits {
|
|
background: var(--base-container);
|
|
color: var(--base-color);
|
|
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
}
|
|
|
|
#weatherSelectUnits:hover {
|
|
outline: none !important;
|
|
cursor: pointer;
|
|
background: var(--base-hover-bg) !important;
|
|
}
|
|
|
|
#weatherSelectUnits:focus {
|
|
outline: none !important;
|
|
background: var(--base-focus-bg) !important;
|
|
}
|
|
|
|
#weatherSelectUnits:active {
|
|
outline: none !important;
|
|
background: var(--base-active-bg) !important;
|
|
}
|
|
|
|
#weatherSelectUnits option {
|
|
color: initial;
|
|
border: none;
|
|
}
|
|
|
|
#weatherSettingsApply,
|
|
#weatherSettingsReset {
|
|
margin-top: 0;
|
|
border: none;
|
|
background: var(--base-container) !important;
|
|
}
|
|
|
|
#weatherSettingsApply {
|
|
margin-left: 2.5px;
|
|
}
|
|
|
|
#weatherSettingsReset {
|
|
margin-right: 2.5px;
|
|
}
|
|
|
|
#weatherSettingsApply:hover, #weatherSettingsReset:hover {
|
|
outline: none;
|
|
cursor: pointer;
|
|
background: var(--base-hover-bg) !important;
|
|
}
|
|
|
|
#weatherSettingsApply:active, #weatherSettingsReset:active {
|
|
outline: none;
|
|
background: var(--base-active-bg) !important;
|
|
}
|
|
|
|
#weatherSettingsApply:focus, #weatherSettingsReset:focus {
|
|
outline: none;
|
|
background: var(--base-focus-bg) !important;
|
|
}
|
|
|
|
|
|
#weatherSettingsButtons {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: left;
|
|
}
|
|
|
|
#weatherSettingsContainer {
|
|
height: auto;
|
|
}
|
|
|
|
@media screen and (max-width: 580px) {
|
|
.weatherSettings {
|
|
width: 96vw;
|
|
box-sizing: border-box;
|
|
}
|
|
} |