Search/static/css/style-settings.css
partisan ec8ab05349
Some checks failed
Run Integration Tests / test (push) Failing after 37s
css formatting
2025-06-16 11:26:26 +02:00

112 lines
No EOL
2.2 KiB
CSS

.view-image-search {
border: 1px solid var(--snip-border);
margin: 0;
height: 100%;
width: 100%;
object-fit: cover;
object-position: center;
vertical-align: bottom;
border-radius: 4px;
}
.theme-link {
display: block;
text-decoration: none;
color: inherit;
width: 48%;
margin-bottom: 10px;
height: 150px;
position: relative;
/* Make it possible to position the tooltip */
}
.theme-link img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 4px;
border: 1px solid var(--snip-border);
transition: border-color 0.3s ease;
}
/* .theme-link:hover img {
border-color: var(--highlight);
} */
.theme-tooltip {
display: none;
/* Hidden by default */
position: absolute;
bottom: 10px;
/* Position at the bottom of the image */
left: 50%;
transform: translateX(-50%);
background-color: rgba(0, 0, 0, 0.7);
/* Semi-transparent background */
color: #fff;
padding: 5px 10px;
border-radius: 4px;
font-size: 14px;
white-space: nowrap;
}
.theme-link:hover .theme-tooltip {
display: block;
/* Show tooltip on hover */
}
.themes-settings-menu {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
background: var(--snip-background);
color: var(--fg);
border-radius: 4px;
padding: 10px;
gap: 10px;
}
#searchLanguageSelect,
#safeSearchSelect,
#siteLanguageSelect {
border-radius: 4px;
padding: 6px;
font-size: 15px;
border: 1px solid var(--border);
color: var(--font-fg);
width: 160px;
background: var(--button);
float: right;
cursor: pointer;
transition: all 0.3s ease;
text-align: center;
box-sizing: border-box;
/* Ensures consistent width with padding */
}
#searchLanguageSelect:hover,
#safeSearchSelect:hover,
#siteLanguageSelect:hover {
border: 1px solid #5f6368;
/* background-color: var(--button-hover); */
}
.save.save-settings-page {
padding: 6px;
width: 160px;
height: 40px;
}
/* Ensure correct alignment */
.settings-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.settings-row select,
.settings-row button {
width: 160px;
height: 40px;
box-sizing: border-box;
}