login.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. .p-login,
  2. .p-register {
  3. .nav-home {
  4. display: flex;
  5. align-items: flex-end;
  6. position: absolute;
  7. top: 38px;
  8. right: 44px;
  9. @include media-breakpoint-up(md) {
  10. top: 48px;
  11. right: 50%;
  12. transform: translateX(-450px);
  13. }
  14. .icon {
  15. @include icon('@img/home.png', 44px);
  16. }
  17. .text {
  18. display: none;
  19. margin-left: 16px;
  20. font-size: 28px;
  21. font-weight: bold;
  22. line-height: 1.2;
  23. color: #fff;
  24. @include media-breakpoint-up(md) {
  25. display: block;
  26. }
  27. }
  28. }
  29. .logo {
  30. display: block;
  31. margin: 120px auto 60px;
  32. @include icon('@img/logo2.png', 236px, 110px);
  33. }
  34. .container {
  35. margin: 0 auto 48px;
  36. padding: 48px 36px 54px;
  37. width: 670px;
  38. border-radius: 8px;
  39. background: #fff;
  40. }
  41. .ptc-form {
  42. .title {
  43. line-height: 44px;
  44. font-size: 32px;
  45. font-weight: 600;
  46. color: #333;
  47. }
  48. .tip {
  49. font-size: 32px;
  50. color: #bebebe;
  51. text-align: center;
  52. }
  53. }
  54. .alternative {
  55. margin-top: 60px;
  56. text-align: center;
  57. font-size: 0;
  58. }
  59. .delimiter {
  60. position: relative;
  61. display: inline-block;
  62. padding: 0 20px;
  63. font-size: 32px;
  64. color: #bebebe;
  65. &::before,
  66. &::after {
  67. content: '';
  68. position: absolute;
  69. top: 50%;
  70. width: 170px;
  71. height: 2px;
  72. background: #e5e5e5;
  73. }
  74. &::before {
  75. left: 0;
  76. transform: translate(-100%, -50%);
  77. }
  78. &::after {
  79. right: 0;
  80. transform: translate(100%, -50%);
  81. }
  82. }
  83. .list {
  84. margin: 40px 0;
  85. display: inline-flex;
  86. }
  87. .item {
  88. width: 80px;
  89. height: 80px;
  90. background-size: 100% 100%;
  91. &:nth-child(1) {
  92. background-image: url(@img/google.png);
  93. }
  94. &:nth-child(2) {
  95. background-image: url(@img/facebook.png);
  96. }
  97. &:nth-child(3) {
  98. background-image: url(@img/apple.png);
  99. }
  100. + .item {
  101. margin-left: 60px;
  102. }
  103. }
  104. .policy {
  105. font-size: 28px;
  106. line-height: 40px;
  107. color: #bebebe;
  108. }
  109. }
  110. .p-register {
  111. .policy {
  112. margin-top: 128px;
  113. padding-top: 60px;
  114. border-top: 2px solid #E5E5E5;
  115. }
  116. }