mirror of
https://github.com/zedeus/nitter.git
synced 2026-04-13 17:22:11 -04:00
121 lines
1.9 KiB
SCSS
121 lines
1.9 KiB
SCSS
@import "_variables";
|
|
@import "_mixins";
|
|
|
|
.search-title {
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.search-field {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
button {
|
|
margin: 0 2px 0 0;
|
|
padding: 0px 1px 1px 4px;
|
|
height: 23px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.pref-input {
|
|
margin: 0 4px 0 0;
|
|
flex-grow: 1;
|
|
height: 23px;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="number"] {
|
|
height: calc(100% - 4px);
|
|
width: calc(100% - 8px);
|
|
}
|
|
|
|
> label {
|
|
display: inline;
|
|
background-color: var(--bg_elements);
|
|
color: var(--fg_color);
|
|
border: 1px solid var(--accent_border);
|
|
padding: 1px 1px 2px 4px;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
margin-bottom: 2px;
|
|
|
|
@include input-colors;
|
|
}
|
|
|
|
@include create-toggle(search-panel, 380px);
|
|
}
|
|
|
|
.search-panel {
|
|
width: 100%;
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.4s;
|
|
|
|
flex-grow: 1;
|
|
font-weight: initial;
|
|
text-align: left;
|
|
|
|
.checkbox-container {
|
|
display: inline;
|
|
padding-right: unset;
|
|
margin-bottom: 5px;
|
|
margin-left: 23px;
|
|
}
|
|
|
|
.checkbox {
|
|
right: unset;
|
|
left: -22px;
|
|
line-height: 1.6em;
|
|
}
|
|
|
|
.checkbox-container .checkbox:after {
|
|
top: -4px;
|
|
}
|
|
}
|
|
|
|
.search-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
line-height: unset;
|
|
|
|
> div {
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
}
|
|
|
|
input {
|
|
height: 21px;
|
|
}
|
|
|
|
.pref-input {
|
|
display: block;
|
|
padding-bottom: 5px;
|
|
|
|
input {
|
|
height: 21px;
|
|
margin-top: 1px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.search-toggles {
|
|
flex-grow: 1;
|
|
display: grid;
|
|
grid-template-columns: repeat(5, auto);
|
|
grid-column-gap: 10px;
|
|
}
|
|
|
|
.profile-tabs {
|
|
@include search-resize(820px, 5);
|
|
@include search-resize(715px, 4);
|
|
@include search-resize(700px, 5);
|
|
@include search-resize(485px, 4);
|
|
@include search-resize(410px, 3);
|
|
}
|
|
|
|
@include search-resize(700px, 5);
|
|
@include search-resize(485px, 4);
|
|
@include search-resize(410px, 3);
|