No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

299 líneas
6.2KB

  1. /*******************
  2. LOGIN FORM STYLESHEET
  3. by: Amit Jakhu
  4. www.amitjakhu.com
  5. *******************/
  6. /*******************
  7. FONTS
  8. *******************/
  9. @import url(http://fonts.googleapis.com/css?family=Bree+Serif);
  10. /*******************
  11. SELECTION STYLING
  12. *******************/
  13. ::selection {
  14. color: #fff;
  15. background: #f676b2; /* Safari */
  16. }
  17. ::-moz-selection {
  18. color: #fff;
  19. background: #f676b2; /* Firefox */
  20. }
  21. /*******************
  22. BODY STYLING
  23. *******************/
  24. * {
  25. margin: 0;
  26. padding: 0;
  27. border: 0;
  28. }
  29. body {
  30. background: url(../images/bg.png) repeat;
  31. font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  32. font-weight:300;
  33. text-align: left;
  34. text-decoration: none;
  35. }
  36. #wrapper {
  37. /* Center wrapper perfectly */
  38. width: 300px;
  39. height: 400px;
  40. position: absolute;
  41. left: 50%;
  42. top: 30%;
  43. margin-left: -150px;
  44. margin-top: -200px;
  45. }
  46. /*
  47. .gradient {
  48. width: 600px;
  49. height: 600px;
  50. position: fixed;
  51. left: 50%;
  52. top: 50%;
  53. margin-left: -300px;
  54. margin-top: -300px;
  55. background: url(../images/gradient.png) no-repeat;
  56. }
  57. */
  58. .gradient {
  59. /* Center Positioning */
  60. width: 600px;
  61. height: 600px;
  62. position: fixed;
  63. left: 50%;
  64. top: 50%;
  65. margin-left: -300px;
  66. margin-top: -300px;
  67. /* Fallback */
  68. background-image: url(../images/gradient.png);
  69. background-repeat: no-repeat;
  70. /* CSS3 Gradient */
  71. background-image: -webkit-gradient(radial, 0% 0%, 0% 100%, from(rgba(213,246,255,1)), to(rgba(213,246,255,0)));
  72. background-image: -webkit-radial-gradient(50% 50%, 40% 40%, rgba(213,246,255,1), rgba(213,246,255,0));
  73. background-image: -moz-radial-gradient(50% 50%, 50% 50%, rgba(213,246,255,1), rgba(213,246,255,0));
  74. background-image: -ms-radial-gradient(50% 50%, 50% 50%, rgba(213,246,255,1), rgba(213,246,255,0));
  75. background-image: -o-radial-gradient(50% 50%, 50% 50%, rgba(213,246,255,1), rgba(213,246,255,0));
  76. }
  77. /*******************
  78. LOGIN FORM
  79. *******************/
  80. .login-form {
  81. width: 300px;
  82. margin: 0 auto;
  83. position: relative;
  84. z-index:5;
  85. background: #f3f3f3;
  86. border: 1px solid #fff;
  87. border-radius: 5px;
  88. box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  89. -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  90. -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  91. }
  92. /*******************
  93. HEADER
  94. *******************/
  95. .login-form .header {
  96. padding: 40px 30px 30px 30px;
  97. }
  98. .login-form .header h1 {
  99. font-family: 'Bree Serif', serif;
  100. font-weight: 300;
  101. font-size: 28px;
  102. line-height:34px;
  103. color: #414848;
  104. text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
  105. margin-bottom: 10px;
  106. }
  107. .login-form .header span {
  108. font-size: 11px;
  109. line-height: 16px;
  110. color: #678889;
  111. text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
  112. }
  113. /*******************
  114. CONTENT
  115. *******************/
  116. .login-form .content {
  117. padding: 0 30px 25px 30px;
  118. }
  119. /* Input field */
  120. .login-form .content .input {
  121. width: 188px;
  122. padding: 15px 25px;
  123. font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  124. font-weight: 400;
  125. font-size: 14px;
  126. color: #9d9e9e;
  127. text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
  128. background: #fff;
  129. border: 1px solid #fff;
  130. border-radius: 5px;
  131. box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
  132. -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
  133. -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
  134. }
  135. /* Second input field */
  136. .login-form .content .password, .login-form .content .pass-icon {
  137. margin-top: 25px;
  138. }
  139. .login-form .content .input:hover {
  140. background: #dfe9ec;
  141. color: #414848;
  142. }
  143. .login-form .content .input:focus {
  144. background: #dfe9ec;
  145. color: #414848;
  146. box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
  147. -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
  148. -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
  149. }
  150. .user-icon, .pass-icon {
  151. width: 46px;
  152. height: 47px;
  153. display: block;
  154. position: absolute;
  155. left: 0px;
  156. padding-right: 2px;
  157. z-index: 3;
  158. -moz-border-radius-topleft: 5px;
  159. -moz-border-radius-bottomleft: 5px;
  160. -webkit-border-top-left-radius: 5px;
  161. -webkit-border-bottom-left-radius: 5px;
  162. }
  163. .user-icon {
  164. top:147px; /* Positioning fix for slide-in, got lazy to think up of simpler method. */
  165. background: rgba(65,72,72,0.75) url(../images/user-icon.png) no-repeat center;
  166. }
  167. .pass-icon {
  168. top:221px;
  169. background: rgba(65,72,72,0.75) url(../images/pass-icon.png) no-repeat center;
  170. }
  171. /* Animation */
  172. .input, .user-icon, .pass-icon, .button, .register {
  173. transition: all 0.5s;
  174. -moz-transition: all 0.5s;
  175. -webkit-transition: all 0.5s;
  176. -o-transition: all 0.5s;
  177. -ms-transition: all 0.5s;
  178. }
  179. /*******************
  180. FOOTER
  181. *******************/
  182. .login-form .footer {
  183. padding: 25px 30px 40px 30px;
  184. overflow: auto;
  185. background: #d4dedf;
  186. border-top: 1px solid #fff;
  187. box-shadow: inset 0 1px 0 rgba(0,0,0,0.15);
  188. -moz-box-shadow: inset 0 1px 0 rgba(0,0,0,0.15);
  189. -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.15);
  190. }
  191. /* Login button */
  192. .login-form .footer .button {
  193. float:right;
  194. padding: 11px 25px;
  195. font-family: 'Bree Serif', serif;
  196. font-weight: 300;
  197. font-size: 18px;
  198. color: #fff;
  199. text-shadow: 0px 1px 0 rgba(0,0,0,0.25);
  200. background: #56c2e1;
  201. border: 1px solid #46b3d3;
  202. border-radius: 5px;
  203. cursor: pointer;
  204. box-shadow: inset 0 0 2px rgba(256,256,256,0.75);
  205. -moz-box-shadow: inset 0 0 2px rgba(256,256,256,0.75);
  206. -webkit-box-shadow: inset 0 0 2px rgba(256,256,256,0.75);
  207. }
  208. .login-form .footer .button:hover {
  209. background: #3f9db8;
  210. border: 1px solid rgba(256,256,256,0.75);
  211. box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
  212. -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
  213. -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
  214. }
  215. .login-form .footer .button:focus {
  216. position: relative;
  217. bottom: -1px;
  218. background: #56c2e1;
  219. box-shadow: inset 0 1px 6px rgba(256,256,256,0.75);
  220. -moz-box-shadow: inset 0 1px 6px rgba(256,256,256,0.75);
  221. -webkit-box-shadow: inset 0 1px 6px rgba(256,256,256,0.75);
  222. }
  223. /* Register button */
  224. .login-form .footer .register {
  225. display: block;
  226. float: right;
  227. padding: 10px;
  228. margin-right: 20px;
  229. background: none;
  230. border: none;
  231. cursor: pointer;
  232. font-family: 'Bree Serif', serif;
  233. font-weight: 300;
  234. font-size: 18px;
  235. color: #414848;
  236. text-shadow: 0px 1px 0 rgba(256,256,256,0.5);
  237. }
  238. .login-form .footer .register:hover {
  239. color: #3f9db8;
  240. }
  241. .login-form .footer .register:focus {
  242. position: relative;
  243. bottom: -1px;
  244. }

Powered by TurnKey Linux.