mirror of
https://github.com/searxng/searxng.git
synced 2026-01-02 09:00:03 +00:00
[feat] preferences: button to copy input to restore preferences hash
This commit is contained in:
@@ -33,6 +33,21 @@ table {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
input[type="text"] {
|
||||
width: 13.25rem;
|
||||
color: var(--color-toolkit-input-text-font);
|
||||
border: none;
|
||||
background: none repeat scroll 0 0 var(--color-toolkit-select-background);
|
||||
padding: 0.2rem 0.4rem;
|
||||
height: 2rem;
|
||||
.rounded-corners-tiny;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: var(--color-toolkit-select-background-hover);
|
||||
}
|
||||
}
|
||||
|
||||
.value {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@@ -52,21 +67,6 @@ table {
|
||||
width: 14rem;
|
||||
}
|
||||
|
||||
input[type="text"] {
|
||||
width: 13.25rem;
|
||||
color: var(--color-toolkit-input-text-font);
|
||||
border: none;
|
||||
background: none repeat scroll 0 0 var(--color-toolkit-select-background);
|
||||
padding: 0.2rem 0.4rem;
|
||||
height: 2rem;
|
||||
.rounded-corners-tiny;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: var(--color-toolkit-select-background-hover);
|
||||
}
|
||||
}
|
||||
|
||||
select:focus,
|
||||
input:focus {
|
||||
outline: none;
|
||||
@@ -190,6 +190,23 @@ table {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#copy-hash-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
|
||||
div.selectable_url {
|
||||
pre {
|
||||
width: auto;
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pref-hash-input {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: @tablet) {
|
||||
|
||||
@@ -111,7 +111,8 @@ footer {
|
||||
}
|
||||
|
||||
input[type="submit"],
|
||||
#results button[type="submit"] {
|
||||
#results button[type="submit"],
|
||||
.button {
|
||||
padding: 0.7rem;
|
||||
display: inline-block;
|
||||
background: var(--color-btn-background);
|
||||
|
||||
Reference in New Issue
Block a user