login.scss 1.6 KB

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