-@import '_variables';
-@import '_mixins';
-@import './_bootstrap-variables';
+@use '_variables' as *;
+@use '_mixins' as *;
+
@import '~bootstrap/scss/functions';
@import '~bootstrap/scss/variables';
display: block;
}
-input:not([type=submit]) {
+input[type=text],
+input[type=email] {
@include peertube-input-text(340px);
- display: inline-block;
- margin-right: 5px;
-
-}
-
-input[type=submit] {
- @include peertube-button;
- @include orange-button;
}
.modal-body {
- text-align: left;
+ text-align: start;
.forgot-password-instructions {
margin-bottom: 20px;
}
}
-.modal-footer.inputs {
- .action-button.action-button-cancel {
- width: auto !important;
- display: inline-block;
- }
-}
-
@media screen and (max-width: #{map-get($container-max-widths, sm)}) {
.modal-body {
#forgot-password-email {
}
}
- .modal-footer.inputs {
- .action-button.action-button-cancel {
- display: none;
- }
+ .modal-footer .grey-button {
+ display: none;
}
}
-.create-an-account, .forgot-password-button {
+.create-an-account,
+.forgot-password-button {
color: pvar(--mainForegroundColor);
cursor: pointer;
transition: opacity cubic-bezier(0.39, 0.575, 0.565, 1);
justify-content: space-around;
flex-wrap: wrap;
- & > div {
+ > 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;
- margin-left: 10px;
- margin-right: 10px;
form {
margin: 0;
- &, input {
+ &,
+ input {
width: 100%;
}
color: var(--mainColor);
- &:hover, &:active {
+ &:hover,
+ &:active {
color: var(--mainHoverColor);
}
}
min-width: 100px;
&:hover {
- background-color: rgba(209, 215, 224, 0.5)
+ background-color: rgba(209, 215, 224, 0.5);
}
}
}
}
.instance-information {
+ @include margin-left(10px);
+ @include margin-right(10px);
+
max-width: 600px;
min-width: 350px;
margin-bottom: 40px;
- margin-left: 10px;
- margin-right: 10px;
}
.terms-anchor {
}
}
-@mixin columnReverseDisplay {
+@mixin column-reverse-display {
flex-direction: column-reverse;
.login-form-and-externals,
.instance-information {
+ @include margin-left(0);
+ @include margin-right(0);
+
width: 100%;
- margin-left: 0;
- margin-right: 0;
max-width: 450px;
min-width: unset;
align-self: center;
@media screen and (max-width: breakpoint(md)) {
.wrapper {
- @include columnReverseDisplay();
+ @include column-reverse-display();
}
}
@media screen and (max-width: breakpoint(md) + $menu-width) {
:host-context(.main-col:not(.expanded)) {
.wrapper {
- @include columnReverseDisplay();
+ @include column-reverse-display();
}
}
}