mirror of
https://github.com/4cuck/teapawt.git
synced 2026-10-27 14:04:35 +00:00
252 lines
4.1 KiB
CSS
252 lines
4.1 KiB
CSS
.search-title {
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.search-field {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.search-field button {
|
|
margin: 0 2px 0 0;
|
|
padding: 0 1px 1px 4px;
|
|
height: 23px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.search-field .pref-input {
|
|
margin: 0 4px 0 0;
|
|
flex-grow: 1;
|
|
height: 23px;
|
|
}
|
|
|
|
.search-field input[type="text"],
|
|
.search-field input[type="number"] {
|
|
height: calc(100% - 4px);
|
|
width: calc(100% - 8px);
|
|
}
|
|
|
|
.search-field > 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;
|
|
}
|
|
|
|
.search-field #search-panel-toggle {
|
|
display: none;
|
|
}
|
|
|
|
.search-field #search-panel-toggle:checked ~ .search-panel {
|
|
max-height: 380px;
|
|
}
|
|
|
|
.search-field #search-panel-toggle:checked ~ label .icon-down:before {
|
|
transform: rotate(180deg) translateY(-1px);
|
|
}
|
|
|
|
.search-panel {
|
|
width: 100%;
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.4s;
|
|
flex-grow: 1;
|
|
font-weight: initial;
|
|
text-align: left;
|
|
}
|
|
|
|
.search-panel .checkbox-container {
|
|
display: inline;
|
|
padding-right: unset;
|
|
margin-bottom: 5px;
|
|
margin-left: 23px;
|
|
}
|
|
|
|
.search-panel .checkbox {
|
|
right: unset;
|
|
left: -22px;
|
|
line-height: 1.6em;
|
|
}
|
|
|
|
.search-panel .checkbox-container .checkbox:after {
|
|
top: -4px;
|
|
}
|
|
|
|
.search-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
line-height: unset;
|
|
}
|
|
|
|
.search-row > div {
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
}
|
|
|
|
.search-row input {
|
|
height: 21px;
|
|
}
|
|
|
|
.search-row .pref-input {
|
|
display: block;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.search-row .pref-input input {
|
|
height: 21px;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.search-toggles {
|
|
flex-grow: 1;
|
|
display: grid;
|
|
grid-template-columns: repeat(5, auto);
|
|
grid-column-gap: 10px;
|
|
}
|
|
|
|
.search-filter-groups {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px 24px;
|
|
}
|
|
|
|
.search-filter-group {
|
|
flex: 1 1 220px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.search-filter-group legend {
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
border: 0;
|
|
margin: 0;
|
|
padding: 4px 0 0;
|
|
}
|
|
|
|
.search-filter-group p {
|
|
margin: 0 0 6px;
|
|
color: var(--fg_faded);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.list-result {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.list-result .list-result-banner {
|
|
flex-shrink: 0;
|
|
width: 56px;
|
|
height: 56px;
|
|
margin-right: 10px;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
background-color: var(--darker_grey);
|
|
z-index: 1;
|
|
}
|
|
|
|
.list-result .list-result-banner img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.list-result .list-result-body {
|
|
min-width: 0;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
.list-result .list-result-body a {
|
|
pointer-events: all;
|
|
}
|
|
|
|
.list-result .list-result-title {
|
|
align-items: baseline;
|
|
}
|
|
|
|
.list-result .list-members {
|
|
flex-shrink: 0;
|
|
margin-left: 0.3em;
|
|
color: var(--fg_faded);
|
|
}
|
|
|
|
.list-result .list-result-context {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
margin-top: 2px;
|
|
color: var(--fg_faded);
|
|
}
|
|
|
|
.list-result .list-result-context a {
|
|
color: var(--fg_dark);
|
|
}
|
|
|
|
.list-result .list-result-context a.fullname {
|
|
color: var(--fg_color);
|
|
}
|
|
|
|
.list-result .list-facepile {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 2px;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.list-result .list-result-description {
|
|
margin-top: 2px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
pointer-events: all;
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.profile-tabs .search-toggles {
|
|
grid-template-columns: repeat(5, auto);
|
|
}
|
|
|
|
.profile-tabs #search-panel-toggle:checked ~ .search-panel {
|
|
max-height: 380px !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 715px) {
|
|
.profile-tabs .search-toggles {
|
|
grid-template-columns: repeat(4, auto);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.search-toggles,
|
|
.profile-tabs .search-toggles {
|
|
grid-template-columns: repeat(5, auto);
|
|
}
|
|
|
|
#search-panel-toggle:checked ~ .search-panel {
|
|
max-height: 380px !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 485px) {
|
|
.search-toggles,
|
|
.profile-tabs .search-toggles {
|
|
grid-template-columns: repeat(4, auto);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 410px) {
|
|
.search-toggles,
|
|
.profile-tabs .search-toggles {
|
|
grid-template-columns: repeat(3, auto);
|
|
}
|
|
}
|