the-glorious-startpage/css/weather-settings.css

171 lines
3.0 KiB
CSS
Raw Normal View History

2020-06-04 05:49:17 +02:00
.weatherSettings {
font-family: roboto, sans-serif;
font-weight: 400;
2020-06-04 05:49:17 +02:00
width: 100%;
height: auto;
position: relative;;
border-radius: 6px;
color: var(--base-color);
background: var(--base-container);
margin-top: 10px;
}
#weatherSettingsPadding {
2020-06-05 05:26:07 +02:00
padding: 10px;
2020-06-04 05:49:17 +02:00
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 {
2020-06-11 04:33:21 +02:00
font-family: roboto-bold, sans-serif;
2020-06-04 05:49:17 +02:00
font-weight: bold;
font-size: 14pt;
2020-06-11 04:33:21 +02:00
text-align: left;
2020-06-04 05:49:17 +02:00
margin-top: auto;
margin-bottom: auto;
}
/*Main settings*/
.weatherSettingsGroups {
height: auto;
width: 100%;
margin-top: 5px;
transition: all var(--transition-speed);
2020-06-04 05:49:17 +02:00
}
.weatherSettingsLabels {
2020-06-11 04:33:21 +02:00
font-family: roboto, sans-serif;
font-size: 11pt;
font-weight: 400;
2020-06-04 05:49:17 +02:00
text-align: left;
}
.hideWeatherSettings {
height: 0;
opacity: 0;
pointer-events: none;
transition: height var(--transition-speed),
opacity var(--transition-speed);
}
2020-06-04 05:49:17 +02:00
.weatherSettingsInputs {
height: 32px;
width: 100%;
box-sizing: border-box;
margin-top: 5px;
border: none;
text-align: center;
border-radius: 6px;
2020-06-11 04:33:21 +02:00
2020-06-04 05:49:17 +02:00
background: var(--panel-bg);
2020-06-11 04:33:21 +02:00
font-family: roboto, sans-serif;
font-size: 12pt;
font-weight: 400;
color: var(--base-color);
2020-06-04 05:49:17 +02:00
/*Center vertically*/
display: flex;
justify-content: center;
align-items: center;
}
#weatherSelectUnits,
#weatherSelectLocator {
2020-06-04 05:49:17 +02:00
background: var(--base-container);
color: var(--base-color);
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
#weatherSelectUnits:hover,
#weatherSelectLocator:hover {
outline: none !important;
2020-06-04 05:49:17 +02:00
cursor: pointer;
background: var(--base-hover-bg) !important;
}
#weatherSelectUnits:focus,
#weatherSelectLocator:focus {
outline: none !important;
background: var(--base-focus-bg) !important;
}
#weatherSelectUnits:active,
#weatherSelectLocator:active {
outline: none !important;
background: var(--base-active-bg) !important;
2020-06-04 05:49:17 +02:00
}
#weatherSelectUnits option,
#weatherSelectLocator option {
2020-06-04 05:49:17 +02:00
color: initial;
border: none;
}
#weatherSettingsApply,
#weatherSettingsReset {
2020-06-04 05:49:17 +02:00
margin-top: 0;
border: none;
2020-06-04 05:49:17 +02:00
background: var(--base-container) !important;
}
#weatherSettingsApply {
margin-left: 2.5px;
}
#weatherSettingsReset {
margin-right: 2.5px;
}
#weatherSettingsApply:hover, #weatherSettingsReset:hover {
outline: none;
2020-06-04 05:49:17 +02:00
cursor: pointer;
background: var(--base-hover-bg) !important;
2020-06-04 05:49:17 +02:00
}
#weatherSettingsApply:active, #weatherSettingsReset:active {
outline: none;
2020-06-04 05:49:17 +02:00
background: var(--base-active-bg) !important;
}
#weatherSettingsApply:focus, #weatherSettingsReset:focus {
outline: none;
background: var(--base-focus-bg) !important;
}
2020-06-04 05:49:17 +02:00
#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;
}
}