Advertisement
nPhoenix

login

Jul 4th, 2012
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.87 KB | None | 0 0
  1. html, body {
  2.     height: 100%;
  3. }
  4.  
  5. body {
  6.     font: 12px 'Lucida Sans Unicode', 'Trebuchet MS', Arial, Helvetica;
  7.     margin: 0;
  8.     background-color: #d9dee2;
  9.     background-image: -webkit-gradient(linear, left top, left bottom, from(#ebeef2), to(#d9dee2));
  10.     background-image: -webkit-linear-gradient(top, #ebeef2, #d9dee2);
  11.     background-image: -moz-linear-gradient(top, #ebeef2, #d9dee2);
  12.     background-image: -ms-linear-gradient(top, #ebeef2, #d9dee2);
  13.     background-image: -o-linear-gradient(top, #ebeef2, #d9dee2);
  14.     background-image: linear-gradient(top, #ebeef2, #d9dee2);
  15. }
  16.  
  17.  
  18.  
  19. /*--------------------*/
  20.  
  21.  
  22.  
  23. #login {
  24.     background-color: #fff;
  25.     background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
  26.     background-image: -webkit-linear-gradient(top, #fff, #eee);
  27.     background-image: -moz-linear-gradient(top, #fff, #eee);
  28.     background-image: -ms-linear-gradient(top, #fff, #eee);
  29.     background-image: -o-linear-gradient(top, #fff, #eee);
  30.     background-image: linear-gradient(top, #fff, #eee);
  31.     height: 240px;
  32.     width: 400px;
  33.     margin: -150px 0 0 -230px;
  34.     padding: 30px;
  35.     position: absolute;
  36.     top: 50%;
  37.     left: 50%;
  38.     z-index: 0;
  39.     -moz-border-radius: 3px;
  40.     -webkit-border-radius: 3px;
  41.     border-radius: 3px;
  42.     -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.2),
  43.  
  44.           0 1px 1px rgba(0, 0, 0, .2),
  45.  
  46.           0 3px 0 #fff,
  47.  
  48.           0 4px 0 rgba(0, 0, 0, .2),
  49.  
  50.           0 6px 0 #fff,  
  51.  
  52.           0 7px 0 rgba(0, 0, 0, .2);
  53.     -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.2),  
  54.  
  55.           1px 1px   0 rgba(0,   0,   0,   .1),
  56.  
  57.           3px 3px   0 rgba(255, 255, 255, 1),
  58.  
  59.           4px 4px   0 rgba(0,   0,   0,   .1),
  60.  
  61.           6px 6px   0 rgba(255, 255, 255, 1),  
  62.  
  63.           7px 7px   0 rgba(0,   0,   0,   .1);
  64.     box-shadow: 0 0 2px rgba(0, 0, 0, 0.2),  
  65.  
  66.           0 1px 1px rgba(0, 0, 0, .2),
  67.  
  68.           0 3px 0 #fff,
  69.  
  70.           0 4px 0 rgba(0, 0, 0, .2),
  71.  
  72.           0 6px 0 #fff,  
  73.  
  74.           0 7px 0 rgba(0, 0, 0, .2);
  75. }
  76.  
  77. #login:before {
  78.     content: '';
  79.     position: absolute;
  80.     z-index: -1;
  81.     border: 1px dashed #ccc;
  82.     top: 5px;
  83.     bottom: 5px;
  84.     left: 5px;
  85.     right: 5px;
  86.     -moz-box-shadow: 0 0 0 1px #fff;
  87.     -webkit-box-shadow: 0 0 0 1px #fff;
  88.     box-shadow: 0 0 0 1px #fff;
  89. }
  90.  
  91.  
  92.  
  93. /*--------------------*/
  94.  
  95.  
  96.  
  97. h1 {
  98.     text-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0px 2px 0 rgba(0, 0, 0, .5);
  99.     text-transform: uppercase;
  100.     text-align: center;
  101.     color: #666;
  102.     margin: 0 0 30px 0;
  103.     letter-spacing: 4px;
  104.     font: normal 26px/1 Verdana, Helvetica;
  105.     position: relative;
  106. }
  107.  
  108. h1:after, h1:before {
  109.     background-color: #777;
  110.     content: "";
  111.     height: 1px;
  112.     position: absolute;
  113.     top: 15px;
  114.     width: 120px;
  115. }
  116.  
  117. h1:after {
  118.     background-image: -webkit-gradient(linear, left top, right top, from(#777), to(#fff));
  119.     background-image: -webkit-linear-gradient(left, #777, #fff);
  120.     background-image: -moz-linear-gradient(left, #777, #fff);
  121.     background-image: -ms-linear-gradient(left, #777, #fff);
  122.     background-image: -o-linear-gradient(left, #777, #fff);
  123.     background-image: linear-gradient(left, #777, #fff);
  124.     right: 0;
  125. }
  126.  
  127. h1:before {
  128.     background-image: -webkit-gradient(linear, right top, left top, from(#777), to(#fff));
  129.     background-image: -webkit-linear-gradient(right, #777, #fff);
  130.     background-image: -moz-linear-gradient(right, #777, #fff);
  131.     background-image: -ms-linear-gradient(right, #777, #fff);
  132.     background-image: -o-linear-gradient(right, #777, #fff);
  133.     background-image: linear-gradient(right, #777, #fff);
  134.     left: 0;
  135. }
  136.  
  137.  
  138.  
  139. /*--------------------*/
  140.  
  141.  
  142.  
  143. fieldset {
  144.     border: 0;
  145.     padding: 0;
  146.     margin: 0;
  147. }
  148.  
  149.  
  150.  
  151. /*--------------------*/
  152.  
  153.  
  154.  
  155. #inputs input {
  156.     background: #f1f1f1 url(http://www.red-team-design.com/wp-content/uploads/2011/09/login-sprite.png) no-repeat;
  157.     padding: 15px 15px 15px 30px;
  158.     margin: 0 0 10px 0;
  159.     width: 353px;
  160.  /* 353 + 2 + 45 = 400 */
  161.     border: 1px solid #ccc;
  162.     -moz-border-radius: 5px;
  163.     -webkit-border-radius: 5px;
  164.     border-radius: 5px;
  165.     -moz-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
  166.     -webkit-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
  167.     box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
  168. }
  169.  
  170. #username {
  171.     background-position: 5px -2px !important;
  172. }
  173.  
  174. #password {
  175.     background-position: 5px -52px !important;
  176. }
  177.  
  178. #inputs input:focus {
  179.     background-color: #fff;
  180.     border-color: #e8c291;
  181.     outline: none;
  182.     -moz-box-shadow: 0 0 0 1px #e8c291 inset;
  183.     -webkit-box-shadow: 0 0 0 1px #e8c291 inset;
  184.     box-shadow: 0 0 0 1px #e8c291 inset;
  185. }
  186.  
  187.  
  188.  
  189. /*--------------------*/
  190.  
  191. #actions {
  192.     margin: 25px 0 0 0;
  193. }
  194.  
  195. #submit {
  196.     background-color: #ffb94b;
  197.     background-image: -webkit-gradient(linear, left top, left bottom, from(#fddb6f), to(#ffb94b));
  198.     background-image: -webkit-linear-gradient(top, #fddb6f, #ffb94b);
  199.     background-image: -moz-linear-gradient(top, #fddb6f, #ffb94b);
  200.     background-image: -ms-linear-gradient(top, #fddb6f, #ffb94b);
  201.     background-image: -o-linear-gradient(top, #fddb6f, #ffb94b);
  202.     background-image: linear-gradient(top, #fddb6f, #ffb94b);
  203.     -moz-border-radius: 3px;
  204.     -webkit-border-radius: 3px;
  205.     border-radius: 3px;
  206.     text-shadow: 0 1px 0 rgba(255,255,255,0.5);
  207.     -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
  208.     -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
  209.     box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
  210.     border-width: 1px;
  211.     border-style: solid;
  212.     border-color: #d69e31 #e3a037 #d5982d #e3a037;
  213.     float: left;
  214.     height: 35px;
  215.     padding: 0;
  216.     width: 120px;
  217.     cursor: pointer;
  218.     font: bold 15px Arial, Helvetica;
  219.     color: #8f5a0a;
  220. }
  221.  
  222. #submit:hover,#submit:focus {
  223.     background-color: #fddb6f;
  224.     background-image: -webkit-gradient(linear, left top, left bottom, from(#ffb94b), to(#fddb6f));
  225.     background-image: -webkit-linear-gradient(top, #ffb94b, #fddb6f);
  226.     background-image: -moz-linear-gradient(top, #ffb94b, #fddb6f);
  227.     background-image: -ms-linear-gradient(top, #ffb94b, #fddb6f);
  228.     background-image: -o-linear-gradient(top, #ffb94b, #fddb6f);
  229.     background-image: linear-gradient(top, #ffb94b, #fddb6f);
  230. }
  231.  
  232. #submit:active {
  233.     outline: none;
  234.     -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
  235.     -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
  236.     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
  237. }
  238.  
  239. #submit::-moz-focus-inner {
  240.     border: none;
  241. }
  242.  
  243. #actions a {
  244.     color: #3151A2;
  245.     float: right;
  246.     line-height: 35px;
  247.     margin-left: 10px;
  248. }
  249.  
  250.  
  251.  
  252. /*--------------------*/
  253.  
  254.  
  255.  
  256. #back {
  257.     display: block;
  258.     text-align: center;
  259.     position: relative;
  260.     top: 60px;
  261.     color: #999;
  262. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement