Просмотр исходного кода

Merge pull request #22716 from overleaf/ds-sso-login-redesign-bs5

Website Redesign & BS5 migration - SSO Login page

GitOrigin-RevId: 9c819479c7ca6510d2e683881564427c91c4f04e
Davinder Singh 1 год назад
Родитель
Сommit
0c8e31708a
2 измененных файлов с 46 добавлено и 0 удалено
  1. 45 0
      services/web/frontend/stylesheets/bootstrap-5/pages/auth.scss
  2. 1 0
      services/web/locales/en.json

+ 45 - 0
services/web/frontend/stylesheets/bootstrap-5/pages/auth.scss

@@ -22,3 +22,48 @@
     text-align: left;
     text-align: left;
   }
   }
 }
 }
+
+.login-overleaf-logo-container {
+  display: block;
+  padding: var(--spacing-06);
+
+  .login-overleaf-logo {
+    height: 40px; // TODO: CHange this to variable
+    width: 34.5px;
+  }
+}
+
+.login-register-hr-text-container {
+  line-height: 1;
+  position: relative;
+  padding: var(--spacing-08) 0;
+
+  &::before {
+    content: '';
+    position: absolute;
+    height: 1px;
+    background-color: var(--neutral-20);
+    top: 50%;
+    left: 0;
+    right: 0;
+  }
+}
+
+.login-register-hr-text {
+  position: relative;
+  background-color: #fff;
+  padding: 0 var(--spacing-05);
+}
+
+.sso-auth-login-container {
+  max-width: 400px;
+  margin: 0 auto;
+
+  h1 {
+    font-size: var(--font-size-06);
+  }
+
+  .login-register-text {
+    font-size: var(--font-size-02);
+  }
+}

+ 1 - 0
services/web/locales/en.json

@@ -1223,6 +1223,7 @@
   "login_to_accept_invitation": "Log in to accept invitation",
   "login_to_accept_invitation": "Log in to accept invitation",
   "login_to_overleaf": "Log in to Overleaf",
   "login_to_overleaf": "Log in to Overleaf",
   "login_with_service": "Log in with __service__",
   "login_with_service": "Log in with __service__",
+  "login_with_sso": "Log in to Overleaf with SSO",
   "logs_and_output_files": "Logs and output files",
   "logs_and_output_files": "Logs and output files",
   "longer_compile_timeout": "Longer <0>compile timeout</0>",
   "longer_compile_timeout": "Longer <0>compile timeout</0>",
   "longer_compile_timeout_on_faster_servers": "Longer compile timeout on faster servers",
   "longer_compile_timeout_on_faster_servers": "Longer compile timeout on faster servers",