@use '_variables' as *;
@use '_mixins' as *;
-@import '~bootstrap/scss/functions';
-@import '~bootstrap/scss/variables';
-
label {
+ @include font-size(18px);
+
display: block;
+ margin-bottom: 5px;
}
input[type=text],
@include peertube-input-text(100%);
}
-.modal-body {
- text-align: start;
-
- .forgot-password-instructions {
- margin-bottom: 20px;
- }
-}
-
-@media screen and (max-width: #{map-get($container-max-widths, sm)}) {
- .modal-body {
- #forgot-password-email {
- width: 100%;
- }
- }
-
- .modal-footer .grey-button {
- display: none;
- }
-}
-
-.create-an-account,
-.forgot-password-button {
- color: pvar(--mainForegroundColor);
- cursor: pointer;
- transition: opacity cubic-bezier(0.39, 0.575, 0.565, 1);
-
- &:hover {
- text-decoration: none !important;
- opacity: .7 !important;
- }
-}
-
.wrapper {
display: flex;
- justify-content: space-around;
+ justify-content: space-between;
flex-wrap: wrap;
+ margin: auto;
> div {
flex: 1 1;
}
+}
- .login-form-and-externals {
- @include margin-left(10px);
- @include margin-right(10px);
-
- display: flex;
- flex-wrap: wrap;
- font-size: 15px;
- max-width: 450px;
- margin-bottom: 40px;
-
- form {
- margin: 0;
-
- &,
- input {
- width: 100%;
- }
-
- .additionnal-links {
- display: block;
- text-align: center;
- margin-top: 20px;
- margin-bottom: 20px;
+.wrapper,
+.alert {
+ max-width: 1200px;
+}
- .forgot-password-button,
- .create-an-account {
- padding: 4px;
- display: inline-block;
+.alert {
+ @include margin(0, auto, 2rem);
+}
- color: var(--mainColor);
+.login-form-and-externals {
+ @include margin-left(10px);
+ @include margin-right(10px);
+ @include margin-bottom(2.5rem);
- &:hover,
- &:active {
- color: var(--mainHoverColor);
- }
- }
- }
- }
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+ max-width: 450px;
+}
- .external-login-blocks {
- min-width: 200px;
+.external-login-blocks {
+ min-width: 200px;
+ text-align: center;
- .block-title {
- font-weight: $font-semibold;
- }
+ .external-login-block {
+ @include disable-default-a-behaviour;
- .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);
- }
- }
- }
+ 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;
- .signup-link {
- display: inline-block;
+ &:hover {
+ background-color: rgba(209, 215, 224, 0.5);
}
}
+}
- .instance-information {
- @include margin-left(10px);
- @include margin-right(10px);
+.instance-information {
+ @include margin-left(10px);
+ @include margin-right(10px);
+ @include margin-bottom(2.5rem);
+ @include rfs (22rem, min-width);
- max-width: 600px;
- min-width: 350px;
- margin-bottom: 40px;
- }
-
- .terms-anchor {
- display: inline;
- }
+ max-width: 600px;
+}
- .terms-link {
- display: none;
- }
+.terms-anchor {
+ display: inline;
}
-@mixin column-reverse-display {
- flex-direction: column-reverse;
+.terms-link {
+ display: none;
+}
- .login-form-and-externals,
- .instance-information {
- @include margin-left(0);
- @include margin-right(0);
+@include on-small-main-col {
+ .wrapper {
+ flex-direction: column-reverse;
- width: 100%;
- max-width: 450px;
- min-width: unset;
- align-self: center;
- }
+ .login-form-and-externals,
+ .instance-information {
+ @include margin-left(0);
+ @include margin-right(0);
- .instance-information {
- ::ng-deep .accordion {
- display: none;
+ width: 100%;
+ max-width: 450px;
+ min-width: unset;
+ align-self: center;
}
- }
- .terms-anchor {
- display: none;
- }
-
- .terms-link {
- display: inline;
- }
-}
+ .instance-information {
+ ::ng-deep .accordion {
+ display: none;
+ }
+ }
-@media screen and (max-width: breakpoint(md)) {
- .wrapper {
- @include column-reverse-display();
- }
-}
+ .terms-anchor {
+ display: none;
+ }
-@media screen and (max-width: breakpoint(md) + $menu-width) {
- :host-context(.main-col:not(.expanded)) {
- .wrapper {
- @include column-reverse-display();
+ .terms-link {
+ display: inline;
}
}
}