Ponysearch/searx/static/themes/simple/src/less/preferences.less

127 lines
1.9 KiB
Text

#tab-contentquery table td,
#tab-contentquery table th {
text-align: left !important;
height: 3rem;
}
#main_preferences {
form {
width: 100%;
}
fieldset {
margin: 8px;
border: none;
}
legend {
margin: 0;
padding: 5px 0 0 0;
display: block;
float: left;
width: 300px;
}
.value {
margin: 0;
padding: 0;
float: left;
width: 15em;
}
.description {
margin: 0;
padding: 5px 0 0 0;
float: left;
width: 50%;
color: var(--color-settings-engine-description-font);
font-size: 90%;
}
select {
width: 200px;
font-size: inherit !important;
}
table {
border-collapse: collapse;
}
table td {
text-align: center;
}
table.cookies {
width: auto;
th,
td {
text-align: left;
padding: 0.25em;
}
th:first-child,
td:first-child {
padding-right: 4em;
}
& > tbody > tr:nth-child(even) > th,
& > tbody > tr:nth-child(even) > td {
background-color: var(--color-settings-tr-hover);
}
}
.name,
.shortcut {
text-align: left;
}
.preferences_back {
background: none repeat scroll 0 0 var(--color-btn-background);
color: var(--color-btn-font);
border: 0 none;
.rounded-corners;
cursor: pointer;
display: inline-block;
margin: 2px 4px;
padding: 0.7em;
a {
display: block;
color: var(--color-settings-return-font);
}
a::first-letter {
text-transform: uppercase;
}
}
div.selectable_url {
pre {
width: 100%;
}
}
th.name {
.engine-tooltip {
margin-top: 1.8rem;
left: calc((100% - 85em) / 2 + 10em);
max-width: 40rem;
.engine-description {
margin-top: 0.5rem;
}
}
}
}
@media screen and (max-width: @tablet) {
.preferences_back {
clear: both;
}
.engine-tooltip {
left: 10em !important;
}
}