You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
2.2 KiB

7 years ago
  1. #login-form {
  2. &, * {
  3. box-sizing: border-box;
  4. -moz-box-sizing: border-box;
  5. -webkit-box-sizing: border-box;
  6. }
  7. width:100%;
  8. height:100%;
  9. padding:20px 0;
  10. .login-wrap {
  11. width:300px;
  12. margin: 20px auto;
  13. border:1px solid $primary-color;
  14. .login {
  15. background-color: #FFF;
  16. padding: 20px;
  17. border-radius: 5px;
  18. header h1 {
  19. text-align: center;
  20. color: #777;
  21. font-size:1.67em;
  22. margin:0.67em 0;
  23. }
  24. legend {
  25. display:none;
  26. }
  27. .login-form {
  28. text-align:center;
  29. .control-group {
  30. margin-bottom: 10px;
  31. &:after {
  32. @include clearfix;
  33. }
  34. > label {
  35. display:none;
  36. }
  37. > input {
  38. text-align: center;
  39. background-color: #ECF0F1;
  40. border: 2px solid transparent;
  41. border-radius: 3px;
  42. font-size: 16px;
  43. font-weight: 200;
  44. padding: 10px 0;
  45. width: 250px;
  46. transition: border .5s;
  47. &:focus {
  48. border: 2px solid $primary-color;
  49. box-shadow: none;
  50. }
  51. }
  52. .checkbox {
  53. text-align:left;
  54. }
  55. }
  56. .btn {
  57. border: 2px solid transparent;
  58. background: $primary-color;
  59. color: #ffffff;
  60. font-size: 16px;
  61. line-height: 25px;
  62. padding: 10px 0;
  63. text-decoration: none;
  64. text-shadow: none;
  65. border-radius: 3px;
  66. box-shadow: none;
  67. transition: 0.25s;
  68. display: block;
  69. width: 250px;
  70. margin: 0 auto;
  71. cursor:pointer;
  72. &:hover {
  73. background-color: $primary-hover-color;
  74. }
  75. }
  76. .social-login {
  77. margin:15px 0px 0px 0px;
  78. padding:0;
  79. list-style:none;
  80. &, li {
  81. font-size:0px;
  82. }
  83. li {
  84. &, a {
  85. display:inline-block;
  86. }
  87. a > img {
  88. display:block; margin:0 auto;
  89. }
  90. + li {
  91. margin-left:5px;
  92. }
  93. }
  94. }
  95. }
  96. }
  97. }
  98. }