header.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. /**
  2. * @name _header.css
  3. * @author Tobias Reich
  4. * @copyright 2014 by Tobias Reich
  5. */
  6. header {
  7. position: fixed;
  8. height: 49px;
  9. width: 100%;
  10. background-image: -webkit-linear-gradient(top, #3E3E3E, #282828);
  11. background-image: -moz-linear-gradient(top, #3E3E3E, #282828);
  12. background-image: -ms-linear-gradient(top, #3E3E3E, #282828);
  13. background-image: linear-gradient(top, #3E3E3E, #282828);
  14. border-bottom: 1px solid #161616;
  15. z-index: 1;
  16. -webkit-transition: -webkit-transform .3s ease-out;
  17. -moz-transition: -moz-transform .3s ease-out;
  18. transition: transform .3s ease-out;
  19. }
  20. /* Modes ------------------------------------------------*/
  21. header.hidden {
  22. -webkit-transform: translateY(-60px);
  23. -moz-transform: translateY(-60px);
  24. transform: translateY(-60px);
  25. }
  26. header.loading {
  27. -webkit-transform: translateY(2px);
  28. -moz-transform: translateY(2px);
  29. transform: translateY(2px);
  30. }
  31. header.error {
  32. -webkit-transform: translateY(40px);
  33. -moz-transform: translateY(40px);
  34. transform: translateY(40px);
  35. }
  36. header.view.error {
  37. background-color: rgba(10,10,10,.99);
  38. }
  39. header.view {
  40. background-image: none;
  41. border-bottom: none;
  42. }
  43. header.view .button,
  44. header.view #title,
  45. header.view .tools {
  46. text-shadow: none !important;
  47. }
  48. /* Title ------------------------------------------------*/
  49. header #title {
  50. position: absolute;
  51. margin: 0px 30%;
  52. width: 40%;
  53. padding: 15px 0px;
  54. color: #fff;
  55. font-size: 16px;
  56. font-weight: bold;
  57. text-align: center;
  58. text-shadow: 0px -1px 0px #222;
  59. }
  60. header #title.editable {
  61. cursor: pointer;
  62. }
  63. /* Button ------------------------------------------------*/
  64. header .button {
  65. color: #888;
  66. font-family: 'FontAwesome';
  67. font-size: 21px;
  68. font-weight: bold;
  69. text-decoration: none !important;
  70. cursor: pointer;
  71. text-shadow: 0px -1px 0px #222;
  72. }
  73. header .button.left {
  74. float: left;
  75. position: absolute;
  76. padding: 16px 10px 8px 18px;
  77. }
  78. header .button.right {
  79. float: right;
  80. position: relative;
  81. padding: 16px 19px 13px 11px;
  82. }
  83. header .button:hover {
  84. color: #fff;
  85. }
  86. header #tools_albums,
  87. header #tools_album,
  88. header #tools_photo,
  89. header #button_signin {
  90. display: none;
  91. }
  92. /* Button Divider ------------------------------------------------*/
  93. header .button_divider {
  94. float: right;
  95. position: relative;
  96. width: 14px;
  97. height: 50px;
  98. }
  99. /* Search ------------------------------------------------*/
  100. header #search {
  101. float: right;
  102. width: 80px;
  103. margin: 12px 12px 0px 0px;
  104. padding: 5px 12px 6px 12px;
  105. background-color: #383838;
  106. color: #fff;
  107. border: none;
  108. border: 1px solid #131313;
  109. box-shadow: 0px 1px 0px rgba(255,255,255,.1);
  110. outline: none;
  111. border-radius: 50px;
  112. opacity: .6;
  113. -webkit-transition: opacity .3s ease-out, -webkit-transform .3s ease-out, box-shadow .3s, width .2s ease-out;
  114. -moz-transition: opacity .3s ease-out, -moz-transform .3s ease-out, box-shadow .3s, width .2s ease-out;
  115. transition: opacity .3s ease-out, transform .3s ease-out, box-shadow .3s, width .2s ease-out;
  116. }
  117. header #search:focus {
  118. width: 140px;
  119. }
  120. /* Tools ------------------------------------------------*/
  121. header .tools:first-of-type {
  122. margin-right: 6px;
  123. }
  124. header .tools {
  125. float: right;
  126. padding: 14px 8px;
  127. color: #888;
  128. font-size: 21px;
  129. text-shadow: 0px -1px 0px #222;
  130. cursor: pointer;
  131. }
  132. header .tools:hover a {
  133. color: #fff;
  134. }
  135. header .tools .icon-star {
  136. color: #f0ef77;
  137. }
  138. header .tools .icon-share.active {
  139. color: #ff9737;
  140. }
  141. /* Hosted with Lychee ------------------------------------------------*/
  142. header #hostedwith {
  143. float: right;
  144. padding: 5px 10px;
  145. margin: 13px 9px;
  146. color: #888;
  147. font-size: 13px;
  148. text-shadow: 0px -1px 0px #222;
  149. display: none;
  150. cursor: pointer;
  151. }
  152. header #hostedwith:hover {
  153. background-color: rgba(0, 0, 0, .2);
  154. border-radius: 100px;
  155. }