]>
Commit | Line | Data |
---|---|---|
63c4db6d C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
40360c17 K |
3 | @import './_bootstrap-variables'; |
4 | @import '~bootstrap/scss/functions'; | |
5 | @import '~bootstrap/scss/variables'; | |
63c4db6d | 6 | |
2b084d70 C |
7 | label { |
8 | display: block; | |
9 | } | |
10 | ||
266947e5 C |
11 | input[type=text], |
12 | input[type=email] { | |
d235f6b0 | 13 | @include peertube-input-text(340px); |
d235f6b0 | 14 | } |
ecb4e35f | 15 | |
ab0beac7 K |
16 | .modal-body { |
17 | text-align: left; | |
18 | ||
19 | .forgot-password-instructions { | |
20 | margin-bottom: 20px; | |
21 | } | |
22 | } | |
23 | ||
ab0beac7 K |
24 | @media screen and (max-width: #{map-get($container-max-widths, sm)}) { |
25 | .modal-body { | |
26 | #forgot-password-email { | |
27 | width: 100%; | |
28 | } | |
29 | } | |
30 | ||
f1ac6348 C |
31 | .modal-footer .grey-button { |
32 | display: none; | |
ab0beac7 K |
33 | } |
34 | } | |
35 | ||
931d3430 C |
36 | .create-an-account, |
37 | .forgot-password-button { | |
e66883b3 | 38 | color: pvar(--mainForegroundColor); |
696fa4c0 | 39 | cursor: pointer; |
000eb0e4 | 40 | transition: opacity cubic-bezier(0.39, 0.575, 0.565, 1); |
ebefc902 | 41 | |
07872fdf | 42 | &:hover { |
000eb0e4 RK |
43 | text-decoration: none !important; |
44 | opacity: .7 !important; | |
07872fdf | 45 | } |
2b084d70 | 46 | } |
ebefc902 | 47 | |
40360c17 | 48 | .wrapper { |
ebefc902 | 49 | display: flex; |
40360c17 | 50 | justify-content: space-around; |
ebefc902 | 51 | flex-wrap: wrap; |
ebefc902 | 52 | |
931d3430 | 53 | > div { |
40360c17 | 54 | flex: 1 1; |
ebefc902 C |
55 | } |
56 | ||
40360c17 K |
57 | .login-form-and-externals { |
58 | display: flex; | |
59 | flex-wrap: wrap; | |
60 | font-size: 15px; | |
61 | max-width: 450px; | |
62 | margin-bottom: 40px; | |
63 | margin-left: 10px; | |
64 | margin-right: 10px; | |
ebefc902 | 65 | |
40360c17 K |
66 | form { |
67 | margin: 0; | |
68 | ||
931d3430 C |
69 | &, |
70 | input { | |
40360c17 K |
71 | width: 100%; |
72 | } | |
73 | ||
74 | .additionnal-links { | |
75 | display: block; | |
76 | text-align: center; | |
77 | margin-top: 20px; | |
78 | margin-bottom: 20px; | |
79 | ||
80 | .forgot-password-button, | |
81 | .create-an-account { | |
82 | padding: 4px; | |
83 | display: inline-block; | |
84 | ||
85 | color: var(--mainColor); | |
86 | ||
931d3430 C |
87 | &:hover, |
88 | &:active { | |
40360c17 K |
89 | color: var(--mainHoverColor); |
90 | } | |
91 | } | |
92 | } | |
ebefc902 C |
93 | } |
94 | ||
40360c17 K |
95 | .external-login-blocks { |
96 | min-width: 200px; | |
97 | ||
98 | .block-title { | |
99 | font-weight: $font-semibold; | |
100 | } | |
101 | ||
102 | .external-login-block { | |
103 | @include disable-default-a-behaviour; | |
104 | ||
105 | cursor: pointer; | |
106 | border: 1px solid #d1d7e0; | |
107 | border-radius: 5px; | |
108 | color: pvar(--mainForegroundColor); | |
109 | margin: 10px 10px 0 0; | |
110 | display: flex; | |
111 | justify-content: center; | |
112 | align-items: center; | |
113 | min-height: 35px; | |
114 | min-width: 100px; | |
115 | ||
116 | &:hover { | |
931d3430 | 117 | background-color: rgba(209, 215, 224, 0.5); |
40360c17 | 118 | } |
ebefc902 | 119 | } |
ebefc902 | 120 | } |
40360c17 K |
121 | |
122 | .signup-link { | |
123 | display: inline-block; | |
124 | } | |
125 | } | |
126 | ||
127 | .instance-information { | |
128 | max-width: 600px; | |
129 | min-width: 350px; | |
130 | margin-bottom: 40px; | |
131 | margin-left: 10px; | |
132 | margin-right: 10px; | |
133 | } | |
134 | ||
135 | .terms-anchor { | |
136 | display: inline; | |
137 | } | |
138 | ||
139 | .terms-link { | |
140 | display: none; | |
141 | } | |
142 | } | |
143 | ||
931d3430 | 144 | @mixin column-reverse-display { |
40360c17 K |
145 | flex-direction: column-reverse; |
146 | ||
147 | .login-form-and-externals, | |
148 | .instance-information { | |
149 | width: 100%; | |
150 | margin-left: 0; | |
151 | margin-right: 0; | |
152 | max-width: 450px; | |
153 | min-width: unset; | |
154 | align-self: center; | |
155 | } | |
156 | ||
157 | .instance-information { | |
158 | ::ng-deep .accordion { | |
159 | display: none; | |
160 | } | |
161 | } | |
162 | ||
163 | .terms-anchor { | |
164 | display: none; | |
165 | } | |
166 | ||
167 | .terms-link { | |
168 | display: inline; | |
169 | } | |
170 | } | |
171 | ||
172 | @media screen and (max-width: breakpoint(md)) { | |
173 | .wrapper { | |
931d3430 | 174 | @include column-reverse-display(); |
40360c17 K |
175 | } |
176 | } | |
177 | ||
178 | @media screen and (max-width: breakpoint(md) + $menu-width) { | |
179 | :host-context(.main-col:not(.expanded)) { | |
180 | .wrapper { | |
931d3430 | 181 | @include column-reverse-display(); |
40360c17 | 182 | } |
ebefc902 C |
183 | } |
184 | } |