##// END OF EJS Templates
login/register: fixed header width problem.
milka -
r4544:8218918a default
parent child Browse files
Show More
@@ -1,323 +1,337 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 .header {
25 .header-account {
26 min-height: 49px;
26 27 width: 100%;
27 padding: 0 35px;
28 padding: 0 @header-padding;
28 29 box-sizing: border-box;
30 position: relative;
31 vertical-align: bottom;
32
33 background-color: @grey1;
34 color: @grey5;
29 35
30 36 .title {
31 37 padding: 0;
38 overflow: visible;
39 }
40
41 &:before,
42 &:after {
43 content: "";
44 clear: both;
45 width: 100%;
32 46 }
33 47 }
34 48
35 49 .loginwrapper {
36 50 float: left;
37 51 height: 100%;
38 52 width: 100%;
39 53 padding: 35px 55px 35px 35px;
40 54 background-color: white;
41 55 box-sizing: border-box;
42 56
43 57 @media (max-width:414px) {
44 58 padding: 35px;
45 59 }
46 60 }
47 61
48 62 .left-column {
49 63 float: left;
50 64 position: relative;
51 65 width: 50%;
52 66 height: 100%;
53 67
54 68 @media (max-width:414px) {
55 69 display:none;
56 70 }
57 71 }
58 72
59 73 .right-column {
60 74 float: right;
61 75 position: relative;
62 76 width: 50%;
63 77
64 78 @media (max-width:414px) {
65 79 width: 100%;
66 80 }
67 81 }
68 82
69 83 .sign-in-image {
70 84 display: block;
71 85 width: 65%;
72 86 margin: 5% auto;
73 87 }
74 88
75 89 .sign-in-title {
76 90
77 91 h4 {
78 92 margin: @padding*2 0;
79 93 }
80 94 }
81 95
82 96 .form {
83 97 label {
84 98 display: block;
85 99 }
86 100
87 101 input {
88 102 width: 100%;
89 103 margin: 0 10% @padding 0;
90 104 .box-sizing(border-box) ;
91 105
92 106 &[type="checkbox"] {
93 107 clear: both;
94 108 width: auto;
95 109 margin: 0 1em @padding 0;
96 110 }
97 111 }
98 112
99 113 .checkbox {
100 114 display: inline;
101 115 width: auto;
102 116 }
103 117
104 118 .sign-in {
105 119 clear: both;
106 120 width: 100%;
107 121 margin: @padding 0;
108 122 }
109 123 .pwd_reset {
110 124 font-weight: normal;
111 125 }
112 126 .new_account {
113 127 font-weight: bold;
114 128 }
115 129 }
116 130 .register_message,
117 131 .activation_msg {
118 132 padding: 0 0 @padding;
119 133 }
120 134
121 135 .buttons,
122 136 .links {
123 137 padding: 0;
124 138 }
125 139
126 140 .buttons {
127 141 input {
128 142 margin-right: 0;
129 143 .box-sizing(border-box);
130 144 }
131 145
132 146 #sign_up, #send {
133 147 width: 100%;
134 148 }
135 149 }
136 150
137 151 .fields {
138 152 .field.field-compact {
139 153 margin-bottom: 0px;
140 154 }
141 155
142 156 .buttons {
143 157 margin: 0;
144 158 }
145 159
146 160 .field {
147 161 margin-bottom: 15px;
148 162
149 163 input {
150 164 width: 100%;
151 165 .box-sizing(border-box);
152 166 }
153 167
154 168 .input {
155 169 margin-left: 0;
156 170 }
157 171
158 172 .label {
159 173 padding-top: 0;
160 174 }
161 175 }
162 176 }
163 177
164 178 .checkbox {
165 179 margin: 0 0 @textmargin 0;
166 180
167 181 input[type="checkbox"] {
168 182 width: auto;
169 183 }
170 184
171 185 label {
172 186 padding: 0;
173 187 min-height: 0;
174 188 }
175 189 }
176 190
177 191 .activation_msg {
178 192 padding: @padding 0 0;
179 193 color: @grey4;
180 194 }
181 195
182 196 .links {
183 197 float: right;
184 198 margin: 0;
185 199 padding: 0;
186 200 line-height: 1;
187 201
188 202 p {
189 203 float: right;
190 204 margin: 0;
191 205 line-height: 1.5em;
192 206 }
193 207 }
194 208
195 209 p.help-block {
196 210 margin-left: 0;
197 211 }
198 212 }
199 213
200 214 .user-menu.submenu {
201 215 right: 0!important;
202 216 left: auto!important;
203 217 min-width: 290px;
204 218 }
205 219
206 220 .user-menu {
207 221 .bookmark-items {
208 222 border-top: @border-thickness solid @grey6;
209 223 margin-top: 1em;
210 224 padding: 1em .5em;
211 225 color: @grey3;
212 226 border-bottom: @grey3;
213 227
214 228 a {
215 229 padding: 0 !important;
216 230 }
217 231 }
218 232
219 233 }
220 234
221 235
222 236 #quick_login {
223 237 left: auto;
224 238 right: 0;
225 239 padding: @menupadding;
226 240 z-index: 999;
227 241 overflow: hidden;
228 242 background-color: @white;
229 243 border: 1px solid @grey5;
230 244 color: @grey2;
231 245 box-shadow: @dropdown-shadow;
232 246
233 247 h4 {
234 248 margin-bottom: 12px;
235 249 }
236 250
237 251 .form {
238 252 width: auto;
239 253 }
240 254
241 255 label, .field {
242 256 margin-bottom: 0;
243 257 }
244 258
245 259 .label {
246 260 padding-top: 0;
247 261 }
248 262
249 263 input {
250 264 min-width: 215px;
251 265 margin: 8px 0 @padding;
252 266 }
253 267
254 268 input[type="submit"] {
255 269 &:extend(.btn-primary);
256 270 width:100%;
257 271 min-width: 0;
258 272 }
259 273
260 274 .forgot_password,
261 275 .buttons .register {
262 276 a {
263 277 color: @rcblue;
264 278
265 279 &:hover {
266 280 color: @rcdarkblue;
267 281 }
268 282 }
269 283 }
270 284
271 285 .buttons {
272 286 margin: 0;
273 287 }
274 288
275 289 .buttons a {
276 290 padding: 8px 0;
277 291 line-height: 1.4em;
278 292 color: @grey4;
279 293
280 294 &:hover {
281 295 color: @rcblue;
282 296 }
283 297 }
284 298
285 299 #sign_in {
286 300 margin-bottom: 0
287 301 }
288 302
289 303 .big_gravatar {
290 304 float: left;
291 305 display: block;
292 306 padding: .5em;
293 307 }
294 308
295 309 .full_name {
296 310 margin: 0 0 0 70px;
297 311 padding-top: 1em;
298 312 }
299 313
300 314 .email {
301 315 margin: 0 0 0 70px;
302 316 font-family: @text-light;
303 317 }
304 318
305 319 ol.links {
306 320 clear:both;
307 321 margin: 0;
308 322 padding: @padding 0 0 0;
309 323
310 324 li {
311 325 input {
312 326 margin: @padding 0 0 0;
313 327 }
314 328 }
315 329 }
316 330 }
317 331 .submenu #quick_login li:hover {
318 332 background-color: transparent;
319 333 }
320 334
321 335 #quick_login_link:hover + #quick_login {
322 336 display: block;
323 337 }
@@ -1,3243 +1,3240 b''
1 1 //Primary CSS
2 2
3 3 //--- IMPORTS ------------------//
4 4
5 5 @import 'helpers';
6 6 @import 'mixins';
7 7 @import 'rcicons';
8 8 @import 'variables';
9 9 @import 'bootstrap-variables';
10 10 @import 'form-bootstrap';
11 11 @import 'codemirror';
12 12 @import 'legacy_code_styles';
13 13 @import 'readme-box';
14 14 @import 'progress-bar';
15 15
16 16 @import 'type';
17 17 @import 'alerts';
18 18 @import 'buttons';
19 19 @import 'tags';
20 20 @import 'code-block';
21 21 @import 'examples';
22 22 @import 'login';
23 23 @import 'main-content';
24 24 @import 'select2';
25 25 @import 'comments';
26 26 @import 'panels-bootstrap';
27 27 @import 'panels';
28 28 @import 'deform';
29 29 @import 'tooltips';
30 30 @import 'sweetalert2';
31 31
32 32
33 33 //--- BASE ------------------//
34 34 .noscript-error {
35 35 top: 0;
36 36 left: 0;
37 37 width: 100%;
38 38 z-index: 101;
39 39 text-align: center;
40 40 font-size: 120%;
41 41 color: white;
42 42 background-color: @alert2;
43 43 padding: 5px 0 5px 0;
44 44 font-weight: @text-semibold-weight;
45 45 font-family: @text-semibold;
46 46 }
47 47
48 48 html {
49 49 display: table;
50 50 height: 100%;
51 51 width: 100%;
52 52 }
53 53
54 54 body {
55 55 display: table-cell;
56 56 width: 100%;
57 57 }
58 58
59 59 //--- LAYOUT ------------------//
60 60
61 61 .hidden{
62 62 display: none !important;
63 63 }
64 64
65 65 .box{
66 66 float: left;
67 67 width: 100%;
68 68 }
69 69
70 70 .browser-header {
71 71 clear: both;
72 72 }
73 73 .main {
74 74 clear: both;
75 75 padding:0 0 @pagepadding;
76 76 height: auto;
77 77
78 78 &:after { //clearfix
79 79 content:"";
80 80 clear:both;
81 81 width:100%;
82 82 display:block;
83 83 }
84 84 }
85 85
86 86 .flex-container {
87 87 display: flex;
88 88 justify-content: space-between;
89 89 }
90 90
91 91 .action-link{
92 92 margin-left: @padding;
93 93 padding-left: @padding;
94 94 border-left: @border-thickness solid @border-default-color;
95 95 }
96 96
97 97 .cursor-pointer {
98 98 cursor: pointer;
99 99 }
100 100
101 101 input + .action-link, .action-link.first{
102 102 border-left: none;
103 103 }
104 104
105 105 .link-disabled {
106 106 color: @grey4;
107 107 cursor: default;
108 108 }
109 109
110 110 .action-link.last{
111 111 margin-right: @padding;
112 112 padding-right: @padding;
113 113 }
114 114
115 115 .action-link.active,
116 116 .action-link.active a{
117 117 color: @grey4;
118 118 }
119 119
120 120 .action-link.disabled {
121 121 color: @grey4;
122 122 cursor: inherit;
123 123 }
124 124
125 125 .grey-link-action {
126 126 cursor: pointer;
127 127 &:hover {
128 128 color: @grey2;
129 129 }
130 130 color: @grey4;
131 131 }
132 132
133 133 .clipboard-action {
134 134 cursor: pointer;
135 135 margin-left: 5px;
136 136
137 137 &:not(.no-grey) {
138 138
139 139 &:hover {
140 140 color: @grey2;
141 141 }
142 142 color: @grey4;
143 143 }
144 144 }
145 145
146 146 ul.simple-list{
147 147 list-style: none;
148 148 margin: 0;
149 149 padding: 0;
150 150 }
151 151
152 152 .main-content {
153 153 padding-bottom: @pagepadding;
154 154 }
155 155
156 156 .wide-mode-wrapper {
157 157 max-width:4000px !important;
158 158 }
159 159
160 160 .wrapper {
161 161 position: relative;
162 162 max-width: @wrapper-maxwidth;
163 163 margin: 0 auto;
164 164 }
165 165
166 166 #content {
167 167 clear: both;
168 168 padding: 0 @contentpadding;
169 169 }
170 170
171 171 .advanced-settings-fields{
172 172 input{
173 173 margin-left: @textmargin;
174 174 margin-right: @padding/2;
175 175 }
176 176 }
177 177
178 178 .cs_files_title {
179 179 margin: @pagepadding 0 0;
180 180 }
181 181
182 182 input.inline[type="file"] {
183 183 display: inline;
184 184 }
185 185
186 186 .error_page {
187 187 margin: 10% auto;
188 188
189 189 h1 {
190 190 color: @grey2;
191 191 }
192 192
193 193 .alert {
194 194 margin: @padding 0;
195 195 }
196 196
197 197 .error-branding {
198 198 color: @grey4;
199 199 font-weight: @text-semibold-weight;
200 200 font-family: @text-semibold;
201 201 }
202 202
203 203 .error_message {
204 204 font-family: @text-regular;
205 205 }
206 206
207 207 .sidebar {
208 208 min-height: 275px;
209 209 margin: 0;
210 210 padding: 0 0 @sidebarpadding @sidebarpadding;
211 211 border: none;
212 212 }
213 213
214 214 .main-content {
215 215 position: relative;
216 216 margin: 0 @sidebarpadding @sidebarpadding;
217 217 padding: 0 0 0 @sidebarpadding;
218 218 border-left: @border-thickness solid @grey5;
219 219
220 220 @media (max-width:767px) {
221 221 clear: both;
222 222 width: 100%;
223 223 margin: 0;
224 224 border: none;
225 225 }
226 226 }
227 227
228 228 .inner-column {
229 229 float: left;
230 230 width: 29.75%;
231 231 min-height: 150px;
232 232 margin: @sidebarpadding 2% 0 0;
233 233 padding: 0 2% 0 0;
234 234 border-right: @border-thickness solid @grey5;
235 235
236 236 @media (max-width:767px) {
237 237 clear: both;
238 238 width: 100%;
239 239 border: none;
240 240 }
241 241
242 242 ul {
243 243 padding-left: 1.25em;
244 244 }
245 245
246 246 &:last-child {
247 247 margin: @sidebarpadding 0 0;
248 248 border: none;
249 249 }
250 250
251 251 h4 {
252 252 margin: 0 0 @padding;
253 253 font-weight: @text-semibold-weight;
254 254 font-family: @text-semibold;
255 255 }
256 256 }
257 257 }
258 258 .error-page-logo {
259 259 width: 130px;
260 260 height: 160px;
261 261 }
262 262
263 263 // HEADER
264 264 .header {
265 265
266 // TODO: johbo: Fix login pages, so that they work without a min-height
267 // for the header and then remove the min-height. I chose a smaller value
268 // intentionally here to avoid rendering issues in the main navigation.
269 266 min-height: 49px;
270 267 min-width: 1024px;
271 268
272 269 position: relative;
273 270 vertical-align: bottom;
274 271 padding: 0 @header-padding;
275 272 background-color: @grey1;
276 273 color: @grey5;
277 274
278 275 .title {
279 276 overflow: visible;
280 277 }
281 278
282 279 &:before,
283 280 &:after {
284 281 content: "";
285 282 clear: both;
286 283 width: 100%;
287 284 }
288 285
289 286 // TODO: johbo: Avoids breaking "Repositories" chooser
290 287 .select2-container .select2-choice .select2-arrow {
291 288 display: none;
292 289 }
293 290 }
294 291
295 292 #header-inner {
296 293 &.title {
297 294 margin: 0;
298 295 }
299 296 &:before,
300 297 &:after {
301 298 content: "";
302 299 clear: both;
303 300 }
304 301 }
305 302
306 303 // Gists
307 304 #files_data {
308 305 clear: both; //for firefox
309 306 padding-top: 10px;
310 307 }
311 308
312 309 #gistid {
313 310 margin-right: @padding;
314 311 }
315 312
316 313 // Global Settings Editor
317 314 .textarea.editor {
318 315 float: left;
319 316 position: relative;
320 317 max-width: @texteditor-width;
321 318
322 319 select {
323 320 position: absolute;
324 321 top:10px;
325 322 right:0;
326 323 }
327 324
328 325 .CodeMirror {
329 326 margin: 0;
330 327 }
331 328
332 329 .help-block {
333 330 margin: 0 0 @padding;
334 331 padding:.5em;
335 332 background-color: @grey6;
336 333 &.pre-formatting {
337 334 white-space: pre;
338 335 }
339 336 }
340 337 }
341 338
342 339 ul.auth_plugins {
343 340 margin: @padding 0 @padding @legend-width;
344 341 padding: 0;
345 342
346 343 li {
347 344 margin-bottom: @padding;
348 345 line-height: 1em;
349 346 list-style-type: none;
350 347
351 348 .auth_buttons .btn {
352 349 margin-right: @padding;
353 350 }
354 351
355 352 }
356 353 }
357 354
358 355
359 356 // My Account PR list
360 357
361 358 #show_closed {
362 359 margin: 0 1em 0 0;
363 360 }
364 361
365 362 #pull_request_list_table {
366 363 .closed {
367 364 background-color: @grey6;
368 365 }
369 366
370 367 .state-creating,
371 368 .state-updating,
372 369 .state-merging
373 370 {
374 371 background-color: @grey6;
375 372 }
376 373
377 374 .log-container .truncate {
378 375 height: 2.75em;
379 376 white-space: pre-line;
380 377 }
381 378 table.rctable .user {
382 379 padding-left: 0;
383 380 }
384 381 .td-status {
385 382 padding: 0 0px 0px 10px;
386 383 width: 15px;
387 384 }
388 385 table.rctable {
389 386 td.td-description,
390 387 .rc-user {
391 388 min-width: auto;
392 389 }
393 390 }
394 391 }
395 392
396 393 // Pull Requests
397 394
398 395 .pullrequests_section_head {
399 396 display: block;
400 397 clear: both;
401 398 margin: @padding 0;
402 399 font-weight: @text-bold-weight;
403 400 font-family: @text-bold;
404 401 }
405 402
406 403 .pr-commit-flow {
407 404 position: relative;
408 405 font-weight: 600;
409 406
410 407 .tag {
411 408 display: inline-block;
412 409 margin: 0 1em .5em 0;
413 410 }
414 411
415 412 .clone-url {
416 413 display: inline-block;
417 414 margin: 0 0 .5em 0;
418 415 padding: 0;
419 416 line-height: 1.2em;
420 417 }
421 418 }
422 419
423 420 .pr-mergeinfo {
424 421 min-width: 95% !important;
425 422 padding: 0 !important;
426 423 border: 0;
427 424 }
428 425 .pr-mergeinfo-copy {
429 426 padding: 0 0;
430 427 }
431 428
432 429 .pr-pullinfo {
433 430 min-width: 95% !important;
434 431 padding: 0 !important;
435 432 border: 0;
436 433 }
437 434 .pr-pullinfo-copy {
438 435 padding: 0 0;
439 436 }
440 437
441 438 .pr-title-input {
442 439 width: 100%;
443 440 font-size: 18px;
444 441 margin: 0 0 4px 0;
445 442 padding: 0;
446 443 line-height: 1.7em;
447 444 color: @text-color;
448 445 letter-spacing: .02em;
449 446 font-weight: @text-bold-weight;
450 447 font-family: @text-bold;
451 448
452 449 &:hover {
453 450 box-shadow: none;
454 451 }
455 452 }
456 453
457 454 #pr-title {
458 455 input {
459 456 border: 1px transparent;
460 457 color: black;
461 458 opacity: 1;
462 459 background: #fff;
463 460 font-size: 18px;
464 461 }
465 462 }
466 463
467 464 .pr-title-closed-tag {
468 465 font-size: 16px;
469 466 }
470 467
471 468 #pr-desc {
472 469 padding: 10px 0;
473 470
474 471 .markdown-block {
475 472 padding: 0;
476 473 margin-bottom: -30px;
477 474 }
478 475 }
479 476
480 477 #pullrequest_title {
481 478 width: 100%;
482 479 box-sizing: border-box;
483 480 }
484 481
485 482 #pr_open_message {
486 483 border: @border-thickness solid #fff;
487 484 border-radius: @border-radius;
488 485 text-align: left;
489 486 overflow: hidden;
490 487 white-space: pre-line;
491 488 padding-top: 5px
492 489 }
493 490
494 491 #add_reviewer {
495 492 padding-top: 10px;
496 493 }
497 494
498 495 #add_reviewer_input,
499 496 #add_observer_input {
500 497 padding-top: 10px
501 498 }
502 499
503 500 .pr-details-title-author-pref {
504 501 padding-right: 10px
505 502 }
506 503
507 504 .label-pr-detail {
508 505 display: table-cell;
509 506 width: 120px;
510 507 padding-top: 7.5px;
511 508 padding-bottom: 7.5px;
512 509 padding-right: 7.5px;
513 510 }
514 511
515 512 .source-details ul {
516 513 padding: 10px 16px;
517 514 }
518 515
519 516 .source-details-action {
520 517 color: @grey4;
521 518 font-size: 11px
522 519 }
523 520
524 521 .pr-submit-button {
525 522 float: right;
526 523 margin: 0 0 0 5px;
527 524 }
528 525
529 526 .pr-spacing-container {
530 527 padding: 20px;
531 528 clear: both
532 529 }
533 530
534 531 #pr-description-input {
535 532 margin-bottom: 0;
536 533 }
537 534
538 535 .pr-description-label {
539 536 vertical-align: top;
540 537 }
541 538
542 539 #open_edit_pullrequest {
543 540 padding: 0;
544 541 }
545 542
546 543 #close_edit_pullrequest {
547 544
548 545 }
549 546
550 547 #delete_pullrequest {
551 548 clear: inherit;
552 549
553 550 form {
554 551 display: inline;
555 552 }
556 553
557 554 }
558 555
559 556 .perms_section_head {
560 557 min-width: 625px;
561 558
562 559 h2 {
563 560 margin-bottom: 0;
564 561 }
565 562
566 563 .label-checkbox {
567 564 float: left;
568 565 }
569 566
570 567 &.field {
571 568 margin: @space 0 @padding;
572 569 }
573 570
574 571 &:first-child.field {
575 572 margin-top: 0;
576 573
577 574 .label {
578 575 margin-top: 0;
579 576 padding-top: 0;
580 577 }
581 578
582 579 .radios {
583 580 padding-top: 0;
584 581 }
585 582 }
586 583
587 584 .radios {
588 585 position: relative;
589 586 width: 505px;
590 587 }
591 588 }
592 589
593 590 //--- MODULES ------------------//
594 591
595 592
596 593 // Server Announcement
597 594 #server-announcement {
598 595 width: 95%;
599 596 margin: @padding auto;
600 597 padding: @padding;
601 598 border-width: 2px;
602 599 border-style: solid;
603 600 .border-radius(2px);
604 601 font-weight: @text-bold-weight;
605 602 font-family: @text-bold;
606 603
607 604 &.info { border-color: @alert4; background-color: @alert4-inner; }
608 605 &.warning { border-color: @alert3; background-color: @alert3-inner; }
609 606 &.error { border-color: @alert2; background-color: @alert2-inner; }
610 607 &.success { border-color: @alert1; background-color: @alert1-inner; }
611 608 &.neutral { border-color: @grey3; background-color: @grey6; }
612 609 }
613 610
614 611 // Fixed Sidebar Column
615 612 .sidebar-col-wrapper {
616 613 padding-left: @sidebar-all-width;
617 614
618 615 .sidebar {
619 616 width: @sidebar-width;
620 617 margin-left: -@sidebar-all-width;
621 618 }
622 619 }
623 620
624 621 .sidebar-col-wrapper.scw-small {
625 622 padding-left: @sidebar-small-all-width;
626 623
627 624 .sidebar {
628 625 width: @sidebar-small-width;
629 626 margin-left: -@sidebar-small-all-width;
630 627 }
631 628 }
632 629
633 630
634 631 // FOOTER
635 632 #footer {
636 633 padding: 0;
637 634 text-align: center;
638 635 vertical-align: middle;
639 636 color: @grey2;
640 637 font-size: 11px;
641 638
642 639 p {
643 640 margin: 0;
644 641 padding: 1em;
645 642 line-height: 1em;
646 643 }
647 644
648 645 .server-instance { //server instance
649 646 display: none;
650 647 }
651 648
652 649 .title {
653 650 float: none;
654 651 margin: 0 auto;
655 652 }
656 653 }
657 654
658 655 button.close {
659 656 padding: 0;
660 657 cursor: pointer;
661 658 background: transparent;
662 659 border: 0;
663 660 .box-shadow(none);
664 661 -webkit-appearance: none;
665 662 }
666 663
667 664 .close {
668 665 float: right;
669 666 font-size: 21px;
670 667 font-family: @text-bootstrap;
671 668 line-height: 1em;
672 669 font-weight: bold;
673 670 color: @grey2;
674 671
675 672 &:hover,
676 673 &:focus {
677 674 color: @grey1;
678 675 text-decoration: none;
679 676 cursor: pointer;
680 677 }
681 678 }
682 679
683 680 // GRID
684 681 .sorting,
685 682 .sorting_desc,
686 683 .sorting_asc {
687 684 cursor: pointer;
688 685 }
689 686 .sorting_desc:after {
690 687 content: "\00A0\25B2";
691 688 font-size: .75em;
692 689 }
693 690 .sorting_asc:after {
694 691 content: "\00A0\25BC";
695 692 font-size: .68em;
696 693 }
697 694
698 695
699 696 .user_auth_tokens {
700 697
701 698 &.truncate {
702 699 white-space: nowrap;
703 700 overflow: hidden;
704 701 text-overflow: ellipsis;
705 702 }
706 703
707 704 .fields .field .input {
708 705 margin: 0;
709 706 }
710 707
711 708 input#description {
712 709 width: 100px;
713 710 margin: 0;
714 711 }
715 712
716 713 .drop-menu {
717 714 // TODO: johbo: Remove this, should work out of the box when
718 715 // having multiple inputs inline
719 716 margin: 0 0 0 5px;
720 717 }
721 718 }
722 719 #user_list_table {
723 720 .closed {
724 721 background-color: @grey6;
725 722 }
726 723 }
727 724
728 725
729 726 input, textarea {
730 727 &.disabled {
731 728 opacity: .5;
732 729 }
733 730
734 731 &:hover {
735 732 border-color: @grey3;
736 733 box-shadow: @button-shadow;
737 734 }
738 735
739 736 &:focus {
740 737 border-color: @rcblue;
741 738 box-shadow: @button-shadow;
742 739 }
743 740 }
744 741
745 742 // remove extra padding in firefox
746 743 input::-moz-focus-inner { border:0; padding:0 }
747 744
748 745 .adjacent input {
749 746 margin-bottom: @padding;
750 747 }
751 748
752 749 .permissions_boxes {
753 750 display: block;
754 751 }
755 752
756 753 //FORMS
757 754
758 755 .medium-inline,
759 756 input#description.medium-inline {
760 757 display: inline;
761 758 width: @medium-inline-input-width;
762 759 min-width: 100px;
763 760 }
764 761
765 762 select {
766 763 //reset
767 764 -webkit-appearance: none;
768 765 -moz-appearance: none;
769 766
770 767 display: inline-block;
771 768 height: 28px;
772 769 width: auto;
773 770 margin: 0 @padding @padding 0;
774 771 padding: 0 18px 0 8px;
775 772 line-height:1em;
776 773 font-size: @basefontsize;
777 774 border: @border-thickness solid @grey5;
778 775 border-radius: @border-radius;
779 776 background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%;
780 777 color: @grey4;
781 778 box-shadow: @button-shadow;
782 779
783 780 &:after {
784 781 content: "\00A0\25BE";
785 782 }
786 783
787 784 &:focus, &:hover {
788 785 outline: none;
789 786 border-color: @grey4;
790 787 color: @rcdarkblue;
791 788 }
792 789 }
793 790
794 791 option {
795 792 &:focus {
796 793 outline: none;
797 794 }
798 795 }
799 796
800 797 input,
801 798 textarea {
802 799 padding: @input-padding;
803 800 border: @input-border-thickness solid @border-highlight-color;
804 801 .border-radius (@border-radius);
805 802 font-family: @text-light;
806 803 font-size: @basefontsize;
807 804
808 805 &.input-sm {
809 806 padding: 5px;
810 807 }
811 808
812 809 &#description {
813 810 min-width: @input-description-minwidth;
814 811 min-height: 1em;
815 812 padding: 10px;
816 813 }
817 814 }
818 815
819 816 .field-sm {
820 817 input,
821 818 textarea {
822 819 padding: 5px;
823 820 }
824 821 }
825 822
826 823 textarea {
827 824 display: block;
828 825 clear: both;
829 826 width: 100%;
830 827 min-height: 100px;
831 828 margin-bottom: @padding;
832 829 .box-sizing(border-box);
833 830 overflow: auto;
834 831 }
835 832
836 833 label {
837 834 font-family: @text-light;
838 835 }
839 836
840 837 // GRAVATARS
841 838 // centers gravatar on username to the right
842 839
843 840 .gravatar {
844 841 display: inline;
845 842 min-width: 16px;
846 843 min-height: 16px;
847 844 margin: -5px 0;
848 845 padding: 0;
849 846 line-height: 1em;
850 847 box-sizing: content-box;
851 848 border-radius: 50%;
852 849
853 850 &.gravatar-large {
854 851 margin: -0.5em .25em -0.5em 0;
855 852 }
856 853
857 854 & + .user {
858 855 display: inline;
859 856 margin: 0;
860 857 padding: 0 0 0 .17em;
861 858 line-height: 1em;
862 859 }
863 860
864 861 & + .no-margin {
865 862 margin: 0
866 863 }
867 864
868 865 }
869 866
870 867 .user-inline-data {
871 868 display: inline-block;
872 869 float: left;
873 870 padding-left: .5em;
874 871 line-height: 1.3em;
875 872 }
876 873
877 874 .rc-user { // gravatar + user wrapper
878 875 float: left;
879 876 position: relative;
880 877 min-width: 100px;
881 878 max-width: 200px;
882 879 min-height: (@gravatar-size + @border-thickness * 2); // account for border
883 880 display: block;
884 881 padding: 0 0 0 (@gravatar-size + @basefontsize/4);
885 882
886 883
887 884 .gravatar {
888 885 display: block;
889 886 position: absolute;
890 887 top: 0;
891 888 left: 0;
892 889 min-width: @gravatar-size;
893 890 min-height: @gravatar-size;
894 891 margin: 0;
895 892 }
896 893
897 894 .user {
898 895 display: block;
899 896 max-width: 175px;
900 897 padding-top: 2px;
901 898 overflow: hidden;
902 899 text-overflow: ellipsis;
903 900 }
904 901 }
905 902
906 903 .gist-gravatar,
907 904 .journal_container {
908 905 .gravatar-large {
909 906 margin: 0 .5em -10px 0;
910 907 }
911 908 }
912 909
913 910 .gist-type-fields {
914 911 line-height: 30px;
915 912 height: 30px;
916 913
917 914 .gist-type-fields-wrapper {
918 915 vertical-align: middle;
919 916 display: inline-block;
920 917 line-height: 25px;
921 918 }
922 919 }
923 920
924 921 // ADMIN SETTINGS
925 922
926 923 // Tag Patterns
927 924 .tag_patterns {
928 925 .tag_input {
929 926 margin-bottom: @padding;
930 927 }
931 928 }
932 929
933 930 .locked_input {
934 931 position: relative;
935 932
936 933 input {
937 934 display: inline;
938 935 margin: 3px 5px 0px 0px;
939 936 }
940 937
941 938 br {
942 939 display: none;
943 940 }
944 941
945 942 .error-message {
946 943 float: left;
947 944 width: 100%;
948 945 }
949 946
950 947 .lock_input_button {
951 948 display: inline;
952 949 }
953 950
954 951 .help-block {
955 952 clear: both;
956 953 }
957 954 }
958 955
959 956 // Notifications
960 957
961 958 .notifications_buttons {
962 959 margin: 0 0 @space 0;
963 960 padding: 0;
964 961
965 962 .btn {
966 963 display: inline-block;
967 964 }
968 965 }
969 966
970 967 .notification-list {
971 968
972 969 div {
973 970 vertical-align: middle;
974 971 }
975 972
976 973 .container {
977 974 display: block;
978 975 margin: 0 0 @padding 0;
979 976 }
980 977
981 978 .delete-notifications {
982 979 margin-left: @padding;
983 980 text-align: right;
984 981 cursor: pointer;
985 982 }
986 983
987 984 .read-notifications {
988 985 margin-left: @padding/2;
989 986 text-align: right;
990 987 width: 35px;
991 988 cursor: pointer;
992 989 }
993 990
994 991 .icon-minus-sign {
995 992 color: @alert2;
996 993 }
997 994
998 995 .icon-ok-sign {
999 996 color: @alert1;
1000 997 }
1001 998 }
1002 999
1003 1000 .user_settings {
1004 1001 float: left;
1005 1002 clear: both;
1006 1003 display: block;
1007 1004 width: 100%;
1008 1005
1009 1006 .gravatar_box {
1010 1007 margin-bottom: @padding;
1011 1008
1012 1009 &:after {
1013 1010 content: " ";
1014 1011 clear: both;
1015 1012 width: 100%;
1016 1013 }
1017 1014 }
1018 1015
1019 1016 .fields .field {
1020 1017 clear: both;
1021 1018 }
1022 1019 }
1023 1020
1024 1021 .advanced_settings {
1025 1022 margin-bottom: @space;
1026 1023
1027 1024 .help-block {
1028 1025 margin-left: 0;
1029 1026 }
1030 1027
1031 1028 button + .help-block {
1032 1029 margin-top: @padding;
1033 1030 }
1034 1031 }
1035 1032
1036 1033 // admin settings radio buttons and labels
1037 1034 .label-2 {
1038 1035 float: left;
1039 1036 width: @label2-width;
1040 1037
1041 1038 label {
1042 1039 color: @grey1;
1043 1040 }
1044 1041 }
1045 1042 .checkboxes {
1046 1043 float: left;
1047 1044 width: @checkboxes-width;
1048 1045 margin-bottom: @padding;
1049 1046
1050 1047 .checkbox {
1051 1048 width: 100%;
1052 1049
1053 1050 label {
1054 1051 margin: 0;
1055 1052 padding: 0;
1056 1053 }
1057 1054 }
1058 1055
1059 1056 .checkbox + .checkbox {
1060 1057 display: inline-block;
1061 1058 }
1062 1059
1063 1060 label {
1064 1061 margin-right: 1em;
1065 1062 }
1066 1063 }
1067 1064
1068 1065 // CHANGELOG
1069 1066 .container_header {
1070 1067 float: left;
1071 1068 display: block;
1072 1069 width: 100%;
1073 1070 margin: @padding 0 @padding;
1074 1071
1075 1072 #filter_changelog {
1076 1073 float: left;
1077 1074 margin-right: @padding;
1078 1075 }
1079 1076
1080 1077 .breadcrumbs_light {
1081 1078 display: inline-block;
1082 1079 }
1083 1080 }
1084 1081
1085 1082 .info_box {
1086 1083 float: right;
1087 1084 }
1088 1085
1089 1086
1090 1087
1091 1088 #graph_content{
1092 1089
1093 1090 // adjust for table headers so that graph renders properly
1094 1091 // #graph_nodes padding - table cell padding
1095 1092 padding-top: (@space - (@basefontsize * 2.4));
1096 1093
1097 1094 &.graph_full_width {
1098 1095 width: 100%;
1099 1096 max-width: 100%;
1100 1097 }
1101 1098 }
1102 1099
1103 1100 #graph {
1104 1101
1105 1102 .pagination-left {
1106 1103 float: left;
1107 1104 clear: both;
1108 1105 }
1109 1106
1110 1107 .log-container {
1111 1108 max-width: 345px;
1112 1109
1113 1110 .message{
1114 1111 max-width: 340px;
1115 1112 }
1116 1113 }
1117 1114
1118 1115 .graph-col-wrapper {
1119 1116
1120 1117 #graph_nodes {
1121 1118 width: 100px;
1122 1119 position: absolute;
1123 1120 left: 70px;
1124 1121 z-index: -1;
1125 1122 }
1126 1123 }
1127 1124
1128 1125 .load-more-commits {
1129 1126 text-align: center;
1130 1127 }
1131 1128 .load-more-commits:hover {
1132 1129 background-color: @grey7;
1133 1130 }
1134 1131 .load-more-commits {
1135 1132 a {
1136 1133 display: block;
1137 1134 }
1138 1135 }
1139 1136 }
1140 1137
1141 1138 .obsolete-toggle {
1142 1139 line-height: 30px;
1143 1140 margin-left: -15px;
1144 1141 }
1145 1142
1146 1143 #rev_range_container, #rev_range_clear, #rev_range_more {
1147 1144 margin-top: -5px;
1148 1145 margin-bottom: -5px;
1149 1146 }
1150 1147
1151 1148 #filter_changelog {
1152 1149 float: left;
1153 1150 }
1154 1151
1155 1152
1156 1153 //--- THEME ------------------//
1157 1154
1158 1155 #logo {
1159 1156 float: left;
1160 1157 margin: 9px 0 0 0;
1161 1158
1162 1159 .header {
1163 1160 background-color: transparent;
1164 1161 }
1165 1162
1166 1163 a {
1167 1164 display: inline-block;
1168 1165 }
1169 1166
1170 1167 img {
1171 1168 height:30px;
1172 1169 }
1173 1170 }
1174 1171
1175 1172 .logo-wrapper {
1176 1173 float:left;
1177 1174 }
1178 1175
1179 1176 .branding {
1180 1177 float: left;
1181 1178 padding: 9px 2px;
1182 1179 line-height: 1em;
1183 1180 font-size: @navigation-fontsize;
1184 1181
1185 1182 a {
1186 1183 color: @grey5
1187 1184 }
1188 1185
1189 1186 // 1024px or smaller
1190 1187 @media screen and (max-width: 1180px) {
1191 1188 display: none;
1192 1189 }
1193 1190
1194 1191 }
1195 1192
1196 1193 img {
1197 1194 border: none;
1198 1195 outline: none;
1199 1196 }
1200 1197 user-profile-header
1201 1198 label {
1202 1199
1203 1200 input[type="checkbox"] {
1204 1201 margin-right: 1em;
1205 1202 }
1206 1203 input[type="radio"] {
1207 1204 margin-right: 1em;
1208 1205 }
1209 1206 }
1210 1207
1211 1208 .review-status {
1212 1209 &.under_review {
1213 1210 color: @alert3;
1214 1211 }
1215 1212 &.approved {
1216 1213 color: @alert1;
1217 1214 }
1218 1215 &.rejected,
1219 1216 &.forced_closed{
1220 1217 color: @alert2;
1221 1218 }
1222 1219 &.not_reviewed {
1223 1220 color: @grey5;
1224 1221 }
1225 1222 }
1226 1223
1227 1224 .review-status-under_review {
1228 1225 color: @alert3;
1229 1226 }
1230 1227 .status-tag-under_review {
1231 1228 border-color: @alert3;
1232 1229 }
1233 1230
1234 1231 .review-status-approved {
1235 1232 color: @alert1;
1236 1233 }
1237 1234 .status-tag-approved {
1238 1235 border-color: @alert1;
1239 1236 }
1240 1237
1241 1238 .review-status-rejected,
1242 1239 .review-status-forced_closed {
1243 1240 color: @alert2;
1244 1241 }
1245 1242 .status-tag-rejected,
1246 1243 .status-tag-forced_closed {
1247 1244 border-color: @alert2;
1248 1245 }
1249 1246
1250 1247 .review-status-not_reviewed {
1251 1248 color: @grey5;
1252 1249 }
1253 1250 .status-tag-not_reviewed {
1254 1251 border-color: @grey5;
1255 1252 }
1256 1253
1257 1254 .test_pattern_preview {
1258 1255 margin: @space 0;
1259 1256
1260 1257 p {
1261 1258 margin-bottom: 0;
1262 1259 border-bottom: @border-thickness solid @border-default-color;
1263 1260 color: @grey3;
1264 1261 }
1265 1262
1266 1263 .btn {
1267 1264 margin-bottom: @padding;
1268 1265 }
1269 1266 }
1270 1267 #test_pattern_result {
1271 1268 display: none;
1272 1269 &:extend(pre);
1273 1270 padding: .9em;
1274 1271 color: @grey3;
1275 1272 background-color: @grey7;
1276 1273 border-right: @border-thickness solid @border-default-color;
1277 1274 border-bottom: @border-thickness solid @border-default-color;
1278 1275 border-left: @border-thickness solid @border-default-color;
1279 1276 }
1280 1277
1281 1278 #repo_vcs_settings {
1282 1279 #inherit_overlay_vcs_default {
1283 1280 display: none;
1284 1281 }
1285 1282 #inherit_overlay_vcs_custom {
1286 1283 display: custom;
1287 1284 }
1288 1285 &.inherited {
1289 1286 #inherit_overlay_vcs_default {
1290 1287 display: block;
1291 1288 }
1292 1289 #inherit_overlay_vcs_custom {
1293 1290 display: none;
1294 1291 }
1295 1292 }
1296 1293 }
1297 1294
1298 1295 .issue-tracker-link {
1299 1296 color: @rcblue;
1300 1297 }
1301 1298
1302 1299 // Issue Tracker Table Show/Hide
1303 1300 #repo_issue_tracker {
1304 1301 #inherit_overlay {
1305 1302 display: none;
1306 1303 }
1307 1304 #custom_overlay {
1308 1305 display: custom;
1309 1306 }
1310 1307 &.inherited {
1311 1308 #inherit_overlay {
1312 1309 display: block;
1313 1310 }
1314 1311 #custom_overlay {
1315 1312 display: none;
1316 1313 }
1317 1314 }
1318 1315 }
1319 1316 table.issuetracker {
1320 1317 &.readonly {
1321 1318 tr, td {
1322 1319 color: @grey3;
1323 1320 }
1324 1321 }
1325 1322 .edit {
1326 1323 display: none;
1327 1324 }
1328 1325 .editopen {
1329 1326 .edit {
1330 1327 display: inline;
1331 1328 }
1332 1329 .entry {
1333 1330 display: none;
1334 1331 }
1335 1332 }
1336 1333 tr td.td-action {
1337 1334 min-width: 117px;
1338 1335 }
1339 1336 td input {
1340 1337 max-width: none;
1341 1338 min-width: 30px;
1342 1339 width: 80%;
1343 1340 }
1344 1341 .issuetracker_pref input {
1345 1342 width: 40%;
1346 1343 }
1347 1344 input.edit_issuetracker_update {
1348 1345 margin-right: 0;
1349 1346 width: auto;
1350 1347 }
1351 1348 }
1352 1349
1353 1350 table.integrations {
1354 1351 .td-icon {
1355 1352 width: 20px;
1356 1353 .integration-icon {
1357 1354 height: 20px;
1358 1355 width: 20px;
1359 1356 }
1360 1357 }
1361 1358 }
1362 1359
1363 1360 .integrations {
1364 1361 a.integration-box {
1365 1362 color: @text-color;
1366 1363 &:hover {
1367 1364 .panel {
1368 1365 background: #fbfbfb;
1369 1366 }
1370 1367 }
1371 1368 .integration-icon {
1372 1369 width: 30px;
1373 1370 height: 30px;
1374 1371 margin-right: 20px;
1375 1372 float: left;
1376 1373 }
1377 1374
1378 1375 .panel-body {
1379 1376 padding: 10px;
1380 1377 }
1381 1378 .panel {
1382 1379 margin-bottom: 10px;
1383 1380 }
1384 1381 h2 {
1385 1382 display: inline-block;
1386 1383 margin: 0;
1387 1384 min-width: 140px;
1388 1385 }
1389 1386 }
1390 1387 a.integration-box.dummy-integration {
1391 1388 color: @grey4
1392 1389 }
1393 1390 }
1394 1391
1395 1392 //Permissions Settings
1396 1393 #add_perm {
1397 1394 margin: 0 0 @padding;
1398 1395 cursor: pointer;
1399 1396 }
1400 1397
1401 1398 .perm_ac {
1402 1399 input {
1403 1400 width: 95%;
1404 1401 }
1405 1402 }
1406 1403
1407 1404 .autocomplete-suggestions {
1408 1405 width: auto !important; // overrides autocomplete.js
1409 1406 min-width: 278px;
1410 1407 margin: 0;
1411 1408 border: @border-thickness solid @grey5;
1412 1409 border-radius: @border-radius;
1413 1410 color: @grey2;
1414 1411 background-color: white;
1415 1412 }
1416 1413
1417 1414 .autocomplete-qfilter-suggestions {
1418 1415 width: auto !important; // overrides autocomplete.js
1419 1416 max-height: 100% !important;
1420 1417 min-width: 376px;
1421 1418 margin: 0;
1422 1419 border: @border-thickness solid @grey5;
1423 1420 color: @grey2;
1424 1421 background-color: white;
1425 1422 }
1426 1423
1427 1424 .autocomplete-selected {
1428 1425 background: #F0F0F0;
1429 1426 }
1430 1427
1431 1428 .ac-container-wrap {
1432 1429 margin: 0;
1433 1430 padding: 8px;
1434 1431 border-bottom: @border-thickness solid @grey5;
1435 1432 list-style-type: none;
1436 1433 cursor: pointer;
1437 1434
1438 1435 &:hover {
1439 1436 background-color: @grey7;
1440 1437 }
1441 1438
1442 1439 img {
1443 1440 height: @gravatar-size;
1444 1441 width: @gravatar-size;
1445 1442 margin-right: 1em;
1446 1443 }
1447 1444
1448 1445 strong {
1449 1446 font-weight: normal;
1450 1447 }
1451 1448 }
1452 1449
1453 1450 // Settings Dropdown
1454 1451 .user-menu .container {
1455 1452 padding: 0 4px;
1456 1453 margin: 0;
1457 1454 }
1458 1455
1459 1456 .user-menu .gravatar {
1460 1457 cursor: pointer;
1461 1458 }
1462 1459
1463 1460 .codeblock {
1464 1461 margin-bottom: @padding;
1465 1462 clear: both;
1466 1463
1467 1464 .stats {
1468 1465 overflow: hidden;
1469 1466 }
1470 1467
1471 1468 .message{
1472 1469 textarea{
1473 1470 margin: 0;
1474 1471 }
1475 1472 }
1476 1473
1477 1474 .code-header {
1478 1475 .stats {
1479 1476 line-height: 2em;
1480 1477
1481 1478 .revision_id {
1482 1479 margin-left: 0;
1483 1480 }
1484 1481 .buttons {
1485 1482 padding-right: 0;
1486 1483 }
1487 1484 }
1488 1485
1489 1486 .item{
1490 1487 margin-right: 0.5em;
1491 1488 }
1492 1489 }
1493 1490
1494 1491 #editor_container {
1495 1492 position: relative;
1496 1493 margin: @padding 10px;
1497 1494 }
1498 1495 }
1499 1496
1500 1497 #file_history_container {
1501 1498 display: none;
1502 1499 }
1503 1500
1504 1501 .file-history-inner {
1505 1502 margin-bottom: 10px;
1506 1503 }
1507 1504
1508 1505 // Pull Requests
1509 1506 .summary-details {
1510 1507 width: 100%;
1511 1508 }
1512 1509 .pr-summary {
1513 1510 border-bottom: @border-thickness solid @grey5;
1514 1511 margin-bottom: @space;
1515 1512 }
1516 1513
1517 1514 .reviewers {
1518 1515 width: 98%;
1519 1516 }
1520 1517
1521 1518 .reviewers ul li {
1522 1519 position: relative;
1523 1520 width: 100%;
1524 1521 padding-bottom: 8px;
1525 1522 list-style-type: none;
1526 1523 }
1527 1524
1528 1525 .reviewer_entry {
1529 1526 min-height: 55px;
1530 1527 }
1531 1528
1532 1529 .reviewer_reason {
1533 1530 padding-left: 20px;
1534 1531 line-height: 1.5em;
1535 1532 }
1536 1533 .reviewer_status {
1537 1534 display: inline-block;
1538 1535 width: 20px;
1539 1536 min-width: 20px;
1540 1537 height: 1.2em;
1541 1538 line-height: 1em;
1542 1539 }
1543 1540
1544 1541 .reviewer_name {
1545 1542 display: inline-block;
1546 1543 max-width: 83%;
1547 1544 padding-right: 20px;
1548 1545 vertical-align: middle;
1549 1546 line-height: 1;
1550 1547
1551 1548 .rc-user {
1552 1549 min-width: 0;
1553 1550 margin: -2px 1em 0 0;
1554 1551 }
1555 1552
1556 1553 .reviewer {
1557 1554 float: left;
1558 1555 }
1559 1556 }
1560 1557
1561 1558 .reviewer_member_mandatory {
1562 1559 width: 16px;
1563 1560 font-size: 11px;
1564 1561 margin: 0;
1565 1562 padding: 0;
1566 1563 color: black;
1567 1564 opacity: 0.4;
1568 1565 }
1569 1566
1570 1567 .reviewer_member_mandatory_remove,
1571 1568 .reviewer_member_remove {
1572 1569 width: 16px;
1573 1570 padding: 0;
1574 1571 color: black;
1575 1572 cursor: pointer;
1576 1573 }
1577 1574
1578 1575 .reviewer_member_mandatory_remove {
1579 1576 color: @grey4;
1580 1577 }
1581 1578
1582 1579 .reviewer_member_status {
1583 1580 margin-top: 5px;
1584 1581 }
1585 1582 .pr-summary #summary{
1586 1583 width: 100%;
1587 1584 }
1588 1585 .pr-summary .action_button:hover {
1589 1586 border: 0;
1590 1587 cursor: pointer;
1591 1588 }
1592 1589 .pr-details-title {
1593 1590 height: 20px;
1594 1591 line-height: 16px;
1595 1592
1596 1593 padding-bottom: 4px;
1597 1594 border-bottom: @border-thickness solid @grey5;
1598 1595
1599 1596 .action_button.disabled {
1600 1597 color: @grey4;
1601 1598 cursor: inherit;
1602 1599 }
1603 1600 .action_button {
1604 1601 color: @rcblue;
1605 1602 }
1606 1603 }
1607 1604 .pr-details-content {
1608 1605 margin-top: @textmargin - 5;
1609 1606 margin-bottom: @textmargin - 5;
1610 1607 }
1611 1608
1612 1609 .pr-reviewer-rules {
1613 1610 padding: 10px 0px 20px 0px;
1614 1611 }
1615 1612
1616 1613 .todo-resolved {
1617 1614 text-decoration: line-through;
1618 1615 }
1619 1616
1620 1617 .todo-table, .comments-table {
1621 1618 width: 100%;
1622 1619
1623 1620 td {
1624 1621 padding: 5px 0px;
1625 1622 }
1626 1623
1627 1624 .td-todo-number {
1628 1625 text-align: left;
1629 1626 white-space: nowrap;
1630 1627 width: 1%;
1631 1628 padding-right: 2px;
1632 1629 }
1633 1630
1634 1631 .td-todo-gravatar {
1635 1632 width: 5%;
1636 1633
1637 1634 img {
1638 1635 margin: -3px 0;
1639 1636 }
1640 1637 }
1641 1638
1642 1639 }
1643 1640
1644 1641 .todo-comment-text-wrapper {
1645 1642 display: inline-grid;
1646 1643 }
1647 1644
1648 1645 .todo-comment-text {
1649 1646 margin-left: 5px;
1650 1647 white-space: nowrap;
1651 1648 overflow: hidden;
1652 1649 text-overflow: ellipsis;
1653 1650 }
1654 1651
1655 1652 table.group_members {
1656 1653 width: 100%
1657 1654 }
1658 1655
1659 1656 .group_members {
1660 1657 margin-top: 0;
1661 1658 padding: 0;
1662 1659
1663 1660 img {
1664 1661 height: @gravatar-size;
1665 1662 width: @gravatar-size;
1666 1663 margin-right: .5em;
1667 1664 margin-left: 3px;
1668 1665 }
1669 1666
1670 1667 .to-delete {
1671 1668 .user {
1672 1669 text-decoration: line-through;
1673 1670 }
1674 1671 }
1675 1672 }
1676 1673
1677 1674 .compare_view_commits_title {
1678 1675 .disabled {
1679 1676 cursor: inherit;
1680 1677 &:hover{
1681 1678 background-color: inherit;
1682 1679 color: inherit;
1683 1680 }
1684 1681 }
1685 1682 }
1686 1683
1687 1684 .subtitle-compare {
1688 1685 margin: -15px 0px 0px 0px;
1689 1686 }
1690 1687
1691 1688 // new entry in group_members
1692 1689 .td-author-new-entry {
1693 1690 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1694 1691 }
1695 1692
1696 1693 .usergroup_member_remove {
1697 1694 width: 16px;
1698 1695 margin-bottom: 10px;
1699 1696 padding: 0;
1700 1697 color: black !important;
1701 1698 cursor: pointer;
1702 1699 }
1703 1700
1704 1701 .reviewer_ac .ac-input {
1705 1702 width: 98%;
1706 1703 margin-bottom: 1em;
1707 1704 }
1708 1705
1709 1706 .observer_ac .ac-input {
1710 1707 width: 98%;
1711 1708 margin-bottom: 1em;
1712 1709 }
1713 1710
1714 1711 .rule-table {
1715 1712 width: 100%;
1716 1713 }
1717 1714
1718 1715 .rule-table td {
1719 1716
1720 1717 }
1721 1718
1722 1719 .rule-table .td-role {
1723 1720 width: 100px
1724 1721 }
1725 1722
1726 1723 .rule-table .td-mandatory {
1727 1724 width: 100px
1728 1725 }
1729 1726
1730 1727 .rule-table .td-group-votes {
1731 1728 width: 150px
1732 1729 }
1733 1730
1734 1731 .compare_view_commits tr{
1735 1732 height: 20px;
1736 1733 }
1737 1734 .compare_view_commits td {
1738 1735 vertical-align: top;
1739 1736 padding-top: 10px;
1740 1737 }
1741 1738 .compare_view_commits .author {
1742 1739 margin-left: 5px;
1743 1740 }
1744 1741
1745 1742 .compare_view_commits {
1746 1743 .color-a {
1747 1744 color: @alert1;
1748 1745 }
1749 1746
1750 1747 .color-c {
1751 1748 color: @color3;
1752 1749 }
1753 1750
1754 1751 .color-r {
1755 1752 color: @color5;
1756 1753 }
1757 1754
1758 1755 .color-a-bg {
1759 1756 background-color: @alert1;
1760 1757 }
1761 1758
1762 1759 .color-c-bg {
1763 1760 background-color: @alert3;
1764 1761 }
1765 1762
1766 1763 .color-r-bg {
1767 1764 background-color: @alert2;
1768 1765 }
1769 1766
1770 1767 .color-a-border {
1771 1768 border: 1px solid @alert1;
1772 1769 }
1773 1770
1774 1771 .color-c-border {
1775 1772 border: 1px solid @alert3;
1776 1773 }
1777 1774
1778 1775 .color-r-border {
1779 1776 border: 1px solid @alert2;
1780 1777 }
1781 1778
1782 1779 .commit-change-indicator {
1783 1780 width: 15px;
1784 1781 height: 15px;
1785 1782 position: relative;
1786 1783 left: 15px;
1787 1784 }
1788 1785
1789 1786 .commit-change-content {
1790 1787 text-align: center;
1791 1788 vertical-align: middle;
1792 1789 line-height: 15px;
1793 1790 }
1794 1791 }
1795 1792
1796 1793 .compare_view_filepath {
1797 1794 color: @grey1;
1798 1795 }
1799 1796
1800 1797 .show_more {
1801 1798 display: inline-block;
1802 1799 width: 0;
1803 1800 height: 0;
1804 1801 vertical-align: middle;
1805 1802 content: "";
1806 1803 border: 4px solid;
1807 1804 border-right-color: transparent;
1808 1805 border-bottom-color: transparent;
1809 1806 border-left-color: transparent;
1810 1807 font-size: 0;
1811 1808 }
1812 1809
1813 1810 .journal_more .show_more {
1814 1811 display: inline;
1815 1812
1816 1813 &:after {
1817 1814 content: none;
1818 1815 }
1819 1816 }
1820 1817
1821 1818 .compare_view_commits .collapse_commit:after {
1822 1819 cursor: pointer;
1823 1820 content: "\00A0\25B4";
1824 1821 margin-left: -3px;
1825 1822 font-size: 17px;
1826 1823 color: @grey4;
1827 1824 }
1828 1825
1829 1826 .diff_links {
1830 1827 margin-left: 8px;
1831 1828 }
1832 1829
1833 1830 #pull_request_overview {
1834 1831 div.ancestor {
1835 1832 margin: -33px 0;
1836 1833 }
1837 1834 }
1838 1835
1839 1836 div.ancestor {
1840 1837
1841 1838 }
1842 1839
1843 1840 .cs_icon_td input[type="checkbox"] {
1844 1841 display: none;
1845 1842 }
1846 1843
1847 1844 .cs_icon_td .expand_file_icon:after {
1848 1845 cursor: pointer;
1849 1846 content: "\00A0\25B6";
1850 1847 font-size: 12px;
1851 1848 color: @grey4;
1852 1849 }
1853 1850
1854 1851 .cs_icon_td .collapse_file_icon:after {
1855 1852 cursor: pointer;
1856 1853 content: "\00A0\25BC";
1857 1854 font-size: 12px;
1858 1855 color: @grey4;
1859 1856 }
1860 1857
1861 1858 /*new binary
1862 1859 NEW_FILENODE = 1
1863 1860 DEL_FILENODE = 2
1864 1861 MOD_FILENODE = 3
1865 1862 RENAMED_FILENODE = 4
1866 1863 COPIED_FILENODE = 5
1867 1864 CHMOD_FILENODE = 6
1868 1865 BIN_FILENODE = 7
1869 1866 */
1870 1867 .cs_files_expand {
1871 1868 font-size: @basefontsize + 5px;
1872 1869 line-height: 1.8em;
1873 1870 float: right;
1874 1871 }
1875 1872
1876 1873 .cs_files_expand span{
1877 1874 color: @rcblue;
1878 1875 cursor: pointer;
1879 1876 }
1880 1877 .cs_files {
1881 1878 clear: both;
1882 1879 padding-bottom: @padding;
1883 1880
1884 1881 .cur_cs {
1885 1882 margin: 10px 2px;
1886 1883 font-weight: bold;
1887 1884 }
1888 1885
1889 1886 .node {
1890 1887 float: left;
1891 1888 }
1892 1889
1893 1890 .changes {
1894 1891 float: right;
1895 1892 color: white;
1896 1893 font-size: @basefontsize - 4px;
1897 1894 margin-top: 4px;
1898 1895 opacity: 0.6;
1899 1896 filter: Alpha(opacity=60); /* IE8 and earlier */
1900 1897
1901 1898 .added {
1902 1899 background-color: @alert1;
1903 1900 float: left;
1904 1901 text-align: center;
1905 1902 }
1906 1903
1907 1904 .deleted {
1908 1905 background-color: @alert2;
1909 1906 float: left;
1910 1907 text-align: center;
1911 1908 }
1912 1909
1913 1910 .bin {
1914 1911 background-color: @alert1;
1915 1912 text-align: center;
1916 1913 }
1917 1914
1918 1915 /*new binary*/
1919 1916 .bin.bin1 {
1920 1917 background-color: @alert1;
1921 1918 text-align: center;
1922 1919 }
1923 1920
1924 1921 /*deleted binary*/
1925 1922 .bin.bin2 {
1926 1923 background-color: @alert2;
1927 1924 text-align: center;
1928 1925 }
1929 1926
1930 1927 /*mod binary*/
1931 1928 .bin.bin3 {
1932 1929 background-color: @grey2;
1933 1930 text-align: center;
1934 1931 }
1935 1932
1936 1933 /*rename file*/
1937 1934 .bin.bin4 {
1938 1935 background-color: @alert4;
1939 1936 text-align: center;
1940 1937 }
1941 1938
1942 1939 /*copied file*/
1943 1940 .bin.bin5 {
1944 1941 background-color: @alert4;
1945 1942 text-align: center;
1946 1943 }
1947 1944
1948 1945 /*chmod file*/
1949 1946 .bin.bin6 {
1950 1947 background-color: @grey2;
1951 1948 text-align: center;
1952 1949 }
1953 1950 }
1954 1951 }
1955 1952
1956 1953 .cs_files .cs_added, .cs_files .cs_A,
1957 1954 .cs_files .cs_added, .cs_files .cs_M,
1958 1955 .cs_files .cs_added, .cs_files .cs_D {
1959 1956 height: 16px;
1960 1957 padding-right: 10px;
1961 1958 margin-top: 7px;
1962 1959 text-align: left;
1963 1960 }
1964 1961
1965 1962 .cs_icon_td {
1966 1963 min-width: 16px;
1967 1964 width: 16px;
1968 1965 }
1969 1966
1970 1967 .pull-request-merge {
1971 1968 border: 1px solid @grey5;
1972 1969 padding: 10px 0px 20px;
1973 1970 margin-top: 10px;
1974 1971 margin-bottom: 20px;
1975 1972 }
1976 1973
1977 1974 .pull-request-merge-refresh {
1978 1975 margin: 2px 7px;
1979 1976 a {
1980 1977 color: @grey3;
1981 1978 }
1982 1979 }
1983 1980
1984 1981 .pull-request-merge ul {
1985 1982 padding: 0px 0px;
1986 1983 }
1987 1984
1988 1985 .pull-request-merge li {
1989 1986 list-style-type: none;
1990 1987 }
1991 1988
1992 1989 .pull-request-merge .pull-request-wrap {
1993 1990 height: auto;
1994 1991 padding: 0px 0px;
1995 1992 text-align: right;
1996 1993 }
1997 1994
1998 1995 .pull-request-merge span {
1999 1996 margin-right: 5px;
2000 1997 }
2001 1998
2002 1999 .pull-request-merge-actions {
2003 2000 min-height: 30px;
2004 2001 padding: 0px 0px;
2005 2002 }
2006 2003
2007 2004 .pull-request-merge-info {
2008 2005 padding: 0px 5px 5px 0px;
2009 2006 }
2010 2007
2011 2008 .merge-status {
2012 2009 margin-right: 5px;
2013 2010 }
2014 2011
2015 2012 .merge-message {
2016 2013 font-size: 1.2em
2017 2014 }
2018 2015
2019 2016 .merge-message.success i,
2020 2017 .merge-icon.success i {
2021 2018 color:@alert1;
2022 2019 }
2023 2020
2024 2021 .merge-message.warning i,
2025 2022 .merge-icon.warning i {
2026 2023 color: @alert3;
2027 2024 }
2028 2025
2029 2026 .merge-message.error i,
2030 2027 .merge-icon.error i {
2031 2028 color:@alert2;
2032 2029 }
2033 2030
2034 2031 .pr-versions {
2035 2032 font-size: 1.1em;
2036 2033 padding: 7.5px;
2037 2034
2038 2035 table {
2039 2036
2040 2037 }
2041 2038
2042 2039 td {
2043 2040 line-height: 15px;
2044 2041 }
2045 2042
2046 2043 .compare-radio-button {
2047 2044 position: relative;
2048 2045 top: -3px;
2049 2046 }
2050 2047 }
2051 2048
2052 2049
2053 2050 #close_pull_request {
2054 2051 margin-right: 0px;
2055 2052 }
2056 2053
2057 2054 .empty_data {
2058 2055 color: @grey4;
2059 2056 }
2060 2057
2061 2058 #changeset_compare_view_content {
2062 2059 clear: both;
2063 2060 width: 100%;
2064 2061 box-sizing: border-box;
2065 2062 .border-radius(@border-radius);
2066 2063
2067 2064 .help-block {
2068 2065 margin: @padding 0;
2069 2066 color: @text-color;
2070 2067 &.pre-formatting {
2071 2068 white-space: pre;
2072 2069 }
2073 2070 }
2074 2071
2075 2072 .empty_data {
2076 2073 margin: @padding 0;
2077 2074 }
2078 2075
2079 2076 .alert {
2080 2077 margin-bottom: @space;
2081 2078 }
2082 2079 }
2083 2080
2084 2081 .table_disp {
2085 2082 .status {
2086 2083 width: auto;
2087 2084 }
2088 2085 }
2089 2086
2090 2087
2091 2088 .creation_in_progress {
2092 2089 color: @grey4
2093 2090 }
2094 2091
2095 2092 .status_box_menu {
2096 2093 margin: 0;
2097 2094 }
2098 2095
2099 2096 .notification-table{
2100 2097 margin-bottom: @space;
2101 2098 display: table;
2102 2099 width: 100%;
2103 2100
2104 2101 .container{
2105 2102 display: table-row;
2106 2103
2107 2104 .notification-header{
2108 2105 border-bottom: @border-thickness solid @border-default-color;
2109 2106 }
2110 2107
2111 2108 .notification-subject{
2112 2109 display: table-cell;
2113 2110 }
2114 2111 }
2115 2112 }
2116 2113
2117 2114 // Notifications
2118 2115 .notification-header{
2119 2116 display: table;
2120 2117 width: 100%;
2121 2118 padding: floor(@basefontsize/2) 0;
2122 2119 line-height: 1em;
2123 2120
2124 2121 .desc, .delete-notifications, .read-notifications{
2125 2122 display: table-cell;
2126 2123 text-align: left;
2127 2124 }
2128 2125
2129 2126 .delete-notifications, .read-notifications{
2130 2127 width: 35px;
2131 2128 min-width: 35px; //fixes when only one button is displayed
2132 2129 }
2133 2130 }
2134 2131
2135 2132 .notification-body {
2136 2133 .markdown-block,
2137 2134 .rst-block {
2138 2135 padding: @padding 0;
2139 2136 }
2140 2137
2141 2138 .notification-subject {
2142 2139 padding: @textmargin 0;
2143 2140 border-bottom: @border-thickness solid @border-default-color;
2144 2141 }
2145 2142 }
2146 2143
2147 2144 .notice-messages {
2148 2145 .markdown-block,
2149 2146 .rst-block {
2150 2147 padding: 0;
2151 2148 }
2152 2149 }
2153 2150
2154 2151 .notifications_buttons{
2155 2152 float: right;
2156 2153 }
2157 2154
2158 2155 #notification-status{
2159 2156 display: inline;
2160 2157 }
2161 2158
2162 2159 // Repositories
2163 2160
2164 2161 #summary.fields{
2165 2162 display: table;
2166 2163
2167 2164 .field{
2168 2165 display: table-row;
2169 2166
2170 2167 .label-summary{
2171 2168 display: table-cell;
2172 2169 min-width: @label-summary-minwidth;
2173 2170 padding-top: @padding/2;
2174 2171 padding-bottom: @padding/2;
2175 2172 padding-right: @padding/2;
2176 2173 }
2177 2174
2178 2175 .input{
2179 2176 display: table-cell;
2180 2177 padding: @padding/2;
2181 2178
2182 2179 input{
2183 2180 min-width: 29em;
2184 2181 padding: @padding/4;
2185 2182 }
2186 2183 }
2187 2184 .statistics, .downloads{
2188 2185 .disabled{
2189 2186 color: @grey4;
2190 2187 }
2191 2188 }
2192 2189 }
2193 2190 }
2194 2191
2195 2192 #summary{
2196 2193 width: 70%;
2197 2194 }
2198 2195
2199 2196
2200 2197 // Journal
2201 2198 .journal.title {
2202 2199 h5 {
2203 2200 float: left;
2204 2201 margin: 0;
2205 2202 width: 70%;
2206 2203 }
2207 2204
2208 2205 ul {
2209 2206 float: right;
2210 2207 display: inline-block;
2211 2208 margin: 0;
2212 2209 width: 30%;
2213 2210 text-align: right;
2214 2211
2215 2212 li {
2216 2213 display: inline;
2217 2214 font-size: @journal-fontsize;
2218 2215 line-height: 1em;
2219 2216
2220 2217 list-style-type: none;
2221 2218 }
2222 2219 }
2223 2220 }
2224 2221
2225 2222 .filterexample {
2226 2223 position: absolute;
2227 2224 top: 95px;
2228 2225 left: @contentpadding;
2229 2226 color: @rcblue;
2230 2227 font-size: 11px;
2231 2228 font-family: @text-regular;
2232 2229 cursor: help;
2233 2230
2234 2231 &:hover {
2235 2232 color: @rcdarkblue;
2236 2233 }
2237 2234
2238 2235 @media (max-width:768px) {
2239 2236 position: relative;
2240 2237 top: auto;
2241 2238 left: auto;
2242 2239 display: block;
2243 2240 }
2244 2241 }
2245 2242
2246 2243
2247 2244 #journal{
2248 2245 margin-bottom: @space;
2249 2246
2250 2247 .journal_day{
2251 2248 margin-bottom: @textmargin/2;
2252 2249 padding-bottom: @textmargin/2;
2253 2250 font-size: @journal-fontsize;
2254 2251 border-bottom: @border-thickness solid @border-default-color;
2255 2252 }
2256 2253
2257 2254 .journal_container{
2258 2255 margin-bottom: @space;
2259 2256
2260 2257 .journal_user{
2261 2258 display: inline-block;
2262 2259 }
2263 2260 .journal_action_container{
2264 2261 display: block;
2265 2262 margin-top: @textmargin;
2266 2263
2267 2264 div{
2268 2265 display: inline;
2269 2266 }
2270 2267
2271 2268 div.journal_action_params{
2272 2269 display: block;
2273 2270 }
2274 2271
2275 2272 div.journal_repo:after{
2276 2273 content: "\A";
2277 2274 white-space: pre;
2278 2275 }
2279 2276
2280 2277 div.date{
2281 2278 display: block;
2282 2279 margin-bottom: @textmargin;
2283 2280 }
2284 2281 }
2285 2282 }
2286 2283 }
2287 2284
2288 2285 // Files
2289 2286 .edit-file-title {
2290 2287 font-size: 16px;
2291 2288
2292 2289 .title-heading {
2293 2290 padding: 2px;
2294 2291 }
2295 2292 }
2296 2293
2297 2294 .edit-file-fieldset {
2298 2295 margin: @sidebarpadding 0;
2299 2296
2300 2297 .fieldset {
2301 2298 .left-label {
2302 2299 width: 13%;
2303 2300 }
2304 2301 .right-content {
2305 2302 width: 87%;
2306 2303 max-width: 100%;
2307 2304 }
2308 2305 .filename-label {
2309 2306 margin-top: 13px;
2310 2307 }
2311 2308 .commit-message-label {
2312 2309 margin-top: 4px;
2313 2310 }
2314 2311 .file-upload-input {
2315 2312 input {
2316 2313 display: none;
2317 2314 }
2318 2315 margin-top: 10px;
2319 2316 }
2320 2317 .file-upload-label {
2321 2318 margin-top: 10px;
2322 2319 }
2323 2320 p {
2324 2321 margin-top: 5px;
2325 2322 }
2326 2323
2327 2324 }
2328 2325 .custom-path-link {
2329 2326 margin-left: 5px;
2330 2327 }
2331 2328 #commit {
2332 2329 resize: vertical;
2333 2330 }
2334 2331 }
2335 2332
2336 2333 .delete-file-preview {
2337 2334 max-height: 250px;
2338 2335 }
2339 2336
2340 2337 .new-file,
2341 2338 #filter_activate,
2342 2339 #filter_deactivate {
2343 2340 float: right;
2344 2341 margin: 0 0 0 10px;
2345 2342 }
2346 2343
2347 2344 .file-upload-transaction-wrapper {
2348 2345 margin-top: 57px;
2349 2346 clear: both;
2350 2347 }
2351 2348
2352 2349 .file-upload-transaction-wrapper .error {
2353 2350 color: @color5;
2354 2351 }
2355 2352
2356 2353 .file-upload-transaction {
2357 2354 min-height: 200px;
2358 2355 padding: 54px;
2359 2356 border: 1px solid @grey5;
2360 2357 text-align: center;
2361 2358 clear: both;
2362 2359 }
2363 2360
2364 2361 .file-upload-transaction i {
2365 2362 font-size: 48px
2366 2363 }
2367 2364
2368 2365 h3.files_location{
2369 2366 line-height: 2.4em;
2370 2367 }
2371 2368
2372 2369 .browser-nav {
2373 2370 width: 100%;
2374 2371 display: table;
2375 2372 margin-bottom: 20px;
2376 2373
2377 2374 .info_box {
2378 2375 float: left;
2379 2376 display: inline-table;
2380 2377 height: 2.5em;
2381 2378
2382 2379 .browser-cur-rev, .info_box_elem {
2383 2380 display: table-cell;
2384 2381 vertical-align: middle;
2385 2382 }
2386 2383
2387 2384 .drop-menu {
2388 2385 margin: 0 10px;
2389 2386 }
2390 2387
2391 2388 .info_box_elem {
2392 2389 border-top: @border-thickness solid @grey5;
2393 2390 border-bottom: @border-thickness solid @grey5;
2394 2391 box-shadow: @button-shadow;
2395 2392
2396 2393 #at_rev, a {
2397 2394 padding: 0.6em 0.4em;
2398 2395 margin: 0;
2399 2396 .box-shadow(none);
2400 2397 border: 0;
2401 2398 height: 12px;
2402 2399 color: @grey2;
2403 2400 }
2404 2401
2405 2402 input#at_rev {
2406 2403 max-width: 50px;
2407 2404 text-align: center;
2408 2405 }
2409 2406
2410 2407 &.previous {
2411 2408 border: @border-thickness solid @grey5;
2412 2409 border-top-left-radius: @border-radius;
2413 2410 border-bottom-left-radius: @border-radius;
2414 2411
2415 2412 &:hover {
2416 2413 border-color: @grey4;
2417 2414 }
2418 2415
2419 2416 .disabled {
2420 2417 color: @grey5;
2421 2418 cursor: not-allowed;
2422 2419 opacity: 0.5;
2423 2420 }
2424 2421 }
2425 2422
2426 2423 &.next {
2427 2424 border: @border-thickness solid @grey5;
2428 2425 border-top-right-radius: @border-radius;
2429 2426 border-bottom-right-radius: @border-radius;
2430 2427
2431 2428 &:hover {
2432 2429 border-color: @grey4;
2433 2430 }
2434 2431
2435 2432 .disabled {
2436 2433 color: @grey5;
2437 2434 cursor: not-allowed;
2438 2435 opacity: 0.5;
2439 2436 }
2440 2437 }
2441 2438 }
2442 2439
2443 2440 .browser-cur-rev {
2444 2441
2445 2442 span{
2446 2443 margin: 0;
2447 2444 color: @rcblue;
2448 2445 height: 12px;
2449 2446 display: inline-block;
2450 2447 padding: 0.7em 1em ;
2451 2448 border: @border-thickness solid @rcblue;
2452 2449 margin-right: @padding;
2453 2450 }
2454 2451 }
2455 2452
2456 2453 }
2457 2454
2458 2455 .select-index-number {
2459 2456 margin: 0 0 0 20px;
2460 2457 color: @grey3;
2461 2458 }
2462 2459
2463 2460 .search_activate {
2464 2461 display: table-cell;
2465 2462 vertical-align: middle;
2466 2463
2467 2464 input, label{
2468 2465 margin: 0;
2469 2466 padding: 0;
2470 2467 }
2471 2468
2472 2469 input{
2473 2470 margin-left: @textmargin;
2474 2471 }
2475 2472
2476 2473 }
2477 2474 }
2478 2475
2479 2476 .browser-cur-rev{
2480 2477 margin-bottom: @textmargin;
2481 2478 }
2482 2479
2483 2480 #node_filter_box_loading{
2484 2481 .info_text;
2485 2482 }
2486 2483
2487 2484 .browser-search {
2488 2485 margin: -25px 0px 5px 0px;
2489 2486 }
2490 2487
2491 2488 .files-quick-filter {
2492 2489 float: right;
2493 2490 width: 180px;
2494 2491 position: relative;
2495 2492 }
2496 2493
2497 2494 .files-filter-box {
2498 2495 display: flex;
2499 2496 padding: 0px;
2500 2497 border-radius: 3px;
2501 2498 margin-bottom: 0;
2502 2499
2503 2500 a {
2504 2501 border: none !important;
2505 2502 }
2506 2503
2507 2504 li {
2508 2505 list-style-type: none
2509 2506 }
2510 2507 }
2511 2508
2512 2509 .files-filter-box-path {
2513 2510 line-height: 33px;
2514 2511 padding: 0;
2515 2512 width: 20px;
2516 2513 position: absolute;
2517 2514 z-index: 11;
2518 2515 left: 5px;
2519 2516 }
2520 2517
2521 2518 .files-filter-box-input {
2522 2519 margin-right: 0;
2523 2520
2524 2521 input {
2525 2522 border: 1px solid @white;
2526 2523 padding-left: 25px;
2527 2524 width: 145px;
2528 2525
2529 2526 &:hover {
2530 2527 border-color: @grey6;
2531 2528 }
2532 2529
2533 2530 &:focus {
2534 2531 border-color: @grey5;
2535 2532 }
2536 2533 }
2537 2534 }
2538 2535
2539 2536 .browser-result{
2540 2537 td a{
2541 2538 margin-left: 0.5em;
2542 2539 display: inline-block;
2543 2540
2544 2541 em {
2545 2542 font-weight: @text-bold-weight;
2546 2543 font-family: @text-bold;
2547 2544 }
2548 2545 }
2549 2546 }
2550 2547
2551 2548 .browser-highlight{
2552 2549 background-color: @grey5-alpha;
2553 2550 }
2554 2551
2555 2552
2556 2553 .edit-file-fieldset #location,
2557 2554 .edit-file-fieldset #filename {
2558 2555 display: flex;
2559 2556 width: -moz-available; /* WebKit-based browsers will ignore this. */
2560 2557 width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
2561 2558 width: fill-available;
2562 2559 border: 0;
2563 2560 }
2564 2561
2565 2562 .path-items {
2566 2563 display: flex;
2567 2564 padding: 0;
2568 2565 border: 1px solid #eeeeee;
2569 2566 width: 100%;
2570 2567 float: left;
2571 2568
2572 2569 .breadcrumb-path {
2573 2570 line-height: 30px;
2574 2571 padding: 0 4px;
2575 2572 white-space: nowrap;
2576 2573 }
2577 2574
2578 2575 .upload-form {
2579 2576 margin-top: 46px;
2580 2577 }
2581 2578
2582 2579 .location-path {
2583 2580 width: -moz-available; /* WebKit-based browsers will ignore this. */
2584 2581 width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
2585 2582 width: fill-available;
2586 2583
2587 2584 .file-name-input {
2588 2585 padding: 0.5em 0;
2589 2586 }
2590 2587
2591 2588 }
2592 2589
2593 2590 ul {
2594 2591 display: flex;
2595 2592 margin: 0;
2596 2593 padding: 0;
2597 2594 width: 100%;
2598 2595 }
2599 2596
2600 2597 li {
2601 2598 list-style-type: none;
2602 2599 }
2603 2600
2604 2601 }
2605 2602
2606 2603 .editor-items {
2607 2604 height: 40px;
2608 2605 margin: 10px 0 -17px 10px;
2609 2606
2610 2607 .editor-action {
2611 2608 cursor: pointer;
2612 2609 }
2613 2610
2614 2611 .editor-action.active {
2615 2612 border-bottom: 2px solid #5C5C5C;
2616 2613 }
2617 2614
2618 2615 li {
2619 2616 list-style-type: none;
2620 2617 }
2621 2618 }
2622 2619
2623 2620 .edit-file-fieldset .message textarea {
2624 2621 border: 1px solid #eeeeee;
2625 2622 }
2626 2623
2627 2624 #files_data .codeblock {
2628 2625 background-color: #F5F5F5;
2629 2626 }
2630 2627
2631 2628 #editor_preview {
2632 2629 background: white;
2633 2630 }
2634 2631
2635 2632 .show-editor {
2636 2633 padding: 10px;
2637 2634 background-color: white;
2638 2635
2639 2636 }
2640 2637
2641 2638 .show-preview {
2642 2639 padding: 10px;
2643 2640 background-color: white;
2644 2641 border-left: 1px solid #eeeeee;
2645 2642 }
2646 2643 // quick filter
2647 2644 .grid-quick-filter {
2648 2645 float: right;
2649 2646 position: relative;
2650 2647 }
2651 2648
2652 2649 .grid-filter-box {
2653 2650 display: flex;
2654 2651 padding: 0px;
2655 2652 border-radius: 3px;
2656 2653 margin-bottom: 0;
2657 2654
2658 2655 a {
2659 2656 border: none !important;
2660 2657 }
2661 2658
2662 2659 li {
2663 2660 list-style-type: none
2664 2661 }
2665 2662
2666 2663 }
2667 2664
2668 2665 .grid-filter-box-icon {
2669 2666 line-height: 33px;
2670 2667 padding: 0;
2671 2668 width: 20px;
2672 2669 position: absolute;
2673 2670 z-index: 11;
2674 2671 left: 5px;
2675 2672 }
2676 2673
2677 2674 .grid-filter-box-input {
2678 2675 margin-right: 0;
2679 2676
2680 2677 input {
2681 2678 border: 1px solid @white;
2682 2679 padding-left: 25px;
2683 2680 width: 145px;
2684 2681
2685 2682 &:hover {
2686 2683 border-color: @grey6;
2687 2684 }
2688 2685
2689 2686 &:focus {
2690 2687 border-color: @grey5;
2691 2688 }
2692 2689 }
2693 2690 }
2694 2691
2695 2692
2696 2693
2697 2694 // Search
2698 2695
2699 2696 .search-form{
2700 2697 #q {
2701 2698 width: @search-form-width;
2702 2699 }
2703 2700 .fields{
2704 2701 margin: 0 0 @space;
2705 2702 }
2706 2703
2707 2704 label{
2708 2705 display: inline-block;
2709 2706 margin-right: @textmargin;
2710 2707 padding-top: 0.25em;
2711 2708 }
2712 2709
2713 2710
2714 2711 .results{
2715 2712 clear: both;
2716 2713 margin: 0 0 @padding;
2717 2714 }
2718 2715
2719 2716 .search-tags {
2720 2717 padding: 5px 0;
2721 2718 }
2722 2719 }
2723 2720
2724 2721 div.search-feedback-items {
2725 2722 display: inline-block;
2726 2723 }
2727 2724
2728 2725 div.search-code-body {
2729 2726 background-color: #ffffff; padding: 5px 0 5px 10px;
2730 2727 pre {
2731 2728 .match { background-color: #faffa6;}
2732 2729 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2733 2730 }
2734 2731 }
2735 2732
2736 2733 .expand_commit.search {
2737 2734 .show_more.open {
2738 2735 height: auto;
2739 2736 max-height: none;
2740 2737 }
2741 2738 }
2742 2739
2743 2740 .search-results {
2744 2741
2745 2742 h2 {
2746 2743 margin-bottom: 0;
2747 2744 }
2748 2745 .codeblock {
2749 2746 border: none;
2750 2747 background: transparent;
2751 2748 }
2752 2749
2753 2750 .codeblock-header {
2754 2751 border: none;
2755 2752 background: transparent;
2756 2753 }
2757 2754
2758 2755 .code-body {
2759 2756 border: @border-thickness solid @grey6;
2760 2757 .border-radius(@border-radius);
2761 2758 }
2762 2759
2763 2760 .td-commit {
2764 2761 &:extend(pre);
2765 2762 border-bottom: @border-thickness solid @border-default-color;
2766 2763 }
2767 2764
2768 2765 .message {
2769 2766 height: auto;
2770 2767 max-width: 350px;
2771 2768 white-space: normal;
2772 2769 text-overflow: initial;
2773 2770 overflow: visible;
2774 2771
2775 2772 .match { background-color: #faffa6;}
2776 2773 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2777 2774 }
2778 2775
2779 2776 .path {
2780 2777 border-bottom: none !important;
2781 2778 border-left: 1px solid @grey6 !important;
2782 2779 border-right: 1px solid @grey6 !important;
2783 2780 }
2784 2781 }
2785 2782
2786 2783 table.rctable td.td-search-results div {
2787 2784 max-width: 100%;
2788 2785 }
2789 2786
2790 2787 #tip-box, .tip-box{
2791 2788 padding: @menupadding/2;
2792 2789 display: block;
2793 2790 border: @border-thickness solid @border-highlight-color;
2794 2791 .border-radius(@border-radius);
2795 2792 background-color: white;
2796 2793 z-index: 99;
2797 2794 white-space: pre-wrap;
2798 2795 }
2799 2796
2800 2797 #linktt {
2801 2798 width: 79px;
2802 2799 }
2803 2800
2804 2801 #help_kb .modal-content{
2805 2802 max-width: 800px;
2806 2803 margin: 10% auto;
2807 2804
2808 2805 table{
2809 2806 td,th{
2810 2807 border-bottom: none;
2811 2808 line-height: 2.5em;
2812 2809 }
2813 2810 th{
2814 2811 padding-bottom: @textmargin/2;
2815 2812 }
2816 2813 td.keys{
2817 2814 text-align: center;
2818 2815 }
2819 2816 }
2820 2817
2821 2818 .block-left{
2822 2819 width: 45%;
2823 2820 margin-right: 5%;
2824 2821 }
2825 2822 .modal-footer{
2826 2823 clear: both;
2827 2824 }
2828 2825 .key.tag{
2829 2826 padding: 0.5em;
2830 2827 background-color: @rcblue;
2831 2828 color: white;
2832 2829 border-color: @rcblue;
2833 2830 .box-shadow(none);
2834 2831 }
2835 2832 }
2836 2833
2837 2834
2838 2835
2839 2836 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2840 2837
2841 2838 @import 'statistics-graph';
2842 2839 @import 'tables';
2843 2840 @import 'forms';
2844 2841 @import 'diff';
2845 2842 @import 'summary';
2846 2843 @import 'navigation';
2847 2844
2848 2845 //--- SHOW/HIDE SECTIONS --//
2849 2846
2850 2847 .btn-collapse {
2851 2848 float: right;
2852 2849 text-align: right;
2853 2850 font-family: @text-light;
2854 2851 font-size: @basefontsize;
2855 2852 cursor: pointer;
2856 2853 border: none;
2857 2854 color: @rcblue;
2858 2855 }
2859 2856
2860 2857 table.rctable,
2861 2858 table.dataTable {
2862 2859 .btn-collapse {
2863 2860 float: right;
2864 2861 text-align: right;
2865 2862 }
2866 2863 }
2867 2864
2868 2865 table.rctable {
2869 2866 &.permissions {
2870 2867
2871 2868 th.td-owner {
2872 2869 padding: 0;
2873 2870 }
2874 2871
2875 2872 th {
2876 2873 font-weight: normal;
2877 2874 padding: 0 5px;
2878 2875 }
2879 2876
2880 2877 }
2881 2878 }
2882 2879
2883 2880
2884 2881 // TODO: johbo: Fix for IE10, this avoids that we see a border
2885 2882 // and padding around checkboxes and radio boxes. Move to the right place,
2886 2883 // or better: Remove this once we did the form refactoring.
2887 2884 input[type=checkbox],
2888 2885 input[type=radio] {
2889 2886 padding: 0;
2890 2887 border: none;
2891 2888 }
2892 2889
2893 2890 .toggle-ajax-spinner{
2894 2891 height: 16px;
2895 2892 width: 16px;
2896 2893 }
2897 2894
2898 2895
2899 2896 .markup-form .clearfix {
2900 2897 .border-radius(@border-radius);
2901 2898 margin: 0px;
2902 2899 }
2903 2900
2904 2901 .markup-form-area {
2905 2902 padding: 8px 12px;
2906 2903 border: 1px solid @grey4;
2907 2904 .border-radius(@border-radius);
2908 2905 }
2909 2906
2910 2907 .markup-form-area-header .nav-links {
2911 2908 display: flex;
2912 2909 flex-flow: row wrap;
2913 2910 -webkit-flex-flow: row wrap;
2914 2911 width: 100%;
2915 2912 }
2916 2913
2917 2914 .markup-form-area-footer {
2918 2915 display: flex;
2919 2916 }
2920 2917
2921 2918 .markup-form-area-footer .toolbar {
2922 2919
2923 2920 }
2924 2921
2925 2922 // markup Form
2926 2923 div.markup-form {
2927 2924 margin-top: 20px;
2928 2925 }
2929 2926
2930 2927 .markup-form strong {
2931 2928 display: block;
2932 2929 margin-bottom: 15px;
2933 2930 }
2934 2931
2935 2932 .markup-form textarea {
2936 2933 width: 100%;
2937 2934 height: 100px;
2938 2935 font-family: @text-monospace;
2939 2936 }
2940 2937
2941 2938 form.markup-form {
2942 2939 margin-top: 10px;
2943 2940 margin-left: 10px;
2944 2941 }
2945 2942
2946 2943 .markup-form .comment-block-ta,
2947 2944 .markup-form .preview-box {
2948 2945 .border-radius(@border-radius);
2949 2946 .box-sizing(border-box);
2950 2947 background-color: white;
2951 2948 }
2952 2949
2953 2950 .markup-form .preview-box.unloaded {
2954 2951 height: 50px;
2955 2952 text-align: center;
2956 2953 padding: 20px;
2957 2954 background-color: white;
2958 2955 }
2959 2956
2960 2957
2961 2958 .dropzone-wrapper {
2962 2959 border: 1px solid @grey5;
2963 2960 padding: 20px;
2964 2961 }
2965 2962
2966 2963 .dropzone,
2967 2964 .dropzone-pure {
2968 2965 border: 2px dashed @grey5;
2969 2966 border-radius: 5px;
2970 2967 background: white;
2971 2968 min-height: 200px;
2972 2969 padding: 54px;
2973 2970
2974 2971 .dz-message {
2975 2972 font-weight: 700;
2976 2973 text-align: center;
2977 2974 margin: 2em 0;
2978 2975 }
2979 2976
2980 2977 }
2981 2978
2982 2979 .dz-preview {
2983 2980 margin: 10px 0 !important;
2984 2981 position: relative;
2985 2982 vertical-align: top;
2986 2983 padding: 10px;
2987 2984 border-bottom: 1px solid @grey5;
2988 2985 }
2989 2986
2990 2987 .dz-filename {
2991 2988 font-weight: 700;
2992 2989 float: left;
2993 2990 }
2994 2991
2995 2992 .dz-sending {
2996 2993 float: right;
2997 2994 }
2998 2995
2999 2996 .dz-response {
3000 2997 clear: both
3001 2998 }
3002 2999
3003 3000 .dz-filename-size {
3004 3001 float: right
3005 3002 }
3006 3003
3007 3004 .dz-error-message {
3008 3005 color: @alert2;
3009 3006 padding-top: 10px;
3010 3007 clear: both;
3011 3008 }
3012 3009
3013 3010
3014 3011 .user-hovercard {
3015 3012 padding: 5px;
3016 3013 }
3017 3014
3018 3015 .user-hovercard-icon {
3019 3016 display: inline;
3020 3017 padding: 0;
3021 3018 box-sizing: content-box;
3022 3019 border-radius: 50%;
3023 3020 float: left;
3024 3021 }
3025 3022
3026 3023 .user-hovercard-name {
3027 3024 float: right;
3028 3025 vertical-align: top;
3029 3026 padding-left: 10px;
3030 3027 min-width: 150px;
3031 3028 }
3032 3029
3033 3030 .user-hovercard-bio {
3034 3031 clear: both;
3035 3032 padding-top: 10px;
3036 3033 }
3037 3034
3038 3035 .user-hovercard-header {
3039 3036 clear: both;
3040 3037 min-height: 10px;
3041 3038 }
3042 3039
3043 3040 .user-hovercard-footer {
3044 3041 clear: both;
3045 3042 min-height: 10px;
3046 3043 }
3047 3044
3048 3045 .user-group-hovercard {
3049 3046 padding: 5px;
3050 3047 }
3051 3048
3052 3049 .user-group-hovercard-icon {
3053 3050 display: inline;
3054 3051 padding: 0;
3055 3052 box-sizing: content-box;
3056 3053 border-radius: 50%;
3057 3054 float: left;
3058 3055 }
3059 3056
3060 3057 .user-group-hovercard-name {
3061 3058 float: left;
3062 3059 vertical-align: top;
3063 3060 padding-left: 10px;
3064 3061 min-width: 150px;
3065 3062 }
3066 3063
3067 3064 .user-group-hovercard-icon i {
3068 3065 border: 1px solid @grey4;
3069 3066 border-radius: 4px;
3070 3067 }
3071 3068
3072 3069 .user-group-hovercard-bio {
3073 3070 clear: both;
3074 3071 padding-top: 10px;
3075 3072 line-height: 1.0em;
3076 3073 }
3077 3074
3078 3075 .user-group-hovercard-header {
3079 3076 clear: both;
3080 3077 min-height: 10px;
3081 3078 }
3082 3079
3083 3080 .user-group-hovercard-footer {
3084 3081 clear: both;
3085 3082 min-height: 10px;
3086 3083 }
3087 3084
3088 3085 .pr-hovercard-header {
3089 3086 clear: both;
3090 3087 display: block;
3091 3088 line-height: 20px;
3092 3089 }
3093 3090
3094 3091 .pr-hovercard-user {
3095 3092 display: flex;
3096 3093 align-items: center;
3097 3094 padding-left: 5px;
3098 3095 }
3099 3096
3100 3097 .pr-hovercard-title {
3101 3098 padding-top: 5px;
3102 3099 }
3103 3100
3104 3101 .action-divider {
3105 3102 opacity: 0.5;
3106 3103 }
3107 3104
3108 3105 .details-inline-block {
3109 3106 display: inline-block;
3110 3107 position: relative;
3111 3108 }
3112 3109
3113 3110 .details-inline-block summary {
3114 3111 list-style: none;
3115 3112 }
3116 3113
3117 3114 details:not([open]) > :not(summary) {
3118 3115 display: none !important;
3119 3116 }
3120 3117
3121 3118 .details-reset > summary {
3122 3119 list-style: none;
3123 3120 }
3124 3121
3125 3122 .details-reset > summary::-webkit-details-marker {
3126 3123 display: none;
3127 3124 }
3128 3125
3129 3126 .details-dropdown {
3130 3127 position: absolute;
3131 3128 top: 100%;
3132 3129 width: 185px;
3133 3130 list-style: none;
3134 3131 background-color: #fff;
3135 3132 background-clip: padding-box;
3136 3133 border: 1px solid @grey5;
3137 3134 box-shadow: 0 8px 24px rgba(149, 157, 165, .2);
3138 3135 left: -150px;
3139 3136 text-align: left;
3140 3137 z-index: 90;
3141 3138 }
3142 3139
3143 3140 .dropdown-divider {
3144 3141 display: block;
3145 3142 height: 0;
3146 3143 margin: 8px 0;
3147 3144 border-top: 1px solid @grey5;
3148 3145 }
3149 3146
3150 3147 .dropdown-item {
3151 3148 display: block;
3152 3149 padding: 4px 8px 4px 16px;
3153 3150 overflow: hidden;
3154 3151 text-overflow: ellipsis;
3155 3152 white-space: nowrap;
3156 3153 font-weight: normal;
3157 3154 }
3158 3155
3159 3156 .right-sidebar {
3160 3157 position: fixed;
3161 3158 top: 0px;
3162 3159 bottom: 0;
3163 3160 right: 0;
3164 3161
3165 3162 background: #fafafa;
3166 3163 z-index: 50;
3167 3164 }
3168 3165
3169 3166 .right-sidebar {
3170 3167 border-left: 1px solid @grey5;
3171 3168 }
3172 3169
3173 3170 .right-sidebar.right-sidebar-expanded {
3174 3171 width: 300px;
3175 3172 overflow: scroll;
3176 3173 }
3177 3174
3178 3175 .right-sidebar.right-sidebar-collapsed {
3179 3176 width: 40px;
3180 3177 padding: 0;
3181 3178 display: block;
3182 3179 overflow: hidden;
3183 3180 }
3184 3181
3185 3182 .sidenav {
3186 3183 float: right;
3187 3184 will-change: min-height;
3188 3185 background: #fafafa;
3189 3186 width: 100%;
3190 3187 }
3191 3188
3192 3189 .sidebar-toggle {
3193 3190 height: 30px;
3194 3191 text-align: center;
3195 3192 margin: 15px 0px 0 0;
3196 3193 }
3197 3194
3198 3195 .sidebar-toggle a {
3199 3196
3200 3197 }
3201 3198
3202 3199 .sidebar-content {
3203 3200 margin-left: 15px;
3204 3201 margin-right: 15px;
3205 3202 }
3206 3203
3207 3204 .sidebar-heading {
3208 3205 font-size: 1.2em;
3209 3206 font-weight: 700;
3210 3207 margin-top: 10px;
3211 3208 }
3212 3209
3213 3210 .sidebar-element {
3214 3211 margin-top: 20px;
3215 3212
3216 3213 .icon-draft {
3217 3214 color: @color-draft
3218 3215 }
3219 3216 }
3220 3217
3221 3218
3222 3219 .right-sidebar-collapsed-state {
3223 3220 display: flex;
3224 3221 flex-direction: column;
3225 3222 justify-content: center;
3226 3223 align-items: center;
3227 3224 padding: 0 10px;
3228 3225 cursor: pointer;
3229 3226 font-size: 1.3em;
3230 3227 margin: 0 -15px;
3231 3228 }
3232 3229
3233 3230 .right-sidebar-collapsed-state:hover {
3234 3231 background-color: @grey5;
3235 3232 }
3236 3233
3237 3234 .old-comments-marker {
3238 3235 text-align: left;
3239 3236 }
3240 3237
3241 3238 .old-comments-marker td {
3242 3239 padding-top: 15px;
3243 3240 }
@@ -1,106 +1,106 b''
1 1 ## -*- coding: utf-8 -*-
2 2 <%inherit file="base/root.mako"/>
3 3
4 4 <%def name="title()">
5 5 ${_('Sign In')}
6 6 %if c.rhodecode_name:
7 7 &middot; ${h.branding(c.rhodecode_name)}
8 8 %endif
9 9 </%def>
10 10
11 11 <style>body{background-color:#eeeeee;}</style>
12 12 <div class="loginbox">
13 <div class="header">
13 <div class="header-account">
14 14 <div id="header-inner" class="title">
15 15 <div id="logo">
16 16 <div class="logo-wrapper">
17 17 <a href="${h.route_path('home')}"><img src="${h.asset('images/rhodecode-logo-white-60x60.png')}" alt="RhodeCode"/></a>
18 18 </div>
19 19 % if c.rhodecode_name:
20 20 <div class="branding">
21 21 <a href="${h.route_path('home')}">${h.branding(c.rhodecode_name)}</a>
22 22 </div>
23 23 % endif
24 24 </div>
25 25 </div>
26 26 </div>
27 27
28 28 <div class="loginwrapper">
29 29 <rhodecode-toast id="notifications"></rhodecode-toast>
30 30
31 31 <div class="left-column">
32 32 <img class="sign-in-image" src="${h.asset('images/sign-in.png')}" alt="RhodeCode"/>
33 33 </div>
34 34
35 35 <%block name="above_login_button" />
36 36 <div id="login" class="right-column">
37 37 <!-- login -->
38 38 <div class="sign-in-title">
39 39 <h1>${_('Sign In using username/password')}</h1>
40 40 </div>
41 41 <div class="inner form">
42 42 ${h.form(request.route_path('login', _query={'came_from': c.came_from}), needs_csrf_token=False)}
43 43
44 44 <label for="username">${_('Username')}:</label>
45 45 ${h.text('username', class_='focus', value=defaults.get('username'))}
46 46 %if 'username' in errors:
47 47 <span class="error-message">${errors.get('username')}</span>
48 48 <br />
49 49 %endif
50 50
51 51 <label for="password">${_('Password')}:
52 52 %if h.HasPermissionAny('hg.password_reset.enabled')():
53 53 <div class="pull-right">${h.link_to(_('Forgot your password?'), h.route_path('reset_password'), class_='pwd_reset', tabindex="-1")}</div>
54 54 %endif
55 55
56 56 </label>
57 57 ${h.password('password', class_='focus')}
58 58 %if 'password' in errors:
59 59 <span class="error-message">${errors.get('password')}</span>
60 60 <br />
61 61 %endif
62 62
63 63 ${h.checkbox('remember', value=True, checked=defaults.get('remember'))}
64 64 <% timeout = request.registry.settings.get('beaker.session.timeout', '0') %>
65 65 % if timeout == '0':
66 66 <% remember_label = _('Remember my indefinitely') %>
67 67 % else:
68 68 <% remember_label = _('Remember me for {}').format(h.age_from_seconds(timeout)) %>
69 69 % endif
70 70 <label class="checkbox" for="remember">${remember_label}</label>
71 71
72 72 <p class="links">
73 73 %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')():
74 74 ${h.link_to(_("Create a new account."), request.route_path('register'), class_='new_account')}
75 75 %endif
76 76 </p>
77 77
78 78 %if not h.HasPermissionAny('hg.password_reset.enabled')():
79 79 ## password reset hidden or disabled.
80 80 <p class="help-block">
81 81 ${_('Password reset is disabled.')} <br/>
82 82 ${_('Please contact ')}
83 83 % if c.visual.rhodecode_support_url:
84 84 <a href="${c.visual.rhodecode_support_url}" target="_blank">${_('Support')}</a>
85 85 ${_('or')}
86 86 % endif
87 87 ${_('an administrator if you need help.')}
88 88 </p>
89 89 %endif
90 90
91 91 ${h.submit('sign_in', _('Sign In'), class_="btn sign-in", title=_('Sign in to {}').format(c.rhodecode_edition))}
92 92
93 93 ${h.end_form()}
94 94 <script type="text/javascript">
95 95 $(document).ready(function(){
96 96 $('#username').focus();
97 97 })
98 98 </script>
99 99
100 100 </div>
101 101 <!-- end login -->
102 102
103 103 <%block name="below_login_button" />
104 104 </div>
105 105 </div>
106 106 </div>
@@ -1,103 +1,103 b''
1 1 ## -*- coding: utf-8 -*-
2 2 <%inherit file="base/root.mako"/>
3 3
4 4 <%def name="title()">
5 5 ${_('Reset Password')}
6 6 %if c.rhodecode_name:
7 7 &middot; ${h.branding(c.rhodecode_name)}
8 8 %endif
9 9 </%def>
10 10 <style>body{background-color:#eeeeee;}</style>
11 11
12 12 <div class="loginbox">
13 <div class="header">
13 <div class="header-account">
14 14 <div id="header-inner" class="title">
15 15 <div id="logo">
16 16 <div class="logo-wrapper">
17 17 <a href="${h.route_path('home')}"><img src="${h.asset('images/rhodecode-logo-white-60x60.png')}" alt="RhodeCode"/></a>
18 18 </div>
19 19 % if c.rhodecode_name:
20 20 <div class="branding">
21 21 <a href="${h.route_path('home')}">${h.branding(c.rhodecode_name)}</a>
22 22 </div>
23 23 % endif
24 24 </div>
25 25 </div>
26 26 </div>
27 27
28 28 <div class="loginwrapper">
29 29 <rhodecode-toast id="notifications"></rhodecode-toast>
30 30 <div class="left-column">
31 31 <img class="sign-in-image" src="${h.asset('images/sign-in.png')}" alt="RhodeCode"/>
32 32 </div>
33 33
34 34 %if h.HasPermissionAny('hg.password_reset.disabled')():
35 35 <div class="right-column">
36 36 <p>
37 37 ${_('Password reset is disabled. Please contact ')}
38 38 % if c.visual.rhodecode_support_url:
39 39 <a href="${c.visual.rhodecode_support_url}" target="_blank">${_('Support')}</a>
40 40 ${_('or')}
41 41 % endif
42 42 ${_('an administrator if you need help.')}
43 43 </p>
44 44 </div>
45 45 %else:
46 46 <div id="register" class="right-column">
47 47 <!-- login -->
48 48 <div class="sign-in-title">
49 49 <h1>${_('Reset your Password')}</h1>
50 50 <h4>${h.link_to(_("Go to the login page to sign in."), request.route_path('login'))}</h4>
51 51 </div>
52 52 <div class="inner form">
53 53 ${h.form(request.route_path('reset_password'), needs_csrf_token=False)}
54 54 <label for="email">${_('Email Address')}:</label>
55 55 ${h.text('email', defaults.get('email'))}
56 56 %if 'email' in errors:
57 57 <span class="error-message">${errors.get('email')}</span>
58 58 <br />
59 59 %endif
60 60 <p class="help-block">${_('Password reset link will be sent to matching email address')}</p>
61 61
62 62 %if captcha_active:
63 63 <div class="login-captcha">
64 64 <label for="email">${_('Captcha')}:</label>
65 65 ${h.hidden('recaptcha_field')}
66 66 <div id="recaptcha"></div>
67 67
68 68 %if 'recaptcha_field' in errors:
69 69 <span class="error-message">${errors.get('recaptcha_field')}</span>
70 70 <br />
71 71 %endif
72 72 </div>
73 73 %endif
74 74
75 75 ${h.submit('send', _('Send password reset email'), class_="btn sign-in")}
76 76 <p class="help-block pull-right">
77 77 RhodeCode ${c.rhodecode_edition}
78 78 </p>
79 79
80 80 ${h.end_form()}
81 81 </div>
82 82 </div>
83 83 %endif
84 84 </div>
85 85 </div>
86 86
87 87 <script type="text/javascript">
88 88 $(document).ready(function(){
89 89 $('#email').focus();
90 90 });
91 91 </script>
92 92
93 93 % if captcha_active:
94 94 <script type="text/javascript">
95 95 var onloadCallback = function() {
96 96 grecaptcha.render('recaptcha', {
97 97 'sitekey' : "${captcha_public_key}"
98 98 });
99 99 };
100 100 </script>
101 101 <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
102 102 % endif
103 103
@@ -1,148 +1,148 b''
1 1 ## -*- coding: utf-8 -*-
2 2 <%inherit file="base/root.mako"/>
3 3
4 4 <%def name="title()">
5 5 ${_('Create an Account')}
6 6 %if c.rhodecode_name:
7 7 &middot; ${h.branding(c.rhodecode_name)}
8 8 %endif
9 9 </%def>
10 10 <style>body{background-color:#eeeeee;}</style>
11 11
12 12 <div class="loginbox">
13 <div class="header">
13 <div class="header-account">
14 14 <div id="header-inner" class="title">
15 15 <div id="logo">
16 16 <div class="logo-wrapper">
17 17 <a href="${h.route_path('home')}"><img src="${h.asset('images/rhodecode-logo-white-60x60.png')}" alt="RhodeCode"/></a>
18 18 </div>
19 19 % if c.rhodecode_name:
20 20 <div class="branding">
21 21 <a href="${h.route_path('home')}">${h.branding(c.rhodecode_name)}</a>
22 22 </div>
23 23 % endif
24 24 </div>
25 25 </div>
26 26 </div>
27 27
28 28 <div class="loginwrapper">
29 29 <rhodecode-toast id="notifications"></rhodecode-toast>
30 30 <div class="left-column">
31 31 <img class="sign-in-image" src="${h.asset('images/sign-in.png')}" alt="RhodeCode"/>
32 32 </div>
33 33 <%block name="above_register_button" />
34 34 <div id="register" class="right-column">
35 35 <!-- login -->
36 36 <div class="sign-in-title">
37 37 % if external_auth_provider:
38 38 <h1>${_('Create an account linked with {}').format(external_auth_provider)}</h1>
39 39 % else:
40 40 <h1>${_('Create an account')}</h1>
41 41 % endif
42 42
43 43 <h4>${h.link_to(_("Go to the login page to sign in with an existing account."), request.route_path('login'))}</h4>
44 44 </div>
45 45 <div class="inner form">
46 46 ${h.form(request.route_path('register'), needs_csrf_token=False)}
47 47
48 48 <label for="username">${_('Username')}:</label>
49 49 ${h.text('username', defaults.get('username'))}
50 50 %if 'username' in errors:
51 51 <span class="error-message">${errors.get('username')}</span>
52 52 <br />
53 53 %endif
54 54
55 55 % if external_auth_provider:
56 56 ## store internal marker about external identity
57 57 ${h.hidden('external_identity', external_auth_provider)}
58 58 ## hide password prompts for social auth
59 59 <div style="display: none">
60 60 % endif
61 61
62 62 <label for="password">${_('Password')}:</label>
63 63 ${h.password('password', defaults.get('password'))}
64 64 %if 'password' in errors:
65 65 <span class="error-message">${errors.get('password')}</span>
66 66 <br />
67 67 %endif
68 68
69 69 <label for="password_confirmation">${_('Re-enter password')}:</label>
70 70 ${h.password('password_confirmation', defaults.get('password_confirmation'))}
71 71 %if 'password_confirmation' in errors:
72 72 <span class="error-message">${errors.get('password_confirmation')}</span>
73 73 <br />
74 74 %endif
75 75
76 76 % if external_auth_provider:
77 77 ## hide password prompts for social auth
78 78 </div>
79 79 % endif
80 80
81 81 <label for="firstname">${_('First Name')}:</label>
82 82 ${h.text('firstname', defaults.get('firstname'))}
83 83 %if 'firstname' in errors:
84 84 <span class="error-message">${errors.get('firstname')}</span>
85 85 <br />
86 86 %endif
87 87
88 88 <label for="lastname">${_('Last Name')}:</label>
89 89 ${h.text('lastname', defaults.get('lastname'))}
90 90 %if 'lastname' in errors:
91 91 <span class="error-message">${errors.get('lastname')}</span>
92 92 <br />
93 93 %endif
94 94
95 95 <label for="email">${_('Email')}:</label>
96 96 ${h.text('email', defaults.get('email'))}
97 97 %if 'email' in errors:
98 98 <span class="error-message">${errors.get('email')}</span>
99 99 <br />
100 100 %endif
101 101
102 102 %if captcha_active:
103 103 <div>
104 104 <label for="recaptcha">${_('Captcha')}:</label>
105 105 ${h.hidden('recaptcha_field')}
106 106 <div id="recaptcha"></div>
107 107 %if 'recaptcha_field' in errors:
108 108 <span class="error-message">${errors.get('recaptcha_field')}</span>
109 109 <br />
110 110 %endif
111 111 </div>
112 112 %endif
113 113
114 114 %if not auto_active:
115 115 <p class="activation_msg">
116 116 ${_('Account activation requires admin approval.')}
117 117 </p>
118 118 %endif
119 119 <p class="register_message">
120 120 ${register_message|n}
121 121 </p>
122 122
123 123 ${h.submit('sign_up',_('Create Account'), class_="btn sign-in", title=_('Create Account in {}').format(c.rhodecode_edition))}
124 124 ${h.end_form()}
125 125 </div>
126 126 <%block name="below_register_button" />
127 127 </div>
128 128 </div>
129 129 </div>
130 130
131 131
132 132 <script type="text/javascript">
133 133 $(document).ready(function(){
134 134 $('#username').focus();
135 135 });
136 136 </script>
137 137
138 138 % if captcha_active:
139 139 <script type="text/javascript">
140 140 var onloadCallback = function() {
141 141 grecaptcha.render('recaptcha', {
142 142 'sitekey' : "${captcha_public_key}"
143 143 });
144 144 };
145 145 </script>
146 146 <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
147 147 % endif
148 148
General Comments 0
You need to be logged in to leave comments. Login now