[#181] move stylesheets from layout to organised components/, leave overal structure in layout/_structure

This commit is contained in:
Robin Scholtes 2023-04-18 22:04:40 +12:00
parent 4507d471bc
commit b4c0378a01
19 changed files with 163 additions and 149 deletions

View file

@ -0,0 +1,19 @@
#search {
padding-left: 10px;
padding-right: 10px;
background-image:
linear-gradient(to top, var(--input-highlight-colour) 2px, rgba(0, 0, 0, 0) 2px),
linear-gradient(to top, var(--primary-border-colour) 1px, rgba(0, 0, 0, 0) 1px);
}
#search-results {
position: absolute;
top: 40px; /* the height of the input[type="search"] with pos relative */
left: 0;
right: 0;
height: auto;
max-height: 60vh;
overflow: scroll;
border-bottom: 1px solid var(--primary-border-colour);
z-index: 20; /* to dropdown on top of all the other elements */
}