]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+signup/+register/register.component.scss
fix tabindex on login page
[github/Chocobozzz/PeerTube.git] / client / src / app / +signup / +register / register.component.scss
index 4221354ee621f7fd90f973999035be9639587536..d22d58c4a4f598644d35b7bdb134d3dcd6d5bd5b 100644 (file)
@@ -1,9 +1,5 @@
 @import '_variables';
 @import '_mixins';
-@import "./_bootstrap-variables";
-
-@import '~bootstrap/scss/functions';
-@import '~bootstrap/scss/variables';
 
 .alert {
   font-size: 15px;
 
 .wrapper {
   display: flex;
-  justify-content: space-between;
-  flex-wrap: wrap;
-
-  & > div {
-    margin-bottom: 40px;
+  flex-direction: column;
 
-    &.register-form {
-      width: 450px;
+  .register-form {
+    max-width: 600px;
+    align-self: center;
+  }
 
-      @media screen and (max-width: $mobile-view) {
-        width: 100%;
-      }
-    }
+  .register-form,
+  .instance-information {
+    width: 100%;
+  }
 
-    &.instance-information {
-      width: 600px;
-      margin-bottom: 40px;
-
-      .block {
-        font-size: 15px;
-        margin-bottom: 15px;
-        padding: 0 $btn-padding-x;
-      }
-
-      @media screen and (max-width: 1500px) {
-        width: 450px;
-      }
-      @media screen and (max-width: $mobile-view) {
-        width: 100%;
-      }
-
-      ngb-accordion ::ng-deep {
-        .btn {
-          font-weight: $font-semibold !important;
-          color: pvar(--mainForegroundColor) !important;
-        }
-      }
-    }
+  .instance-information {
+    margin-bottom: 15px;
   }
 }
 
 }
 
 .input-group {
-  @include peertube-input-group(400px);
+  @include peertube-input-group(100%);
 }
 
 .input-group-append {
   height: 30px;
 }
 
+.form-group-terms {
+  width: 100% !important;
+}
+
 input:not([type=submit]) {
-  @include peertube-input-text(400px);
+  @include peertube-input-text(100%);
   display: block;
 
   &#username,
@@ -76,19 +52,10 @@ input:not([type=submit]) {
   }
 }
 
-@media screen and (max-width: $mobile-view) {
-  .form-group-terms,
-  .input-group,
-  input:not([type=submit]) {
-    width: 100%;
-  }
-}
-
 input[type=submit],
 button {
   @include peertube-button;
   @include orange-button;
-  
 }
 
 .name-information {