Commit 94f7defb authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed resultpage searchbar color

parent 34d9981e
@searchbar-border-color: #585858;
@searchbar-border-color-light: #777777;
.searchbar {
display: -webkit-box;
display: -moz-box;
......@@ -32,6 +33,7 @@
font-size: 1em;
background-color: transparent;
color: #333;
.search-input-submit {
width: 100%;
width: calc(100% - 16px);
......@@ -44,32 +46,37 @@
display: -ms-flexbox;
display: flex;
align-items: center;
#search-key {
display: flex;
justify-content: center;
align-items: center;
> a {
>a {
padding: 0px 16px 0px 16px;
color: #585858;
&.authorized {
color:green;
color: green;
}
}
}
.search-input {
position: relative;
-webkit-box-flex: 1;
-ms-flex-positive: 1;
flex-grow: 1;
input {
border: none;
height: 40px;
-webkit-box-shadow: none;
box-shadow: none;
background-color: transparent;
color:@text-color;
color: @text-color;
}
#search-delete-btn {
position: absolute;
right: 0;
......@@ -83,12 +90,14 @@
font-weight: normal;
display: none;
filter: invert(@icon-color);
&:hover {
color: red;
filter: invert(0);
}
}
}
.search-submit {
button {
width: 50px;
......@@ -101,12 +110,15 @@
}
}
}
.search-hidden {
display: none;
}
.search-custom-hidden {
display: none;
}
@media (max-width: @screen-mobile) {
-webkit-box-orient: vertical;
-webkit-box-direction: reverse;
......@@ -118,37 +130,46 @@
.startpage-searchbar {
>* {
border: 1px solid @searchbar-border-color;
&:not(:first-child) {
border-left: none;
}
}
.search-input-submit {
border-radius: 5px;
margin: 0 8px;
@media (max-width: @screen-mobile) {
max-width: initial;
}
>#search-key {
border-right: 1px solid @searchbar-border-color-light;
}
>#submit-inputgroup {
border-left: 1px solid @searchbar-border-color-light;
}
}
@media (max-width: @screen-mobile) {
.search-focus-selector {
border: 1px solid #aaa;
border-top: none;
border-radius: 5px;
}
.search-input-submit {
border: 1px solid #aaa;
border-radius: 5px;
}
>* {
border: 1px solid #aaa;
border-radius: 5px;
min-height: 40px;
&:not(:first-child) {
border-left: 1px solid #aaa;
}
......@@ -157,17 +178,20 @@
}
.resultpage-searchbar {
#search-key > a {
padding: 5px 16px 0px 16px!important;
#search-key>a {
padding: 5px 16px 0px 16px !important;
}
.search-input-submit {
.search-input input {
padding-right: 35px; // Makes it so the overlayed delete button does not hide the text belowF
}
.search-submit button{
@media(max-width: @screen-mobile){
margin-right: 30px;
.search-submit button {
@media(max-width: @screen-mobile) {
margin-right: 30px;
}
i.fa-search {
margin-top: 5px;
}
......@@ -194,10 +218,11 @@
height: 15px;
filter: invert(1) brightness(0.1);
}
.search-submit button {
cursor: pointer;
}
.authorized #searchbar-img-key {
filter: initial;
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment