##// END OF EJS Templates
ui: file headers should be flexible, to expand on long paths
dan -
r3405:c3563bf3 default
parent child Browse files
Show More
@@ -1,2470 +1,2470 b''
1 //Primary CSS
1 //Primary CSS
2
2
3 //--- IMPORTS ------------------//
3 //--- IMPORTS ------------------//
4
4
5 @import 'helpers';
5 @import 'helpers';
6 @import 'mixins';
6 @import 'mixins';
7 @import 'rcicons';
7 @import 'rcicons';
8 @import 'variables';
8 @import 'variables';
9 @import 'bootstrap-variables';
9 @import 'bootstrap-variables';
10 @import 'form-bootstrap';
10 @import 'form-bootstrap';
11 @import 'codemirror';
11 @import 'codemirror';
12 @import 'legacy_code_styles';
12 @import 'legacy_code_styles';
13 @import 'readme-box';
13 @import 'readme-box';
14 @import 'progress-bar';
14 @import 'progress-bar';
15
15
16 @import 'type';
16 @import 'type';
17 @import 'alerts';
17 @import 'alerts';
18 @import 'buttons';
18 @import 'buttons';
19 @import 'tags';
19 @import 'tags';
20 @import 'code-block';
20 @import 'code-block';
21 @import 'examples';
21 @import 'examples';
22 @import 'login';
22 @import 'login';
23 @import 'main-content';
23 @import 'main-content';
24 @import 'select2';
24 @import 'select2';
25 @import 'comments';
25 @import 'comments';
26 @import 'panels-bootstrap';
26 @import 'panels-bootstrap';
27 @import 'panels';
27 @import 'panels';
28 @import 'deform';
28 @import 'deform';
29
29
30 //--- BASE ------------------//
30 //--- BASE ------------------//
31 .noscript-error {
31 .noscript-error {
32 top: 0;
32 top: 0;
33 left: 0;
33 left: 0;
34 width: 100%;
34 width: 100%;
35 z-index: 101;
35 z-index: 101;
36 text-align: center;
36 text-align: center;
37 font-size: 120%;
37 font-size: 120%;
38 color: white;
38 color: white;
39 background-color: @alert2;
39 background-color: @alert2;
40 padding: 5px 0 5px 0;
40 padding: 5px 0 5px 0;
41 font-weight: @text-semibold-weight;
41 font-weight: @text-semibold-weight;
42 font-family: @text-semibold;
42 font-family: @text-semibold;
43 }
43 }
44
44
45 html {
45 html {
46 display: table;
46 display: table;
47 height: 100%;
47 height: 100%;
48 width: 100%;
48 width: 100%;
49 }
49 }
50
50
51 body {
51 body {
52 display: table-cell;
52 display: table-cell;
53 width: 100%;
53 width: 100%;
54 }
54 }
55
55
56 //--- LAYOUT ------------------//
56 //--- LAYOUT ------------------//
57
57
58 .hidden{
58 .hidden{
59 display: none !important;
59 display: none !important;
60 }
60 }
61
61
62 .box{
62 .box{
63 float: left;
63 float: left;
64 width: 100%;
64 width: 100%;
65 }
65 }
66
66
67 .browser-header {
67 .browser-header {
68 clear: both;
68 clear: both;
69 }
69 }
70 .main {
70 .main {
71 clear: both;
71 clear: both;
72 padding:0 0 @pagepadding;
72 padding:0 0 @pagepadding;
73 height: auto;
73 height: auto;
74
74
75 &:after { //clearfix
75 &:after { //clearfix
76 content:"";
76 content:"";
77 clear:both;
77 clear:both;
78 width:100%;
78 width:100%;
79 display:block;
79 display:block;
80 }
80 }
81 }
81 }
82
82
83 .action-link{
83 .action-link{
84 margin-left: @padding;
84 margin-left: @padding;
85 padding-left: @padding;
85 padding-left: @padding;
86 border-left: @border-thickness solid @border-default-color;
86 border-left: @border-thickness solid @border-default-color;
87 }
87 }
88
88
89 input + .action-link, .action-link.first{
89 input + .action-link, .action-link.first{
90 border-left: none;
90 border-left: none;
91 }
91 }
92
92
93 .action-link.last{
93 .action-link.last{
94 margin-right: @padding;
94 margin-right: @padding;
95 padding-right: @padding;
95 padding-right: @padding;
96 }
96 }
97
97
98 .action-link.active,
98 .action-link.active,
99 .action-link.active a{
99 .action-link.active a{
100 color: @grey4;
100 color: @grey4;
101 }
101 }
102
102
103 .action-link.disabled {
103 .action-link.disabled {
104 color: @grey4;
104 color: @grey4;
105 cursor: inherit;
105 cursor: inherit;
106 }
106 }
107
107
108 .clipboard-action {
108 .clipboard-action {
109 cursor: pointer;
109 cursor: pointer;
110 }
110 }
111
111
112 ul.simple-list{
112 ul.simple-list{
113 list-style: none;
113 list-style: none;
114 margin: 0;
114 margin: 0;
115 padding: 0;
115 padding: 0;
116 }
116 }
117
117
118 .main-content {
118 .main-content {
119 padding-bottom: @pagepadding;
119 padding-bottom: @pagepadding;
120 }
120 }
121
121
122 .wide-mode-wrapper {
122 .wide-mode-wrapper {
123 max-width:4000px !important;
123 max-width:4000px !important;
124 }
124 }
125
125
126 .wrapper {
126 .wrapper {
127 position: relative;
127 position: relative;
128 max-width: @wrapper-maxwidth;
128 max-width: @wrapper-maxwidth;
129 margin: 0 auto;
129 margin: 0 auto;
130 }
130 }
131
131
132 #content {
132 #content {
133 clear: both;
133 clear: both;
134 padding: 0 @contentpadding;
134 padding: 0 @contentpadding;
135 }
135 }
136
136
137 .advanced-settings-fields{
137 .advanced-settings-fields{
138 input{
138 input{
139 margin-left: @textmargin;
139 margin-left: @textmargin;
140 margin-right: @padding/2;
140 margin-right: @padding/2;
141 }
141 }
142 }
142 }
143
143
144 .cs_files_title {
144 .cs_files_title {
145 margin: @pagepadding 0 0;
145 margin: @pagepadding 0 0;
146 }
146 }
147
147
148 input.inline[type="file"] {
148 input.inline[type="file"] {
149 display: inline;
149 display: inline;
150 }
150 }
151
151
152 .error_page {
152 .error_page {
153 margin: 10% auto;
153 margin: 10% auto;
154
154
155 h1 {
155 h1 {
156 color: @grey2;
156 color: @grey2;
157 }
157 }
158
158
159 .alert {
159 .alert {
160 margin: @padding 0;
160 margin: @padding 0;
161 }
161 }
162
162
163 .error-branding {
163 .error-branding {
164 color: @grey4;
164 color: @grey4;
165 font-weight: @text-semibold-weight;
165 font-weight: @text-semibold-weight;
166 font-family: @text-semibold;
166 font-family: @text-semibold;
167 }
167 }
168
168
169 .error_message {
169 .error_message {
170 font-family: @text-regular;
170 font-family: @text-regular;
171 }
171 }
172
172
173 .sidebar {
173 .sidebar {
174 min-height: 275px;
174 min-height: 275px;
175 margin: 0;
175 margin: 0;
176 padding: 0 0 @sidebarpadding @sidebarpadding;
176 padding: 0 0 @sidebarpadding @sidebarpadding;
177 border: none;
177 border: none;
178 }
178 }
179
179
180 .main-content {
180 .main-content {
181 position: relative;
181 position: relative;
182 margin: 0 @sidebarpadding @sidebarpadding;
182 margin: 0 @sidebarpadding @sidebarpadding;
183 padding: 0 0 0 @sidebarpadding;
183 padding: 0 0 0 @sidebarpadding;
184 border-left: @border-thickness solid @grey5;
184 border-left: @border-thickness solid @grey5;
185
185
186 @media (max-width:767px) {
186 @media (max-width:767px) {
187 clear: both;
187 clear: both;
188 width: 100%;
188 width: 100%;
189 margin: 0;
189 margin: 0;
190 border: none;
190 border: none;
191 }
191 }
192 }
192 }
193
193
194 .inner-column {
194 .inner-column {
195 float: left;
195 float: left;
196 width: 29.75%;
196 width: 29.75%;
197 min-height: 150px;
197 min-height: 150px;
198 margin: @sidebarpadding 2% 0 0;
198 margin: @sidebarpadding 2% 0 0;
199 padding: 0 2% 0 0;
199 padding: 0 2% 0 0;
200 border-right: @border-thickness solid @grey5;
200 border-right: @border-thickness solid @grey5;
201
201
202 @media (max-width:767px) {
202 @media (max-width:767px) {
203 clear: both;
203 clear: both;
204 width: 100%;
204 width: 100%;
205 border: none;
205 border: none;
206 }
206 }
207
207
208 ul {
208 ul {
209 padding-left: 1.25em;
209 padding-left: 1.25em;
210 }
210 }
211
211
212 &:last-child {
212 &:last-child {
213 margin: @sidebarpadding 0 0;
213 margin: @sidebarpadding 0 0;
214 border: none;
214 border: none;
215 }
215 }
216
216
217 h4 {
217 h4 {
218 margin: 0 0 @padding;
218 margin: 0 0 @padding;
219 font-weight: @text-semibold-weight;
219 font-weight: @text-semibold-weight;
220 font-family: @text-semibold;
220 font-family: @text-semibold;
221 }
221 }
222 }
222 }
223 }
223 }
224 .error-page-logo {
224 .error-page-logo {
225 width: 130px;
225 width: 130px;
226 height: 160px;
226 height: 160px;
227 }
227 }
228
228
229 // HEADER
229 // HEADER
230 .header {
230 .header {
231
231
232 // TODO: johbo: Fix login pages, so that they work without a min-height
232 // TODO: johbo: Fix login pages, so that they work without a min-height
233 // for the header and then remove the min-height. I chose a smaller value
233 // for the header and then remove the min-height. I chose a smaller value
234 // intentionally here to avoid rendering issues in the main navigation.
234 // intentionally here to avoid rendering issues in the main navigation.
235 min-height: 49px;
235 min-height: 49px;
236
236
237 position: relative;
237 position: relative;
238 vertical-align: bottom;
238 vertical-align: bottom;
239 padding: 0 @header-padding;
239 padding: 0 @header-padding;
240 background-color: @grey2;
240 background-color: @grey2;
241 color: @grey5;
241 color: @grey5;
242
242
243 .title {
243 .title {
244 overflow: visible;
244 overflow: visible;
245 }
245 }
246
246
247 &:before,
247 &:before,
248 &:after {
248 &:after {
249 content: "";
249 content: "";
250 clear: both;
250 clear: both;
251 width: 100%;
251 width: 100%;
252 }
252 }
253
253
254 // TODO: johbo: Avoids breaking "Repositories" chooser
254 // TODO: johbo: Avoids breaking "Repositories" chooser
255 .select2-container .select2-choice .select2-arrow {
255 .select2-container .select2-choice .select2-arrow {
256 display: none;
256 display: none;
257 }
257 }
258 }
258 }
259
259
260 #header-inner {
260 #header-inner {
261 &.title {
261 &.title {
262 margin: 0;
262 margin: 0;
263 }
263 }
264 &:before,
264 &:before,
265 &:after {
265 &:after {
266 content: "";
266 content: "";
267 clear: both;
267 clear: both;
268 }
268 }
269 }
269 }
270
270
271 // Gists
271 // Gists
272 #files_data {
272 #files_data {
273 clear: both; //for firefox
273 clear: both; //for firefox
274 }
274 }
275 #gistid {
275 #gistid {
276 margin-right: @padding;
276 margin-right: @padding;
277 }
277 }
278
278
279 // Global Settings Editor
279 // Global Settings Editor
280 .textarea.editor {
280 .textarea.editor {
281 float: left;
281 float: left;
282 position: relative;
282 position: relative;
283 max-width: @texteditor-width;
283 max-width: @texteditor-width;
284
284
285 select {
285 select {
286 position: absolute;
286 position: absolute;
287 top:10px;
287 top:10px;
288 right:0;
288 right:0;
289 }
289 }
290
290
291 .CodeMirror {
291 .CodeMirror {
292 margin: 0;
292 margin: 0;
293 }
293 }
294
294
295 .help-block {
295 .help-block {
296 margin: 0 0 @padding;
296 margin: 0 0 @padding;
297 padding:.5em;
297 padding:.5em;
298 background-color: @grey6;
298 background-color: @grey6;
299 &.pre-formatting {
299 &.pre-formatting {
300 white-space: pre;
300 white-space: pre;
301 }
301 }
302 }
302 }
303 }
303 }
304
304
305 ul.auth_plugins {
305 ul.auth_plugins {
306 margin: @padding 0 @padding @legend-width;
306 margin: @padding 0 @padding @legend-width;
307 padding: 0;
307 padding: 0;
308
308
309 li {
309 li {
310 margin-bottom: @padding;
310 margin-bottom: @padding;
311 line-height: 1em;
311 line-height: 1em;
312 list-style-type: none;
312 list-style-type: none;
313
313
314 .auth_buttons .btn {
314 .auth_buttons .btn {
315 margin-right: @padding;
315 margin-right: @padding;
316 }
316 }
317
317
318 }
318 }
319 }
319 }
320
320
321
321
322 // My Account PR list
322 // My Account PR list
323
323
324 #show_closed {
324 #show_closed {
325 margin: 0 1em 0 0;
325 margin: 0 1em 0 0;
326 }
326 }
327
327
328 .pullrequestlist {
328 .pullrequestlist {
329 .closed {
329 .closed {
330 background-color: @grey6;
330 background-color: @grey6;
331 }
331 }
332 .td-status {
332 .td-status {
333 padding-left: .5em;
333 padding-left: .5em;
334 }
334 }
335 .log-container .truncate {
335 .log-container .truncate {
336 height: 2.75em;
336 height: 2.75em;
337 white-space: pre-line;
337 white-space: pre-line;
338 }
338 }
339 table.rctable .user {
339 table.rctable .user {
340 padding-left: 0;
340 padding-left: 0;
341 }
341 }
342 table.rctable {
342 table.rctable {
343 td.td-description,
343 td.td-description,
344 .rc-user {
344 .rc-user {
345 min-width: auto;
345 min-width: auto;
346 }
346 }
347 }
347 }
348 }
348 }
349
349
350 // Pull Requests
350 // Pull Requests
351
351
352 .pullrequests_section_head {
352 .pullrequests_section_head {
353 display: block;
353 display: block;
354 clear: both;
354 clear: both;
355 margin: @padding 0;
355 margin: @padding 0;
356 font-weight: @text-bold-weight;
356 font-weight: @text-bold-weight;
357 font-family: @text-bold;
357 font-family: @text-bold;
358 }
358 }
359
359
360 .pr-origininfo, .pr-targetinfo {
360 .pr-origininfo, .pr-targetinfo {
361 position: relative;
361 position: relative;
362
362
363 .tag {
363 .tag {
364 display: inline-block;
364 display: inline-block;
365 margin: 0 1em .5em 0;
365 margin: 0 1em .5em 0;
366 }
366 }
367
367
368 .clone-url {
368 .clone-url {
369 display: inline-block;
369 display: inline-block;
370 margin: 0 0 .5em 0;
370 margin: 0 0 .5em 0;
371 padding: 0;
371 padding: 0;
372 line-height: 1.2em;
372 line-height: 1.2em;
373 }
373 }
374 }
374 }
375
375
376 .pr-mergeinfo {
376 .pr-mergeinfo {
377 min-width: 95% !important;
377 min-width: 95% !important;
378 padding: 0 !important;
378 padding: 0 !important;
379 border: 0;
379 border: 0;
380 }
380 }
381 .pr-mergeinfo-copy {
381 .pr-mergeinfo-copy {
382 padding: 0 0;
382 padding: 0 0;
383 }
383 }
384
384
385 .pr-pullinfo {
385 .pr-pullinfo {
386 min-width: 95% !important;
386 min-width: 95% !important;
387 padding: 0 !important;
387 padding: 0 !important;
388 border: 0;
388 border: 0;
389 }
389 }
390 .pr-pullinfo-copy {
390 .pr-pullinfo-copy {
391 padding: 0 0;
391 padding: 0 0;
392 }
392 }
393
393
394
394
395 #pr-title-input {
395 #pr-title-input {
396 width: 72%;
396 width: 72%;
397 font-size: 1em;
397 font-size: 1em;
398 margin: 0;
398 margin: 0;
399 padding: 0 0 0 @padding/4;
399 padding: 0 0 0 @padding/4;
400 line-height: 1.7em;
400 line-height: 1.7em;
401 color: @text-color;
401 color: @text-color;
402 letter-spacing: .02em;
402 letter-spacing: .02em;
403 font-weight: @text-bold-weight;
403 font-weight: @text-bold-weight;
404 font-family: @text-bold;
404 font-family: @text-bold;
405 }
405 }
406
406
407 #pullrequest_title {
407 #pullrequest_title {
408 width: 100%;
408 width: 100%;
409 box-sizing: border-box;
409 box-sizing: border-box;
410 }
410 }
411
411
412 #pr_open_message {
412 #pr_open_message {
413 border: @border-thickness solid #fff;
413 border: @border-thickness solid #fff;
414 border-radius: @border-radius;
414 border-radius: @border-radius;
415 padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0;
415 padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0;
416 text-align: left;
416 text-align: left;
417 overflow: hidden;
417 overflow: hidden;
418 }
418 }
419
419
420 .pr-submit-button {
420 .pr-submit-button {
421 float: right;
421 float: right;
422 margin: 0 0 0 5px;
422 margin: 0 0 0 5px;
423 }
423 }
424
424
425 .pr-spacing-container {
425 .pr-spacing-container {
426 padding: 20px;
426 padding: 20px;
427 clear: both
427 clear: both
428 }
428 }
429
429
430 #pr-description-input {
430 #pr-description-input {
431 margin-bottom: 0;
431 margin-bottom: 0;
432 }
432 }
433
433
434 .pr-description-label {
434 .pr-description-label {
435 vertical-align: top;
435 vertical-align: top;
436 }
436 }
437
437
438 .perms_section_head {
438 .perms_section_head {
439 min-width: 625px;
439 min-width: 625px;
440
440
441 h2 {
441 h2 {
442 margin-bottom: 0;
442 margin-bottom: 0;
443 }
443 }
444
444
445 .label-checkbox {
445 .label-checkbox {
446 float: left;
446 float: left;
447 }
447 }
448
448
449 &.field {
449 &.field {
450 margin: @space 0 @padding;
450 margin: @space 0 @padding;
451 }
451 }
452
452
453 &:first-child.field {
453 &:first-child.field {
454 margin-top: 0;
454 margin-top: 0;
455
455
456 .label {
456 .label {
457 margin-top: 0;
457 margin-top: 0;
458 padding-top: 0;
458 padding-top: 0;
459 }
459 }
460
460
461 .radios {
461 .radios {
462 padding-top: 0;
462 padding-top: 0;
463 }
463 }
464 }
464 }
465
465
466 .radios {
466 .radios {
467 position: relative;
467 position: relative;
468 width: 505px;
468 width: 505px;
469 }
469 }
470 }
470 }
471
471
472 //--- MODULES ------------------//
472 //--- MODULES ------------------//
473
473
474
474
475 // Server Announcement
475 // Server Announcement
476 #server-announcement {
476 #server-announcement {
477 width: 95%;
477 width: 95%;
478 margin: @padding auto;
478 margin: @padding auto;
479 padding: @padding;
479 padding: @padding;
480 border-width: 2px;
480 border-width: 2px;
481 border-style: solid;
481 border-style: solid;
482 .border-radius(2px);
482 .border-radius(2px);
483 font-weight: @text-bold-weight;
483 font-weight: @text-bold-weight;
484 font-family: @text-bold;
484 font-family: @text-bold;
485
485
486 &.info { border-color: @alert4; background-color: @alert4-inner; }
486 &.info { border-color: @alert4; background-color: @alert4-inner; }
487 &.warning { border-color: @alert3; background-color: @alert3-inner; }
487 &.warning { border-color: @alert3; background-color: @alert3-inner; }
488 &.error { border-color: @alert2; background-color: @alert2-inner; }
488 &.error { border-color: @alert2; background-color: @alert2-inner; }
489 &.success { border-color: @alert1; background-color: @alert1-inner; }
489 &.success { border-color: @alert1; background-color: @alert1-inner; }
490 &.neutral { border-color: @grey3; background-color: @grey6; }
490 &.neutral { border-color: @grey3; background-color: @grey6; }
491 }
491 }
492
492
493 // Fixed Sidebar Column
493 // Fixed Sidebar Column
494 .sidebar-col-wrapper {
494 .sidebar-col-wrapper {
495 padding-left: @sidebar-all-width;
495 padding-left: @sidebar-all-width;
496
496
497 .sidebar {
497 .sidebar {
498 width: @sidebar-width;
498 width: @sidebar-width;
499 margin-left: -@sidebar-all-width;
499 margin-left: -@sidebar-all-width;
500 }
500 }
501 }
501 }
502
502
503 .sidebar-col-wrapper.scw-small {
503 .sidebar-col-wrapper.scw-small {
504 padding-left: @sidebar-small-all-width;
504 padding-left: @sidebar-small-all-width;
505
505
506 .sidebar {
506 .sidebar {
507 width: @sidebar-small-width;
507 width: @sidebar-small-width;
508 margin-left: -@sidebar-small-all-width;
508 margin-left: -@sidebar-small-all-width;
509 }
509 }
510 }
510 }
511
511
512
512
513 // FOOTER
513 // FOOTER
514 #footer {
514 #footer {
515 padding: 0;
515 padding: 0;
516 text-align: center;
516 text-align: center;
517 vertical-align: middle;
517 vertical-align: middle;
518 color: @grey2;
518 color: @grey2;
519 background-color: @grey6;
519 background-color: @grey6;
520
520
521 p {
521 p {
522 margin: 0;
522 margin: 0;
523 padding: 1em;
523 padding: 1em;
524 line-height: 1em;
524 line-height: 1em;
525 }
525 }
526
526
527 .server-instance { //server instance
527 .server-instance { //server instance
528 display: none;
528 display: none;
529 }
529 }
530
530
531 .title {
531 .title {
532 float: none;
532 float: none;
533 margin: 0 auto;
533 margin: 0 auto;
534 }
534 }
535 }
535 }
536
536
537 button.close {
537 button.close {
538 padding: 0;
538 padding: 0;
539 cursor: pointer;
539 cursor: pointer;
540 background: transparent;
540 background: transparent;
541 border: 0;
541 border: 0;
542 .box-shadow(none);
542 .box-shadow(none);
543 -webkit-appearance: none;
543 -webkit-appearance: none;
544 }
544 }
545
545
546 .close {
546 .close {
547 float: right;
547 float: right;
548 font-size: 21px;
548 font-size: 21px;
549 font-family: @text-bootstrap;
549 font-family: @text-bootstrap;
550 line-height: 1em;
550 line-height: 1em;
551 font-weight: bold;
551 font-weight: bold;
552 color: @grey2;
552 color: @grey2;
553
553
554 &:hover,
554 &:hover,
555 &:focus {
555 &:focus {
556 color: @grey1;
556 color: @grey1;
557 text-decoration: none;
557 text-decoration: none;
558 cursor: pointer;
558 cursor: pointer;
559 }
559 }
560 }
560 }
561
561
562 // GRID
562 // GRID
563 .sorting,
563 .sorting,
564 .sorting_desc,
564 .sorting_desc,
565 .sorting_asc {
565 .sorting_asc {
566 cursor: pointer;
566 cursor: pointer;
567 }
567 }
568 .sorting_desc:after {
568 .sorting_desc:after {
569 content: "\00A0\25B2";
569 content: "\00A0\25B2";
570 font-size: .75em;
570 font-size: .75em;
571 }
571 }
572 .sorting_asc:after {
572 .sorting_asc:after {
573 content: "\00A0\25BC";
573 content: "\00A0\25BC";
574 font-size: .68em;
574 font-size: .68em;
575 }
575 }
576
576
577
577
578 .user_auth_tokens {
578 .user_auth_tokens {
579
579
580 &.truncate {
580 &.truncate {
581 white-space: nowrap;
581 white-space: nowrap;
582 overflow: hidden;
582 overflow: hidden;
583 text-overflow: ellipsis;
583 text-overflow: ellipsis;
584 }
584 }
585
585
586 .fields .field .input {
586 .fields .field .input {
587 margin: 0;
587 margin: 0;
588 }
588 }
589
589
590 input#description {
590 input#description {
591 width: 100px;
591 width: 100px;
592 margin: 0;
592 margin: 0;
593 }
593 }
594
594
595 .drop-menu {
595 .drop-menu {
596 // TODO: johbo: Remove this, should work out of the box when
596 // TODO: johbo: Remove this, should work out of the box when
597 // having multiple inputs inline
597 // having multiple inputs inline
598 margin: 0 0 0 5px;
598 margin: 0 0 0 5px;
599 }
599 }
600 }
600 }
601 #user_list_table {
601 #user_list_table {
602 .closed {
602 .closed {
603 background-color: @grey6;
603 background-color: @grey6;
604 }
604 }
605 }
605 }
606
606
607
607
608 input {
608 input {
609 &.disabled {
609 &.disabled {
610 opacity: .5;
610 opacity: .5;
611 }
611 }
612 }
612 }
613
613
614 // remove extra padding in firefox
614 // remove extra padding in firefox
615 input::-moz-focus-inner { border:0; padding:0 }
615 input::-moz-focus-inner { border:0; padding:0 }
616
616
617 .adjacent input {
617 .adjacent input {
618 margin-bottom: @padding;
618 margin-bottom: @padding;
619 }
619 }
620
620
621 .permissions_boxes {
621 .permissions_boxes {
622 display: block;
622 display: block;
623 }
623 }
624
624
625 //FORMS
625 //FORMS
626
626
627 .medium-inline,
627 .medium-inline,
628 input#description.medium-inline {
628 input#description.medium-inline {
629 display: inline;
629 display: inline;
630 width: @medium-inline-input-width;
630 width: @medium-inline-input-width;
631 min-width: 100px;
631 min-width: 100px;
632 }
632 }
633
633
634 select {
634 select {
635 //reset
635 //reset
636 -webkit-appearance: none;
636 -webkit-appearance: none;
637 -moz-appearance: none;
637 -moz-appearance: none;
638
638
639 display: inline-block;
639 display: inline-block;
640 height: 28px;
640 height: 28px;
641 width: auto;
641 width: auto;
642 margin: 0 @padding @padding 0;
642 margin: 0 @padding @padding 0;
643 padding: 0 18px 0 8px;
643 padding: 0 18px 0 8px;
644 line-height:1em;
644 line-height:1em;
645 font-size: @basefontsize;
645 font-size: @basefontsize;
646 border: @border-thickness solid @rcblue;
646 border: @border-thickness solid @rcblue;
647 background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%;
647 background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%;
648 color: @rcblue;
648 color: @rcblue;
649
649
650 &:after {
650 &:after {
651 content: "\00A0\25BE";
651 content: "\00A0\25BE";
652 }
652 }
653
653
654 &:focus {
654 &:focus {
655 outline: none;
655 outline: none;
656 }
656 }
657 }
657 }
658
658
659 option {
659 option {
660 &:focus {
660 &:focus {
661 outline: none;
661 outline: none;
662 }
662 }
663 }
663 }
664
664
665 input,
665 input,
666 textarea {
666 textarea {
667 padding: @input-padding;
667 padding: @input-padding;
668 border: @input-border-thickness solid @border-highlight-color;
668 border: @input-border-thickness solid @border-highlight-color;
669 .border-radius (@border-radius);
669 .border-radius (@border-radius);
670 font-family: @text-light;
670 font-family: @text-light;
671 font-size: @basefontsize;
671 font-size: @basefontsize;
672
672
673 &.input-sm {
673 &.input-sm {
674 padding: 5px;
674 padding: 5px;
675 }
675 }
676
676
677 &#description {
677 &#description {
678 min-width: @input-description-minwidth;
678 min-width: @input-description-minwidth;
679 min-height: 1em;
679 min-height: 1em;
680 padding: 10px;
680 padding: 10px;
681 }
681 }
682 }
682 }
683
683
684 .field-sm {
684 .field-sm {
685 input,
685 input,
686 textarea {
686 textarea {
687 padding: 5px;
687 padding: 5px;
688 }
688 }
689 }
689 }
690
690
691 textarea {
691 textarea {
692 display: block;
692 display: block;
693 clear: both;
693 clear: both;
694 width: 100%;
694 width: 100%;
695 min-height: 100px;
695 min-height: 100px;
696 margin-bottom: @padding;
696 margin-bottom: @padding;
697 .box-sizing(border-box);
697 .box-sizing(border-box);
698 overflow: auto;
698 overflow: auto;
699 }
699 }
700
700
701 label {
701 label {
702 font-family: @text-light;
702 font-family: @text-light;
703 }
703 }
704
704
705 // GRAVATARS
705 // GRAVATARS
706 // centers gravatar on username to the right
706 // centers gravatar on username to the right
707
707
708 .gravatar {
708 .gravatar {
709 display: inline;
709 display: inline;
710 min-width: 16px;
710 min-width: 16px;
711 min-height: 16px;
711 min-height: 16px;
712 margin: -5px 0;
712 margin: -5px 0;
713 padding: 0;
713 padding: 0;
714 line-height: 1em;
714 line-height: 1em;
715 border: 1px solid @grey4;
715 border: 1px solid @grey4;
716 box-sizing: content-box;
716 box-sizing: content-box;
717
717
718 &.gravatar-large {
718 &.gravatar-large {
719 margin: -0.5em .25em -0.5em 0;
719 margin: -0.5em .25em -0.5em 0;
720 }
720 }
721
721
722 & + .user {
722 & + .user {
723 display: inline;
723 display: inline;
724 margin: 0;
724 margin: 0;
725 padding: 0 0 0 .17em;
725 padding: 0 0 0 .17em;
726 line-height: 1em;
726 line-height: 1em;
727 }
727 }
728 }
728 }
729
729
730 .user-inline-data {
730 .user-inline-data {
731 display: inline-block;
731 display: inline-block;
732 float: left;
732 float: left;
733 padding-left: .5em;
733 padding-left: .5em;
734 line-height: 1.3em;
734 line-height: 1.3em;
735 }
735 }
736
736
737 .rc-user { // gravatar + user wrapper
737 .rc-user { // gravatar + user wrapper
738 float: left;
738 float: left;
739 position: relative;
739 position: relative;
740 min-width: 100px;
740 min-width: 100px;
741 max-width: 200px;
741 max-width: 200px;
742 min-height: (@gravatar-size + @border-thickness * 2); // account for border
742 min-height: (@gravatar-size + @border-thickness * 2); // account for border
743 display: block;
743 display: block;
744 padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2);
744 padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2);
745
745
746
746
747 .gravatar {
747 .gravatar {
748 display: block;
748 display: block;
749 position: absolute;
749 position: absolute;
750 top: 0;
750 top: 0;
751 left: 0;
751 left: 0;
752 min-width: @gravatar-size;
752 min-width: @gravatar-size;
753 min-height: @gravatar-size;
753 min-height: @gravatar-size;
754 margin: 0;
754 margin: 0;
755 }
755 }
756
756
757 .user {
757 .user {
758 display: block;
758 display: block;
759 max-width: 175px;
759 max-width: 175px;
760 padding-top: 2px;
760 padding-top: 2px;
761 overflow: hidden;
761 overflow: hidden;
762 text-overflow: ellipsis;
762 text-overflow: ellipsis;
763 }
763 }
764 }
764 }
765
765
766 .gist-gravatar,
766 .gist-gravatar,
767 .journal_container {
767 .journal_container {
768 .gravatar-large {
768 .gravatar-large {
769 margin: 0 .5em -10px 0;
769 margin: 0 .5em -10px 0;
770 }
770 }
771 }
771 }
772
772
773
773
774 // ADMIN SETTINGS
774 // ADMIN SETTINGS
775
775
776 // Tag Patterns
776 // Tag Patterns
777 .tag_patterns {
777 .tag_patterns {
778 .tag_input {
778 .tag_input {
779 margin-bottom: @padding;
779 margin-bottom: @padding;
780 }
780 }
781 }
781 }
782
782
783 .locked_input {
783 .locked_input {
784 position: relative;
784 position: relative;
785
785
786 input {
786 input {
787 display: inline;
787 display: inline;
788 margin: 3px 5px 0px 0px;
788 margin: 3px 5px 0px 0px;
789 }
789 }
790
790
791 br {
791 br {
792 display: none;
792 display: none;
793 }
793 }
794
794
795 .error-message {
795 .error-message {
796 float: left;
796 float: left;
797 width: 100%;
797 width: 100%;
798 }
798 }
799
799
800 .lock_input_button {
800 .lock_input_button {
801 display: inline;
801 display: inline;
802 }
802 }
803
803
804 .help-block {
804 .help-block {
805 clear: both;
805 clear: both;
806 }
806 }
807 }
807 }
808
808
809 // Notifications
809 // Notifications
810
810
811 .notifications_buttons {
811 .notifications_buttons {
812 margin: 0 0 @space 0;
812 margin: 0 0 @space 0;
813 padding: 0;
813 padding: 0;
814
814
815 .btn {
815 .btn {
816 display: inline-block;
816 display: inline-block;
817 }
817 }
818 }
818 }
819
819
820 .notification-list {
820 .notification-list {
821
821
822 div {
822 div {
823 display: inline-block;
823 display: inline-block;
824 vertical-align: middle;
824 vertical-align: middle;
825 }
825 }
826
826
827 .container {
827 .container {
828 display: block;
828 display: block;
829 margin: 0 0 @padding 0;
829 margin: 0 0 @padding 0;
830 }
830 }
831
831
832 .delete-notifications {
832 .delete-notifications {
833 margin-left: @padding;
833 margin-left: @padding;
834 text-align: right;
834 text-align: right;
835 cursor: pointer;
835 cursor: pointer;
836 }
836 }
837
837
838 .read-notifications {
838 .read-notifications {
839 margin-left: @padding/2;
839 margin-left: @padding/2;
840 text-align: right;
840 text-align: right;
841 width: 35px;
841 width: 35px;
842 cursor: pointer;
842 cursor: pointer;
843 }
843 }
844
844
845 .icon-minus-sign {
845 .icon-minus-sign {
846 color: @alert2;
846 color: @alert2;
847 }
847 }
848
848
849 .icon-ok-sign {
849 .icon-ok-sign {
850 color: @alert1;
850 color: @alert1;
851 }
851 }
852 }
852 }
853
853
854 .user_settings {
854 .user_settings {
855 float: left;
855 float: left;
856 clear: both;
856 clear: both;
857 display: block;
857 display: block;
858 width: 100%;
858 width: 100%;
859
859
860 .gravatar_box {
860 .gravatar_box {
861 margin-bottom: @padding;
861 margin-bottom: @padding;
862
862
863 &:after {
863 &:after {
864 content: " ";
864 content: " ";
865 clear: both;
865 clear: both;
866 width: 100%;
866 width: 100%;
867 }
867 }
868 }
868 }
869
869
870 .fields .field {
870 .fields .field {
871 clear: both;
871 clear: both;
872 }
872 }
873 }
873 }
874
874
875 .advanced_settings {
875 .advanced_settings {
876 margin-bottom: @space;
876 margin-bottom: @space;
877
877
878 .help-block {
878 .help-block {
879 margin-left: 0;
879 margin-left: 0;
880 }
880 }
881
881
882 button + .help-block {
882 button + .help-block {
883 margin-top: @padding;
883 margin-top: @padding;
884 }
884 }
885 }
885 }
886
886
887 // admin settings radio buttons and labels
887 // admin settings radio buttons and labels
888 .label-2 {
888 .label-2 {
889 float: left;
889 float: left;
890 width: @label2-width;
890 width: @label2-width;
891
891
892 label {
892 label {
893 color: @grey1;
893 color: @grey1;
894 }
894 }
895 }
895 }
896 .checkboxes {
896 .checkboxes {
897 float: left;
897 float: left;
898 width: @checkboxes-width;
898 width: @checkboxes-width;
899 margin-bottom: @padding;
899 margin-bottom: @padding;
900
900
901 .checkbox {
901 .checkbox {
902 width: 100%;
902 width: 100%;
903
903
904 label {
904 label {
905 margin: 0;
905 margin: 0;
906 padding: 0;
906 padding: 0;
907 }
907 }
908 }
908 }
909
909
910 .checkbox + .checkbox {
910 .checkbox + .checkbox {
911 display: inline-block;
911 display: inline-block;
912 }
912 }
913
913
914 label {
914 label {
915 margin-right: 1em;
915 margin-right: 1em;
916 }
916 }
917 }
917 }
918
918
919 // CHANGELOG
919 // CHANGELOG
920 .container_header {
920 .container_header {
921 float: left;
921 float: left;
922 display: block;
922 display: block;
923 width: 100%;
923 width: 100%;
924 margin: @padding 0 @padding;
924 margin: @padding 0 @padding;
925
925
926 #filter_changelog {
926 #filter_changelog {
927 float: left;
927 float: left;
928 margin-right: @padding;
928 margin-right: @padding;
929 }
929 }
930
930
931 .breadcrumbs_light {
931 .breadcrumbs_light {
932 display: inline-block;
932 display: inline-block;
933 }
933 }
934 }
934 }
935
935
936 .info_box {
936 .info_box {
937 float: right;
937 float: right;
938 }
938 }
939
939
940
940
941 #graph_nodes {
941 #graph_nodes {
942 padding-top: 43px;
942 padding-top: 43px;
943 }
943 }
944
944
945 #graph_content{
945 #graph_content{
946
946
947 // adjust for table headers so that graph renders properly
947 // adjust for table headers so that graph renders properly
948 // #graph_nodes padding - table cell padding
948 // #graph_nodes padding - table cell padding
949 padding-top: (@space - (@basefontsize * 2.4));
949 padding-top: (@space - (@basefontsize * 2.4));
950
950
951 &.graph_full_width {
951 &.graph_full_width {
952 width: 100%;
952 width: 100%;
953 max-width: 100%;
953 max-width: 100%;
954 }
954 }
955 }
955 }
956
956
957 #graph {
957 #graph {
958 .flag_status {
958 .flag_status {
959 margin: 0;
959 margin: 0;
960 }
960 }
961
961
962 .pagination-left {
962 .pagination-left {
963 float: left;
963 float: left;
964 clear: both;
964 clear: both;
965 }
965 }
966
966
967 .log-container {
967 .log-container {
968 max-width: 345px;
968 max-width: 345px;
969
969
970 .message{
970 .message{
971 max-width: 340px;
971 max-width: 340px;
972 }
972 }
973 }
973 }
974
974
975 .graph-col-wrapper {
975 .graph-col-wrapper {
976 padding-left: 110px;
976 padding-left: 110px;
977
977
978 #graph_nodes {
978 #graph_nodes {
979 width: 100px;
979 width: 100px;
980 margin-left: -110px;
980 margin-left: -110px;
981 float: left;
981 float: left;
982 clear: left;
982 clear: left;
983 }
983 }
984 }
984 }
985
985
986 .load-more-commits {
986 .load-more-commits {
987 text-align: center;
987 text-align: center;
988 }
988 }
989 .load-more-commits:hover {
989 .load-more-commits:hover {
990 background-color: @grey7;
990 background-color: @grey7;
991 }
991 }
992 .load-more-commits {
992 .load-more-commits {
993 a {
993 a {
994 display: block;
994 display: block;
995 }
995 }
996 }
996 }
997 }
997 }
998
998
999 #filter_changelog {
999 #filter_changelog {
1000 float: left;
1000 float: left;
1001 }
1001 }
1002
1002
1003
1003
1004 //--- THEME ------------------//
1004 //--- THEME ------------------//
1005
1005
1006 #logo {
1006 #logo {
1007 float: left;
1007 float: left;
1008 margin: 9px 0 0 0;
1008 margin: 9px 0 0 0;
1009
1009
1010 .header {
1010 .header {
1011 background-color: transparent;
1011 background-color: transparent;
1012 }
1012 }
1013
1013
1014 a {
1014 a {
1015 display: inline-block;
1015 display: inline-block;
1016 }
1016 }
1017
1017
1018 img {
1018 img {
1019 height:30px;
1019 height:30px;
1020 }
1020 }
1021 }
1021 }
1022
1022
1023 .logo-wrapper {
1023 .logo-wrapper {
1024 float:left;
1024 float:left;
1025 }
1025 }
1026
1026
1027 .branding{
1027 .branding{
1028 float: left;
1028 float: left;
1029 padding: 9px 2px;
1029 padding: 9px 2px;
1030 line-height: 1em;
1030 line-height: 1em;
1031 font-size: @navigation-fontsize;
1031 font-size: @navigation-fontsize;
1032 }
1032 }
1033
1033
1034 img {
1034 img {
1035 border: none;
1035 border: none;
1036 outline: none;
1036 outline: none;
1037 }
1037 }
1038 user-profile-header
1038 user-profile-header
1039 label {
1039 label {
1040
1040
1041 input[type="checkbox"] {
1041 input[type="checkbox"] {
1042 margin-right: 1em;
1042 margin-right: 1em;
1043 }
1043 }
1044 input[type="radio"] {
1044 input[type="radio"] {
1045 margin-right: 1em;
1045 margin-right: 1em;
1046 }
1046 }
1047 }
1047 }
1048
1048
1049 .flag_status {
1049 .flag_status {
1050 margin: 2px 8px 6px 2px;
1050 margin: 2px 8px 6px 2px;
1051 &.under_review {
1051 &.under_review {
1052 .circle(5px, @alert3);
1052 .circle(5px, @alert3);
1053 }
1053 }
1054 &.approved {
1054 &.approved {
1055 .circle(5px, @alert1);
1055 .circle(5px, @alert1);
1056 }
1056 }
1057 &.rejected,
1057 &.rejected,
1058 &.forced_closed{
1058 &.forced_closed{
1059 .circle(5px, @alert2);
1059 .circle(5px, @alert2);
1060 }
1060 }
1061 &.not_reviewed {
1061 &.not_reviewed {
1062 .circle(5px, @grey5);
1062 .circle(5px, @grey5);
1063 }
1063 }
1064 }
1064 }
1065
1065
1066 .flag_status_comment_box {
1066 .flag_status_comment_box {
1067 margin: 5px 6px 0px 2px;
1067 margin: 5px 6px 0px 2px;
1068 }
1068 }
1069 .test_pattern_preview {
1069 .test_pattern_preview {
1070 margin: @space 0;
1070 margin: @space 0;
1071
1071
1072 p {
1072 p {
1073 margin-bottom: 0;
1073 margin-bottom: 0;
1074 border-bottom: @border-thickness solid @border-default-color;
1074 border-bottom: @border-thickness solid @border-default-color;
1075 color: @grey3;
1075 color: @grey3;
1076 }
1076 }
1077
1077
1078 .btn {
1078 .btn {
1079 margin-bottom: @padding;
1079 margin-bottom: @padding;
1080 }
1080 }
1081 }
1081 }
1082 #test_pattern_result {
1082 #test_pattern_result {
1083 display: none;
1083 display: none;
1084 &:extend(pre);
1084 &:extend(pre);
1085 padding: .9em;
1085 padding: .9em;
1086 color: @grey3;
1086 color: @grey3;
1087 background-color: @grey7;
1087 background-color: @grey7;
1088 border-right: @border-thickness solid @border-default-color;
1088 border-right: @border-thickness solid @border-default-color;
1089 border-bottom: @border-thickness solid @border-default-color;
1089 border-bottom: @border-thickness solid @border-default-color;
1090 border-left: @border-thickness solid @border-default-color;
1090 border-left: @border-thickness solid @border-default-color;
1091 }
1091 }
1092
1092
1093 #repo_vcs_settings {
1093 #repo_vcs_settings {
1094 #inherit_overlay_vcs_default {
1094 #inherit_overlay_vcs_default {
1095 display: none;
1095 display: none;
1096 }
1096 }
1097 #inherit_overlay_vcs_custom {
1097 #inherit_overlay_vcs_custom {
1098 display: custom;
1098 display: custom;
1099 }
1099 }
1100 &.inherited {
1100 &.inherited {
1101 #inherit_overlay_vcs_default {
1101 #inherit_overlay_vcs_default {
1102 display: block;
1102 display: block;
1103 }
1103 }
1104 #inherit_overlay_vcs_custom {
1104 #inherit_overlay_vcs_custom {
1105 display: none;
1105 display: none;
1106 }
1106 }
1107 }
1107 }
1108 }
1108 }
1109
1109
1110 .issue-tracker-link {
1110 .issue-tracker-link {
1111 color: @rcblue;
1111 color: @rcblue;
1112 }
1112 }
1113
1113
1114 // Issue Tracker Table Show/Hide
1114 // Issue Tracker Table Show/Hide
1115 #repo_issue_tracker {
1115 #repo_issue_tracker {
1116 #inherit_overlay {
1116 #inherit_overlay {
1117 display: none;
1117 display: none;
1118 }
1118 }
1119 #custom_overlay {
1119 #custom_overlay {
1120 display: custom;
1120 display: custom;
1121 }
1121 }
1122 &.inherited {
1122 &.inherited {
1123 #inherit_overlay {
1123 #inherit_overlay {
1124 display: block;
1124 display: block;
1125 }
1125 }
1126 #custom_overlay {
1126 #custom_overlay {
1127 display: none;
1127 display: none;
1128 }
1128 }
1129 }
1129 }
1130 }
1130 }
1131 table.issuetracker {
1131 table.issuetracker {
1132 &.readonly {
1132 &.readonly {
1133 tr, td {
1133 tr, td {
1134 color: @grey3;
1134 color: @grey3;
1135 }
1135 }
1136 }
1136 }
1137 .edit {
1137 .edit {
1138 display: none;
1138 display: none;
1139 }
1139 }
1140 .editopen {
1140 .editopen {
1141 .edit {
1141 .edit {
1142 display: inline;
1142 display: inline;
1143 }
1143 }
1144 .entry {
1144 .entry {
1145 display: none;
1145 display: none;
1146 }
1146 }
1147 }
1147 }
1148 tr td.td-action {
1148 tr td.td-action {
1149 min-width: 117px;
1149 min-width: 117px;
1150 }
1150 }
1151 td input {
1151 td input {
1152 max-width: none;
1152 max-width: none;
1153 min-width: 30px;
1153 min-width: 30px;
1154 width: 80%;
1154 width: 80%;
1155 }
1155 }
1156 .issuetracker_pref input {
1156 .issuetracker_pref input {
1157 width: 40%;
1157 width: 40%;
1158 }
1158 }
1159 input.edit_issuetracker_update {
1159 input.edit_issuetracker_update {
1160 margin-right: 0;
1160 margin-right: 0;
1161 width: auto;
1161 width: auto;
1162 }
1162 }
1163 }
1163 }
1164
1164
1165 table.integrations {
1165 table.integrations {
1166 .td-icon {
1166 .td-icon {
1167 width: 20px;
1167 width: 20px;
1168 .integration-icon {
1168 .integration-icon {
1169 height: 20px;
1169 height: 20px;
1170 width: 20px;
1170 width: 20px;
1171 }
1171 }
1172 }
1172 }
1173 }
1173 }
1174
1174
1175 .integrations {
1175 .integrations {
1176 a.integration-box {
1176 a.integration-box {
1177 color: @text-color;
1177 color: @text-color;
1178 &:hover {
1178 &:hover {
1179 .panel {
1179 .panel {
1180 background: #fbfbfb;
1180 background: #fbfbfb;
1181 }
1181 }
1182 }
1182 }
1183 .integration-icon {
1183 .integration-icon {
1184 width: 30px;
1184 width: 30px;
1185 height: 30px;
1185 height: 30px;
1186 margin-right: 20px;
1186 margin-right: 20px;
1187 float: left;
1187 float: left;
1188 }
1188 }
1189
1189
1190 .panel-body {
1190 .panel-body {
1191 padding: 10px;
1191 padding: 10px;
1192 }
1192 }
1193 .panel {
1193 .panel {
1194 margin-bottom: 10px;
1194 margin-bottom: 10px;
1195 }
1195 }
1196 h2 {
1196 h2 {
1197 display: inline-block;
1197 display: inline-block;
1198 margin: 0;
1198 margin: 0;
1199 min-width: 140px;
1199 min-width: 140px;
1200 }
1200 }
1201 }
1201 }
1202 a.integration-box.dummy-integration {
1202 a.integration-box.dummy-integration {
1203 color: @grey4
1203 color: @grey4
1204 }
1204 }
1205 }
1205 }
1206
1206
1207 //Permissions Settings
1207 //Permissions Settings
1208 #add_perm {
1208 #add_perm {
1209 margin: 0 0 @padding;
1209 margin: 0 0 @padding;
1210 cursor: pointer;
1210 cursor: pointer;
1211 }
1211 }
1212
1212
1213 .perm_ac {
1213 .perm_ac {
1214 input {
1214 input {
1215 width: 95%;
1215 width: 95%;
1216 }
1216 }
1217 }
1217 }
1218
1218
1219 .autocomplete-suggestions {
1219 .autocomplete-suggestions {
1220 width: auto !important; // overrides autocomplete.js
1220 width: auto !important; // overrides autocomplete.js
1221 margin: 0;
1221 margin: 0;
1222 border: @border-thickness solid @rcblue;
1222 border: @border-thickness solid @rcblue;
1223 border-radius: @border-radius;
1223 border-radius: @border-radius;
1224 color: @rcblue;
1224 color: @rcblue;
1225 background-color: white;
1225 background-color: white;
1226 }
1226 }
1227 .autocomplete-selected {
1227 .autocomplete-selected {
1228 background: #F0F0F0;
1228 background: #F0F0F0;
1229 }
1229 }
1230 .ac-container-wrap {
1230 .ac-container-wrap {
1231 margin: 0;
1231 margin: 0;
1232 padding: 8px;
1232 padding: 8px;
1233 border-bottom: @border-thickness solid @rclightblue;
1233 border-bottom: @border-thickness solid @rclightblue;
1234 list-style-type: none;
1234 list-style-type: none;
1235 cursor: pointer;
1235 cursor: pointer;
1236
1236
1237 &:hover {
1237 &:hover {
1238 background-color: @rclightblue;
1238 background-color: @rclightblue;
1239 }
1239 }
1240
1240
1241 img {
1241 img {
1242 height: @gravatar-size;
1242 height: @gravatar-size;
1243 width: @gravatar-size;
1243 width: @gravatar-size;
1244 margin-right: 1em;
1244 margin-right: 1em;
1245 }
1245 }
1246
1246
1247 strong {
1247 strong {
1248 font-weight: normal;
1248 font-weight: normal;
1249 }
1249 }
1250 }
1250 }
1251
1251
1252 // Settings Dropdown
1252 // Settings Dropdown
1253 .user-menu .container {
1253 .user-menu .container {
1254 padding: 0 4px;
1254 padding: 0 4px;
1255 margin: 0;
1255 margin: 0;
1256 }
1256 }
1257
1257
1258 .user-menu .gravatar {
1258 .user-menu .gravatar {
1259 cursor: pointer;
1259 cursor: pointer;
1260 }
1260 }
1261
1261
1262 .codeblock {
1262 .codeblock {
1263 margin-bottom: @padding;
1263 margin-bottom: @padding;
1264 clear: both;
1264 clear: both;
1265
1265
1266 .stats{
1266 .stats {
1267 overflow: hidden;
1267 overflow: hidden;
1268 }
1268 }
1269
1269
1270 .message{
1270 .message{
1271 textarea{
1271 textarea{
1272 margin: 0;
1272 margin: 0;
1273 }
1273 }
1274 }
1274 }
1275
1275
1276 .code-header {
1276 .code-header {
1277 .stats {
1277 .stats {
1278 line-height: 2em;
1278 line-height: 2em;
1279
1279
1280 .revision_id {
1280 .revision_id {
1281 margin-left: 0;
1281 margin-left: 0;
1282 }
1282 }
1283 .buttons {
1283 .buttons {
1284 padding-right: 0;
1284 padding-right: 0;
1285 }
1285 }
1286 }
1286 }
1287
1287
1288 .item{
1288 .item{
1289 margin-right: 0.5em;
1289 margin-right: 0.5em;
1290 }
1290 }
1291 }
1291 }
1292
1292
1293 #editor_container{
1293 #editor_container{
1294 position: relative;
1294 position: relative;
1295 margin: @padding;
1295 margin: @padding;
1296 }
1296 }
1297 }
1297 }
1298
1298
1299 #file_history_container {
1299 #file_history_container {
1300 display: none;
1300 display: none;
1301 }
1301 }
1302
1302
1303 .file-history-inner {
1303 .file-history-inner {
1304 margin-bottom: 10px;
1304 margin-bottom: 10px;
1305 }
1305 }
1306
1306
1307 // Pull Requests
1307 // Pull Requests
1308 .summary-details {
1308 .summary-details {
1309 width: 72%;
1309 width: 72%;
1310 }
1310 }
1311 .pr-summary {
1311 .pr-summary {
1312 border-bottom: @border-thickness solid @grey5;
1312 border-bottom: @border-thickness solid @grey5;
1313 margin-bottom: @space;
1313 margin-bottom: @space;
1314 }
1314 }
1315 .reviewers-title {
1315 .reviewers-title {
1316 width: 25%;
1316 width: 25%;
1317 min-width: 200px;
1317 min-width: 200px;
1318 }
1318 }
1319 .reviewers {
1319 .reviewers {
1320 width: 25%;
1320 width: 25%;
1321 min-width: 200px;
1321 min-width: 200px;
1322 }
1322 }
1323 .reviewers ul li {
1323 .reviewers ul li {
1324 position: relative;
1324 position: relative;
1325 width: 100%;
1325 width: 100%;
1326 padding-bottom: 8px;
1326 padding-bottom: 8px;
1327 list-style-type: none;
1327 list-style-type: none;
1328 }
1328 }
1329
1329
1330 .reviewer_entry {
1330 .reviewer_entry {
1331 min-height: 55px;
1331 min-height: 55px;
1332 }
1332 }
1333
1333
1334 .reviewers_member {
1334 .reviewers_member {
1335 width: 100%;
1335 width: 100%;
1336 overflow: auto;
1336 overflow: auto;
1337 }
1337 }
1338 .reviewer_reason {
1338 .reviewer_reason {
1339 padding-left: 20px;
1339 padding-left: 20px;
1340 line-height: 1.5em;
1340 line-height: 1.5em;
1341 }
1341 }
1342 .reviewer_status {
1342 .reviewer_status {
1343 display: inline-block;
1343 display: inline-block;
1344 vertical-align: top;
1344 vertical-align: top;
1345 width: 25px;
1345 width: 25px;
1346 min-width: 25px;
1346 min-width: 25px;
1347 height: 1.2em;
1347 height: 1.2em;
1348 margin-top: 3px;
1348 margin-top: 3px;
1349 line-height: 1em;
1349 line-height: 1em;
1350 }
1350 }
1351
1351
1352 .reviewer_name {
1352 .reviewer_name {
1353 display: inline-block;
1353 display: inline-block;
1354 max-width: 83%;
1354 max-width: 83%;
1355 padding-right: 20px;
1355 padding-right: 20px;
1356 vertical-align: middle;
1356 vertical-align: middle;
1357 line-height: 1;
1357 line-height: 1;
1358
1358
1359 .rc-user {
1359 .rc-user {
1360 min-width: 0;
1360 min-width: 0;
1361 margin: -2px 1em 0 0;
1361 margin: -2px 1em 0 0;
1362 }
1362 }
1363
1363
1364 .reviewer {
1364 .reviewer {
1365 float: left;
1365 float: left;
1366 }
1366 }
1367 }
1367 }
1368
1368
1369 .reviewer_member_mandatory {
1369 .reviewer_member_mandatory {
1370 position: absolute;
1370 position: absolute;
1371 left: 15px;
1371 left: 15px;
1372 top: 8px;
1372 top: 8px;
1373 width: 16px;
1373 width: 16px;
1374 font-size: 11px;
1374 font-size: 11px;
1375 margin: 0;
1375 margin: 0;
1376 padding: 0;
1376 padding: 0;
1377 color: black;
1377 color: black;
1378 }
1378 }
1379
1379
1380 .reviewer_member_mandatory_remove,
1380 .reviewer_member_mandatory_remove,
1381 .reviewer_member_remove {
1381 .reviewer_member_remove {
1382 position: absolute;
1382 position: absolute;
1383 right: 0;
1383 right: 0;
1384 top: 0;
1384 top: 0;
1385 width: 16px;
1385 width: 16px;
1386 margin-bottom: 10px;
1386 margin-bottom: 10px;
1387 padding: 0;
1387 padding: 0;
1388 color: black;
1388 color: black;
1389 }
1389 }
1390
1390
1391 .reviewer_member_mandatory_remove {
1391 .reviewer_member_mandatory_remove {
1392 color: @grey4;
1392 color: @grey4;
1393 }
1393 }
1394
1394
1395 .reviewer_member_status {
1395 .reviewer_member_status {
1396 margin-top: 5px;
1396 margin-top: 5px;
1397 }
1397 }
1398 .pr-summary #summary{
1398 .pr-summary #summary{
1399 width: 100%;
1399 width: 100%;
1400 }
1400 }
1401 .pr-summary .action_button:hover {
1401 .pr-summary .action_button:hover {
1402 border: 0;
1402 border: 0;
1403 cursor: pointer;
1403 cursor: pointer;
1404 }
1404 }
1405 .pr-details-title {
1405 .pr-details-title {
1406 padding-bottom: 8px;
1406 padding-bottom: 8px;
1407 border-bottom: @border-thickness solid @grey5;
1407 border-bottom: @border-thickness solid @grey5;
1408
1408
1409 .action_button.disabled {
1409 .action_button.disabled {
1410 color: @grey4;
1410 color: @grey4;
1411 cursor: inherit;
1411 cursor: inherit;
1412 }
1412 }
1413 .action_button {
1413 .action_button {
1414 color: @rcblue;
1414 color: @rcblue;
1415 }
1415 }
1416 }
1416 }
1417 .pr-details-content {
1417 .pr-details-content {
1418 margin-top: @textmargin;
1418 margin-top: @textmargin;
1419 margin-bottom: @textmargin;
1419 margin-bottom: @textmargin;
1420 }
1420 }
1421
1421
1422 .pr-reviewer-rules {
1422 .pr-reviewer-rules {
1423 padding: 10px 0px 20px 0px;
1423 padding: 10px 0px 20px 0px;
1424 }
1424 }
1425
1425
1426 .group_members {
1426 .group_members {
1427 margin-top: 0;
1427 margin-top: 0;
1428 padding: 0;
1428 padding: 0;
1429 list-style: outside none none;
1429 list-style: outside none none;
1430
1430
1431 img {
1431 img {
1432 height: @gravatar-size;
1432 height: @gravatar-size;
1433 width: @gravatar-size;
1433 width: @gravatar-size;
1434 margin-right: .5em;
1434 margin-right: .5em;
1435 margin-left: 3px;
1435 margin-left: 3px;
1436 }
1436 }
1437
1437
1438 .to-delete {
1438 .to-delete {
1439 .user {
1439 .user {
1440 text-decoration: line-through;
1440 text-decoration: line-through;
1441 }
1441 }
1442 }
1442 }
1443 }
1443 }
1444
1444
1445 .compare_view_commits_title {
1445 .compare_view_commits_title {
1446 .disabled {
1446 .disabled {
1447 cursor: inherit;
1447 cursor: inherit;
1448 &:hover{
1448 &:hover{
1449 background-color: inherit;
1449 background-color: inherit;
1450 color: inherit;
1450 color: inherit;
1451 }
1451 }
1452 }
1452 }
1453 }
1453 }
1454
1454
1455 .subtitle-compare {
1455 .subtitle-compare {
1456 margin: -15px 0px 0px 0px;
1456 margin: -15px 0px 0px 0px;
1457 }
1457 }
1458
1458
1459 .comments-summary-td {
1459 .comments-summary-td {
1460 border-top: 1px dashed @grey5;
1460 border-top: 1px dashed @grey5;
1461 }
1461 }
1462
1462
1463 // new entry in group_members
1463 // new entry in group_members
1464 .td-author-new-entry {
1464 .td-author-new-entry {
1465 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1465 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1466 }
1466 }
1467
1467
1468 .usergroup_member_remove {
1468 .usergroup_member_remove {
1469 width: 16px;
1469 width: 16px;
1470 margin-bottom: 10px;
1470 margin-bottom: 10px;
1471 padding: 0;
1471 padding: 0;
1472 color: black !important;
1472 color: black !important;
1473 cursor: pointer;
1473 cursor: pointer;
1474 }
1474 }
1475
1475
1476 .reviewer_ac .ac-input {
1476 .reviewer_ac .ac-input {
1477 width: 92%;
1477 width: 92%;
1478 margin-bottom: 1em;
1478 margin-bottom: 1em;
1479 }
1479 }
1480
1480
1481 .compare_view_commits tr{
1481 .compare_view_commits tr{
1482 height: 20px;
1482 height: 20px;
1483 }
1483 }
1484 .compare_view_commits td {
1484 .compare_view_commits td {
1485 vertical-align: top;
1485 vertical-align: top;
1486 padding-top: 10px;
1486 padding-top: 10px;
1487 }
1487 }
1488 .compare_view_commits .author {
1488 .compare_view_commits .author {
1489 margin-left: 5px;
1489 margin-left: 5px;
1490 }
1490 }
1491
1491
1492 .compare_view_commits {
1492 .compare_view_commits {
1493 .color-a {
1493 .color-a {
1494 color: @alert1;
1494 color: @alert1;
1495 }
1495 }
1496
1496
1497 .color-c {
1497 .color-c {
1498 color: @color3;
1498 color: @color3;
1499 }
1499 }
1500
1500
1501 .color-r {
1501 .color-r {
1502 color: @color5;
1502 color: @color5;
1503 }
1503 }
1504
1504
1505 .color-a-bg {
1505 .color-a-bg {
1506 background-color: @alert1;
1506 background-color: @alert1;
1507 }
1507 }
1508
1508
1509 .color-c-bg {
1509 .color-c-bg {
1510 background-color: @alert3;
1510 background-color: @alert3;
1511 }
1511 }
1512
1512
1513 .color-r-bg {
1513 .color-r-bg {
1514 background-color: @alert2;
1514 background-color: @alert2;
1515 }
1515 }
1516
1516
1517 .color-a-border {
1517 .color-a-border {
1518 border: 1px solid @alert1;
1518 border: 1px solid @alert1;
1519 }
1519 }
1520
1520
1521 .color-c-border {
1521 .color-c-border {
1522 border: 1px solid @alert3;
1522 border: 1px solid @alert3;
1523 }
1523 }
1524
1524
1525 .color-r-border {
1525 .color-r-border {
1526 border: 1px solid @alert2;
1526 border: 1px solid @alert2;
1527 }
1527 }
1528
1528
1529 .commit-change-indicator {
1529 .commit-change-indicator {
1530 width: 15px;
1530 width: 15px;
1531 height: 15px;
1531 height: 15px;
1532 position: relative;
1532 position: relative;
1533 left: 15px;
1533 left: 15px;
1534 }
1534 }
1535
1535
1536 .commit-change-content {
1536 .commit-change-content {
1537 text-align: center;
1537 text-align: center;
1538 vertical-align: middle;
1538 vertical-align: middle;
1539 line-height: 15px;
1539 line-height: 15px;
1540 }
1540 }
1541 }
1541 }
1542
1542
1543 .compare_view_filepath {
1543 .compare_view_filepath {
1544 color: @grey1;
1544 color: @grey1;
1545 }
1545 }
1546
1546
1547 .show_more {
1547 .show_more {
1548 display: inline-block;
1548 display: inline-block;
1549 width: 0;
1549 width: 0;
1550 height: 0;
1550 height: 0;
1551 vertical-align: middle;
1551 vertical-align: middle;
1552 content: "";
1552 content: "";
1553 border: 4px solid;
1553 border: 4px solid;
1554 border-right-color: transparent;
1554 border-right-color: transparent;
1555 border-bottom-color: transparent;
1555 border-bottom-color: transparent;
1556 border-left-color: transparent;
1556 border-left-color: transparent;
1557 font-size: 0;
1557 font-size: 0;
1558 }
1558 }
1559
1559
1560 .journal_more .show_more {
1560 .journal_more .show_more {
1561 display: inline;
1561 display: inline;
1562
1562
1563 &:after {
1563 &:after {
1564 content: none;
1564 content: none;
1565 }
1565 }
1566 }
1566 }
1567
1567
1568 .compare_view_commits .collapse_commit:after {
1568 .compare_view_commits .collapse_commit:after {
1569 cursor: pointer;
1569 cursor: pointer;
1570 content: "\00A0\25B4";
1570 content: "\00A0\25B4";
1571 margin-left: -3px;
1571 margin-left: -3px;
1572 font-size: 17px;
1572 font-size: 17px;
1573 color: @grey4;
1573 color: @grey4;
1574 }
1574 }
1575
1575
1576 .diff_links {
1576 .diff_links {
1577 margin-left: 8px;
1577 margin-left: 8px;
1578 }
1578 }
1579
1579
1580 div.ancestor {
1580 div.ancestor {
1581 margin: -30px 0px;
1581 margin: -30px 0px;
1582 }
1582 }
1583
1583
1584 .cs_icon_td input[type="checkbox"] {
1584 .cs_icon_td input[type="checkbox"] {
1585 display: none;
1585 display: none;
1586 }
1586 }
1587
1587
1588 .cs_icon_td .expand_file_icon:after {
1588 .cs_icon_td .expand_file_icon:after {
1589 cursor: pointer;
1589 cursor: pointer;
1590 content: "\00A0\25B6";
1590 content: "\00A0\25B6";
1591 font-size: 12px;
1591 font-size: 12px;
1592 color: @grey4;
1592 color: @grey4;
1593 }
1593 }
1594
1594
1595 .cs_icon_td .collapse_file_icon:after {
1595 .cs_icon_td .collapse_file_icon:after {
1596 cursor: pointer;
1596 cursor: pointer;
1597 content: "\00A0\25BC";
1597 content: "\00A0\25BC";
1598 font-size: 12px;
1598 font-size: 12px;
1599 color: @grey4;
1599 color: @grey4;
1600 }
1600 }
1601
1601
1602 /*new binary
1602 /*new binary
1603 NEW_FILENODE = 1
1603 NEW_FILENODE = 1
1604 DEL_FILENODE = 2
1604 DEL_FILENODE = 2
1605 MOD_FILENODE = 3
1605 MOD_FILENODE = 3
1606 RENAMED_FILENODE = 4
1606 RENAMED_FILENODE = 4
1607 COPIED_FILENODE = 5
1607 COPIED_FILENODE = 5
1608 CHMOD_FILENODE = 6
1608 CHMOD_FILENODE = 6
1609 BIN_FILENODE = 7
1609 BIN_FILENODE = 7
1610 */
1610 */
1611 .cs_files_expand {
1611 .cs_files_expand {
1612 font-size: @basefontsize + 5px;
1612 font-size: @basefontsize + 5px;
1613 line-height: 1.8em;
1613 line-height: 1.8em;
1614 float: right;
1614 float: right;
1615 }
1615 }
1616
1616
1617 .cs_files_expand span{
1617 .cs_files_expand span{
1618 color: @rcblue;
1618 color: @rcblue;
1619 cursor: pointer;
1619 cursor: pointer;
1620 }
1620 }
1621 .cs_files {
1621 .cs_files {
1622 clear: both;
1622 clear: both;
1623 padding-bottom: @padding;
1623 padding-bottom: @padding;
1624
1624
1625 .cur_cs {
1625 .cur_cs {
1626 margin: 10px 2px;
1626 margin: 10px 2px;
1627 font-weight: bold;
1627 font-weight: bold;
1628 }
1628 }
1629
1629
1630 .node {
1630 .node {
1631 float: left;
1631 float: left;
1632 }
1632 }
1633
1633
1634 .changes {
1634 .changes {
1635 float: right;
1635 float: right;
1636 color: white;
1636 color: white;
1637 font-size: @basefontsize - 4px;
1637 font-size: @basefontsize - 4px;
1638 margin-top: 4px;
1638 margin-top: 4px;
1639 opacity: 0.6;
1639 opacity: 0.6;
1640 filter: Alpha(opacity=60); /* IE8 and earlier */
1640 filter: Alpha(opacity=60); /* IE8 and earlier */
1641
1641
1642 .added {
1642 .added {
1643 background-color: @alert1;
1643 background-color: @alert1;
1644 float: left;
1644 float: left;
1645 text-align: center;
1645 text-align: center;
1646 }
1646 }
1647
1647
1648 .deleted {
1648 .deleted {
1649 background-color: @alert2;
1649 background-color: @alert2;
1650 float: left;
1650 float: left;
1651 text-align: center;
1651 text-align: center;
1652 }
1652 }
1653
1653
1654 .bin {
1654 .bin {
1655 background-color: @alert1;
1655 background-color: @alert1;
1656 text-align: center;
1656 text-align: center;
1657 }
1657 }
1658
1658
1659 /*new binary*/
1659 /*new binary*/
1660 .bin.bin1 {
1660 .bin.bin1 {
1661 background-color: @alert1;
1661 background-color: @alert1;
1662 text-align: center;
1662 text-align: center;
1663 }
1663 }
1664
1664
1665 /*deleted binary*/
1665 /*deleted binary*/
1666 .bin.bin2 {
1666 .bin.bin2 {
1667 background-color: @alert2;
1667 background-color: @alert2;
1668 text-align: center;
1668 text-align: center;
1669 }
1669 }
1670
1670
1671 /*mod binary*/
1671 /*mod binary*/
1672 .bin.bin3 {
1672 .bin.bin3 {
1673 background-color: @grey2;
1673 background-color: @grey2;
1674 text-align: center;
1674 text-align: center;
1675 }
1675 }
1676
1676
1677 /*rename file*/
1677 /*rename file*/
1678 .bin.bin4 {
1678 .bin.bin4 {
1679 background-color: @alert4;
1679 background-color: @alert4;
1680 text-align: center;
1680 text-align: center;
1681 }
1681 }
1682
1682
1683 /*copied file*/
1683 /*copied file*/
1684 .bin.bin5 {
1684 .bin.bin5 {
1685 background-color: @alert4;
1685 background-color: @alert4;
1686 text-align: center;
1686 text-align: center;
1687 }
1687 }
1688
1688
1689 /*chmod file*/
1689 /*chmod file*/
1690 .bin.bin6 {
1690 .bin.bin6 {
1691 background-color: @grey2;
1691 background-color: @grey2;
1692 text-align: center;
1692 text-align: center;
1693 }
1693 }
1694 }
1694 }
1695 }
1695 }
1696
1696
1697 .cs_files .cs_added, .cs_files .cs_A,
1697 .cs_files .cs_added, .cs_files .cs_A,
1698 .cs_files .cs_added, .cs_files .cs_M,
1698 .cs_files .cs_added, .cs_files .cs_M,
1699 .cs_files .cs_added, .cs_files .cs_D {
1699 .cs_files .cs_added, .cs_files .cs_D {
1700 height: 16px;
1700 height: 16px;
1701 padding-right: 10px;
1701 padding-right: 10px;
1702 margin-top: 7px;
1702 margin-top: 7px;
1703 text-align: left;
1703 text-align: left;
1704 }
1704 }
1705
1705
1706 .cs_icon_td {
1706 .cs_icon_td {
1707 min-width: 16px;
1707 min-width: 16px;
1708 width: 16px;
1708 width: 16px;
1709 }
1709 }
1710
1710
1711 .pull-request-merge {
1711 .pull-request-merge {
1712 border: 1px solid @grey5;
1712 border: 1px solid @grey5;
1713 padding: 10px 0px 20px;
1713 padding: 10px 0px 20px;
1714 margin-top: 10px;
1714 margin-top: 10px;
1715 margin-bottom: 20px;
1715 margin-bottom: 20px;
1716 }
1716 }
1717
1717
1718 .pull-request-merge ul {
1718 .pull-request-merge ul {
1719 padding: 0px 0px;
1719 padding: 0px 0px;
1720 }
1720 }
1721
1721
1722 .pull-request-merge li {
1722 .pull-request-merge li {
1723 list-style-type: none;
1723 list-style-type: none;
1724 }
1724 }
1725
1725
1726 .pull-request-merge .pull-request-wrap {
1726 .pull-request-merge .pull-request-wrap {
1727 height: auto;
1727 height: auto;
1728 padding: 0px 0px;
1728 padding: 0px 0px;
1729 text-align: right;
1729 text-align: right;
1730 }
1730 }
1731
1731
1732 .pull-request-merge span {
1732 .pull-request-merge span {
1733 margin-right: 5px;
1733 margin-right: 5px;
1734 }
1734 }
1735
1735
1736 .pull-request-merge-actions {
1736 .pull-request-merge-actions {
1737 min-height: 30px;
1737 min-height: 30px;
1738 padding: 0px 0px;
1738 padding: 0px 0px;
1739 }
1739 }
1740
1740
1741 .pull-request-merge-info {
1741 .pull-request-merge-info {
1742 padding: 0px 5px 5px 0px;
1742 padding: 0px 5px 5px 0px;
1743 }
1743 }
1744
1744
1745 .merge-status {
1745 .merge-status {
1746 margin-right: 5px;
1746 margin-right: 5px;
1747 }
1747 }
1748
1748
1749 .merge-message {
1749 .merge-message {
1750 font-size: 1.2em
1750 font-size: 1.2em
1751 }
1751 }
1752
1752
1753 .merge-message.success i,
1753 .merge-message.success i,
1754 .merge-icon.success i {
1754 .merge-icon.success i {
1755 color:@alert1;
1755 color:@alert1;
1756 }
1756 }
1757
1757
1758 .merge-message.warning i,
1758 .merge-message.warning i,
1759 .merge-icon.warning i {
1759 .merge-icon.warning i {
1760 color: @alert3;
1760 color: @alert3;
1761 }
1761 }
1762
1762
1763 .merge-message.error i,
1763 .merge-message.error i,
1764 .merge-icon.error i {
1764 .merge-icon.error i {
1765 color:@alert2;
1765 color:@alert2;
1766 }
1766 }
1767
1767
1768 .pr-versions {
1768 .pr-versions {
1769 font-size: 1.1em;
1769 font-size: 1.1em;
1770
1770
1771 table {
1771 table {
1772 padding: 0px 5px;
1772 padding: 0px 5px;
1773 }
1773 }
1774
1774
1775 td {
1775 td {
1776 line-height: 15px;
1776 line-height: 15px;
1777 }
1777 }
1778
1778
1779 .flag_status {
1779 .flag_status {
1780 margin: 0;
1780 margin: 0;
1781 }
1781 }
1782
1782
1783 .compare-radio-button {
1783 .compare-radio-button {
1784 position: relative;
1784 position: relative;
1785 top: -3px;
1785 top: -3px;
1786 }
1786 }
1787 }
1787 }
1788
1788
1789
1789
1790 #close_pull_request {
1790 #close_pull_request {
1791 margin-right: 0px;
1791 margin-right: 0px;
1792 }
1792 }
1793
1793
1794 .empty_data {
1794 .empty_data {
1795 color: @grey4;
1795 color: @grey4;
1796 }
1796 }
1797
1797
1798 #changeset_compare_view_content {
1798 #changeset_compare_view_content {
1799 margin-bottom: @space;
1799 margin-bottom: @space;
1800 clear: both;
1800 clear: both;
1801 width: 100%;
1801 width: 100%;
1802 box-sizing: border-box;
1802 box-sizing: border-box;
1803 .border-radius(@border-radius);
1803 .border-radius(@border-radius);
1804
1804
1805 .help-block {
1805 .help-block {
1806 margin: @padding 0;
1806 margin: @padding 0;
1807 color: @text-color;
1807 color: @text-color;
1808 &.pre-formatting {
1808 &.pre-formatting {
1809 white-space: pre;
1809 white-space: pre;
1810 }
1810 }
1811 }
1811 }
1812
1812
1813 .empty_data {
1813 .empty_data {
1814 margin: @padding 0;
1814 margin: @padding 0;
1815 }
1815 }
1816
1816
1817 .alert {
1817 .alert {
1818 margin-bottom: @space;
1818 margin-bottom: @space;
1819 }
1819 }
1820 }
1820 }
1821
1821
1822 .table_disp {
1822 .table_disp {
1823 .status {
1823 .status {
1824 width: auto;
1824 width: auto;
1825
1825
1826 .flag_status {
1826 .flag_status {
1827 float: left;
1827 float: left;
1828 }
1828 }
1829 }
1829 }
1830 }
1830 }
1831
1831
1832
1832
1833 .creation_in_progress {
1833 .creation_in_progress {
1834 color: @grey4
1834 color: @grey4
1835 }
1835 }
1836
1836
1837 .status_box_menu {
1837 .status_box_menu {
1838 margin: 0;
1838 margin: 0;
1839 }
1839 }
1840
1840
1841 .notification-table{
1841 .notification-table{
1842 margin-bottom: @space;
1842 margin-bottom: @space;
1843 display: table;
1843 display: table;
1844 width: 100%;
1844 width: 100%;
1845
1845
1846 .container{
1846 .container{
1847 display: table-row;
1847 display: table-row;
1848
1848
1849 .notification-header{
1849 .notification-header{
1850 border-bottom: @border-thickness solid @border-default-color;
1850 border-bottom: @border-thickness solid @border-default-color;
1851 }
1851 }
1852
1852
1853 .notification-subject{
1853 .notification-subject{
1854 display: table-cell;
1854 display: table-cell;
1855 }
1855 }
1856 }
1856 }
1857 }
1857 }
1858
1858
1859 // Notifications
1859 // Notifications
1860 .notification-header{
1860 .notification-header{
1861 display: table;
1861 display: table;
1862 width: 100%;
1862 width: 100%;
1863 padding: floor(@basefontsize/2) 0;
1863 padding: floor(@basefontsize/2) 0;
1864 line-height: 1em;
1864 line-height: 1em;
1865
1865
1866 .desc, .delete-notifications, .read-notifications{
1866 .desc, .delete-notifications, .read-notifications{
1867 display: table-cell;
1867 display: table-cell;
1868 text-align: left;
1868 text-align: left;
1869 }
1869 }
1870
1870
1871 .desc{
1871 .desc{
1872 width: 1163px;
1872 width: 1163px;
1873 }
1873 }
1874
1874
1875 .delete-notifications, .read-notifications{
1875 .delete-notifications, .read-notifications{
1876 width: 35px;
1876 width: 35px;
1877 min-width: 35px; //fixes when only one button is displayed
1877 min-width: 35px; //fixes when only one button is displayed
1878 }
1878 }
1879 }
1879 }
1880
1880
1881 .notification-body {
1881 .notification-body {
1882 .markdown-block,
1882 .markdown-block,
1883 .rst-block {
1883 .rst-block {
1884 padding: @padding 0;
1884 padding: @padding 0;
1885 }
1885 }
1886
1886
1887 .notification-subject {
1887 .notification-subject {
1888 padding: @textmargin 0;
1888 padding: @textmargin 0;
1889 border-bottom: @border-thickness solid @border-default-color;
1889 border-bottom: @border-thickness solid @border-default-color;
1890 }
1890 }
1891 }
1891 }
1892
1892
1893
1893
1894 .notifications_buttons{
1894 .notifications_buttons{
1895 float: right;
1895 float: right;
1896 }
1896 }
1897
1897
1898 #notification-status{
1898 #notification-status{
1899 display: inline;
1899 display: inline;
1900 }
1900 }
1901
1901
1902 // Repositories
1902 // Repositories
1903
1903
1904 #summary.fields{
1904 #summary.fields{
1905 display: table;
1905 display: table;
1906
1906
1907 .field{
1907 .field{
1908 display: table-row;
1908 display: table-row;
1909
1909
1910 .label-summary{
1910 .label-summary{
1911 display: table-cell;
1911 display: table-cell;
1912 min-width: @label-summary-minwidth;
1912 min-width: @label-summary-minwidth;
1913 padding-top: @padding/2;
1913 padding-top: @padding/2;
1914 padding-bottom: @padding/2;
1914 padding-bottom: @padding/2;
1915 padding-right: @padding/2;
1915 padding-right: @padding/2;
1916 }
1916 }
1917
1917
1918 .input{
1918 .input{
1919 display: table-cell;
1919 display: table-cell;
1920 padding: @padding/2;
1920 padding: @padding/2;
1921
1921
1922 input{
1922 input{
1923 min-width: 29em;
1923 min-width: 29em;
1924 padding: @padding/4;
1924 padding: @padding/4;
1925 }
1925 }
1926 }
1926 }
1927 .statistics, .downloads{
1927 .statistics, .downloads{
1928 .disabled{
1928 .disabled{
1929 color: @grey4;
1929 color: @grey4;
1930 }
1930 }
1931 }
1931 }
1932 }
1932 }
1933 }
1933 }
1934
1934
1935 #summary{
1935 #summary{
1936 width: 70%;
1936 width: 70%;
1937 }
1937 }
1938
1938
1939
1939
1940 // Journal
1940 // Journal
1941 .journal.title {
1941 .journal.title {
1942 h5 {
1942 h5 {
1943 float: left;
1943 float: left;
1944 margin: 0;
1944 margin: 0;
1945 width: 70%;
1945 width: 70%;
1946 }
1946 }
1947
1947
1948 ul {
1948 ul {
1949 float: right;
1949 float: right;
1950 display: inline-block;
1950 display: inline-block;
1951 margin: 0;
1951 margin: 0;
1952 width: 30%;
1952 width: 30%;
1953 text-align: right;
1953 text-align: right;
1954
1954
1955 li {
1955 li {
1956 display: inline;
1956 display: inline;
1957 font-size: @journal-fontsize;
1957 font-size: @journal-fontsize;
1958 line-height: 1em;
1958 line-height: 1em;
1959
1959
1960 list-style-type: none;
1960 list-style-type: none;
1961 }
1961 }
1962 }
1962 }
1963 }
1963 }
1964
1964
1965 .filterexample {
1965 .filterexample {
1966 position: absolute;
1966 position: absolute;
1967 top: 95px;
1967 top: 95px;
1968 left: @contentpadding;
1968 left: @contentpadding;
1969 color: @rcblue;
1969 color: @rcblue;
1970 font-size: 11px;
1970 font-size: 11px;
1971 font-family: @text-regular;
1971 font-family: @text-regular;
1972 cursor: help;
1972 cursor: help;
1973
1973
1974 &:hover {
1974 &:hover {
1975 color: @rcdarkblue;
1975 color: @rcdarkblue;
1976 }
1976 }
1977
1977
1978 @media (max-width:768px) {
1978 @media (max-width:768px) {
1979 position: relative;
1979 position: relative;
1980 top: auto;
1980 top: auto;
1981 left: auto;
1981 left: auto;
1982 display: block;
1982 display: block;
1983 }
1983 }
1984 }
1984 }
1985
1985
1986
1986
1987 #journal{
1987 #journal{
1988 margin-bottom: @space;
1988 margin-bottom: @space;
1989
1989
1990 .journal_day{
1990 .journal_day{
1991 margin-bottom: @textmargin/2;
1991 margin-bottom: @textmargin/2;
1992 padding-bottom: @textmargin/2;
1992 padding-bottom: @textmargin/2;
1993 font-size: @journal-fontsize;
1993 font-size: @journal-fontsize;
1994 border-bottom: @border-thickness solid @border-default-color;
1994 border-bottom: @border-thickness solid @border-default-color;
1995 }
1995 }
1996
1996
1997 .journal_container{
1997 .journal_container{
1998 margin-bottom: @space;
1998 margin-bottom: @space;
1999
1999
2000 .journal_user{
2000 .journal_user{
2001 display: inline-block;
2001 display: inline-block;
2002 }
2002 }
2003 .journal_action_container{
2003 .journal_action_container{
2004 display: block;
2004 display: block;
2005 margin-top: @textmargin;
2005 margin-top: @textmargin;
2006
2006
2007 div{
2007 div{
2008 display: inline;
2008 display: inline;
2009 }
2009 }
2010
2010
2011 div.journal_action_params{
2011 div.journal_action_params{
2012 display: block;
2012 display: block;
2013 }
2013 }
2014
2014
2015 div.journal_repo:after{
2015 div.journal_repo:after{
2016 content: "\A";
2016 content: "\A";
2017 white-space: pre;
2017 white-space: pre;
2018 }
2018 }
2019
2019
2020 div.date{
2020 div.date{
2021 display: block;
2021 display: block;
2022 margin-bottom: @textmargin;
2022 margin-bottom: @textmargin;
2023 }
2023 }
2024 }
2024 }
2025 }
2025 }
2026 }
2026 }
2027
2027
2028 // Files
2028 // Files
2029 .edit-file-title {
2029 .edit-file-title {
2030 border-bottom: @border-thickness solid @border-default-color;
2030 border-bottom: @border-thickness solid @border-default-color;
2031
2031
2032 .breadcrumbs {
2032 .breadcrumbs {
2033 margin-bottom: 0;
2033 margin-bottom: 0;
2034 }
2034 }
2035 }
2035 }
2036
2036
2037 .edit-file-fieldset {
2037 .edit-file-fieldset {
2038 margin-top: @sidebarpadding;
2038 margin-top: @sidebarpadding;
2039
2039
2040 .fieldset {
2040 .fieldset {
2041 .left-label {
2041 .left-label {
2042 width: 13%;
2042 width: 13%;
2043 }
2043 }
2044 .right-content {
2044 .right-content {
2045 width: 87%;
2045 width: 87%;
2046 max-width: 100%;
2046 max-width: 100%;
2047 }
2047 }
2048 .filename-label {
2048 .filename-label {
2049 margin-top: 13px;
2049 margin-top: 13px;
2050 }
2050 }
2051 .commit-message-label {
2051 .commit-message-label {
2052 margin-top: 4px;
2052 margin-top: 4px;
2053 }
2053 }
2054 .file-upload-input {
2054 .file-upload-input {
2055 input {
2055 input {
2056 display: none;
2056 display: none;
2057 }
2057 }
2058 margin-top: 10px;
2058 margin-top: 10px;
2059 }
2059 }
2060 .file-upload-label {
2060 .file-upload-label {
2061 margin-top: 10px;
2061 margin-top: 10px;
2062 }
2062 }
2063 p {
2063 p {
2064 margin-top: 5px;
2064 margin-top: 5px;
2065 }
2065 }
2066
2066
2067 }
2067 }
2068 .custom-path-link {
2068 .custom-path-link {
2069 margin-left: 5px;
2069 margin-left: 5px;
2070 }
2070 }
2071 #commit {
2071 #commit {
2072 resize: vertical;
2072 resize: vertical;
2073 }
2073 }
2074 }
2074 }
2075
2075
2076 .delete-file-preview {
2076 .delete-file-preview {
2077 max-height: 250px;
2077 max-height: 250px;
2078 }
2078 }
2079
2079
2080 .new-file,
2080 .new-file,
2081 #filter_activate,
2081 #filter_activate,
2082 #filter_deactivate {
2082 #filter_deactivate {
2083 float: left;
2083 float: left;
2084 margin: 0 0 0 15px;
2084 margin: 0 0 0 15px;
2085 }
2085 }
2086
2086
2087 h3.files_location{
2087 h3.files_location{
2088 line-height: 2.4em;
2088 line-height: 2.4em;
2089 }
2089 }
2090
2090
2091 .browser-nav {
2091 .browser-nav {
2092 display: table;
2092 display: table;
2093 margin-bottom: @space;
2093 margin-bottom: @space;
2094
2094
2095
2095
2096 .info_box {
2096 .info_box {
2097 display: inline-table;
2097 display: inline-table;
2098 height: 2.5em;
2098 height: 2.5em;
2099
2099
2100 .browser-cur-rev, .info_box_elem {
2100 .browser-cur-rev, .info_box_elem {
2101 display: table-cell;
2101 display: table-cell;
2102 vertical-align: middle;
2102 vertical-align: middle;
2103 }
2103 }
2104
2104
2105 .info_box_elem {
2105 .info_box_elem {
2106 border-top: @border-thickness solid @rcblue;
2106 border-top: @border-thickness solid @rcblue;
2107 border-bottom: @border-thickness solid @rcblue;
2107 border-bottom: @border-thickness solid @rcblue;
2108
2108
2109 #at_rev, a {
2109 #at_rev, a {
2110 padding: 0.6em 0.9em;
2110 padding: 0.6em 0.9em;
2111 margin: 0;
2111 margin: 0;
2112 .box-shadow(none);
2112 .box-shadow(none);
2113 border: 0;
2113 border: 0;
2114 height: 12px;
2114 height: 12px;
2115 }
2115 }
2116
2116
2117 input#at_rev {
2117 input#at_rev {
2118 max-width: 50px;
2118 max-width: 50px;
2119 text-align: right;
2119 text-align: right;
2120 }
2120 }
2121
2121
2122 &.previous {
2122 &.previous {
2123 border: @border-thickness solid @rcblue;
2123 border: @border-thickness solid @rcblue;
2124 .disabled {
2124 .disabled {
2125 color: @grey4;
2125 color: @grey4;
2126 cursor: not-allowed;
2126 cursor: not-allowed;
2127 }
2127 }
2128 }
2128 }
2129
2129
2130 &.next {
2130 &.next {
2131 border: @border-thickness solid @rcblue;
2131 border: @border-thickness solid @rcblue;
2132 .disabled {
2132 .disabled {
2133 color: @grey4;
2133 color: @grey4;
2134 cursor: not-allowed;
2134 cursor: not-allowed;
2135 }
2135 }
2136 }
2136 }
2137 }
2137 }
2138
2138
2139 .browser-cur-rev {
2139 .browser-cur-rev {
2140
2140
2141 span{
2141 span{
2142 margin: 0;
2142 margin: 0;
2143 color: @rcblue;
2143 color: @rcblue;
2144 height: 12px;
2144 height: 12px;
2145 display: inline-block;
2145 display: inline-block;
2146 padding: 0.7em 1em ;
2146 padding: 0.7em 1em ;
2147 border: @border-thickness solid @rcblue;
2147 border: @border-thickness solid @rcblue;
2148 margin-right: @padding;
2148 margin-right: @padding;
2149 }
2149 }
2150 }
2150 }
2151 }
2151 }
2152
2152
2153 .search_activate {
2153 .search_activate {
2154 display: table-cell;
2154 display: table-cell;
2155 vertical-align: middle;
2155 vertical-align: middle;
2156
2156
2157 input, label{
2157 input, label{
2158 margin: 0;
2158 margin: 0;
2159 padding: 0;
2159 padding: 0;
2160 }
2160 }
2161
2161
2162 input{
2162 input{
2163 margin-left: @textmargin;
2163 margin-left: @textmargin;
2164 }
2164 }
2165
2165
2166 }
2166 }
2167 }
2167 }
2168
2168
2169 .browser-cur-rev{
2169 .browser-cur-rev{
2170 margin-bottom: @textmargin;
2170 margin-bottom: @textmargin;
2171 }
2171 }
2172
2172
2173 #node_filter_box_loading{
2173 #node_filter_box_loading{
2174 .info_text;
2174 .info_text;
2175 }
2175 }
2176
2176
2177 .browser-search {
2177 .browser-search {
2178 margin: -25px 0px 5px 0px;
2178 margin: -25px 0px 5px 0px;
2179 }
2179 }
2180
2180
2181 .node-filter {
2181 .node-filter {
2182 font-size: @repo-title-fontsize;
2182 font-size: @repo-title-fontsize;
2183 padding: 4px 0px 0px 0px;
2183 padding: 4px 0px 0px 0px;
2184
2184
2185 .node-filter-path {
2185 .node-filter-path {
2186 float: left;
2186 float: left;
2187 color: @grey4;
2187 color: @grey4;
2188 }
2188 }
2189 .node-filter-input {
2189 .node-filter-input {
2190 float: left;
2190 float: left;
2191 margin: -2px 0px 0px 2px;
2191 margin: -2px 0px 0px 2px;
2192 input {
2192 input {
2193 padding: 2px;
2193 padding: 2px;
2194 border: none;
2194 border: none;
2195 font-size: @repo-title-fontsize;
2195 font-size: @repo-title-fontsize;
2196 }
2196 }
2197 }
2197 }
2198 }
2198 }
2199
2199
2200
2200
2201 .browser-result{
2201 .browser-result{
2202 td a{
2202 td a{
2203 margin-left: 0.5em;
2203 margin-left: 0.5em;
2204 display: inline-block;
2204 display: inline-block;
2205
2205
2206 em {
2206 em {
2207 font-weight: @text-bold-weight;
2207 font-weight: @text-bold-weight;
2208 font-family: @text-bold;
2208 font-family: @text-bold;
2209 }
2209 }
2210 }
2210 }
2211 }
2211 }
2212
2212
2213 .browser-highlight{
2213 .browser-highlight{
2214 background-color: @grey5-alpha;
2214 background-color: @grey5-alpha;
2215 }
2215 }
2216
2216
2217
2217
2218 // Search
2218 // Search
2219
2219
2220 .search-form{
2220 .search-form{
2221 #q {
2221 #q {
2222 width: @search-form-width;
2222 width: @search-form-width;
2223 }
2223 }
2224 .fields{
2224 .fields{
2225 margin: 0 0 @space;
2225 margin: 0 0 @space;
2226 }
2226 }
2227
2227
2228 label{
2228 label{
2229 display: inline-block;
2229 display: inline-block;
2230 margin-right: @textmargin;
2230 margin-right: @textmargin;
2231 padding-top: 0.25em;
2231 padding-top: 0.25em;
2232 }
2232 }
2233
2233
2234
2234
2235 .results{
2235 .results{
2236 clear: both;
2236 clear: both;
2237 margin: 0 0 @padding;
2237 margin: 0 0 @padding;
2238 }
2238 }
2239 }
2239 }
2240
2240
2241 div.search-feedback-items {
2241 div.search-feedback-items {
2242 display: inline-block;
2242 display: inline-block;
2243 }
2243 }
2244
2244
2245 div.search-code-body {
2245 div.search-code-body {
2246 background-color: #ffffff; padding: 5px 0 5px 10px;
2246 background-color: #ffffff; padding: 5px 0 5px 10px;
2247 pre {
2247 pre {
2248 .match { background-color: #faffa6;}
2248 .match { background-color: #faffa6;}
2249 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2249 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2250 }
2250 }
2251 }
2251 }
2252
2252
2253 .expand_commit.search {
2253 .expand_commit.search {
2254 .show_more.open {
2254 .show_more.open {
2255 height: auto;
2255 height: auto;
2256 max-height: none;
2256 max-height: none;
2257 }
2257 }
2258 }
2258 }
2259
2259
2260 .search-results {
2260 .search-results {
2261
2261
2262 h2 {
2262 h2 {
2263 margin-bottom: 0;
2263 margin-bottom: 0;
2264 }
2264 }
2265 .codeblock {
2265 .codeblock {
2266 border: none;
2266 border: none;
2267 background: transparent;
2267 background: transparent;
2268 }
2268 }
2269
2269
2270 .codeblock-header {
2270 .codeblock-header {
2271 border: none;
2271 border: none;
2272 background: transparent;
2272 background: transparent;
2273 }
2273 }
2274
2274
2275 .code-body {
2275 .code-body {
2276 border: @border-thickness solid @border-default-color;
2276 border: @border-thickness solid @border-default-color;
2277 .border-radius(@border-radius);
2277 .border-radius(@border-radius);
2278 }
2278 }
2279
2279
2280 .td-commit {
2280 .td-commit {
2281 &:extend(pre);
2281 &:extend(pre);
2282 border-bottom: @border-thickness solid @border-default-color;
2282 border-bottom: @border-thickness solid @border-default-color;
2283 }
2283 }
2284
2284
2285 .message {
2285 .message {
2286 height: auto;
2286 height: auto;
2287 max-width: 350px;
2287 max-width: 350px;
2288 white-space: normal;
2288 white-space: normal;
2289 text-overflow: initial;
2289 text-overflow: initial;
2290 overflow: visible;
2290 overflow: visible;
2291
2291
2292 .match { background-color: #faffa6;}
2292 .match { background-color: #faffa6;}
2293 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2293 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2294 }
2294 }
2295
2295
2296 }
2296 }
2297
2297
2298 table.rctable td.td-search-results div {
2298 table.rctable td.td-search-results div {
2299 max-width: 100%;
2299 max-width: 100%;
2300 }
2300 }
2301
2301
2302 #tip-box, .tip-box{
2302 #tip-box, .tip-box{
2303 padding: @menupadding/2;
2303 padding: @menupadding/2;
2304 display: block;
2304 display: block;
2305 border: @border-thickness solid @border-highlight-color;
2305 border: @border-thickness solid @border-highlight-color;
2306 .border-radius(@border-radius);
2306 .border-radius(@border-radius);
2307 background-color: white;
2307 background-color: white;
2308 z-index: 99;
2308 z-index: 99;
2309 white-space: pre-wrap;
2309 white-space: pre-wrap;
2310 }
2310 }
2311
2311
2312 #linktt {
2312 #linktt {
2313 width: 79px;
2313 width: 79px;
2314 }
2314 }
2315
2315
2316 #help_kb .modal-content{
2316 #help_kb .modal-content{
2317 max-width: 750px;
2317 max-width: 750px;
2318 margin: 10% auto;
2318 margin: 10% auto;
2319
2319
2320 table{
2320 table{
2321 td,th{
2321 td,th{
2322 border-bottom: none;
2322 border-bottom: none;
2323 line-height: 2.5em;
2323 line-height: 2.5em;
2324 }
2324 }
2325 th{
2325 th{
2326 padding-bottom: @textmargin/2;
2326 padding-bottom: @textmargin/2;
2327 }
2327 }
2328 td.keys{
2328 td.keys{
2329 text-align: center;
2329 text-align: center;
2330 }
2330 }
2331 }
2331 }
2332
2332
2333 .block-left{
2333 .block-left{
2334 width: 45%;
2334 width: 45%;
2335 margin-right: 5%;
2335 margin-right: 5%;
2336 }
2336 }
2337 .modal-footer{
2337 .modal-footer{
2338 clear: both;
2338 clear: both;
2339 }
2339 }
2340 .key.tag{
2340 .key.tag{
2341 padding: 0.5em;
2341 padding: 0.5em;
2342 background-color: @rcblue;
2342 background-color: @rcblue;
2343 color: white;
2343 color: white;
2344 border-color: @rcblue;
2344 border-color: @rcblue;
2345 .box-shadow(none);
2345 .box-shadow(none);
2346 }
2346 }
2347 }
2347 }
2348
2348
2349
2349
2350
2350
2351 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2351 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2352
2352
2353 @import 'statistics-graph';
2353 @import 'statistics-graph';
2354 @import 'tables';
2354 @import 'tables';
2355 @import 'forms';
2355 @import 'forms';
2356 @import 'diff';
2356 @import 'diff';
2357 @import 'summary';
2357 @import 'summary';
2358 @import 'navigation';
2358 @import 'navigation';
2359
2359
2360 //--- SHOW/HIDE SECTIONS --//
2360 //--- SHOW/HIDE SECTIONS --//
2361
2361
2362 .btn-collapse {
2362 .btn-collapse {
2363 float: right;
2363 float: right;
2364 text-align: right;
2364 text-align: right;
2365 font-family: @text-light;
2365 font-family: @text-light;
2366 font-size: @basefontsize;
2366 font-size: @basefontsize;
2367 cursor: pointer;
2367 cursor: pointer;
2368 border: none;
2368 border: none;
2369 color: @rcblue;
2369 color: @rcblue;
2370 }
2370 }
2371
2371
2372 table.rctable,
2372 table.rctable,
2373 table.dataTable {
2373 table.dataTable {
2374 .btn-collapse {
2374 .btn-collapse {
2375 float: right;
2375 float: right;
2376 text-align: right;
2376 text-align: right;
2377 }
2377 }
2378 }
2378 }
2379
2379
2380 table.rctable {
2380 table.rctable {
2381 &.permissions {
2381 &.permissions {
2382
2382
2383 th.td-owner {
2383 th.td-owner {
2384 padding: 0;
2384 padding: 0;
2385 }
2385 }
2386
2386
2387 th {
2387 th {
2388 font-weight: normal;
2388 font-weight: normal;
2389 padding: 0 5px;
2389 padding: 0 5px;
2390 }
2390 }
2391
2391
2392 }
2392 }
2393 }
2393 }
2394
2394
2395
2395
2396 // TODO: johbo: Fix for IE10, this avoids that we see a border
2396 // TODO: johbo: Fix for IE10, this avoids that we see a border
2397 // and padding around checkboxes and radio boxes. Move to the right place,
2397 // and padding around checkboxes and radio boxes. Move to the right place,
2398 // or better: Remove this once we did the form refactoring.
2398 // or better: Remove this once we did the form refactoring.
2399 input[type=checkbox],
2399 input[type=checkbox],
2400 input[type=radio] {
2400 input[type=radio] {
2401 padding: 0;
2401 padding: 0;
2402 border: none;
2402 border: none;
2403 }
2403 }
2404
2404
2405 .toggle-ajax-spinner{
2405 .toggle-ajax-spinner{
2406 height: 16px;
2406 height: 16px;
2407 width: 16px;
2407 width: 16px;
2408 }
2408 }
2409
2409
2410
2410
2411 .markup-form .clearfix {
2411 .markup-form .clearfix {
2412 .border-radius(@border-radius);
2412 .border-radius(@border-radius);
2413 margin: 0px;
2413 margin: 0px;
2414 }
2414 }
2415
2415
2416 .markup-form-area {
2416 .markup-form-area {
2417 padding: 8px 12px;
2417 padding: 8px 12px;
2418 border: 1px solid @grey4;
2418 border: 1px solid @grey4;
2419 .border-radius(@border-radius);
2419 .border-radius(@border-radius);
2420 }
2420 }
2421
2421
2422 .markup-form-area-header .nav-links {
2422 .markup-form-area-header .nav-links {
2423 display: flex;
2423 display: flex;
2424 flex-flow: row wrap;
2424 flex-flow: row wrap;
2425 -webkit-flex-flow: row wrap;
2425 -webkit-flex-flow: row wrap;
2426 width: 100%;
2426 width: 100%;
2427 }
2427 }
2428
2428
2429 .markup-form-area-footer {
2429 .markup-form-area-footer {
2430 display: flex;
2430 display: flex;
2431 }
2431 }
2432
2432
2433 .markup-form-area-footer .toolbar {
2433 .markup-form-area-footer .toolbar {
2434
2434
2435 }
2435 }
2436
2436
2437 // markup Form
2437 // markup Form
2438 div.markup-form {
2438 div.markup-form {
2439 margin-top: 20px;
2439 margin-top: 20px;
2440 }
2440 }
2441
2441
2442 .markup-form strong {
2442 .markup-form strong {
2443 display: block;
2443 display: block;
2444 margin-bottom: 15px;
2444 margin-bottom: 15px;
2445 }
2445 }
2446
2446
2447 .markup-form textarea {
2447 .markup-form textarea {
2448 width: 100%;
2448 width: 100%;
2449 height: 100px;
2449 height: 100px;
2450 font-family: @text-monospace;
2450 font-family: @text-monospace;
2451 }
2451 }
2452
2452
2453 form.markup-form {
2453 form.markup-form {
2454 margin-top: 10px;
2454 margin-top: 10px;
2455 margin-left: 10px;
2455 margin-left: 10px;
2456 }
2456 }
2457
2457
2458 .markup-form .comment-block-ta,
2458 .markup-form .comment-block-ta,
2459 .markup-form .preview-box {
2459 .markup-form .preview-box {
2460 .border-radius(@border-radius);
2460 .border-radius(@border-radius);
2461 .box-sizing(border-box);
2461 .box-sizing(border-box);
2462 background-color: white;
2462 background-color: white;
2463 }
2463 }
2464
2464
2465 .markup-form .preview-box.unloaded {
2465 .markup-form .preview-box.unloaded {
2466 height: 50px;
2466 height: 50px;
2467 text-align: center;
2467 text-align: center;
2468 padding: 20px;
2468 padding: 20px;
2469 background-color: white;
2469 background-color: white;
2470 }
2470 }
@@ -1,287 +1,285 b''
1 // summary.less
1 // summary.less
2 // For use in RhodeCode applications;
2 // For use in RhodeCode applications;
3 // Used for headers and file detail summary screens.
3 // Used for headers and file detail summary screens.
4
4
5 .summary {
5 .summary {
6 float: left;
6 float: left;
7 position: relative;
7 position: relative;
8 width: 100%;
8 width: 100%;
9 margin: 0;
9 margin: 0;
10 padding: 0;
10 padding: 0;
11
11
12 .summary-detail-header {
12 .summary-detail-header {
13 float: left;
13 float: left;
14 display: block;
14 display: block;
15 width: 100%;
15 width: 100%;
16 margin-bottom: @textmargin;
16 margin-bottom: @textmargin;
17 padding: 0 0 .5em 0;
17 padding: 0 0 .5em 0;
18 border-bottom: @border-thickness solid @border-default-color;
18 border-bottom: @border-thickness solid @border-default-color;
19
19
20 .breadcrumbs {
20 .breadcrumbs {
21 float: left;
21 float: left;
22 display: inline;
22 display: inline;
23 margin: 0;
23 margin: 0;
24 padding: 0;
24 padding: 0;
25 }
25 }
26 h4 {
26 h4 {
27 float: left;
27 float: left;
28 margin: 0 1em 0 0;
28 margin: 0 1em 0 0;
29 padding: 0;
29 padding: 0;
30 line-height: 1.2em;
30 line-height: 1.2em;
31 font-size: @basefontsize;
31 font-size: @basefontsize;
32 }
32 }
33
33
34 .action_link {
34 .action_link {
35 float: right;
35 float: right;
36 }
36 }
37
37
38 .new-file {
38 .new-file {
39 float: right;
39 float: right;
40 margin-top: -1.5em;
40 margin-top: -1.5em;
41 }
41 }
42 }
42 }
43
43
44 .summary-detail {
44 .summary-detail {
45 float: left;
45 float: left;
46 position: relative;
46 position: relative;
47 width: 73%;
47 width: 73%;
48 margin: 0 3% @space 0;
48 margin: 0 3% @space 0;
49 padding: 0;
49 padding: 0;
50
50
51 .file_diff_buttons {
51 .file_diff_buttons {
52 margin-top: @space;
52 margin-top: @space;
53 }
53 }
54
54
55 // commit message
55 // commit message
56 .commit {
56 .commit {
57 white-space: pre-wrap;
57 white-space: pre-wrap;
58 }
58 }
59
59
60 .left-clone {
60 .left-clone {
61 float: left;
61 float: left;
62 height: 30px;
62 height: 30px;
63 margin: 0;
63 margin: 0;
64 padding: 0;
64 padding: 0;
65 font-weight: @text-semibold-weight;
65 font-weight: @text-semibold-weight;
66 font-family: @text-semibold;
66 font-family: @text-semibold;
67 }
67 }
68
68
69 .right-clone {
69 .right-clone {
70 float: right;
70 float: right;
71 width: 83%;
71 width: 83%;
72 }
72 }
73
73
74 .clone_url_input {
74 .clone_url_input {
75 width: ~"calc(100% - 35px)";
75 width: ~"calc(100% - 35px)";
76 padding: 5px;
76 padding: 5px;
77 }
77 }
78
78
79 &.directory {
79 &.directory {
80 margin-bottom: 0;
80 margin-bottom: 0;
81 }
81 }
82
82
83 .desc {
83 .desc {
84 white-space: pre-wrap;
84 white-space: pre-wrap;
85 }
85 }
86 .disabled {
86 .disabled {
87 opacity: .5;
87 opacity: .5;
88 cursor: inherit;
88 cursor: inherit;
89 }
89 }
90 .help-block {
90 .help-block {
91 color: inherit;
91 color: inherit;
92 margin: 0;
92 margin: 0;
93 }
93 }
94 }
94 }
95
95
96 .sidebar-right {
96 .sidebar-right {
97 float: left;
97 float: left;
98 width: 24%;
98 width: 24%;
99 margin: 0;
99 margin: 0;
100 padding: 0;
100 padding: 0;
101
101
102 ul {
102 ul {
103 margin-left: 0;
103 margin-left: 0;
104 padding-left: 0;
104 padding-left: 0;
105
105
106 li {
106 li {
107 list-style-type: none;
107 list-style-type: none;
108 }
108 }
109 }
109 }
110 }
110 }
111
111
112 #clone_by_name, #clone_by_id{
112 #clone_by_name, #clone_by_id{
113 display: inline-block;
113 display: inline-block;
114 margin-left: 0px;
114 margin-left: 0px;
115 }
115 }
116
116
117 .codeblock {
117 .codeblock {
118 border: none;
118 border: none;
119 background-color: transparent;
119 background-color: transparent;
120 }
120 }
121
121
122 .code-body {
122 .code-body {
123 border: @border-thickness solid @border-default-color;
123 border: @border-thickness solid @border-default-color;
124 .border-radius(@border-radius);
124 .border-radius(@border-radius);
125 }
125 }
126 }
126 }
127
127
128 // this is used outside of just the summary
128 // this is used outside of just the summary
129 .fieldset, // similar to form fieldset
129 .fieldset, // similar to form fieldset
130 .summary .sidebar-right-content { // these have to match
130 .summary .sidebar-right-content { // these have to match
131 clear: both;
131 clear: both;
132 float: left;
132 float: left;
133 position: relative;
133 position: relative;
134 display:block;
134 display:block;
135 width: 100%;
135 width: 100%;
136 min-height: 1em;
136 min-height: 1em;
137 margin-bottom: @textmargin;
137 margin-bottom: @textmargin;
138 padding: 0;
138 padding: 0;
139 line-height: 1.2em;
139 line-height: 1.2em;
140
140
141 &:after { // clearfix
141 &:after { // clearfix
142 content: "";
142 content: "";
143 clear: both;
143 clear: both;
144 width: 100%;
144 width: 100%;
145 height: 1em;
145 height: 1em;
146 }
146 }
147 }
147 }
148
148
149 .summary .sidebar-right-content {
149 .summary .sidebar-right-content {
150 margin-bottom: @space;
150 margin-bottom: @space;
151
151
152 .rc-user {
152 .rc-user {
153 min-width: 0;
153 min-width: 0;
154 }
154 }
155 }
155 }
156
156
157 .fieldset {
157 .fieldset {
158
158
159 .left-label { // similar to form legend
159 .left-label { // similar to form legend
160 float: left;
160 float: left;
161 display: block;
161 display: block;
162 width: 25%;
162 width: 25%;
163 margin: 0;
163 margin: 0;
164 padding: 0;
164 padding: 0;
165 font-weight: @text-semibold-weight;
165 font-weight: @text-semibold-weight;
166 font-family: @text-semibold;
166 font-family: @text-semibold;
167 }
167 }
168
168
169 .left-label-summary {
169 .left-label-summary {
170 .left-label;
170 .left-label;
171 width: 150px;
171 width: 150px;
172 }
172 }
173
173
174 .right-content { // similar to form fields
174 .right-content { // similar to form fields
175 float: left;
175 float: left;
176 display: block;
176 display: block;
177 width: 75%;
177 width: 75%;
178 margin: 0 0 0 -15%;
178 margin: 0 0 0 -15%;
179 padding: 0 0 0 15%;
179 padding: 0 0 0 15%;
180
180
181 .truncate-wrap,
181 .truncate-wrap,
182 .truncate {
182 .truncate {
183 max-width: 100%;
183 max-width: 100%;
184 width: 100%;
184 width: 100%;
185 }
185 }
186
186
187 .commit-long {
187 .commit-long {
188 overflow-x: auto;
188 overflow-x: auto;
189 }
189 }
190 }
190 }
191 .commit.truncate-wrap {
191 .commit.truncate-wrap {
192 overflow:hidden;
192 overflow:hidden;
193 text-overflow: ellipsis;
193 text-overflow: ellipsis;
194 }
194 }
195 }
195 }
196
196
197 // expand commit message
197 // expand commit message
198 #message_expand {
198 #message_expand {
199 clear: both;
199 clear: both;
200 display: block;
200 display: block;
201 color: @rcblue;
201 color: @rcblue;
202 cursor: pointer;
202 cursor: pointer;
203 }
203 }
204
204
205 #trimmed_message_box {
205 #trimmed_message_box {
206 max-height: floor(2 * @basefontsize * 1.2); // 2 lines * line-height
206 max-height: floor(2 * @basefontsize * 1.2); // 2 lines * line-height
207 overflow: hidden;
207 overflow: hidden;
208 }
208 }
209
209
210 // show/hide comments button
210 // show/hide comments button
211 .show-inline-comments {
211 .show-inline-comments {
212 display: inline;
212 display: inline;
213 cursor: pointer;
213 cursor: pointer;
214
214
215 .comments-show { display: inline; }
215 .comments-show { display: inline; }
216 .comments-hide { display: none; }
216 .comments-hide { display: none; }
217
217
218 &.comments-visible {
218 &.comments-visible {
219 .comments-show { display: none; }
219 .comments-show { display: none; }
220 .comments-hide { display: inline; }
220 .comments-hide { display: inline; }
221 }
221 }
222 }
222 }
223
223
224 // Quick Start section
224 // Quick Start section
225 .quick_start {
225 .quick_start {
226 float: left;
226 float: left;
227 display: block;
227 display: block;
228 position: relative;
228 position: relative;
229 width: 100%;
229 width: 100%;
230
230
231 // adds some space to make copy and paste easier
231 // adds some space to make copy and paste easier
232 .left-label,
232 .left-label,
233 .right-content {
233 .right-content {
234 line-height: 1.6em;
234 line-height: 1.6em;
235 }
235 }
236 }
236 }
237
237
238 .submodule {
238 .submodule {
239 .summary-detail {
239 .summary-detail {
240 width: 100%;
240 width: 100%;
241
241
242 .btn-collapse {
242 .btn-collapse {
243 display: none;
243 display: none;
244 }
244 }
245 }
245 }
246 }
246 }
247
247
248 .codeblock-header {
248 .codeblock-header {
249 float: left;
249 float: left;
250 display: block;
250 display: block;
251 width: 100%;
251 width: 100%;
252 margin: 0;
252 margin: 0;
253 padding: @space 0 10px 0;
253 padding: @space 0 10px 0;
254 border-top: @border-thickness solid @border-default-color;
254 border-top: @border-thickness solid @border-default-color;
255
255
256 .stats {
256 .stats {
257 float: left;
257 float: left;
258 width: 50%;
259 }
258 }
260 .stats-filename {
259 .stats-filename {
261 font-size: 120%;
260 font-size: 120%;
262 }
261 }
263 .stats-first-item {
262 .stats-first-item {
264 padding: 0px 0px 0px 3px;
263 padding: 0px 0px 0px 3px;
265 }
264 }
266
265
267 .buttons {
266 .buttons {
268 float: right;
267 float: right;
269 width: 50%;
270 text-align: right;
268 text-align: right;
271 color: @grey4;
269 color: @grey4;
272 }
270 }
273 }
271 }
274
272
275 #summary-menu-stats {
273 #summary-menu-stats {
276
274
277 .stats-bullet {
275 .stats-bullet {
278 color: @grey3;
276 color: @grey3;
279 min-width: 3em;
277 min-width: 3em;
280 }
278 }
281
279
282 .repo-size {
280 .repo-size {
283 margin-bottom: .5em;
281 margin-bottom: .5em;
284 }
282 }
285
283
286 }
284 }
287
285
General Comments 0
You need to be logged in to leave comments. Login now