the-glorious-startpage/css/search-engine-settings.css

124 lines
2.1 KiB
CSS
Raw Normal View History

2020-06-04 05:14:29 +02:00
.searchEngine {
font-family: roboto, sans-serif;
2020-06-04 05:14:29 +02:00
width: 100%;
height: auto;
position: relative;;
border-radius: 6px;
color: var(--base-color);
background: var(--base-container);
margin-top: 10px;
}
#searchEnginePadding {
2020-06-05 05:26:07 +02:00
padding: 10px;
2020-06-04 05:14:29 +02:00
height: auto;
}
#searchEngineHeader {
height: 32px;
width: 100%;
display: flex;
flex-direction: row;
justify-content: left;
}
#searchEngineHeaderIcon {
background: url('../assets/ui-icons/internet.svg');
background-size: cover;
margin-right: 10px;
width: 28px;
height: 28px;
}
#searchEngineHeaderLabel {
text-align: left;
font-weight: bold;
font-size: 14pt;
margin-top: auto;
margin-bottom: auto;
}
#searchEngineContainer {
margin-top: 5px;
}
#searchEngineSelect {
height: 32px;
2020-06-07 08:40:45 +02:00
width: 100%;
box-sizing: border-box;
margin-top: 5px;
2020-06-04 05:14:29 +02:00
border: none;
2020-06-07 08:40:45 +02:00
text-align: center;
2020-06-04 05:14:29 +02:00
border-radius: 6px;
2020-06-07 08:40:45 +02:00
color: var(--base-color);
background: var(--base-container);
2020-06-04 05:14:29 +02:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
#searchEngineSelect:hover {
outline: none !important;
2020-06-04 05:14:29 +02:00
cursor: pointer;
background: var(--base-hover-bg) !important;
}
#searchEngineSelect:focus {
outline: none !important;
background: var(--base-focus-bg) !important;
}
#searchEngineSelect:active {
outline: none !important;
background: var(--base-active-bg) !important;
2020-06-04 05:14:29 +02:00
}
#searchEngineSelect option {
color: initial;
border: none;
}
select::-ms-expand {
display: none;
}
#searchEngineAsDefault {
background: var(--base-container);
color: var(--base-color);
text-align: center;
width: 100%;
height: 32px;
margin-top: 5px;
border-radius: 6px;
cursor: pointer;
border: none;
2020-06-04 05:14:29 +02:00
/*Center vertically*/
display: flex;
justify-content: center;
align-items: center;
}
#searchEngineAsDefault:hover {
outline: none;
2020-06-04 05:14:29 +02:00
background: var(--base-hover-bg);
}
#searchEngineAsDefault:active {
outline: none;
2020-06-04 05:14:29 +02:00
background: var(--base-active-bg);
}
#searchEngineAsDefault:focus {
outline: none;
background: var(--base-focus-bg);
}
2020-06-04 05:14:29 +02:00
@media screen and (max-width: 580px) {
.searchEngine {
width: 96vw;
box-sizing: border-box;
}
}