Search/static/css/style-settings.css

112 lines
2.2 KiB
CSS
Raw Normal View History

2024-12-07 23:07:19 +01:00
.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;
}
2024-08-15 13:31:15 +02:00
.theme-link {
display: block;
text-decoration: none;
color: inherit;
width: 48%;
margin-bottom: 10px;
height: 150px;
2025-06-16 11:26:26 +02:00
position: relative;
/* Make it possible to position the tooltip */
2024-08-15 13:31:15 +02:00
}
.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 {
2025-06-16 11:26:26 +02:00
display: none;
/* Hidden by default */
2024-08-15 13:31:15 +02:00
position: absolute;
2025-06-16 11:26:26 +02:00
bottom: 10px;
/* Position at the bottom of the image */
2024-08-15 13:31:15 +02:00
left: 50%;
transform: translateX(-50%);
2025-06-16 11:26:26 +02:00
background-color: rgba(0, 0, 0, 0.7);
/* Semi-transparent background */
2024-08-15 13:31:15 +02:00
color: #fff;
padding: 5px 10px;
border-radius: 4px;
font-size: 14px;
white-space: nowrap;
}
.theme-link:hover .theme-tooltip {
2025-06-16 11:26:26 +02:00
display: block;
/* Show tooltip on hover */
2024-08-15 13:31:15 +02:00
}
.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;
}
2024-09-29 08:33:49 +02:00
#searchLanguageSelect,
2025-06-16 11:26:26 +02:00
#safeSearchSelect,
2024-09-29 08:33:49 +02:00
#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;
2025-06-16 11:26:26 +02:00
box-sizing: border-box;
/* Ensures consistent width with padding */
2024-09-29 08:33:49 +02:00
}
#searchLanguageSelect:hover,
2025-06-16 11:26:26 +02:00
#safeSearchSelect:hover,
2024-09-29 08:33:49 +02:00
#siteLanguageSelect:hover {
border: 1px solid #5f6368;
/* background-color: var(--button-hover); */
}
.save.save-settings-page {
padding: 6px;
width: 160px;
2025-06-16 11:26:26 +02:00
height: 40px;
2024-09-29 08:33:49 +02:00
}
2024-12-07 23:07:19 +01:00
/* Ensure correct alignment */
2024-09-29 08:33:49 +02:00
.settings-row {
display: flex;
align-items: center;
justify-content: space-between;
}
2025-06-16 11:26:26 +02:00
.settings-row select,
2024-09-29 08:33:49 +02:00
.settings-row button {
width: 160px;
height: 40px;
box-sizing: border-box;
2025-06-16 11:26:26 +02:00
}