diff options
Diffstat (limited to 'client/src/app/+login/login.component.scss')
-rw-r--r-- | client/src/app/+login/login.component.scss | 155 |
1 files changed, 73 insertions, 82 deletions
diff --git a/client/src/app/+login/login.component.scss b/client/src/app/+login/login.component.scss index e59ae10f8..f46cbf2bc 100644 --- a/client/src/app/+login/login.component.scss +++ b/client/src/app/+login/login.component.scss | |||
@@ -6,6 +6,8 @@ | |||
6 | 6 | ||
7 | label { | 7 | label { |
8 | display: block; | 8 | display: block; |
9 | font-size: 18px; | ||
10 | margin-bottom: 5px; | ||
9 | } | 11 | } |
10 | 12 | ||
11 | input[type=text], | 13 | input[type=text], |
@@ -21,7 +23,7 @@ input[type=email] { | |||
21 | } | 23 | } |
22 | } | 24 | } |
23 | 25 | ||
24 | @media screen and (max-width: #{map-get($container-max-widths, sm)}) { | 26 | @media screen and (max-width: $small-view) { |
25 | .modal-body { | 27 | .modal-body { |
26 | #forgot-password-email { | 28 | #forgot-password-email { |
27 | width: 100%; | 29 | width: 100%; |
@@ -33,114 +35,103 @@ input[type=email] { | |||
33 | } | 35 | } |
34 | } | 36 | } |
35 | 37 | ||
36 | .create-an-account, | ||
37 | .forgot-password-button { | ||
38 | color: pvar(--mainForegroundColor); | ||
39 | cursor: pointer; | ||
40 | transition: opacity cubic-bezier(0.39, 0.575, 0.565, 1); | ||
41 | |||
42 | &:hover { | ||
43 | text-decoration: none !important; | ||
44 | opacity: .7 !important; | ||
45 | } | ||
46 | } | ||
47 | |||
48 | .wrapper { | 38 | .wrapper { |
49 | display: flex; | 39 | display: flex; |
50 | justify-content: space-around; | 40 | justify-content: space-between; |
51 | flex-wrap: wrap; | 41 | flex-wrap: wrap; |
42 | margin: auto; | ||
52 | 43 | ||
53 | > div { | 44 | > div { |
54 | flex: 1 1; | 45 | flex: 1 1; |
55 | } | 46 | } |
56 | 47 | ||
57 | .login-form-and-externals { | 48 | form { |
58 | @include margin-left(10px); | 49 | width: 100%; |
59 | @include margin-right(10px); | 50 | } |
51 | } | ||
60 | 52 | ||
61 | display: flex; | 53 | .wrapper, |
62 | flex-wrap: wrap; | 54 | .pt-alert-primary { |
63 | font-size: 15px; | 55 | max-width: 1200px; |
64 | max-width: 450px; | 56 | } |
65 | margin-bottom: 40px; | ||
66 | 57 | ||
67 | form { | 58 | .pt-alert-primary { |
68 | margin: 0; | 59 | margin: 0 auto 30px; |
60 | } | ||
69 | 61 | ||
70 | &, | 62 | .login-form-and-externals { |
71 | input { | 63 | @include margin-left(10px); |
72 | width: 100%; | 64 | @include margin-right(10px); |
73 | } | ||
74 | 65 | ||
75 | .additionnal-links { | 66 | display: flex; |
76 | display: block; | 67 | flex-wrap: wrap; |
77 | text-align: center; | 68 | justify-content: center; |
78 | margin-top: 20px; | 69 | font-size: 15px; |
79 | margin-bottom: 20px; | 70 | max-width: 450px; |
71 | margin-bottom: 40px; | ||
80 | 72 | ||
81 | .forgot-password-button, | 73 | form { |
82 | .create-an-account { | 74 | margin: 0; |
83 | padding: 4px; | ||
84 | display: inline-block; | ||
85 | 75 | ||
86 | color: var(--mainColor); | 76 | input[type=submit] { |
77 | width: 100%; | ||
78 | } | ||
87 | 79 | ||
88 | &:hover, | 80 | .additional-links { |
89 | &:active { | 81 | display: flex; |
90 | color: var(--mainHoverColor); | 82 | justify-content: center; |
91 | } | 83 | margin: 20px 0 30px; |
92 | } | 84 | |
85 | .link-orange { | ||
86 | margin: 0 15px; | ||
93 | } | 87 | } |
94 | } | 88 | } |
89 | } | ||
90 | } | ||
95 | 91 | ||
96 | .external-login-blocks { | 92 | .external-login-blocks { |
97 | min-width: 200px; | 93 | min-width: 200px; |
94 | text-align: center; | ||
98 | 95 | ||
99 | .block-title { | 96 | .block-title { |
100 | font-weight: $font-semibold; | 97 | font-weight: $font-semibold; |
101 | } | 98 | } |
102 | 99 | ||
103 | .external-login-block { | 100 | .external-login-block { |
104 | @include disable-default-a-behaviour; | 101 | @include disable-default-a-behaviour; |
105 | |||
106 | cursor: pointer; | ||
107 | border: 1px solid #d1d7e0; | ||
108 | border-radius: 5px; | ||
109 | color: pvar(--mainForegroundColor); | ||
110 | margin: 10px 10px 0 0; | ||
111 | display: flex; | ||
112 | justify-content: center; | ||
113 | align-items: center; | ||
114 | min-height: 35px; | ||
115 | min-width: 100px; | ||
116 | |||
117 | &:hover { | ||
118 | background-color: rgba(209, 215, 224, 0.5); | ||
119 | } | ||
120 | } | ||
121 | } | ||
122 | 102 | ||
123 | .signup-link { | 103 | cursor: pointer; |
124 | display: inline-block; | 104 | border: 1px solid #d1d7e0; |
105 | border-radius: 5px; | ||
106 | color: pvar(--mainForegroundColor); | ||
107 | margin: 10px 10px 0 0; | ||
108 | display: flex; | ||
109 | justify-content: center; | ||
110 | align-items: center; | ||
111 | min-height: 35px; | ||
112 | min-width: 100px; | ||
113 | |||
114 | &:hover { | ||
115 | background-color: rgba(209, 215, 224, 0.5); | ||
125 | } | 116 | } |
126 | } | 117 | } |
118 | } | ||
127 | 119 | ||
128 | .instance-information { | 120 | .instance-information { |
129 | @include margin-left(10px); | 121 | @include margin-left(10px); |
130 | @include margin-right(10px); | 122 | @include margin-right(10px); |
131 | 123 | ||
132 | max-width: 600px; | 124 | max-width: 600px; |
133 | min-width: 350px; | 125 | min-width: 350px; |
134 | margin-bottom: 40px; | 126 | margin-bottom: 40px; |
135 | } | 127 | } |
136 | 128 | ||
137 | .terms-anchor { | 129 | .terms-anchor { |
138 | display: inline; | 130 | display: inline; |
139 | } | 131 | } |
140 | 132 | ||
141 | .terms-link { | 133 | .terms-link { |
142 | display: none; | 134 | display: none; |
143 | } | ||
144 | } | 135 | } |
145 | 136 | ||
146 | @mixin column-reverse-display { | 137 | @mixin column-reverse-display { |