forked from extern/the-glorious-startpage
183 lines
2.9 KiB
CSS
183 lines
2.9 KiB
CSS
.themeEngine {
|
|
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;
|
|
}
|
|
|
|
#themeEnginePadding {
|
|
padding: 10px;
|
|
height: auto;
|
|
}
|
|
|
|
#themeEngineHeader {
|
|
height: 32px;
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: left;
|
|
}
|
|
|
|
#themeEngineHeaderIcon {
|
|
background: url('../assets/ui-icons/theme.svg');
|
|
background-size: cover;
|
|
margin-right: 10px;
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
#themeEngineHeaderLabel {
|
|
font-family: roboto-bold, sans-serif;
|
|
font-weight: bold;
|
|
font-size: 14pt;
|
|
text-align: left;
|
|
margin-top: auto;
|
|
margin-bottom: auto;
|
|
}
|
|
|
|
#themeEngineContainer {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
#themeEngineSelect {
|
|
width: 100%;
|
|
height: 32px;
|
|
background: var(--base-container);
|
|
color: var(--base-color);
|
|
font-weight: normal;
|
|
font-style: 14pt;
|
|
border: none;
|
|
border-radius: 6px;
|
|
padding: 5px;
|
|
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
}
|
|
|
|
#themeEngineSelect:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#themeEngineSelect option {
|
|
color: initial;
|
|
border: none;
|
|
}
|
|
|
|
select::-ms-expand {
|
|
display: none;
|
|
}
|
|
|
|
#themeEngineReset,
|
|
#themeEngineAsDefault {
|
|
background: var(--base-container);
|
|
color: var(--base-color);
|
|
text-align: center;
|
|
font-family: roboto, sans-serif;
|
|
font-size: 12pt;
|
|
font-weight: 400;
|
|
|
|
width: 100%;
|
|
height: 32px;
|
|
margin-top: 5px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
border: none;
|
|
|
|
/*Center vertically*/
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#themeEngineReset:hover,
|
|
#themeEngineAsDefault:hover {
|
|
background: var(--base-hover-bg);
|
|
}
|
|
|
|
#themeEngineReset:active,
|
|
#themeEngineAsDefault:active {
|
|
background: var(--base-active-bg);
|
|
}
|
|
|
|
#themeEngineReset:focus,
|
|
#themeEngineAsDefault:focus {
|
|
outline: none;
|
|
background: var(--base-focus-bg);
|
|
}
|
|
|
|
.themeEngineGroups {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.themeEngineLabels {
|
|
font-family: roboto, sans-serif;
|
|
color: var(--base-color);
|
|
font-size: 11pt;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.backgroundColorSetter,
|
|
.foregroundColorSetter,
|
|
.blurSetter,
|
|
.animSpeedSetter {
|
|
/*Align div inside horizontally*/
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: left;
|
|
|
|
margin-top: 5px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#backgroundSet,
|
|
#foregroundSet,
|
|
#backgroundOpacitySet,
|
|
#foregroundOpacitySet {
|
|
margin-right: 2.5px;
|
|
height: 32px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
|
|
border: none;
|
|
text-align: center;
|
|
border-radius: 6px;
|
|
|
|
font-family: roboto, sans-serif;
|
|
font-size: 12pt;
|
|
font-weight: 400;
|
|
color: var(--base-color);
|
|
background: var(--panel-bg);
|
|
}
|
|
|
|
#backgroundOpacitySet,
|
|
#foregroundOpacitySet {
|
|
margin-left: 2.5px;
|
|
margin-right: 0;
|
|
width: 25%;
|
|
}
|
|
|
|
#blurSet,
|
|
#animSpeedSet {
|
|
height: 32px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
border: none;
|
|
text-align: center;
|
|
border-radius: 6px;
|
|
color: var(--base-color);
|
|
background: var(--panel-bg);
|
|
}
|
|
|
|
@media screen and (max-width: 580px) {
|
|
.themeEngine {
|
|
width: 96vw;
|
|
box-sizing: border-box;
|
|
}
|
|
} |