]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/login/login.component.scss
Add external login buttons
[github/Chocobozzz/PeerTube.git] / client / src / app / login / login.component.scss
index 2cf6991cef2ba38b791facfde84d01f66ff4ce7f..ccc98c12af69e58dae21b89f8f6fcf83ec1df334 100644 (file)
@@ -1,9 +1,15 @@
 @import '_variables';
 @import '_mixins';
 
+label {
+  display: block;
+}
+
 input:not([type=submit]) {
   @include peertube-input-text(340px);
-  display: block;
+  display: inline-block;
+  margin-right: 5px;
+
 }
 
 input[type=submit] {
@@ -11,12 +17,53 @@ input[type=submit] {
   @include orange-button;
 }
 
-input[type=password] {
-  display: inline-block;
-  margin-right: 5px;
+.create-an-account, .forgot-password-button {
+  color: var(--mainForegroundColor);
+  cursor: pointer;
+  transition: opacity cubic-bezier(0.39, 0.575, 0.565, 1);
+
+  &:hover {
+    text-decoration: none !important;
+    opacity: .7 !important;
+  }
 }
 
-.forgot-password-button {
-  display: inline-block;
-  cursor: pointer;
+.login-form-and-externals {
+  display: flex;
+  flex-wrap: wrap;
+  font-size: 15px;
+
+  form {
+    margin: 0 50px 20px 0;
+  }
+
+  .external-login-blocks {
+    padding: 0 10px 10px 10px;
+    min-width: 200px;
+
+    .block-title {
+      font-weight: $font-semibold;
+    }
+
+    .external-login-block {
+      cursor: pointer;
+      border: 1px solid #d1d7e0;
+      border-radius: 5px;
+      margin: 10px 10px 0 0;
+      display: flex;
+      justify-content: center;
+      align-items: center;
+      min-height: 35px;
+      min-width: 100px;
+
+      &:hover {
+        background-color: rgba(209, 215, 224, 0.5)
+      }
+
+      a {
+        @include disable-default-a-behaviour;
+        color: var(--mainForegroundColor);
+      }
+    }
+  }
 }