Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
65 lines
1.4 KiB
CSS
65 lines
1.4 KiB
CSS
#search {
|
|
height: 5rem;
|
|
background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1));
|
|
background-color: transparent;
|
|
position: relative;
|
|
z-index: 5;
|
|
-moz-user-select: none;
|
|
}
|
|
|
|
#search-form {
|
|
pointer-events: none;
|
|
position: absolute;
|
|
display: block;
|
|
width: calc(100% - 1rem);
|
|
height: 3.4rem;
|
|
background: rgba(51, 51, 51, 0.35);
|
|
border-radius: 1.7rem;
|
|
margin: .3rem .5rem .9rem .5rem;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#search-input {
|
|
margin: 0;
|
|
padding: 0;
|
|
-moz-margin-start: 1.5rem;
|
|
background: none;
|
|
font-size: 1.8rem;
|
|
border: none;
|
|
width: calc(100% - 3rem);
|
|
height: 100%;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
#search-input::-moz-placeholder {
|
|
font-style: italic;
|
|
font-weight: 300;
|
|
opacity: 1;
|
|
color: #e7e7e7;
|
|
}
|
|
|
|
#search-form::after {
|
|
content: '';
|
|
top: 0;
|
|
left: 0;
|
|
width: calc(100% - .8rem);
|
|
height: 100%;
|
|
position: absolute;
|
|
background-image: image-set(url("/style/images/search_icon.png") 1x, url("/style/images/search_icon@1.5x.png") 1.5x, url("/style/images/search_icon@2x.png") 2x, url("/style/images/search_icon@2.25x.png") 2.25x);
|
|
background-repeat: no-repeat;
|
|
background-size: 2rem;
|
|
background-position: center right;
|
|
}
|
|
|
|
/* RTL View */
|
|
html[dir="rtl"] #search-input {
|
|
text-align: right;
|
|
padding-right: 1.5rem;
|
|
}
|
|
|
|
html[dir="rtl"] #search-form::after {
|
|
left: unset;
|
|
right: 0;
|
|
background-position: center left;
|
|
}
|