##// END OF EJS Templates
forced user-menu dropdown to align to right when open
Liviu -
r3619:a027b596 new-ui
parent child Browse files
Show More
@@ -1,327 +1,326 b''
1 1 //LOGIN
2 2
3 3
4 4 .loginbox {
5 5 max-width: 65%;
6 6 margin: @pagepadding auto;
7 7 font-family: @text-light;
8 8 border: @border-thickness solid @grey5;
9 9 box-sizing: border-box;
10 10
11 11 @media (max-width:1200px) {
12 12 max-width: 85%;
13 13 }
14 14
15 15 @media (max-width:768px) {
16 16 max-width: 100%;
17 17 width: 100%;
18 18 margin: 0;
19 19 }
20 20
21 21 .title {
22 22 float: none;
23 23 }
24 24
25 25 .header {
26 26 width: 100%;
27 27 padding: 0 35px;
28 28 box-sizing: border-box;
29 29
30 30 .title {
31 31 padding: 0;
32 32 }
33 33 }
34 34
35 35 .loginwrapper {
36 36 float: left;
37 37 height: 100%;
38 38 width: 100%;
39 39 padding: 35px 55px 35px 35px;
40 40 background-color: white;
41 41 box-sizing: border-box;
42 42
43 43 @media (max-width:414px) {
44 44 padding: 35px;
45 45 }
46 46 }
47 47
48 48 .left-column {
49 49 float: left;
50 50 position: relative;
51 51 width: 50%;
52 52 height: 100%;
53 53
54 54 @media (max-width:414px) {
55 55 display:none;
56 56 }
57 57 }
58 58
59 59 .right-column {
60 60 float: right;
61 61 position: relative;
62 62 width: 50%;
63 63
64 64 @media (max-width:414px) {
65 65 width: 100%;
66 66 }
67 67 }
68 68
69 69 .sign-in-image {
70 70 display: block;
71 71 width: 65%;
72 72 margin: 5% auto;
73 73 }
74 74
75 75 .sign-in-title {
76 76
77 77 h4 {
78 78 margin: @padding*2 0;
79 79 }
80 80 }
81 81
82 82 .form {
83 83 label {
84 84 display: block;
85 85 }
86 86
87 87 input {
88 88 width: 100%;
89 89 margin: 0 10% @padding 0;
90 90 .box-sizing(border-box) ;
91 91
92 92 &[type="checkbox"] {
93 93 clear: both;
94 94 width: auto;
95 95 margin: 0 1em @padding 0;
96 96 }
97 97 }
98 98
99 99 .checkbox {
100 100 display: inline;
101 101 width: auto;
102 102 }
103 103
104 104 .sign-in {
105 105 clear: both;
106 106 width: 100%;
107 107 margin: @padding 0;
108 108 }
109 109 .pwd_reset {
110 110 font-weight: normal;
111 111 }
112 112 .new_account {
113 113 font-weight: bold;
114 114 }
115 115 }
116 116 .register_message,
117 117 .activation_msg {
118 118 padding: 0 0 @padding;
119 119 }
120 120
121 121 .buttons,
122 122 .links {
123 123 padding: 0;
124 124 }
125 125
126 126 .buttons {
127 127 input {
128 128 margin-right: 0;
129 129 .box-sizing(border-box);
130 130 }
131 131
132 132 #sign_up, #send {
133 133 width: 100%;
134 134 }
135 135 }
136 136
137 137 .fields {
138 138 .field.field-compact {
139 139 margin-bottom: 0px;
140 140 }
141 141
142 142 .buttons {
143 143 margin: 0;
144 144 }
145 145
146 146 .field {
147 147 margin-bottom: 15px;
148 148
149 149 input {
150 150 width: 100%;
151 151 .box-sizing(border-box);
152 152 }
153 153
154 154 .input {
155 155 margin-left: 0;
156 156 }
157 157
158 158 .label {
159 159 padding-top: 0;
160 160 }
161 161 }
162 162 }
163 163
164 164 .checkbox {
165 165 margin: 0 0 @textmargin 0;
166 166
167 167 input[type="checkbox"] {
168 168 width: auto;
169 169 }
170 170
171 171 label {
172 172 padding: 0;
173 173 min-height: 0;
174 174 }
175 175 }
176 176
177 177 .activation_msg {
178 178 padding: @padding 0 0;
179 179 color: @grey4;
180 180 }
181 181
182 182 .links {
183 183 float: right;
184 184 margin: 0;
185 185 padding: 0;
186 186 line-height: 1;
187 187
188 188 p {
189 189 float: right;
190 190 margin: 0;
191 191 line-height: 1.5em;
192 192 }
193 193 }
194 194
195 195 p.help-block {
196 196 margin-left: 0;
197 197 }
198 198 }
199 199
200 200 .user-menu.submenu {
201 right: 0;
202 left: auto;
201 right: 0!important;
202 left: auto!important;
203 203 min-width: 290px;
204 204 }
205 205
206
207 206 .user-menu {
208 207 .bookmark-items {
209 208 border-top: @border-thickness solid @grey6;
210 209 margin-top: 1em;
211 210 padding: 1em .5em;
212 211 color: @grey3;
213 212 border-bottom: @grey3;
214 213
215 214 a {
216 215 padding: 0 !important;
217 216 color: @rcblue !important;
218 217 }
219 218 }
220 219 a.bookmark-item {
221 220 color: @rcblue !important;
222 221 }
223 222 }
224 223
225 224
226 225 #quick_login {
227 226 left: auto;
228 227 right: 0;
229 228 padding: @menupadding;
230 229 z-index: 999;
231 230 overflow: hidden;
232 231 background-color: @white;
233 232 border: 1px solid @grey5;
234 233 color: @grey2;
235 234 box-shadow: @dropdown-shadow;
236 235
237 236 h4 {
238 237 margin-bottom: 12px;
239 238 }
240 239
241 240 .form {
242 241 width: auto;
243 242 }
244 243
245 244 label, .field {
246 245 margin-bottom: 0;
247 246 }
248 247
249 248 .label {
250 249 padding-top: 0;
251 250 }
252 251
253 252 input {
254 253 min-width: 215px;
255 254 margin: 8px 0 @padding;
256 255 }
257 256
258 257 input[type="submit"] {
259 258 &:extend(.btn-primary);
260 259 width:100%;
261 260 min-width: 0;
262 261 }
263 262
264 263 .forgot_password,
265 264 .buttons .register {
266 265 a {
267 266 color: @rcblue;
268 267
269 268 &:hover {
270 269 color: @rcdarkblue;
271 270 }
272 271 }
273 272 }
274 273
275 274 .buttons {
276 275 margin: 0;
277 276 }
278 277
279 278 .buttons a {
280 279 padding: 8px 0;
281 280 line-height: 1.4em;
282 281 color: @grey4;
283 282
284 283 &:hover {
285 284 color: @grey2;
286 285 }
287 286 }
288 287
289 288 #sign_in {
290 289 margin-bottom: 0
291 290 }
292 291
293 292 .big_gravatar {
294 293 float: left;
295 294 display: block;
296 295 padding: .5em;
297 296 }
298 297
299 298 .full_name {
300 299 margin: 0 0 0 70px;
301 300 padding-top: 1em;
302 301 }
303 302
304 303 .email {
305 304 margin: 0 0 0 70px;
306 305 font-family: @text-light;
307 306 }
308 307
309 308 ol.links {
310 309 clear:both;
311 310 margin: 0;
312 311 padding: @padding 0 0 0;
313 312
314 313 li {
315 314 input {
316 315 margin: @padding 0 0 0;
317 316 }
318 317 }
319 318 }
320 319 }
321 320 .submenu #quick_login li:hover {
322 321 background-color: transparent;
323 322 }
324 323
325 324 #quick_login_link:hover + #quick_login {
326 325 display: block;
327 326 }
General Comments 0
You need to be logged in to leave comments. Login now