nitter/src/sass/search.scss

96 lines
1.8 KiB
SCSS
Raw Normal View History

@import '_variables';
@import '_mixins';
.search-title {
font-weight: bold;
display: inline-block;
margin-top: 4px;
}
.search-field {
display: flex;
flex-wrap: wrap;
button {
2019-09-19 19:35:57 +00:00
margin: 0 2px 0 0;
height: 23px;
}
.pref-input {
2019-09-19 19:35:57 +00:00
margin: 0 4px 0 0;
flex-grow: 1;
2019-09-19 19:35:57 +00:00
height: 23px;
}
input[type="text"] {
2019-09-19 19:35:57 +00:00
height: calc(100% - 4px);
width: calc(100% - 8px);
}
> label {
display: inline;
background-color: #121212;
color: #F8F8F2;
border: 1px solid #FF6C6091;
padding: 1px 6px 2px 6px;
font-size: 14px;
cursor: pointer;
margin-bottom: 2px;
@include input-colors;
}
2019-09-19 20:11:38 +00:00
@include create-toggle(search-panel, 190px);
}
.search-panel {
width: 100%;
max-height: 0;
overflow: hidden;
transition: max-height 0.4s;
flex-grow: 1;
font-weight: initial;
text-align: left;
> div {
line-height: 1.7em;
}
.checkbox-container {
display: inline;
padding-right: unset;
margin-bottom: unset;
margin-left: 23px;
}
.checkbox {
right: unset;
left: -22px;
}
.checkbox-container .checkbox:after {
top: -4px;
}
}
.search-toggles {
flex-grow: 1;
display: grid;
grid-template-columns: repeat(6, auto);
grid-column-gap: 10px;
}
.profile-tabs {
2019-09-19 20:11:38 +00:00
@include search-resize(785px, 5, 240px);
@include search-resize(725px, 4, 240px);
@include search-resize(600px, 6, 190px);
@include search-resize(530px, 5, 240px);
@include search-resize(480px, 4, 240px);
@include search-resize(410px, 3, 305px);
}
2019-09-19 20:11:38 +00:00
@include search-resize(530px, 5, 240px);
@include search-resize(480px, 4, 240px);
@include search-resize(410px, 3, 305px);