_message.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. /**
  2. * @copyright 2014 by Tobias Reich
  3. */
  4. .message_overlay {
  5. position: fixed;
  6. width: 100%;
  7. height: 100%;
  8. top: 0;
  9. left: 0;
  10. background-color: rgba(0, 0, 0, .85);
  11. z-index: 1000;
  12. }
  13. .message {
  14. position: absolute;
  15. display: inline-block;
  16. width: 500px;
  17. margin-left: -250px;
  18. margin-top: -95px;
  19. background-image: linear-gradient(to bottom, rgb(75, 75, 75), rgb(45, 45, 45));
  20. border-radius: 5px;
  21. box-shadow: 0 0 5px #000, inset 0 1px 0 rgba(255, 255, 255, .08);
  22. /* Animation */
  23. animation-name: moveUp;
  24. animation-duration: .3s;
  25. animation-timing-function: cubic-bezier(.51, .92, .24, 1.15);
  26. /* Header ------------------------------------------------*/
  27. h1 {
  28. float: left;
  29. width: 100%;
  30. padding: 12px 0;
  31. color: #fff;
  32. font-size: 16px;
  33. font-weight: bold;
  34. text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
  35. text-align: center;
  36. }
  37. .close {
  38. position: absolute;
  39. top: 0;
  40. right: 0;
  41. padding: 12px 14px 6px 7px;
  42. color: #aaa;
  43. font-size: 20px;
  44. text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
  45. cursor: pointer;
  46. &:hover { color: #fff; }
  47. }
  48. /* Text ------------------------------------------------*/
  49. p {
  50. float: left;
  51. width: 90%;
  52. margin-top: 1px;
  53. padding: 12px 5% 15px 5%;
  54. color: #eee;
  55. font-size: 14px;
  56. text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
  57. line-height: 20px;
  58. b {
  59. font-weight: bold;
  60. color: #fff;
  61. }
  62. a {
  63. color: #eee;
  64. text-decoration: none;
  65. border-bottom: 1px dashed #888;
  66. }
  67. }
  68. /* Button ------------------------------------------------*/
  69. .button {
  70. float: right;
  71. margin: 15px 15px 15px 0;
  72. padding: 7px 10px 8px 10px;
  73. color: #ccc;
  74. font-size: 14px;
  75. font-weight: bold;
  76. text-align: center;
  77. text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
  78. border-radius: 5px;
  79. border: 1px solid rgba(0,0,0,.4);
  80. box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 1px 0 rgba(255, 255, 255, .05);
  81. cursor: pointer;
  82. &:first-of-type { margin: 15px 5% 18px 0; }
  83. &.active {
  84. color: #fff;
  85. box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 1px 0 rgba(255, 255, 255, .1), 0 0 4px #005ecc;
  86. }
  87. &:hover { background-image: linear-gradient(to bottom, rgb(60, 60, 60), rgb(57, 57, 57)); }
  88. &:active,
  89. &.pressed { background-image: linear-gradient(to bottom, rgb(57, 57, 57), rgb(60, 60, 60)); }
  90. }
  91. /* Input ------------------------------------------------*/
  92. input.text {
  93. float: left;
  94. width: calc(100% - 10px);
  95. padding: 17px 5px 9px 5px;
  96. margin-top: 10px;
  97. background-color: transparent;
  98. color: #fff;
  99. text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
  100. border: none;
  101. box-shadow: 0 1px 0 rgba(255, 255, 255, .1);
  102. border-bottom: 1px solid #222;
  103. border-radius: 0px;
  104. outline: none;
  105. }
  106. input.less { margin-bottom: -10px; }
  107. input.more { margin-bottom: 30px; }
  108. .copylink { margin-bottom: 20px; }
  109. /* Radio Buttons ------------------------------------------------*/
  110. .choice {
  111. float: left;
  112. margin: 12px 5%;
  113. width: 90%;
  114. color: #fff;
  115. input { float: left; }
  116. h2 {
  117. float: left;
  118. margin: 1px 0 0 8px;
  119. color: #fff;
  120. font-size: 14px;
  121. font-weight: 700;
  122. text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
  123. }
  124. p {
  125. margin-top: 2px;
  126. padding: 0 5% 0 25px;
  127. color: #aaa;
  128. font-size: 13px;
  129. }
  130. p input {
  131. width: 100%;
  132. padding: 10px 1px 9px;
  133. margin-top: 10px;
  134. }
  135. }
  136. /* Version ------------------------------------------------*/
  137. #version {
  138. display: inline-block;
  139. margin-top: 23px;
  140. margin-left: 5%;
  141. color: #888;
  142. text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
  143. span { display: none; }
  144. span a { color: #888; }
  145. }
  146. }
  147. /* Sign in ------------------------------------------------*/
  148. .sign_in {
  149. float: left;
  150. width: 100%;
  151. margin-top: 1px;
  152. padding: 5px 0;
  153. color: #eee;
  154. font-size: 14px;
  155. text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
  156. line-height: 20px;
  157. /* Input ------------------------------------------------*/
  158. input {
  159. float: left;
  160. width: 88%;
  161. padding: 7px 1% 9px 1%;
  162. margin: 0 5%;
  163. background-color: transparent;
  164. color: #fff;
  165. text-shadow: 0 -1px 0 #222;
  166. border: none;
  167. border-bottom: 1px solid #222;
  168. box-shadow: 0 1px 0 rgba(255,255,255,.1);
  169. border-radius: 0;
  170. outline: none;
  171. &:first-of-type { margin-bottom: 10px; }
  172. &.error:focus { box-shadow: 0 1px 0 rgba(204, 0, 7, .6); }
  173. }
  174. }