message.css 4.5 KB

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