message.css 5.5 KB

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