]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+login/login.component.scss
Support studio transcoding in peertube runner
[github/Chocobozzz/PeerTube.git] / client / src / app / +login / login.component.scss
index 9ba09e9e446f4ba0da0d136ae7786b72d201cd74..c588c425a0c07b7a2cf486ec37e79fc58d941997 100644 (file)
-@import '_variables';
-@import '_mixins';
+@use '_variables' as *;
+@use '_mixins' as *;
 
 label {
-  display: block;
-}
-
-input:not([type=submit]) {
-  @include peertube-input-text(340px);
-  display: inline-block;
-  margin-right: 5px;
+  @include font-size(18px);
 
+  display: block;
+  margin-bottom: 5px;
 }
 
-input[type=submit] {
-  @include peertube-button;
-  @include orange-button;
+input[type=text],
+input[type=email] {
+  @include peertube-input-text(100%);
 }
 
-.modal-body {
-  text-align: left;
+.wrapper {
+  display: flex;
+  justify-content: space-between;
+  flex-wrap: wrap;
+  margin: auto;
 
-  .forgot-password-instructions {
-    margin-bottom: 20px;
+  > div {
+    flex: 1 1;
   }
 }
 
-.modal-footer.inputs {
-  .action-button.action-button-cancel {
-    width: auto !important;
-    display: inline-block;
-  }
+.wrapper,
+.alert {
+  max-width: 1200px;
 }
 
-@media screen and (max-width: #{map-get($container-max-widths, sm)}) {
-  .modal-body {
-    #forgot-password-email {
-      width: 100%;
-    }
-  }
+.alert {
+  @include margin(0, auto, 2rem);
+}
 
-  .modal-footer.inputs {
-    .action-button.action-button-cancel {
-      display: none;
+.login-form-and-externals {
+  @include margin-left(10px);
+  @include margin-right(10px);
+  @include margin-bottom(2.5rem);
+
+  display: flex;
+  flex-wrap: wrap;
+  justify-content: center;
+  max-width: 450px;
+}
+
+.external-login-blocks {
+  min-width: 200px;
+  text-align: center;
+
+  .external-login-block {
+    @include disable-default-a-behaviour;
+
+    cursor: pointer;
+    border: 1px solid #d1d7e0;
+    border-radius: 5px;
+    color: pvar(--mainForegroundColor);
+    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);
     }
   }
 }
 
-.create-an-account, .forgot-password-button {
-  color: pvar(--mainForegroundColor);
-  cursor: pointer;
-  transition: opacity cubic-bezier(0.39, 0.575, 0.565, 1);
+.instance-information {
+  @include margin-left(10px);
+  @include margin-right(10px);
+  @include margin-bottom(2.5rem);
+  @include rfs (22rem, min-width);
 
-  &:hover {
-    text-decoration: none !important;
-    opacity: .7 !important;
-  }
+  max-width: 600px;
 }
 
-.login-form-and-externals {
-  display: flex;
-  flex-wrap: wrap;
-  font-size: 15px;
+.terms-anchor {
+  display: inline;
+}
 
-  form {
-    margin: 0 50px 20px 0;
-  }
+.terms-link {
+  display: none;
+}
+
+@include on-small-main-col {
+  .wrapper {
+    flex-direction: column-reverse;
 
-  .external-login-blocks {
-    min-width: 200px;
+    .login-form-and-externals,
+    .instance-information {
+      @include margin-left(0);
+      @include margin-right(0);
 
-    .block-title {
-      font-weight: $font-semibold;
+      width: 100%;
+      max-width: 450px;
+      min-width: unset;
+      align-self: center;
     }
 
-    .external-login-block {
-      @include disable-default-a-behaviour;
-
-      cursor: pointer;
-      border: 1px solid #d1d7e0;
-      border-radius: 5px;
-      color: pvar(--mainForegroundColor);
-      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)
+    .instance-information {
+      ::ng-deep .accordion {
+        display: none;
       }
     }
+
+    .terms-anchor {
+      display: none;
+    }
+
+    .terms-link {
+      display: inline;
+    }
   }
 }