update style

This commit is contained in:
Graham Steffaniak 2023-09-04 10:02:13 -05:00
parent 2cbb3c313c
commit 78ced98d2e
2 changed files with 21 additions and 15 deletions

View File

@ -143,11 +143,10 @@
} }
#result-desktop #result-list { #result-desktop #result-list {
width: 100%;
-webkit-transition: width 0.3s ease 0s; -webkit-transition: width 0.3s ease 0s;
transition: width 0.3s ease 0s; transition: width 0.3s ease 0s;
max-width: 100%;
overflow: auto; overflow: auto;
width: 30em;
padding-top: 0em; padding-top: 0em;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
@ -182,11 +181,6 @@
margin-right: .3em; margin-right: .3em;
} }
#result-list.active {
width: 65em !important;
max-width: 85vw !important;
}
/* Animations */ /* Animations */
@keyframes SlideDown { @keyframes SlideDown {
0% { 0% {
@ -203,7 +197,7 @@
/* Search */ /* Search */
#search { #search {
flex-basis: auto; flex-basis: auto;
min-width: 35em; width: 100%;
height: 3em; height: 3em;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -262,7 +256,6 @@
padding-top: 1em; padding-top: 1em;
overflow: hidden; overflow: hidden;
background: white; background: white;
display: flex;
top: -4em; top: -4em;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
@ -313,7 +306,9 @@ body.rtl #search #result ul>* {
#search.ongoing #renew { #search.ongoing #renew {
display: block; display: block;
} }
#search.active {
width: 80%;
}
#search.active #input { #search.active #input {
border-bottom-left-radius: 1px; border-bottom-left-radius: 1px;
background-color: lightgray; background-color: lightgray;

View File

@ -54,9 +54,21 @@
} }
#search { #search {
min-width: unset; min-width: unset;
max-width: 60%
}
#search .boxes {
text-align: center;
width: 100%;
padding: 1em;
padding-top: 0;
max-width: 30em;
margin:auto;
} }
#search.active { #search.active {
min-width: 100%;
display: block; display: block;
position: fixed; position: fixed;
top: 0; top: 0;
@ -98,16 +110,15 @@
margin-right: 0.3em; margin-right: 0.3em;
user-select: none; user-select: none;
} }
#result {
overflow:scroll
}
#result-list { #result-list {
width:100%; width:100%;
left: 0; left: 0;
top: 4em; top: 4em;
-webkit-box-direction: normal;
-ms-flex-direction: column;
overflow: scroll; overflow: scroll;
display: flex; display: contents;
flex-direction: column;
} }
} }