PCv5/app/static/less/search.less

75 lines
1000 B
Plaintext
Raw Normal View History

2023-09-05 21:46:57 +02:00
.search-page > form {
2023-06-13 22:18:17 +02:00
display: grid;
grid-template-areas:
'search search submit'
'date sort scope'
2023-09-05 21:46:57 +02:00
'results results scope';
2023-06-13 22:18:17 +02:00
grid-template-rows: 40% 40% 20%;
grid-template-rows: 5em 5em 100%;
2023-09-05 22:00:39 +02:00
input, select {
width: 100%;
height: 2rem;
}
label {
margin-right: 1em;
}
2023-06-13 22:18:17 +02:00
& div.query {
grid-area: search;
2023-09-05 22:00:39 +02:00
display: flex;
align-items: center;
& label {
margin-right: 1em;
}
2023-06-13 22:18:17 +02:00
}
& div.submit {
grid-area: submit;
display: flex;
align-items: center;
margin-left: 1em;
2023-09-05 22:00:39 +02:00
& input#submit {
width: fit-content;
}
2023-06-13 22:18:17 +02:00
}
& div.date {
grid-area: date;
2023-09-05 22:00:39 +02:00
display: flex;
align-items: center;
2023-06-13 22:18:17 +02:00
& input#date {
width: 80%;
}
}
& div.sort {
grid-area: sort;
2023-09-05 22:00:39 +02:00
display: flex;
align-items: center;
2023-06-13 22:18:17 +02:00
margin-left: 2em;
}
& div.scope {
grid-area: scope;
width: 80%;
margin-left: 1em;
& select {
width: 100%;
2023-09-05 21:46:57 +02:00
height: 31rem;
overflow: auto;
2023-06-13 22:18:17 +02:00
}
}
2023-09-05 21:46:57 +02:00
& div.search-results {
grid-area: results;
width: 100%;
min-height: 50vh;
}
2023-06-13 22:18:17 +02:00
}