login-register.less 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. @brand-ieee-color: #00629b;
  2. @brand-google-color: #276fea; // Not the "official" color but modified for a11y
  3. @brand-twitter-color: #1da1f2;
  4. @brand-orcid-color: #a6ce39;
  5. .login-register-alternatives {
  6. .form-group:last-child {
  7. margin-bottom: 0;
  8. }
  9. }
  10. .login-register-container {
  11. max-width: 400px;
  12. margin: 0 auto;
  13. }
  14. .login-register-header {
  15. padding-top: @line-height-computed;
  16. padding-bottom: @line-height-computed - 5;
  17. border-bottom: solid 1px @hr-border;
  18. }
  19. .login-register-header-heading {
  20. margin: 0;
  21. color: @text-color;
  22. }
  23. .login-register-card {
  24. padding-top: 0;
  25. padding-bottom: 0;
  26. text-align: center;
  27. }
  28. .login-register-form {
  29. padding: @line-height-computed;
  30. border-bottom: solid 1px @hr-border;
  31. &:last-child {
  32. border-bottom-width: 0;
  33. }
  34. }
  35. .login-register-other-links {
  36. padding: @line-height-computed;
  37. }
  38. .login-register-text,
  39. .login-register-hr-text-container {
  40. margin: 0;
  41. }
  42. .login-register-text {
  43. padding-bottom: 25px;
  44. &:last-child {
  45. padding-bottom: 0;
  46. }
  47. }
  48. .login-register-hr-text-container {
  49. line-height: 1;
  50. position: relative;
  51. padding: @line-height-computed 0;
  52. &::before {
  53. content: '';
  54. position: absolute;
  55. height: 1px;
  56. background-color: @hr-border;
  57. top: 50%;
  58. left: 0;
  59. right: 0;
  60. }
  61. }
  62. .login-register-hr-text {
  63. position: relative;
  64. background-color: #fff;
  65. padding: 0 (@line-height-computed / 2);
  66. }
  67. .login-register-newsletter {
  68. font-size: 90%;
  69. margin-top: @line-height-computed;
  70. text-align: left;
  71. & > .checkbox {
  72. margin-bottom: 0;
  73. }
  74. }
  75. .login-btn-icon {
  76. position: absolute;
  77. top: 4px;
  78. left: 4px;
  79. background: #fff url(../../../public/img/brand/lion.svg) center/20px no-repeat;
  80. border-radius: 99999px;
  81. width: 26px;
  82. height: 26px;
  83. &::before {
  84. content: '\00a0'; // Non-breakable space. A non-breakable character here makes this icon work like font-awesome.
  85. }
  86. }
  87. .login-btn-icon-ieee {
  88. background-image: url(../../../public/img/other-brands/logo_ieee.svg);
  89. }
  90. .login-btn-icon-google {
  91. background-image: url(../../../public/img/other-brands/logo_google.svg);
  92. }
  93. .login-btn-icon-twitter {
  94. background-image: url(../../../public/img/other-brands/logo_twitter.svg);
  95. }
  96. .login-btn-icon-orcid {
  97. background-image: url(../../../public/img/other-brands/logo_orcid.svg);
  98. }
  99. .login-btn-icon-institution {
  100. background-image: url(../../../public/img/other-brands/logo_institution.svg);
  101. }
  102. .registration-message-heading {
  103. color: @text-color;
  104. }
  105. .registration-message-details {
  106. font-size: 90%;
  107. }
  108. .registration-block-separator {
  109. margin-bottom: 0px;
  110. }