auth.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. $color: #FD7F71;
  2. h1, .input::-webkit-input-placeholder, .button {
  3. font-family: 'roboto', sans-serif;
  4. transition: all 0.3s ease-in-out;
  5. }
  6. h1 {
  7. height: 100px;
  8. width: 100%;
  9. font-size: 18px;
  10. background: darken($color, 4%);
  11. color: white;
  12. line-height: 150%;
  13. border-radius: 3px 3px 0 0;
  14. box-shadow: 0 2px 5px 1px rgba(0,0,0,0.2);
  15. }
  16. .form {
  17. box-sizing: border-box;
  18. width: 460px;
  19. margin: 100px auto 0;
  20. box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.2);
  21. padding-bottom: 40px;
  22. border-radius: 3px;
  23. }
  24. .input {
  25. margin: 20px 25px;
  26. width: 80%;
  27. display: block;
  28. border: none;
  29. padding: 10px 0;
  30. border-bottom: solid 1px $color;
  31. transition: all 0.3s cubic-bezier(.64,.09,.08,1);
  32. background: linear-gradient(to bottom, rgba(255,255,255,0) 96%, $color 4%);
  33. background-position: -200px 0;
  34. background-size: 200px 100%;
  35. background-repeat: no-repeat;
  36. color: darken($color, 1%);
  37. &:focus {
  38. box-shadow: none;
  39. outline: none;
  40. background-position: 0 0;
  41. &::-webkit-input-placeholder {
  42. color: $color;
  43. font-size: 11px;
  44. transform: translateY(-20px);
  45. visibility: visible !important;
  46. }
  47. }
  48. }
  49. //.input:focus::-webkit-input-placeholder {text-indent: 500px; transition: text-indent 0.5s ease;}
  50. .button {
  51. border: none;
  52. background: $color;
  53. cursor: pointer;
  54. border-radius: 3px;
  55. padding: 6px;
  56. margin-bottom: 10px;
  57. width: 80%;
  58. color: white;
  59. margin-left: 25px;
  60. box-shadow: 0 3px 6px 0 rgba(0,0,0,0.2);
  61. &:hover {
  62. transform: translateY(-3px);
  63. box-shadow: 0 6px 6px 0 rgba(0,0,0,0.2);
  64. }
  65. }
  66. .allStaffs{
  67. max-width: 1500px;
  68. display: flex;
  69. flex-wrap: wrap;
  70. justify-content: center;
  71. align-items: center;
  72. align-content: center;
  73. }
  74. .staffs{
  75. max-width: 1500px;
  76. display: flex;
  77. flex-wrap: wrap;
  78. justify-content: center;
  79. align-items: center;
  80. align-content: center;
  81. }
  82. .staff{
  83. width: 350px;
  84. }
  85. .main{
  86. display: flex;
  87. }
  88. .loader{
  89. position: fixed;
  90. bottom: 0;
  91. left: 50%;
  92. right: 0;
  93. top: 50%;
  94. height: 100%;
  95. width: 100%;
  96. z-index: 9999;
  97. }
  98. .sider{
  99. background-color: #FD7F71
  100. }
  101. .auth__button{
  102. width: 100%;
  103. display : flex;
  104. padding-top: 30px;
  105. padding-bottom: 30px;
  106. }
  107. .btn1{
  108. width: 180px;
  109. margin-left: 0px;
  110. border-radius: 0px;
  111. padding-bottom: 10px;
  112. padding-top: 10px;
  113. }
  114. .btn2{
  115. width: 180px;
  116. margin-left: 0px;
  117. border-radius: 0px;
  118. padding-bottom: 10px;
  119. padding-top: 10px;
  120. }
  121. .ant-layout-sider-children{
  122. background: #FD7F71;
  123. }