/** * @copyright 2015 by Tobias Reich */ header { position: fixed; height: 49px; width: 100%; background: linear-gradient(to bottom, #222222, #1a1a1a); border-bottom: 1px solid #0f0f0f; z-index: 1; transition: transform .3s ease-out; /* Modes ------------------------------------------------*/ &.hidden { transform: translateY(-60px); } &.loading { transform: translateY(2px); } &.error { transform: translateY(40px); } &.view { background: none; border-bottom: none; &.error { background-color: rgba(10, 10, 10, .99); } } /* Title ------------------------------------------------*/ #title { position: absolute; margin: 0 30%; width: 40%; padding: 15px 0; color: #fff; font-size: 16px; font-weight: bold; text-align: center; z-index: 1; cursor: default; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; .iconic { display: none; margin: 0 0 0 5px; width: 10px; height: 10px; fill: white(.5); transition: fill .2s ease-out; } &:hover .iconic { fill: white(1); } &:active .iconic { transition: none; fill: white(.8); } &.editable .iconic { display: inline-block; } } /* Toolbars ------------------------------------------------*/ .toolbar { display: none; position: absolute; box-sizing: border-box; width: 100%; height: 100%; padding: 0 10px; } /* Button ------------------------------------------------*/ .button { display: inline-block; padding: 17px 8px; width: 15px; height: 15px; &--left { float: left; } &--right { float: right; } .iconic { width: 15px; height: 15px; fill: white(.5); transition: fill .2s ease-out; } &:hover .iconic { fill: white(1); } &:active .iconic { transition: none; fill: white(.8); } &--star.active .iconic { fill: #f0ef77; } &--eye.active .iconic { fill: #ff9737; } &--info.active .iconic { fill: $colorBlue; } &#button_signin { display: none; } } /* Button Divider ------------------------------------------------*/ .button_divider { float: right; position: relative; width: 14px; height: 50px; } /* Search ------------------------------------------------*/ #search { float: right; width: 80px; margin: 12px 12px 0 0; padding: 5px 12px 6px 12px; background-color: #1d1d1d; color: #fff; border: 1px solid black(.9); box-shadow: 0 1px 0 white(.04); outline: none; border-radius: 50px; opacity: .6; transition: opacity .3s ease-out, box-shadow .3s ease-out, width .2s ease-out; &:focus { width: 140px; border-color: $colorBlue; box-shadow: 0 1px 0 white(0); opacity: 1; } &:focus ~ #clearSearch { opacity: 1; } &::-ms-clear { display: none; } } #clearSearch { position: absolute; top: 13px; right: 78px; padding: 0; color: white(.5); font-size: 20px; opacity: 0; transition: color .2s ease-out; cursor: default; &:hover { color: white(1); } } /* Hosted with Lychee ------------------------------------------------*/ #hostedwith { float: right; padding: 5px 10px; margin: 13px 9px; color: #888; font-size: 13px; border-radius: 100px; display: none; &:hover { background-color: black(.3); } } }