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