/* Suchleiste */ .searchbar { display: flex; align-items: stretch; justify-content: center; font-size: 16px; background-color: white; color: #333; .search-focus-selector { border-radius: 5px 0px 0px 5px; display: flex; align-items: center; position: relative; @media(max-width: @screen-xs-max) { display: none; } &>button { border: none; border-right: 1px solid rgb(170, 170, 170); background-color: white; margin: 5px; } .search-settings:only-child { padding: 5px; border-right: solid 1px #ccc; } select { width: 100%; -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: transparent; padding: 0px 35px 0px 5px; font-family: FontAwesome, sans-serif; border: none; &>option { font-family: FontAwesome, sans-serif; } } &:after { content: "\f078"; font: 15px "FontAwesome", sans-serif; line-height: 30px; background-color: transparent; right: 8px; top: 2px; padding: 2px 2px 2px 5px; position: absolute; pointer-events: none; } } .search-option-frame { display: flex; position: absolute; background-color: white; top: 50px; padding: 10px; border: 1px solid rgb(175, 175, 175); border-radius: 4px; .searchbar-options-arrow { width: 0; height: 0; top: -5px; position: absolute; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid rgb(175, 175, 175); margin-left: 3%; } #settings-btn { width: 100%; display: flex; justify-content: space-between; align-items: baseline; padding: 0px; i.fa { padding: 0px 8px; } } } .search-button-container { display: flex; margin-top: 3%; @media (max-width: @screen-xs-max) { flex-direction: column; } >* { display: flex; justify-content: space-between; align-items: center; &:hover { background-color: #e6e6e6; } } } .search-add-focus { position: relative; button { background-color: white; border: none; padding: 0px 8px; font-size: 16px; &:hover { background-color: #e6e6e6; } } } .search-edit-focus { position: relative; button { background-color: transparent; border: none; padding: 0px 8px; font-size: 16px; &:hover { background-color: #e6e6e6; } } } .search-settings { position: relative; a.btn { border: none; padding: 0px 8px; display: block; align-items: center; font-size: 16px; } } .search-input-submit { flex-grow: 1; display: flex; max-width: 600px; @media (max-width: @screen-xs-max) { max-width: initial; } } .search-input { flex-grow: 1; input { border: none; border-bottom: 1px solid #ccc; height: 40px; box-shadow: none; &:focus { outline-color: rgb(255, 128, 0); -webkit-box-shadow: 0px 0px 2px 2px rgba(255, 128, 0, 1); -moz-box-shadow: 0px 0px 2px 2px rgba(255, 128, 0, 1); box-shadow: 0px 0px 2px 2px rgba(255, 128, 0, 1); border-color: rgba(255, 128, 0, 1); } } } .search-submit { button { width: 50px; line-height: 100%; border: 0; background-color: transparent; padding: 0; height: 100%; } } .search-hidden { display: none; } .search-custom-hidden { display: none; } @media (max-width: @screen-xs-max) { flex-direction: column-reverse; } } div:hover>.searchbar-tooltip { display: inline-block; @media (max-width: @screen-xs-max) { display: none; } } .search-option-descriptor { @media (min-width: @screen-sm-min) { display: none; } } .startpage-searchbar { >* { border: 1px solid #a2a2a2; &:not(:first-child) { border-left: none; } } .search-input-submit { border-radius: 5px; } .search-submit { border-left: 1px solid #aaa; } @media (max-width: @screen-xs-max) { .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; } } } } .resultpage-searchbar { padding: 5px; @media (max-width: @screen-xs-max) { .search-focus-selector { border-top: none; border-radius: 5px; } .search-input-submit { border-radius: 5px; } >* { border-radius: 5px; min-height: 40px; &:not(:first-child) { border-left: 1px solid #aaa; } } *:not(.search-submit) { width: 100%; } } } .searchbar-tooltip { display: none; position: absolute; top: 45px; left: -10px; &>.searchbar-tooltip-arrow { position: absolute; top: -4px; left: 20px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid #ff8000; } &>.searchbar-tooltip-content { position: relative; &>p { display: inline-block; background: #ff8000; border-radius: .25em; font-size: 16px; color: white; padding: 5px 10px; white-space: nowrap; } } } header { margin-left: 50px; padding-top: 10px; display:flex; flex-direction: column; position: fixed; z-index: 100; max-width: 700px; width:100%; background-color: #FAFAFA; @media (max-width: 799px) { margin-left: 0px; -webkit-box-pack: center; justify-content: center; max-width: 799px; } #research-bar { max-width: 700px; width: auto; padding: 0px 30px 0px 10px; background-color: white; border: 1px solid #ccc; border-bottom: 2px solid rgb(255, 128, 0); display: flex; align-items: center; justify-content: center; @media (max-width: 799px) { margin: 0px 8px; box-shadow: 0px 1px 1.5px 0px rgba(0, 0, 0, 0.12), 1px 0px 1px 0px rgba(0, 0, 0, 0.24); } } } #foki { display: flex; width: auto; max-width: 700px; background-color: white; border: 1px solid #ccc; margin-top:10px; padding: 10px; margin-left: 50px; overflow-x: auto; &::-webkit-scrollbar { height: 0px; /* remove scrollbar space */ background: transparent; /* optional: just make scrollbar invisible */ } @media (max-width: 799px) { margin: 10px 8px 0px 8px; box-shadow: 0px 1px 1.5px 0px rgba(0, 0, 0, 0.12), 1px 0px 1px 0px rgba(0, 0, 0, 0.24); } &>div { padding: 0px 10px; &>a { color: black; } &.active>a{ border-bottom: 1px solid rgb(255,128,0); color: rgb(255,128,0); } } .edit-focus{ margin-left: 7px; } } #research-bar-placeholder { width: 100%; height: 60px; }