index.less 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. @import "~assets/less/variable";
  2. .container {
  3. background: @secondary-color;
  4. position: fixed;
  5. top: 0;
  6. left: 0;
  7. right: 0;
  8. bottom: 0;
  9. display: flex;
  10. flex-direction: column;
  11. justify-content: center;
  12. align-items: center;
  13. &.share {
  14. background: linear-gradient(135deg, @primary-color, @secondary-color) transparent;
  15. .window {
  16. background-color: transparent;
  17. }
  18. }
  19. .logo {
  20. width: 200px;
  21. height: 40px;
  22. position: relative;
  23. z-index: 1;
  24. }
  25. }
  26. @media (max-width: 768px) {
  27. .container {
  28. .window {
  29. width: 80%;
  30. padding-top: 32px;
  31. margin-bottom: 0;
  32. }
  33. }
  34. }
  35. .wrapper {
  36. width: 320px;
  37. background-color: fade(@secondary-color, 50%);
  38. padding-top: 64px;
  39. margin-bottom: 180px;
  40. display: flex;
  41. flex-direction: column;
  42. align-items: center;
  43. position: relative;
  44. z-index: 1;
  45. }
  46. .inputs {
  47. height: 45px;
  48. border-bottom: 0;
  49. display: flex;
  50. flex-direction: row;
  51. align-items: center;
  52. &:last-of-type {
  53. margin-bottom: 18px;
  54. }
  55. &:first-of-type {
  56. border-bottom: 1px solid @white;
  57. }
  58. i {
  59. color: @white;
  60. font-size: 24px;
  61. flex-shrink: 0;
  62. }
  63. input {
  64. flex: 1;
  65. background-color: transparent;
  66. padding: 0 8px;
  67. border: 0;
  68. outline: none;
  69. color: @white;
  70. font-size: 1.15em;
  71. &::-webkit-input-placeholder {
  72. color: fade(@white, 75);
  73. }
  74. &::-moz-placeholder {
  75. color: fade(@white, 75);
  76. }
  77. &:-ms-input-placeholder {
  78. color: fade(@white, 75);
  79. }
  80. &:-moz-placeholder {
  81. color: fade(@white, 75);
  82. }
  83. &:-webkit-autofill {
  84. -webkit-text-fill-color: @white;
  85. transition: background-color 9999s ease-in-out 0s;
  86. }
  87. }
  88. }
  89. .forms {
  90. width: 320px;
  91. text-align: center;
  92. }
  93. .submits {
  94. width: 75%;
  95. height: 36px;
  96. background-color: transparent;
  97. margin-top: 38px;
  98. border: 1px solid @white;
  99. border-radius: 3px;
  100. color: @white;
  101. font-size: 1.15em;
  102. outline: none;
  103. &[disabled] {
  104. background-color: fade(@white, 20);
  105. }
  106. i {
  107. margin-right: 8px;
  108. }
  109. }