##// END OF EJS Templates
ui: make permissions th less dense
marcink -
r3185:442125de default
parent child Browse files
Show More
@@ -1,2453 +1,2468 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-family: @text-semibold;
37 font-family: @text-semibold;
38 font-size: 120%;
38 font-size: 120%;
39 color: white;
39 color: white;
40 background-color: @alert2;
40 background-color: @alert2;
41 padding: 5px 0 5px 0;
41 padding: 5px 0 5px 0;
42 }
42 }
43
43
44 html {
44 html {
45 display: table;
45 display: table;
46 height: 100%;
46 height: 100%;
47 width: 100%;
47 width: 100%;
48 }
48 }
49
49
50 body {
50 body {
51 display: table-cell;
51 display: table-cell;
52 width: 100%;
52 width: 100%;
53 }
53 }
54
54
55 //--- LAYOUT ------------------//
55 //--- LAYOUT ------------------//
56
56
57 .hidden{
57 .hidden{
58 display: none !important;
58 display: none !important;
59 }
59 }
60
60
61 .box{
61 .box{
62 float: left;
62 float: left;
63 width: 100%;
63 width: 100%;
64 }
64 }
65
65
66 .browser-header {
66 .browser-header {
67 clear: both;
67 clear: both;
68 }
68 }
69 .main {
69 .main {
70 clear: both;
70 clear: both;
71 padding:0 0 @pagepadding;
71 padding:0 0 @pagepadding;
72 height: auto;
72 height: auto;
73
73
74 &:after { //clearfix
74 &:after { //clearfix
75 content:"";
75 content:"";
76 clear:both;
76 clear:both;
77 width:100%;
77 width:100%;
78 display:block;
78 display:block;
79 }
79 }
80 }
80 }
81
81
82 .action-link{
82 .action-link{
83 margin-left: @padding;
83 margin-left: @padding;
84 padding-left: @padding;
84 padding-left: @padding;
85 border-left: @border-thickness solid @border-default-color;
85 border-left: @border-thickness solid @border-default-color;
86 }
86 }
87
87
88 input + .action-link, .action-link.first{
88 input + .action-link, .action-link.first{
89 border-left: none;
89 border-left: none;
90 }
90 }
91
91
92 .action-link.last{
92 .action-link.last{
93 margin-right: @padding;
93 margin-right: @padding;
94 padding-right: @padding;
94 padding-right: @padding;
95 }
95 }
96
96
97 .action-link.active,
97 .action-link.active,
98 .action-link.active a{
98 .action-link.active a{
99 color: @grey4;
99 color: @grey4;
100 }
100 }
101
101
102 .action-link.disabled {
102 .action-link.disabled {
103 color: @grey4;
103 color: @grey4;
104 cursor: inherit;
104 cursor: inherit;
105 }
105 }
106
106
107 .clipboard-action {
107 .clipboard-action {
108 cursor: pointer;
108 cursor: pointer;
109 }
109 }
110
110
111 ul.simple-list{
111 ul.simple-list{
112 list-style: none;
112 list-style: none;
113 margin: 0;
113 margin: 0;
114 padding: 0;
114 padding: 0;
115 }
115 }
116
116
117 .main-content {
117 .main-content {
118 padding-bottom: @pagepadding;
118 padding-bottom: @pagepadding;
119 }
119 }
120
120
121 .wide-mode-wrapper {
121 .wide-mode-wrapper {
122 max-width:4000px !important;
122 max-width:4000px !important;
123 }
123 }
124
124
125 .wrapper {
125 .wrapper {
126 position: relative;
126 position: relative;
127 max-width: @wrapper-maxwidth;
127 max-width: @wrapper-maxwidth;
128 margin: 0 auto;
128 margin: 0 auto;
129 }
129 }
130
130
131 #content {
131 #content {
132 clear: both;
132 clear: both;
133 padding: 0 @contentpadding;
133 padding: 0 @contentpadding;
134 }
134 }
135
135
136 .advanced-settings-fields{
136 .advanced-settings-fields{
137 input{
137 input{
138 margin-left: @textmargin;
138 margin-left: @textmargin;
139 margin-right: @padding/2;
139 margin-right: @padding/2;
140 }
140 }
141 }
141 }
142
142
143 .cs_files_title {
143 .cs_files_title {
144 margin: @pagepadding 0 0;
144 margin: @pagepadding 0 0;
145 }
145 }
146
146
147 input.inline[type="file"] {
147 input.inline[type="file"] {
148 display: inline;
148 display: inline;
149 }
149 }
150
150
151 .error_page {
151 .error_page {
152 margin: 10% auto;
152 margin: 10% auto;
153
153
154 h1 {
154 h1 {
155 color: @grey2;
155 color: @grey2;
156 }
156 }
157
157
158 .alert {
158 .alert {
159 margin: @padding 0;
159 margin: @padding 0;
160 }
160 }
161
161
162 .error-branding {
162 .error-branding {
163 font-family: @text-semibold;
163 font-family: @text-semibold;
164 color: @grey4;
164 color: @grey4;
165 }
165 }
166
166
167 .error_message {
167 .error_message {
168 font-family: @text-regular;
168 font-family: @text-regular;
169 }
169 }
170
170
171 .sidebar {
171 .sidebar {
172 min-height: 275px;
172 min-height: 275px;
173 margin: 0;
173 margin: 0;
174 padding: 0 0 @sidebarpadding @sidebarpadding;
174 padding: 0 0 @sidebarpadding @sidebarpadding;
175 border: none;
175 border: none;
176 }
176 }
177
177
178 .main-content {
178 .main-content {
179 position: relative;
179 position: relative;
180 margin: 0 @sidebarpadding @sidebarpadding;
180 margin: 0 @sidebarpadding @sidebarpadding;
181 padding: 0 0 0 @sidebarpadding;
181 padding: 0 0 0 @sidebarpadding;
182 border-left: @border-thickness solid @grey5;
182 border-left: @border-thickness solid @grey5;
183
183
184 @media (max-width:767px) {
184 @media (max-width:767px) {
185 clear: both;
185 clear: both;
186 width: 100%;
186 width: 100%;
187 margin: 0;
187 margin: 0;
188 border: none;
188 border: none;
189 }
189 }
190 }
190 }
191
191
192 .inner-column {
192 .inner-column {
193 float: left;
193 float: left;
194 width: 29.75%;
194 width: 29.75%;
195 min-height: 150px;
195 min-height: 150px;
196 margin: @sidebarpadding 2% 0 0;
196 margin: @sidebarpadding 2% 0 0;
197 padding: 0 2% 0 0;
197 padding: 0 2% 0 0;
198 border-right: @border-thickness solid @grey5;
198 border-right: @border-thickness solid @grey5;
199
199
200 @media (max-width:767px) {
200 @media (max-width:767px) {
201 clear: both;
201 clear: both;
202 width: 100%;
202 width: 100%;
203 border: none;
203 border: none;
204 }
204 }
205
205
206 ul {
206 ul {
207 padding-left: 1.25em;
207 padding-left: 1.25em;
208 }
208 }
209
209
210 &:last-child {
210 &:last-child {
211 margin: @sidebarpadding 0 0;
211 margin: @sidebarpadding 0 0;
212 border: none;
212 border: none;
213 }
213 }
214
214
215 h4 {
215 h4 {
216 margin: 0 0 @padding;
216 margin: 0 0 @padding;
217 font-family: @text-semibold;
217 font-family: @text-semibold;
218 }
218 }
219 }
219 }
220 }
220 }
221 .error-page-logo {
221 .error-page-logo {
222 width: 130px;
222 width: 130px;
223 height: 160px;
223 height: 160px;
224 }
224 }
225
225
226 // HEADER
226 // HEADER
227 .header {
227 .header {
228
228
229 // TODO: johbo: Fix login pages, so that they work without a min-height
229 // TODO: johbo: Fix login pages, so that they work without a min-height
230 // for the header and then remove the min-height. I chose a smaller value
230 // for the header and then remove the min-height. I chose a smaller value
231 // intentionally here to avoid rendering issues in the main navigation.
231 // intentionally here to avoid rendering issues in the main navigation.
232 min-height: 49px;
232 min-height: 49px;
233
233
234 position: relative;
234 position: relative;
235 vertical-align: bottom;
235 vertical-align: bottom;
236 padding: 0 @header-padding;
236 padding: 0 @header-padding;
237 background-color: @grey2;
237 background-color: @grey2;
238 color: @grey5;
238 color: @grey5;
239
239
240 .title {
240 .title {
241 overflow: visible;
241 overflow: visible;
242 }
242 }
243
243
244 &:before,
244 &:before,
245 &:after {
245 &:after {
246 content: "";
246 content: "";
247 clear: both;
247 clear: both;
248 width: 100%;
248 width: 100%;
249 }
249 }
250
250
251 // TODO: johbo: Avoids breaking "Repositories" chooser
251 // TODO: johbo: Avoids breaking "Repositories" chooser
252 .select2-container .select2-choice .select2-arrow {
252 .select2-container .select2-choice .select2-arrow {
253 display: none;
253 display: none;
254 }
254 }
255 }
255 }
256
256
257 #header-inner {
257 #header-inner {
258 &.title {
258 &.title {
259 margin: 0;
259 margin: 0;
260 }
260 }
261 &:before,
261 &:before,
262 &:after {
262 &:after {
263 content: "";
263 content: "";
264 clear: both;
264 clear: both;
265 }
265 }
266 }
266 }
267
267
268 // Gists
268 // Gists
269 #files_data {
269 #files_data {
270 clear: both; //for firefox
270 clear: both; //for firefox
271 }
271 }
272 #gistid {
272 #gistid {
273 margin-right: @padding;
273 margin-right: @padding;
274 }
274 }
275
275
276 // Global Settings Editor
276 // Global Settings Editor
277 .textarea.editor {
277 .textarea.editor {
278 float: left;
278 float: left;
279 position: relative;
279 position: relative;
280 max-width: @texteditor-width;
280 max-width: @texteditor-width;
281
281
282 select {
282 select {
283 position: absolute;
283 position: absolute;
284 top:10px;
284 top:10px;
285 right:0;
285 right:0;
286 }
286 }
287
287
288 .CodeMirror {
288 .CodeMirror {
289 margin: 0;
289 margin: 0;
290 }
290 }
291
291
292 .help-block {
292 .help-block {
293 margin: 0 0 @padding;
293 margin: 0 0 @padding;
294 padding:.5em;
294 padding:.5em;
295 background-color: @grey6;
295 background-color: @grey6;
296 &.pre-formatting {
296 &.pre-formatting {
297 white-space: pre;
297 white-space: pre;
298 }
298 }
299 }
299 }
300 }
300 }
301
301
302 ul.auth_plugins {
302 ul.auth_plugins {
303 margin: @padding 0 @padding @legend-width;
303 margin: @padding 0 @padding @legend-width;
304 padding: 0;
304 padding: 0;
305
305
306 li {
306 li {
307 margin-bottom: @padding;
307 margin-bottom: @padding;
308 line-height: 1em;
308 line-height: 1em;
309 list-style-type: none;
309 list-style-type: none;
310
310
311 .auth_buttons .btn {
311 .auth_buttons .btn {
312 margin-right: @padding;
312 margin-right: @padding;
313 }
313 }
314
314
315 &:before { content: none; }
315 &:before { content: none; }
316 }
316 }
317 }
317 }
318
318
319
319
320 // My Account PR list
320 // My Account PR list
321
321
322 #show_closed {
322 #show_closed {
323 margin: 0 1em 0 0;
323 margin: 0 1em 0 0;
324 }
324 }
325
325
326 .pullrequestlist {
326 .pullrequestlist {
327 .closed {
327 .closed {
328 background-color: @grey6;
328 background-color: @grey6;
329 }
329 }
330 .td-status {
330 .td-status {
331 padding-left: .5em;
331 padding-left: .5em;
332 }
332 }
333 .log-container .truncate {
333 .log-container .truncate {
334 height: 2.75em;
334 height: 2.75em;
335 white-space: pre-line;
335 white-space: pre-line;
336 }
336 }
337 table.rctable .user {
337 table.rctable .user {
338 padding-left: 0;
338 padding-left: 0;
339 }
339 }
340 table.rctable {
340 table.rctable {
341 td.td-description,
341 td.td-description,
342 .rc-user {
342 .rc-user {
343 min-width: auto;
343 min-width: auto;
344 }
344 }
345 }
345 }
346 }
346 }
347
347
348 // Pull Requests
348 // Pull Requests
349
349
350 .pullrequests_section_head {
350 .pullrequests_section_head {
351 display: block;
351 display: block;
352 clear: both;
352 clear: both;
353 margin: @padding 0;
353 margin: @padding 0;
354 font-family: @text-bold;
354 font-family: @text-bold;
355 }
355 }
356
356
357 .pr-origininfo, .pr-targetinfo {
357 .pr-origininfo, .pr-targetinfo {
358 position: relative;
358 position: relative;
359
359
360 .tag {
360 .tag {
361 display: inline-block;
361 display: inline-block;
362 margin: 0 1em .5em 0;
362 margin: 0 1em .5em 0;
363 }
363 }
364
364
365 .clone-url {
365 .clone-url {
366 display: inline-block;
366 display: inline-block;
367 margin: 0 0 .5em 0;
367 margin: 0 0 .5em 0;
368 padding: 0;
368 padding: 0;
369 line-height: 1.2em;
369 line-height: 1.2em;
370 }
370 }
371 }
371 }
372
372
373 .pr-mergeinfo {
373 .pr-mergeinfo {
374 min-width: 95% !important;
374 min-width: 95% !important;
375 padding: 0 !important;
375 padding: 0 !important;
376 border: 0;
376 border: 0;
377 }
377 }
378 .pr-mergeinfo-copy {
378 .pr-mergeinfo-copy {
379 padding: 0 0;
379 padding: 0 0;
380 }
380 }
381
381
382 .pr-pullinfo {
382 .pr-pullinfo {
383 min-width: 95% !important;
383 min-width: 95% !important;
384 padding: 0 !important;
384 padding: 0 !important;
385 border: 0;
385 border: 0;
386 }
386 }
387 .pr-pullinfo-copy {
387 .pr-pullinfo-copy {
388 padding: 0 0;
388 padding: 0 0;
389 }
389 }
390
390
391
391
392 #pr-title-input {
392 #pr-title-input {
393 width: 72%;
393 width: 72%;
394 font-size: 1em;
394 font-size: 1em;
395 font-family: @text-bold;
395 font-family: @text-bold;
396 margin: 0;
396 margin: 0;
397 padding: 0 0 0 @padding/4;
397 padding: 0 0 0 @padding/4;
398 line-height: 1.7em;
398 line-height: 1.7em;
399 color: @text-color;
399 color: @text-color;
400 letter-spacing: .02em;
400 letter-spacing: .02em;
401 }
401 }
402
402
403 #pullrequest_title {
403 #pullrequest_title {
404 width: 100%;
404 width: 100%;
405 box-sizing: border-box;
405 box-sizing: border-box;
406 }
406 }
407
407
408 #pr_open_message {
408 #pr_open_message {
409 border: @border-thickness solid #fff;
409 border: @border-thickness solid #fff;
410 border-radius: @border-radius;
410 border-radius: @border-radius;
411 padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0;
411 padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0;
412 text-align: left;
412 text-align: left;
413 overflow: hidden;
413 overflow: hidden;
414 }
414 }
415
415
416 .pr-submit-button {
416 .pr-submit-button {
417 float: right;
417 float: right;
418 margin: 0 0 0 5px;
418 margin: 0 0 0 5px;
419 }
419 }
420
420
421 .pr-spacing-container {
421 .pr-spacing-container {
422 padding: 20px;
422 padding: 20px;
423 clear: both
423 clear: both
424 }
424 }
425
425
426 #pr-description-input {
426 #pr-description-input {
427 margin-bottom: 0;
427 margin-bottom: 0;
428 }
428 }
429
429
430 .pr-description-label {
430 .pr-description-label {
431 vertical-align: top;
431 vertical-align: top;
432 }
432 }
433
433
434 .perms_section_head {
434 .perms_section_head {
435 min-width: 625px;
435 min-width: 625px;
436
436
437 h2 {
437 h2 {
438 margin-bottom: 0;
438 margin-bottom: 0;
439 }
439 }
440
440
441 .label-checkbox {
441 .label-checkbox {
442 float: left;
442 float: left;
443 }
443 }
444
444
445 &.field {
445 &.field {
446 margin: @space 0 @padding;
446 margin: @space 0 @padding;
447 }
447 }
448
448
449 &:first-child.field {
449 &:first-child.field {
450 margin-top: 0;
450 margin-top: 0;
451
451
452 .label {
452 .label {
453 margin-top: 0;
453 margin-top: 0;
454 padding-top: 0;
454 padding-top: 0;
455 }
455 }
456
456
457 .radios {
457 .radios {
458 padding-top: 0;
458 padding-top: 0;
459 }
459 }
460 }
460 }
461
461
462 .radios {
462 .radios {
463 position: relative;
463 position: relative;
464 width: 505px;
464 width: 505px;
465 }
465 }
466 }
466 }
467
467
468 //--- MODULES ------------------//
468 //--- MODULES ------------------//
469
469
470
470
471 // Server Announcement
471 // Server Announcement
472 #server-announcement {
472 #server-announcement {
473 width: 95%;
473 width: 95%;
474 margin: @padding auto;
474 margin: @padding auto;
475 padding: @padding;
475 padding: @padding;
476 border-width: 2px;
476 border-width: 2px;
477 border-style: solid;
477 border-style: solid;
478 .border-radius(2px);
478 .border-radius(2px);
479 font-family: @text-bold;
479 font-family: @text-bold;
480
480
481 &.info { border-color: @alert4; background-color: @alert4-inner; }
481 &.info { border-color: @alert4; background-color: @alert4-inner; }
482 &.warning { border-color: @alert3; background-color: @alert3-inner; }
482 &.warning { border-color: @alert3; background-color: @alert3-inner; }
483 &.error { border-color: @alert2; background-color: @alert2-inner; }
483 &.error { border-color: @alert2; background-color: @alert2-inner; }
484 &.success { border-color: @alert1; background-color: @alert1-inner; }
484 &.success { border-color: @alert1; background-color: @alert1-inner; }
485 &.neutral { border-color: @grey3; background-color: @grey6; }
485 &.neutral { border-color: @grey3; background-color: @grey6; }
486 }
486 }
487
487
488 // Fixed Sidebar Column
488 // Fixed Sidebar Column
489 .sidebar-col-wrapper {
489 .sidebar-col-wrapper {
490 padding-left: @sidebar-all-width;
490 padding-left: @sidebar-all-width;
491
491
492 .sidebar {
492 .sidebar {
493 width: @sidebar-width;
493 width: @sidebar-width;
494 margin-left: -@sidebar-all-width;
494 margin-left: -@sidebar-all-width;
495 }
495 }
496 }
496 }
497
497
498 .sidebar-col-wrapper.scw-small {
498 .sidebar-col-wrapper.scw-small {
499 padding-left: @sidebar-small-all-width;
499 padding-left: @sidebar-small-all-width;
500
500
501 .sidebar {
501 .sidebar {
502 width: @sidebar-small-width;
502 width: @sidebar-small-width;
503 margin-left: -@sidebar-small-all-width;
503 margin-left: -@sidebar-small-all-width;
504 }
504 }
505 }
505 }
506
506
507
507
508 // FOOTER
508 // FOOTER
509 #footer {
509 #footer {
510 padding: 0;
510 padding: 0;
511 text-align: center;
511 text-align: center;
512 vertical-align: middle;
512 vertical-align: middle;
513 color: @grey2;
513 color: @grey2;
514 background-color: @grey6;
514 background-color: @grey6;
515
515
516 p {
516 p {
517 margin: 0;
517 margin: 0;
518 padding: 1em;
518 padding: 1em;
519 line-height: 1em;
519 line-height: 1em;
520 }
520 }
521
521
522 .server-instance { //server instance
522 .server-instance { //server instance
523 display: none;
523 display: none;
524 }
524 }
525
525
526 .title {
526 .title {
527 float: none;
527 float: none;
528 margin: 0 auto;
528 margin: 0 auto;
529 }
529 }
530 }
530 }
531
531
532 button.close {
532 button.close {
533 padding: 0;
533 padding: 0;
534 cursor: pointer;
534 cursor: pointer;
535 background: transparent;
535 background: transparent;
536 border: 0;
536 border: 0;
537 .box-shadow(none);
537 .box-shadow(none);
538 -webkit-appearance: none;
538 -webkit-appearance: none;
539 }
539 }
540
540
541 .close {
541 .close {
542 float: right;
542 float: right;
543 font-size: 21px;
543 font-size: 21px;
544 font-family: @text-bootstrap;
544 font-family: @text-bootstrap;
545 line-height: 1em;
545 line-height: 1em;
546 font-weight: bold;
546 font-weight: bold;
547 color: @grey2;
547 color: @grey2;
548
548
549 &:hover,
549 &:hover,
550 &:focus {
550 &:focus {
551 color: @grey1;
551 color: @grey1;
552 text-decoration: none;
552 text-decoration: none;
553 cursor: pointer;
553 cursor: pointer;
554 }
554 }
555 }
555 }
556
556
557 // GRID
557 // GRID
558 .sorting,
558 .sorting,
559 .sorting_desc,
559 .sorting_desc,
560 .sorting_asc {
560 .sorting_asc {
561 cursor: pointer;
561 cursor: pointer;
562 }
562 }
563 .sorting_desc:after {
563 .sorting_desc:after {
564 content: "\00A0\25B2";
564 content: "\00A0\25B2";
565 font-size: .75em;
565 font-size: .75em;
566 }
566 }
567 .sorting_asc:after {
567 .sorting_asc:after {
568 content: "\00A0\25BC";
568 content: "\00A0\25BC";
569 font-size: .68em;
569 font-size: .68em;
570 }
570 }
571
571
572
572
573 .user_auth_tokens {
573 .user_auth_tokens {
574
574
575 &.truncate {
575 &.truncate {
576 white-space: nowrap;
576 white-space: nowrap;
577 overflow: hidden;
577 overflow: hidden;
578 text-overflow: ellipsis;
578 text-overflow: ellipsis;
579 }
579 }
580
580
581 .fields .field .input {
581 .fields .field .input {
582 margin: 0;
582 margin: 0;
583 }
583 }
584
584
585 input#description {
585 input#description {
586 width: 100px;
586 width: 100px;
587 margin: 0;
587 margin: 0;
588 }
588 }
589
589
590 .drop-menu {
590 .drop-menu {
591 // TODO: johbo: Remove this, should work out of the box when
591 // TODO: johbo: Remove this, should work out of the box when
592 // having multiple inputs inline
592 // having multiple inputs inline
593 margin: 0 0 0 5px;
593 margin: 0 0 0 5px;
594 }
594 }
595 }
595 }
596 #user_list_table {
596 #user_list_table {
597 .closed {
597 .closed {
598 background-color: @grey6;
598 background-color: @grey6;
599 }
599 }
600 }
600 }
601
601
602
602
603 input {
603 input {
604 &.disabled {
604 &.disabled {
605 opacity: .5;
605 opacity: .5;
606 }
606 }
607 }
607 }
608
608
609 // remove extra padding in firefox
609 // remove extra padding in firefox
610 input::-moz-focus-inner { border:0; padding:0 }
610 input::-moz-focus-inner { border:0; padding:0 }
611
611
612 .adjacent input {
612 .adjacent input {
613 margin-bottom: @padding;
613 margin-bottom: @padding;
614 }
614 }
615
615
616 .permissions_boxes {
616 .permissions_boxes {
617 display: block;
617 display: block;
618 }
618 }
619
619
620 //TODO: lisa: this should be in tables
620 //TODO: lisa: this should be in tables
621 .show_more_col {
621 .show_more_col {
622 width: 20px;
622 width: 20px;
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 }
1327 }
1328
1328
1329 .reviewer_entry {
1329 .reviewer_entry {
1330 min-height: 55px;
1330 min-height: 55px;
1331 }
1331 }
1332
1332
1333 .reviewers_member {
1333 .reviewers_member {
1334 width: 100%;
1334 width: 100%;
1335 overflow: auto;
1335 overflow: auto;
1336 }
1336 }
1337 .reviewer_reason {
1337 .reviewer_reason {
1338 padding-left: 20px;
1338 padding-left: 20px;
1339 line-height: 1.5em;
1339 line-height: 1.5em;
1340 }
1340 }
1341 .reviewer_status {
1341 .reviewer_status {
1342 display: inline-block;
1342 display: inline-block;
1343 vertical-align: top;
1343 vertical-align: top;
1344 width: 25px;
1344 width: 25px;
1345 min-width: 25px;
1345 min-width: 25px;
1346 height: 1.2em;
1346 height: 1.2em;
1347 margin-top: 3px;
1347 margin-top: 3px;
1348 line-height: 1em;
1348 line-height: 1em;
1349 }
1349 }
1350
1350
1351 .reviewer_name {
1351 .reviewer_name {
1352 display: inline-block;
1352 display: inline-block;
1353 max-width: 83%;
1353 max-width: 83%;
1354 padding-right: 20px;
1354 padding-right: 20px;
1355 vertical-align: middle;
1355 vertical-align: middle;
1356 line-height: 1;
1356 line-height: 1;
1357
1357
1358 .rc-user {
1358 .rc-user {
1359 min-width: 0;
1359 min-width: 0;
1360 margin: -2px 1em 0 0;
1360 margin: -2px 1em 0 0;
1361 }
1361 }
1362
1362
1363 .reviewer {
1363 .reviewer {
1364 float: left;
1364 float: left;
1365 }
1365 }
1366 }
1366 }
1367
1367
1368 .reviewer_member_mandatory {
1368 .reviewer_member_mandatory {
1369 position: absolute;
1369 position: absolute;
1370 left: 15px;
1370 left: 15px;
1371 top: 8px;
1371 top: 8px;
1372 width: 16px;
1372 width: 16px;
1373 font-size: 11px;
1373 font-size: 11px;
1374 margin: 0;
1374 margin: 0;
1375 padding: 0;
1375 padding: 0;
1376 color: black;
1376 color: black;
1377 }
1377 }
1378
1378
1379 .reviewer_member_mandatory_remove,
1379 .reviewer_member_mandatory_remove,
1380 .reviewer_member_remove {
1380 .reviewer_member_remove {
1381 position: absolute;
1381 position: absolute;
1382 right: 0;
1382 right: 0;
1383 top: 0;
1383 top: 0;
1384 width: 16px;
1384 width: 16px;
1385 margin-bottom: 10px;
1385 margin-bottom: 10px;
1386 padding: 0;
1386 padding: 0;
1387 color: black;
1387 color: black;
1388 }
1388 }
1389
1389
1390 .reviewer_member_mandatory_remove {
1390 .reviewer_member_mandatory_remove {
1391 color: @grey4;
1391 color: @grey4;
1392 }
1392 }
1393
1393
1394 .reviewer_member_status {
1394 .reviewer_member_status {
1395 margin-top: 5px;
1395 margin-top: 5px;
1396 }
1396 }
1397 .pr-summary #summary{
1397 .pr-summary #summary{
1398 width: 100%;
1398 width: 100%;
1399 }
1399 }
1400 .pr-summary .action_button:hover {
1400 .pr-summary .action_button:hover {
1401 border: 0;
1401 border: 0;
1402 cursor: pointer;
1402 cursor: pointer;
1403 }
1403 }
1404 .pr-details-title {
1404 .pr-details-title {
1405 padding-bottom: 8px;
1405 padding-bottom: 8px;
1406 border-bottom: @border-thickness solid @grey5;
1406 border-bottom: @border-thickness solid @grey5;
1407
1407
1408 .action_button.disabled {
1408 .action_button.disabled {
1409 color: @grey4;
1409 color: @grey4;
1410 cursor: inherit;
1410 cursor: inherit;
1411 }
1411 }
1412 .action_button {
1412 .action_button {
1413 color: @rcblue;
1413 color: @rcblue;
1414 }
1414 }
1415 }
1415 }
1416 .pr-details-content {
1416 .pr-details-content {
1417 margin-top: @textmargin;
1417 margin-top: @textmargin;
1418 margin-bottom: @textmargin;
1418 margin-bottom: @textmargin;
1419 }
1419 }
1420
1420
1421 .pr-reviewer-rules {
1421 .pr-reviewer-rules {
1422 padding: 10px 0px 20px 0px;
1422 padding: 10px 0px 20px 0px;
1423 }
1423 }
1424
1424
1425 .group_members {
1425 .group_members {
1426 margin-top: 0;
1426 margin-top: 0;
1427 padding: 0;
1427 padding: 0;
1428 list-style: outside none none;
1428 list-style: outside none none;
1429
1429
1430 img {
1430 img {
1431 height: @gravatar-size;
1431 height: @gravatar-size;
1432 width: @gravatar-size;
1432 width: @gravatar-size;
1433 margin-right: .5em;
1433 margin-right: .5em;
1434 margin-left: 3px;
1434 margin-left: 3px;
1435 }
1435 }
1436
1436
1437 .to-delete {
1437 .to-delete {
1438 .user {
1438 .user {
1439 text-decoration: line-through;
1439 text-decoration: line-through;
1440 }
1440 }
1441 }
1441 }
1442 }
1442 }
1443
1443
1444 .compare_view_commits_title {
1444 .compare_view_commits_title {
1445 .disabled {
1445 .disabled {
1446 cursor: inherit;
1446 cursor: inherit;
1447 &:hover{
1447 &:hover{
1448 background-color: inherit;
1448 background-color: inherit;
1449 color: inherit;
1449 color: inherit;
1450 }
1450 }
1451 }
1451 }
1452 }
1452 }
1453
1453
1454 .subtitle-compare {
1454 .subtitle-compare {
1455 margin: -15px 0px 0px 0px;
1455 margin: -15px 0px 0px 0px;
1456 }
1456 }
1457
1457
1458 .comments-summary-td {
1458 .comments-summary-td {
1459 border-top: 1px dashed @grey5;
1459 border-top: 1px dashed @grey5;
1460 }
1460 }
1461
1461
1462 // new entry in group_members
1462 // new entry in group_members
1463 .td-author-new-entry {
1463 .td-author-new-entry {
1464 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1464 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1465 }
1465 }
1466
1466
1467 .usergroup_member_remove {
1467 .usergroup_member_remove {
1468 width: 16px;
1468 width: 16px;
1469 margin-bottom: 10px;
1469 margin-bottom: 10px;
1470 padding: 0;
1470 padding: 0;
1471 color: black !important;
1471 color: black !important;
1472 cursor: pointer;
1472 cursor: pointer;
1473 }
1473 }
1474
1474
1475 .reviewer_ac .ac-input {
1475 .reviewer_ac .ac-input {
1476 width: 92%;
1476 width: 92%;
1477 margin-bottom: 1em;
1477 margin-bottom: 1em;
1478 }
1478 }
1479
1479
1480 .compare_view_commits tr{
1480 .compare_view_commits tr{
1481 height: 20px;
1481 height: 20px;
1482 }
1482 }
1483 .compare_view_commits td {
1483 .compare_view_commits td {
1484 vertical-align: top;
1484 vertical-align: top;
1485 padding-top: 10px;
1485 padding-top: 10px;
1486 }
1486 }
1487 .compare_view_commits .author {
1487 .compare_view_commits .author {
1488 margin-left: 5px;
1488 margin-left: 5px;
1489 }
1489 }
1490
1490
1491 .compare_view_commits {
1491 .compare_view_commits {
1492 .color-a {
1492 .color-a {
1493 color: @alert1;
1493 color: @alert1;
1494 }
1494 }
1495
1495
1496 .color-c {
1496 .color-c {
1497 color: @color3;
1497 color: @color3;
1498 }
1498 }
1499
1499
1500 .color-r {
1500 .color-r {
1501 color: @color5;
1501 color: @color5;
1502 }
1502 }
1503
1503
1504 .color-a-bg {
1504 .color-a-bg {
1505 background-color: @alert1;
1505 background-color: @alert1;
1506 }
1506 }
1507
1507
1508 .color-c-bg {
1508 .color-c-bg {
1509 background-color: @alert3;
1509 background-color: @alert3;
1510 }
1510 }
1511
1511
1512 .color-r-bg {
1512 .color-r-bg {
1513 background-color: @alert2;
1513 background-color: @alert2;
1514 }
1514 }
1515
1515
1516 .color-a-border {
1516 .color-a-border {
1517 border: 1px solid @alert1;
1517 border: 1px solid @alert1;
1518 }
1518 }
1519
1519
1520 .color-c-border {
1520 .color-c-border {
1521 border: 1px solid @alert3;
1521 border: 1px solid @alert3;
1522 }
1522 }
1523
1523
1524 .color-r-border {
1524 .color-r-border {
1525 border: 1px solid @alert2;
1525 border: 1px solid @alert2;
1526 }
1526 }
1527
1527
1528 .commit-change-indicator {
1528 .commit-change-indicator {
1529 width: 15px;
1529 width: 15px;
1530 height: 15px;
1530 height: 15px;
1531 position: relative;
1531 position: relative;
1532 left: 15px;
1532 left: 15px;
1533 }
1533 }
1534
1534
1535 .commit-change-content {
1535 .commit-change-content {
1536 text-align: center;
1536 text-align: center;
1537 vertical-align: middle;
1537 vertical-align: middle;
1538 line-height: 15px;
1538 line-height: 15px;
1539 }
1539 }
1540 }
1540 }
1541
1541
1542 .compare_view_filepath {
1542 .compare_view_filepath {
1543 color: @grey1;
1543 color: @grey1;
1544 }
1544 }
1545
1545
1546 .show_more {
1546 .show_more {
1547 display: inline-block;
1547 display: inline-block;
1548 width: 0;
1548 width: 0;
1549 height: 0;
1549 height: 0;
1550 vertical-align: middle;
1550 vertical-align: middle;
1551 content: "";
1551 content: "";
1552 border: 4px solid;
1552 border: 4px solid;
1553 border-right-color: transparent;
1553 border-right-color: transparent;
1554 border-bottom-color: transparent;
1554 border-bottom-color: transparent;
1555 border-left-color: transparent;
1555 border-left-color: transparent;
1556 font-size: 0;
1556 font-size: 0;
1557 }
1557 }
1558
1558
1559 .journal_more .show_more {
1559 .journal_more .show_more {
1560 display: inline;
1560 display: inline;
1561
1561
1562 &:after {
1562 &:after {
1563 content: none;
1563 content: none;
1564 }
1564 }
1565 }
1565 }
1566
1566
1567 .compare_view_commits .collapse_commit:after {
1567 .compare_view_commits .collapse_commit:after {
1568 cursor: pointer;
1568 cursor: pointer;
1569 content: "\00A0\25B4";
1569 content: "\00A0\25B4";
1570 margin-left: -3px;
1570 margin-left: -3px;
1571 font-size: 17px;
1571 font-size: 17px;
1572 color: @grey4;
1572 color: @grey4;
1573 }
1573 }
1574
1574
1575 .diff_links {
1575 .diff_links {
1576 margin-left: 8px;
1576 margin-left: 8px;
1577 }
1577 }
1578
1578
1579 div.ancestor {
1579 div.ancestor {
1580 margin: -30px 0px;
1580 margin: -30px 0px;
1581 }
1581 }
1582
1582
1583 .cs_icon_td input[type="checkbox"] {
1583 .cs_icon_td input[type="checkbox"] {
1584 display: none;
1584 display: none;
1585 }
1585 }
1586
1586
1587 .cs_icon_td .expand_file_icon:after {
1587 .cs_icon_td .expand_file_icon:after {
1588 cursor: pointer;
1588 cursor: pointer;
1589 content: "\00A0\25B6";
1589 content: "\00A0\25B6";
1590 font-size: 12px;
1590 font-size: 12px;
1591 color: @grey4;
1591 color: @grey4;
1592 }
1592 }
1593
1593
1594 .cs_icon_td .collapse_file_icon:after {
1594 .cs_icon_td .collapse_file_icon:after {
1595 cursor: pointer;
1595 cursor: pointer;
1596 content: "\00A0\25BC";
1596 content: "\00A0\25BC";
1597 font-size: 12px;
1597 font-size: 12px;
1598 color: @grey4;
1598 color: @grey4;
1599 }
1599 }
1600
1600
1601 /*new binary
1601 /*new binary
1602 NEW_FILENODE = 1
1602 NEW_FILENODE = 1
1603 DEL_FILENODE = 2
1603 DEL_FILENODE = 2
1604 MOD_FILENODE = 3
1604 MOD_FILENODE = 3
1605 RENAMED_FILENODE = 4
1605 RENAMED_FILENODE = 4
1606 COPIED_FILENODE = 5
1606 COPIED_FILENODE = 5
1607 CHMOD_FILENODE = 6
1607 CHMOD_FILENODE = 6
1608 BIN_FILENODE = 7
1608 BIN_FILENODE = 7
1609 */
1609 */
1610 .cs_files_expand {
1610 .cs_files_expand {
1611 font-size: @basefontsize + 5px;
1611 font-size: @basefontsize + 5px;
1612 line-height: 1.8em;
1612 line-height: 1.8em;
1613 float: right;
1613 float: right;
1614 }
1614 }
1615
1615
1616 .cs_files_expand span{
1616 .cs_files_expand span{
1617 color: @rcblue;
1617 color: @rcblue;
1618 cursor: pointer;
1618 cursor: pointer;
1619 }
1619 }
1620 .cs_files {
1620 .cs_files {
1621 clear: both;
1621 clear: both;
1622 padding-bottom: @padding;
1622 padding-bottom: @padding;
1623
1623
1624 .cur_cs {
1624 .cur_cs {
1625 margin: 10px 2px;
1625 margin: 10px 2px;
1626 font-weight: bold;
1626 font-weight: bold;
1627 }
1627 }
1628
1628
1629 .node {
1629 .node {
1630 float: left;
1630 float: left;
1631 }
1631 }
1632
1632
1633 .changes {
1633 .changes {
1634 float: right;
1634 float: right;
1635 color: white;
1635 color: white;
1636 font-size: @basefontsize - 4px;
1636 font-size: @basefontsize - 4px;
1637 margin-top: 4px;
1637 margin-top: 4px;
1638 opacity: 0.6;
1638 opacity: 0.6;
1639 filter: Alpha(opacity=60); /* IE8 and earlier */
1639 filter: Alpha(opacity=60); /* IE8 and earlier */
1640
1640
1641 .added {
1641 .added {
1642 background-color: @alert1;
1642 background-color: @alert1;
1643 float: left;
1643 float: left;
1644 text-align: center;
1644 text-align: center;
1645 }
1645 }
1646
1646
1647 .deleted {
1647 .deleted {
1648 background-color: @alert2;
1648 background-color: @alert2;
1649 float: left;
1649 float: left;
1650 text-align: center;
1650 text-align: center;
1651 }
1651 }
1652
1652
1653 .bin {
1653 .bin {
1654 background-color: @alert1;
1654 background-color: @alert1;
1655 text-align: center;
1655 text-align: center;
1656 }
1656 }
1657
1657
1658 /*new binary*/
1658 /*new binary*/
1659 .bin.bin1 {
1659 .bin.bin1 {
1660 background-color: @alert1;
1660 background-color: @alert1;
1661 text-align: center;
1661 text-align: center;
1662 }
1662 }
1663
1663
1664 /*deleted binary*/
1664 /*deleted binary*/
1665 .bin.bin2 {
1665 .bin.bin2 {
1666 background-color: @alert2;
1666 background-color: @alert2;
1667 text-align: center;
1667 text-align: center;
1668 }
1668 }
1669
1669
1670 /*mod binary*/
1670 /*mod binary*/
1671 .bin.bin3 {
1671 .bin.bin3 {
1672 background-color: @grey2;
1672 background-color: @grey2;
1673 text-align: center;
1673 text-align: center;
1674 }
1674 }
1675
1675
1676 /*rename file*/
1676 /*rename file*/
1677 .bin.bin4 {
1677 .bin.bin4 {
1678 background-color: @alert4;
1678 background-color: @alert4;
1679 text-align: center;
1679 text-align: center;
1680 }
1680 }
1681
1681
1682 /*copied file*/
1682 /*copied file*/
1683 .bin.bin5 {
1683 .bin.bin5 {
1684 background-color: @alert4;
1684 background-color: @alert4;
1685 text-align: center;
1685 text-align: center;
1686 }
1686 }
1687
1687
1688 /*chmod file*/
1688 /*chmod file*/
1689 .bin.bin6 {
1689 .bin.bin6 {
1690 background-color: @grey2;
1690 background-color: @grey2;
1691 text-align: center;
1691 text-align: center;
1692 }
1692 }
1693 }
1693 }
1694 }
1694 }
1695
1695
1696 .cs_files .cs_added, .cs_files .cs_A,
1696 .cs_files .cs_added, .cs_files .cs_A,
1697 .cs_files .cs_added, .cs_files .cs_M,
1697 .cs_files .cs_added, .cs_files .cs_M,
1698 .cs_files .cs_added, .cs_files .cs_D {
1698 .cs_files .cs_added, .cs_files .cs_D {
1699 height: 16px;
1699 height: 16px;
1700 padding-right: 10px;
1700 padding-right: 10px;
1701 margin-top: 7px;
1701 margin-top: 7px;
1702 text-align: left;
1702 text-align: left;
1703 }
1703 }
1704
1704
1705 .cs_icon_td {
1705 .cs_icon_td {
1706 min-width: 16px;
1706 min-width: 16px;
1707 width: 16px;
1707 width: 16px;
1708 }
1708 }
1709
1709
1710 .pull-request-merge {
1710 .pull-request-merge {
1711 border: 1px solid @grey5;
1711 border: 1px solid @grey5;
1712 padding: 10px 0px 20px;
1712 padding: 10px 0px 20px;
1713 margin-top: 10px;
1713 margin-top: 10px;
1714 margin-bottom: 20px;
1714 margin-bottom: 20px;
1715 }
1715 }
1716
1716
1717 .pull-request-merge ul {
1717 .pull-request-merge ul {
1718 padding: 0px 0px;
1718 padding: 0px 0px;
1719 }
1719 }
1720
1720
1721 .pull-request-merge li:before{
1721 .pull-request-merge li:before{
1722 content:none;
1722 content:none;
1723 }
1723 }
1724
1724
1725 .pull-request-merge .pull-request-wrap {
1725 .pull-request-merge .pull-request-wrap {
1726 height: auto;
1726 height: auto;
1727 padding: 0px 0px;
1727 padding: 0px 0px;
1728 text-align: right;
1728 text-align: right;
1729 }
1729 }
1730
1730
1731 .pull-request-merge span {
1731 .pull-request-merge span {
1732 margin-right: 5px;
1732 margin-right: 5px;
1733 }
1733 }
1734
1734
1735 .pull-request-merge-actions {
1735 .pull-request-merge-actions {
1736 min-height: 30px;
1736 min-height: 30px;
1737 padding: 0px 0px;
1737 padding: 0px 0px;
1738 }
1738 }
1739
1739
1740 .pull-request-merge-info {
1740 .pull-request-merge-info {
1741 padding: 0px 5px 5px 0px;
1741 padding: 0px 5px 5px 0px;
1742 }
1742 }
1743
1743
1744 .merge-status {
1744 .merge-status {
1745 margin-right: 5px;
1745 margin-right: 5px;
1746 }
1746 }
1747
1747
1748 .merge-message {
1748 .merge-message {
1749 font-size: 1.2em
1749 font-size: 1.2em
1750 }
1750 }
1751
1751
1752 .merge-message.success i,
1752 .merge-message.success i,
1753 .merge-icon.success i {
1753 .merge-icon.success i {
1754 color:@alert1;
1754 color:@alert1;
1755 }
1755 }
1756
1756
1757 .merge-message.warning i,
1757 .merge-message.warning i,
1758 .merge-icon.warning i {
1758 .merge-icon.warning i {
1759 color: @alert3;
1759 color: @alert3;
1760 }
1760 }
1761
1761
1762 .merge-message.error i,
1762 .merge-message.error i,
1763 .merge-icon.error i {
1763 .merge-icon.error i {
1764 color:@alert2;
1764 color:@alert2;
1765 }
1765 }
1766
1766
1767 .pr-versions {
1767 .pr-versions {
1768 font-size: 1.1em;
1768 font-size: 1.1em;
1769
1769
1770 table {
1770 table {
1771 padding: 0px 5px;
1771 padding: 0px 5px;
1772 }
1772 }
1773
1773
1774 td {
1774 td {
1775 line-height: 15px;
1775 line-height: 15px;
1776 }
1776 }
1777
1777
1778 .flag_status {
1778 .flag_status {
1779 margin: 0;
1779 margin: 0;
1780 }
1780 }
1781
1781
1782 .compare-radio-button {
1782 .compare-radio-button {
1783 position: relative;
1783 position: relative;
1784 top: -3px;
1784 top: -3px;
1785 }
1785 }
1786 }
1786 }
1787
1787
1788
1788
1789 #close_pull_request {
1789 #close_pull_request {
1790 margin-right: 0px;
1790 margin-right: 0px;
1791 }
1791 }
1792
1792
1793 .empty_data {
1793 .empty_data {
1794 color: @grey4;
1794 color: @grey4;
1795 }
1795 }
1796
1796
1797 #changeset_compare_view_content {
1797 #changeset_compare_view_content {
1798 margin-bottom: @space;
1798 margin-bottom: @space;
1799 clear: both;
1799 clear: both;
1800 width: 100%;
1800 width: 100%;
1801 box-sizing: border-box;
1801 box-sizing: border-box;
1802 .border-radius(@border-radius);
1802 .border-radius(@border-radius);
1803
1803
1804 .help-block {
1804 .help-block {
1805 margin: @padding 0;
1805 margin: @padding 0;
1806 color: @text-color;
1806 color: @text-color;
1807 &.pre-formatting {
1807 &.pre-formatting {
1808 white-space: pre;
1808 white-space: pre;
1809 }
1809 }
1810 }
1810 }
1811
1811
1812 .empty_data {
1812 .empty_data {
1813 margin: @padding 0;
1813 margin: @padding 0;
1814 }
1814 }
1815
1815
1816 .alert {
1816 .alert {
1817 margin-bottom: @space;
1817 margin-bottom: @space;
1818 }
1818 }
1819 }
1819 }
1820
1820
1821 .table_disp {
1821 .table_disp {
1822 .status {
1822 .status {
1823 width: auto;
1823 width: auto;
1824
1824
1825 .flag_status {
1825 .flag_status {
1826 float: left;
1826 float: left;
1827 }
1827 }
1828 }
1828 }
1829 }
1829 }
1830
1830
1831
1831
1832 .creation_in_progress {
1832 .creation_in_progress {
1833 color: @grey4
1833 color: @grey4
1834 }
1834 }
1835
1835
1836 .status_box_menu {
1836 .status_box_menu {
1837 margin: 0;
1837 margin: 0;
1838 }
1838 }
1839
1839
1840 .notification-table{
1840 .notification-table{
1841 margin-bottom: @space;
1841 margin-bottom: @space;
1842 display: table;
1842 display: table;
1843 width: 100%;
1843 width: 100%;
1844
1844
1845 .container{
1845 .container{
1846 display: table-row;
1846 display: table-row;
1847
1847
1848 .notification-header{
1848 .notification-header{
1849 border-bottom: @border-thickness solid @border-default-color;
1849 border-bottom: @border-thickness solid @border-default-color;
1850 }
1850 }
1851
1851
1852 .notification-subject{
1852 .notification-subject{
1853 display: table-cell;
1853 display: table-cell;
1854 }
1854 }
1855 }
1855 }
1856 }
1856 }
1857
1857
1858 // Notifications
1858 // Notifications
1859 .notification-header{
1859 .notification-header{
1860 display: table;
1860 display: table;
1861 width: 100%;
1861 width: 100%;
1862 padding: floor(@basefontsize/2) 0;
1862 padding: floor(@basefontsize/2) 0;
1863 line-height: 1em;
1863 line-height: 1em;
1864
1864
1865 .desc, .delete-notifications, .read-notifications{
1865 .desc, .delete-notifications, .read-notifications{
1866 display: table-cell;
1866 display: table-cell;
1867 text-align: left;
1867 text-align: left;
1868 }
1868 }
1869
1869
1870 .desc{
1870 .desc{
1871 width: 1163px;
1871 width: 1163px;
1872 }
1872 }
1873
1873
1874 .delete-notifications, .read-notifications{
1874 .delete-notifications, .read-notifications{
1875 width: 35px;
1875 width: 35px;
1876 min-width: 35px; //fixes when only one button is displayed
1876 min-width: 35px; //fixes when only one button is displayed
1877 }
1877 }
1878 }
1878 }
1879
1879
1880 .notification-body {
1880 .notification-body {
1881 .markdown-block,
1881 .markdown-block,
1882 .rst-block {
1882 .rst-block {
1883 padding: @padding 0;
1883 padding: @padding 0;
1884 }
1884 }
1885
1885
1886 .notification-subject {
1886 .notification-subject {
1887 padding: @textmargin 0;
1887 padding: @textmargin 0;
1888 border-bottom: @border-thickness solid @border-default-color;
1888 border-bottom: @border-thickness solid @border-default-color;
1889 }
1889 }
1890 }
1890 }
1891
1891
1892
1892
1893 .notifications_buttons{
1893 .notifications_buttons{
1894 float: right;
1894 float: right;
1895 }
1895 }
1896
1896
1897 #notification-status{
1897 #notification-status{
1898 display: inline;
1898 display: inline;
1899 }
1899 }
1900
1900
1901 // Repositories
1901 // Repositories
1902
1902
1903 #summary.fields{
1903 #summary.fields{
1904 display: table;
1904 display: table;
1905
1905
1906 .field{
1906 .field{
1907 display: table-row;
1907 display: table-row;
1908
1908
1909 .label-summary{
1909 .label-summary{
1910 display: table-cell;
1910 display: table-cell;
1911 min-width: @label-summary-minwidth;
1911 min-width: @label-summary-minwidth;
1912 padding-top: @padding/2;
1912 padding-top: @padding/2;
1913 padding-bottom: @padding/2;
1913 padding-bottom: @padding/2;
1914 padding-right: @padding/2;
1914 padding-right: @padding/2;
1915 }
1915 }
1916
1916
1917 .input{
1917 .input{
1918 display: table-cell;
1918 display: table-cell;
1919 padding: @padding/2;
1919 padding: @padding/2;
1920
1920
1921 input{
1921 input{
1922 min-width: 29em;
1922 min-width: 29em;
1923 padding: @padding/4;
1923 padding: @padding/4;
1924 }
1924 }
1925 }
1925 }
1926 .statistics, .downloads{
1926 .statistics, .downloads{
1927 .disabled{
1927 .disabled{
1928 color: @grey4;
1928 color: @grey4;
1929 }
1929 }
1930 }
1930 }
1931 }
1931 }
1932 }
1932 }
1933
1933
1934 #summary{
1934 #summary{
1935 width: 70%;
1935 width: 70%;
1936 }
1936 }
1937
1937
1938
1938
1939 // Journal
1939 // Journal
1940 .journal.title {
1940 .journal.title {
1941 h5 {
1941 h5 {
1942 float: left;
1942 float: left;
1943 margin: 0;
1943 margin: 0;
1944 width: 70%;
1944 width: 70%;
1945 }
1945 }
1946
1946
1947 ul {
1947 ul {
1948 float: right;
1948 float: right;
1949 display: inline-block;
1949 display: inline-block;
1950 margin: 0;
1950 margin: 0;
1951 width: 30%;
1951 width: 30%;
1952 text-align: right;
1952 text-align: right;
1953
1953
1954 li {
1954 li {
1955 display: inline;
1955 display: inline;
1956 font-size: @journal-fontsize;
1956 font-size: @journal-fontsize;
1957 line-height: 1em;
1957 line-height: 1em;
1958
1958
1959 &:before { content: none; }
1959 &:before { content: none; }
1960 }
1960 }
1961 }
1961 }
1962 }
1962 }
1963
1963
1964 .filterexample {
1964 .filterexample {
1965 position: absolute;
1965 position: absolute;
1966 top: 95px;
1966 top: 95px;
1967 left: @contentpadding;
1967 left: @contentpadding;
1968 color: @rcblue;
1968 color: @rcblue;
1969 font-size: 11px;
1969 font-size: 11px;
1970 font-family: @text-regular;
1970 font-family: @text-regular;
1971 cursor: help;
1971 cursor: help;
1972
1972
1973 &:hover {
1973 &:hover {
1974 color: @rcdarkblue;
1974 color: @rcdarkblue;
1975 }
1975 }
1976
1976
1977 @media (max-width:768px) {
1977 @media (max-width:768px) {
1978 position: relative;
1978 position: relative;
1979 top: auto;
1979 top: auto;
1980 left: auto;
1980 left: auto;
1981 display: block;
1981 display: block;
1982 }
1982 }
1983 }
1983 }
1984
1984
1985
1985
1986 #journal{
1986 #journal{
1987 margin-bottom: @space;
1987 margin-bottom: @space;
1988
1988
1989 .journal_day{
1989 .journal_day{
1990 margin-bottom: @textmargin/2;
1990 margin-bottom: @textmargin/2;
1991 padding-bottom: @textmargin/2;
1991 padding-bottom: @textmargin/2;
1992 font-size: @journal-fontsize;
1992 font-size: @journal-fontsize;
1993 border-bottom: @border-thickness solid @border-default-color;
1993 border-bottom: @border-thickness solid @border-default-color;
1994 }
1994 }
1995
1995
1996 .journal_container{
1996 .journal_container{
1997 margin-bottom: @space;
1997 margin-bottom: @space;
1998
1998
1999 .journal_user{
1999 .journal_user{
2000 display: inline-block;
2000 display: inline-block;
2001 }
2001 }
2002 .journal_action_container{
2002 .journal_action_container{
2003 display: block;
2003 display: block;
2004 margin-top: @textmargin;
2004 margin-top: @textmargin;
2005
2005
2006 div{
2006 div{
2007 display: inline;
2007 display: inline;
2008 }
2008 }
2009
2009
2010 div.journal_action_params{
2010 div.journal_action_params{
2011 display: block;
2011 display: block;
2012 }
2012 }
2013
2013
2014 div.journal_repo:after{
2014 div.journal_repo:after{
2015 content: "\A";
2015 content: "\A";
2016 white-space: pre;
2016 white-space: pre;
2017 }
2017 }
2018
2018
2019 div.date{
2019 div.date{
2020 display: block;
2020 display: block;
2021 margin-bottom: @textmargin;
2021 margin-bottom: @textmargin;
2022 }
2022 }
2023 }
2023 }
2024 }
2024 }
2025 }
2025 }
2026
2026
2027 // Files
2027 // Files
2028 .edit-file-title {
2028 .edit-file-title {
2029 border-bottom: @border-thickness solid @border-default-color;
2029 border-bottom: @border-thickness solid @border-default-color;
2030
2030
2031 .breadcrumbs {
2031 .breadcrumbs {
2032 margin-bottom: 0;
2032 margin-bottom: 0;
2033 }
2033 }
2034 }
2034 }
2035
2035
2036 .edit-file-fieldset {
2036 .edit-file-fieldset {
2037 margin-top: @sidebarpadding;
2037 margin-top: @sidebarpadding;
2038
2038
2039 .fieldset {
2039 .fieldset {
2040 .left-label {
2040 .left-label {
2041 width: 13%;
2041 width: 13%;
2042 }
2042 }
2043 .right-content {
2043 .right-content {
2044 width: 87%;
2044 width: 87%;
2045 max-width: 100%;
2045 max-width: 100%;
2046 }
2046 }
2047 .filename-label {
2047 .filename-label {
2048 margin-top: 13px;
2048 margin-top: 13px;
2049 }
2049 }
2050 .commit-message-label {
2050 .commit-message-label {
2051 margin-top: 4px;
2051 margin-top: 4px;
2052 }
2052 }
2053 .file-upload-input {
2053 .file-upload-input {
2054 input {
2054 input {
2055 display: none;
2055 display: none;
2056 }
2056 }
2057 margin-top: 10px;
2057 margin-top: 10px;
2058 }
2058 }
2059 .file-upload-label {
2059 .file-upload-label {
2060 margin-top: 10px;
2060 margin-top: 10px;
2061 }
2061 }
2062 p {
2062 p {
2063 margin-top: 5px;
2063 margin-top: 5px;
2064 }
2064 }
2065
2065
2066 }
2066 }
2067 .custom-path-link {
2067 .custom-path-link {
2068 margin-left: 5px;
2068 margin-left: 5px;
2069 }
2069 }
2070 #commit {
2070 #commit {
2071 resize: vertical;
2071 resize: vertical;
2072 }
2072 }
2073 }
2073 }
2074
2074
2075 .delete-file-preview {
2075 .delete-file-preview {
2076 max-height: 250px;
2076 max-height: 250px;
2077 }
2077 }
2078
2078
2079 .new-file,
2079 .new-file,
2080 #filter_activate,
2080 #filter_activate,
2081 #filter_deactivate {
2081 #filter_deactivate {
2082 float: left;
2082 float: left;
2083 margin: 0 0 0 15px;
2083 margin: 0 0 0 15px;
2084 }
2084 }
2085
2085
2086 h3.files_location{
2086 h3.files_location{
2087 line-height: 2.4em;
2087 line-height: 2.4em;
2088 }
2088 }
2089
2089
2090 .browser-nav {
2090 .browser-nav {
2091 display: table;
2091 display: table;
2092 margin-bottom: @space;
2092 margin-bottom: @space;
2093
2093
2094
2094
2095 .info_box {
2095 .info_box {
2096 display: inline-table;
2096 display: inline-table;
2097 height: 2.5em;
2097 height: 2.5em;
2098
2098
2099 .browser-cur-rev, .info_box_elem {
2099 .browser-cur-rev, .info_box_elem {
2100 display: table-cell;
2100 display: table-cell;
2101 vertical-align: middle;
2101 vertical-align: middle;
2102 }
2102 }
2103
2103
2104 .info_box_elem {
2104 .info_box_elem {
2105 border-top: @border-thickness solid @rcblue;
2105 border-top: @border-thickness solid @rcblue;
2106 border-bottom: @border-thickness solid @rcblue;
2106 border-bottom: @border-thickness solid @rcblue;
2107
2107
2108 #at_rev, a {
2108 #at_rev, a {
2109 padding: 0.6em 0.9em;
2109 padding: 0.6em 0.9em;
2110 margin: 0;
2110 margin: 0;
2111 .box-shadow(none);
2111 .box-shadow(none);
2112 border: 0;
2112 border: 0;
2113 height: 12px;
2113 height: 12px;
2114 }
2114 }
2115
2115
2116 input#at_rev {
2116 input#at_rev {
2117 max-width: 50px;
2117 max-width: 50px;
2118 text-align: right;
2118 text-align: right;
2119 }
2119 }
2120
2120
2121 &.previous {
2121 &.previous {
2122 border: @border-thickness solid @rcblue;
2122 border: @border-thickness solid @rcblue;
2123 .disabled {
2123 .disabled {
2124 color: @grey4;
2124 color: @grey4;
2125 cursor: not-allowed;
2125 cursor: not-allowed;
2126 }
2126 }
2127 }
2127 }
2128
2128
2129 &.next {
2129 &.next {
2130 border: @border-thickness solid @rcblue;
2130 border: @border-thickness solid @rcblue;
2131 .disabled {
2131 .disabled {
2132 color: @grey4;
2132 color: @grey4;
2133 cursor: not-allowed;
2133 cursor: not-allowed;
2134 }
2134 }
2135 }
2135 }
2136 }
2136 }
2137
2137
2138 .browser-cur-rev {
2138 .browser-cur-rev {
2139
2139
2140 span{
2140 span{
2141 margin: 0;
2141 margin: 0;
2142 color: @rcblue;
2142 color: @rcblue;
2143 height: 12px;
2143 height: 12px;
2144 display: inline-block;
2144 display: inline-block;
2145 padding: 0.7em 1em ;
2145 padding: 0.7em 1em ;
2146 border: @border-thickness solid @rcblue;
2146 border: @border-thickness solid @rcblue;
2147 margin-right: @padding;
2147 margin-right: @padding;
2148 }
2148 }
2149 }
2149 }
2150 }
2150 }
2151
2151
2152 .search_activate {
2152 .search_activate {
2153 display: table-cell;
2153 display: table-cell;
2154 vertical-align: middle;
2154 vertical-align: middle;
2155
2155
2156 input, label{
2156 input, label{
2157 margin: 0;
2157 margin: 0;
2158 padding: 0;
2158 padding: 0;
2159 }
2159 }
2160
2160
2161 input{
2161 input{
2162 margin-left: @textmargin;
2162 margin-left: @textmargin;
2163 }
2163 }
2164
2164
2165 }
2165 }
2166 }
2166 }
2167
2167
2168 .browser-cur-rev{
2168 .browser-cur-rev{
2169 margin-bottom: @textmargin;
2169 margin-bottom: @textmargin;
2170 }
2170 }
2171
2171
2172 #node_filter_box_loading{
2172 #node_filter_box_loading{
2173 .info_text;
2173 .info_text;
2174 }
2174 }
2175
2175
2176 .browser-search {
2176 .browser-search {
2177 margin: -25px 0px 5px 0px;
2177 margin: -25px 0px 5px 0px;
2178 }
2178 }
2179
2179
2180 .node-filter {
2180 .node-filter {
2181 font-size: @repo-title-fontsize;
2181 font-size: @repo-title-fontsize;
2182 padding: 4px 0px 0px 0px;
2182 padding: 4px 0px 0px 0px;
2183
2183
2184 .node-filter-path {
2184 .node-filter-path {
2185 float: left;
2185 float: left;
2186 color: @grey4;
2186 color: @grey4;
2187 }
2187 }
2188 .node-filter-input {
2188 .node-filter-input {
2189 float: left;
2189 float: left;
2190 margin: -2px 0px 0px 2px;
2190 margin: -2px 0px 0px 2px;
2191 input {
2191 input {
2192 padding: 2px;
2192 padding: 2px;
2193 border: none;
2193 border: none;
2194 font-size: @repo-title-fontsize;
2194 font-size: @repo-title-fontsize;
2195 }
2195 }
2196 }
2196 }
2197 }
2197 }
2198
2198
2199
2199
2200 .browser-result{
2200 .browser-result{
2201 td a{
2201 td a{
2202 margin-left: 0.5em;
2202 margin-left: 0.5em;
2203 display: inline-block;
2203 display: inline-block;
2204
2204
2205 em{
2205 em{
2206 font-family: @text-bold;
2206 font-family: @text-bold;
2207 }
2207 }
2208 }
2208 }
2209 }
2209 }
2210
2210
2211 .browser-highlight{
2211 .browser-highlight{
2212 background-color: @grey5-alpha;
2212 background-color: @grey5-alpha;
2213 }
2213 }
2214
2214
2215
2215
2216 // Search
2216 // Search
2217
2217
2218 .search-form{
2218 .search-form{
2219 #q {
2219 #q {
2220 width: @search-form-width;
2220 width: @search-form-width;
2221 }
2221 }
2222 .fields{
2222 .fields{
2223 margin: 0 0 @space;
2223 margin: 0 0 @space;
2224 }
2224 }
2225
2225
2226 label{
2226 label{
2227 display: inline-block;
2227 display: inline-block;
2228 margin-right: @textmargin;
2228 margin-right: @textmargin;
2229 padding-top: 0.25em;
2229 padding-top: 0.25em;
2230 }
2230 }
2231
2231
2232
2232
2233 .results{
2233 .results{
2234 clear: both;
2234 clear: both;
2235 margin: 0 0 @padding;
2235 margin: 0 0 @padding;
2236 }
2236 }
2237 }
2237 }
2238
2238
2239 div.search-feedback-items {
2239 div.search-feedback-items {
2240 display: inline-block;
2240 display: inline-block;
2241 }
2241 }
2242
2242
2243 div.search-code-body {
2243 div.search-code-body {
2244 background-color: #ffffff; padding: 5px 0 5px 10px;
2244 background-color: #ffffff; padding: 5px 0 5px 10px;
2245 pre {
2245 pre {
2246 .match { background-color: #faffa6;}
2246 .match { background-color: #faffa6;}
2247 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2247 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2248 }
2248 }
2249 }
2249 }
2250
2250
2251 .expand_commit.search {
2251 .expand_commit.search {
2252 .show_more.open {
2252 .show_more.open {
2253 height: auto;
2253 height: auto;
2254 max-height: none;
2254 max-height: none;
2255 }
2255 }
2256 }
2256 }
2257
2257
2258 .search-results {
2258 .search-results {
2259
2259
2260 h2 {
2260 h2 {
2261 margin-bottom: 0;
2261 margin-bottom: 0;
2262 }
2262 }
2263 .codeblock {
2263 .codeblock {
2264 border: none;
2264 border: none;
2265 background: transparent;
2265 background: transparent;
2266 }
2266 }
2267
2267
2268 .codeblock-header {
2268 .codeblock-header {
2269 border: none;
2269 border: none;
2270 background: transparent;
2270 background: transparent;
2271 }
2271 }
2272
2272
2273 .code-body {
2273 .code-body {
2274 border: @border-thickness solid @border-default-color;
2274 border: @border-thickness solid @border-default-color;
2275 .border-radius(@border-radius);
2275 .border-radius(@border-radius);
2276 }
2276 }
2277
2277
2278 .td-commit {
2278 .td-commit {
2279 &:extend(pre);
2279 &:extend(pre);
2280 border-bottom: @border-thickness solid @border-default-color;
2280 border-bottom: @border-thickness solid @border-default-color;
2281 }
2281 }
2282
2282
2283 .message {
2283 .message {
2284 height: auto;
2284 height: auto;
2285 max-width: 350px;
2285 max-width: 350px;
2286 white-space: normal;
2286 white-space: normal;
2287 text-overflow: initial;
2287 text-overflow: initial;
2288 overflow: visible;
2288 overflow: visible;
2289
2289
2290 .match { background-color: #faffa6;}
2290 .match { background-color: #faffa6;}
2291 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2291 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2292 }
2292 }
2293
2293
2294 }
2294 }
2295
2295
2296 table.rctable td.td-search-results div {
2296 table.rctable td.td-search-results div {
2297 max-width: 100%;
2297 max-width: 100%;
2298 }
2298 }
2299
2299
2300 #tip-box, .tip-box{
2300 #tip-box, .tip-box{
2301 padding: @menupadding/2;
2301 padding: @menupadding/2;
2302 display: block;
2302 display: block;
2303 border: @border-thickness solid @border-highlight-color;
2303 border: @border-thickness solid @border-highlight-color;
2304 .border-radius(@border-radius);
2304 .border-radius(@border-radius);
2305 background-color: white;
2305 background-color: white;
2306 z-index: 99;
2306 z-index: 99;
2307 white-space: pre-wrap;
2307 white-space: pre-wrap;
2308 }
2308 }
2309
2309
2310 #linktt {
2310 #linktt {
2311 width: 79px;
2311 width: 79px;
2312 }
2312 }
2313
2313
2314 #help_kb .modal-content{
2314 #help_kb .modal-content{
2315 max-width: 750px;
2315 max-width: 750px;
2316 margin: 10% auto;
2316 margin: 10% auto;
2317
2317
2318 table{
2318 table{
2319 td,th{
2319 td,th{
2320 border-bottom: none;
2320 border-bottom: none;
2321 line-height: 2.5em;
2321 line-height: 2.5em;
2322 }
2322 }
2323 th{
2323 th{
2324 padding-bottom: @textmargin/2;
2324 padding-bottom: @textmargin/2;
2325 }
2325 }
2326 td.keys{
2326 td.keys{
2327 text-align: center;
2327 text-align: center;
2328 }
2328 }
2329 }
2329 }
2330
2330
2331 .block-left{
2331 .block-left{
2332 width: 45%;
2332 width: 45%;
2333 margin-right: 5%;
2333 margin-right: 5%;
2334 }
2334 }
2335 .modal-footer{
2335 .modal-footer{
2336 clear: both;
2336 clear: both;
2337 }
2337 }
2338 .key.tag{
2338 .key.tag{
2339 padding: 0.5em;
2339 padding: 0.5em;
2340 background-color: @rcblue;
2340 background-color: @rcblue;
2341 color: white;
2341 color: white;
2342 border-color: @rcblue;
2342 border-color: @rcblue;
2343 .box-shadow(none);
2343 .box-shadow(none);
2344 }
2344 }
2345 }
2345 }
2346
2346
2347
2347
2348
2348
2349 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2349 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2350
2350
2351 @import 'statistics-graph';
2351 @import 'statistics-graph';
2352 @import 'tables';
2352 @import 'tables';
2353 @import 'forms';
2353 @import 'forms';
2354 @import 'diff';
2354 @import 'diff';
2355 @import 'summary';
2355 @import 'summary';
2356 @import 'navigation';
2356 @import 'navigation';
2357
2357
2358 //--- SHOW/HIDE SECTIONS --//
2358 //--- SHOW/HIDE SECTIONS --//
2359
2359
2360 .btn-collapse {
2360 .btn-collapse {
2361 float: right;
2361 float: right;
2362 text-align: right;
2362 text-align: right;
2363 font-family: @text-light;
2363 font-family: @text-light;
2364 font-size: @basefontsize;
2364 font-size: @basefontsize;
2365 cursor: pointer;
2365 cursor: pointer;
2366 border: none;
2366 border: none;
2367 color: @rcblue;
2367 color: @rcblue;
2368 }
2368 }
2369
2369
2370 table.rctable,
2370 table.rctable,
2371 table.dataTable {
2371 table.dataTable {
2372 .btn-collapse {
2372 .btn-collapse {
2373 float: right;
2373 float: right;
2374 text-align: right;
2374 text-align: right;
2375 }
2375 }
2376 }
2376 }
2377
2377
2378 table.rctable {
2379 &.permissions {
2380
2381 th.td-owner {
2382 padding: 0;
2383 }
2384
2385 th {
2386 font-weight: normal;
2387 padding: 0 5px;
2388 }
2389
2390 }
2391 }
2392
2378
2393
2379 // TODO: johbo: Fix for IE10, this avoids that we see a border
2394 // TODO: johbo: Fix for IE10, this avoids that we see a border
2380 // and padding around checkboxes and radio boxes. Move to the right place,
2395 // and padding around checkboxes and radio boxes. Move to the right place,
2381 // or better: Remove this once we did the form refactoring.
2396 // or better: Remove this once we did the form refactoring.
2382 input[type=checkbox],
2397 input[type=checkbox],
2383 input[type=radio] {
2398 input[type=radio] {
2384 padding: 0;
2399 padding: 0;
2385 border: none;
2400 border: none;
2386 }
2401 }
2387
2402
2388 .toggle-ajax-spinner{
2403 .toggle-ajax-spinner{
2389 height: 16px;
2404 height: 16px;
2390 width: 16px;
2405 width: 16px;
2391 }
2406 }
2392
2407
2393
2408
2394 .markup-form .clearfix {
2409 .markup-form .clearfix {
2395 .border-radius(@border-radius);
2410 .border-radius(@border-radius);
2396 margin: 0px;
2411 margin: 0px;
2397 }
2412 }
2398
2413
2399 .markup-form-area {
2414 .markup-form-area {
2400 padding: 8px 12px;
2415 padding: 8px 12px;
2401 border: 1px solid @grey4;
2416 border: 1px solid @grey4;
2402 .border-radius(@border-radius);
2417 .border-radius(@border-radius);
2403 }
2418 }
2404
2419
2405 .markup-form-area-header .nav-links {
2420 .markup-form-area-header .nav-links {
2406 display: flex;
2421 display: flex;
2407 flex-flow: row wrap;
2422 flex-flow: row wrap;
2408 -webkit-flex-flow: row wrap;
2423 -webkit-flex-flow: row wrap;
2409 width: 100%;
2424 width: 100%;
2410 }
2425 }
2411
2426
2412 .markup-form-area-footer {
2427 .markup-form-area-footer {
2413 display: flex;
2428 display: flex;
2414 }
2429 }
2415
2430
2416 .markup-form-area-footer .toolbar {
2431 .markup-form-area-footer .toolbar {
2417
2432
2418 }
2433 }
2419
2434
2420 // markup Form
2435 // markup Form
2421 div.markup-form {
2436 div.markup-form {
2422 margin-top: 20px;
2437 margin-top: 20px;
2423 }
2438 }
2424
2439
2425 .markup-form strong {
2440 .markup-form strong {
2426 display: block;
2441 display: block;
2427 margin-bottom: 15px;
2442 margin-bottom: 15px;
2428 }
2443 }
2429
2444
2430 .markup-form textarea {
2445 .markup-form textarea {
2431 width: 100%;
2446 width: 100%;
2432 height: 100px;
2447 height: 100px;
2433 font-family: @text-monospace;
2448 font-family: @text-monospace;
2434 }
2449 }
2435
2450
2436 form.markup-form {
2451 form.markup-form {
2437 margin-top: 10px;
2452 margin-top: 10px;
2438 margin-left: 10px;
2453 margin-left: 10px;
2439 }
2454 }
2440
2455
2441 .markup-form .comment-block-ta,
2456 .markup-form .comment-block-ta,
2442 .markup-form .preview-box {
2457 .markup-form .preview-box {
2443 .border-radius(@border-radius);
2458 .border-radius(@border-radius);
2444 .box-sizing(border-box);
2459 .box-sizing(border-box);
2445 background-color: white;
2460 background-color: white;
2446 }
2461 }
2447
2462
2448 .markup-form .preview-box.unloaded {
2463 .markup-form .preview-box.unloaded {
2449 height: 50px;
2464 height: 50px;
2450 text-align: center;
2465 text-align: center;
2451 padding: 20px;
2466 padding: 20px;
2452 background-color: white;
2467 background-color: white;
2453 }
2468 }
@@ -1,504 +1,499 b''
1
1
2 // tables.less
2 // tables.less
3 // For use in RhodeCode application tables;
3 // For use in RhodeCode application tables;
4 // see style guide documentation for guidelines.
4 // see style guide documentation for guidelines.
5
5
6 // TABLES
6 // TABLES
7
7
8 .rctable,
8 .rctable,
9 table.rctable,
9 table.rctable,
10 table.dataTable {
10 table.dataTable {
11 clear:both;
11 clear:both;
12 width: 100%;
12 width: 100%;
13 margin: 0 auto @padding;
13 margin: 0 auto @padding;
14 padding: 0;
14 padding: 0;
15 vertical-align: baseline;
15 vertical-align: baseline;
16 line-height:1.5em;
16 line-height:1.5em;
17 border: none;
17 border: none;
18 outline: none;
18 outline: none;
19 border-collapse: collapse;
19 border-collapse: collapse;
20 border-spacing: 0;
20 border-spacing: 0;
21 color: @grey2;
21 color: @grey2;
22
22
23 b {
23 b {
24 font-weight: normal;
24 font-weight: normal;
25 }
25 }
26
26
27 em {
27 em {
28 font-weight: bold;
28 font-weight: bold;
29 font-style: normal;
29 font-style: normal;
30 }
30 }
31
31
32 th,
32 th,
33 td {
33 td {
34 height: auto;
34 height: auto;
35 max-width: 20%;
35 max-width: 20%;
36 padding: .65em 1em .65em 0;
36 padding: .65em 1em .65em 0;
37 vertical-align: middle;
37 vertical-align: middle;
38 border-bottom: @border-thickness solid @grey5;
38 border-bottom: @border-thickness solid @grey5;
39 white-space: normal;
39 white-space: normal;
40
40
41 &.td-radio,
41 &.td-radio,
42 &.td-checkbox {
42 &.td-checkbox {
43 padding-right: 0;
43 padding-right: 0;
44 text-align: center;
44 text-align: center;
45
45
46 input {
46 input {
47 margin: 0 1em;
47 margin: 0 1em;
48 }
48 }
49 }
49 }
50
50
51 &.truncate-wrap {
51 &.truncate-wrap {
52 white-space: nowrap !important;
52 white-space: nowrap !important;
53 }
53 }
54
54
55 pre {
55 pre {
56 margin: 0;
56 margin: 0;
57 }
57 }
58
58
59 .show_more {
59 .show_more {
60 height: inherit;
60 height: inherit;
61 }
61 }
62 }
62 }
63
63
64 .expired td {
64 .expired td {
65 background-color: @grey7;
65 background-color: @grey7;
66 }
66 }
67
67
68 .td-radio + .td-owner {
69 padding-left: 1em;
70 }
71
72
73 th {
68 th {
74 text-align: left;
69 text-align: left;
75 font-family: @text-semibold;
70 font-family: @text-semibold;
76 }
71 }
77
72
78 .hl {
73 .hl {
79 td {
74 td {
80 background-color: lighten(@alert4,25%);
75 background-color: lighten(@alert4,25%);
81 }
76 }
82 }
77 }
83
78
84 // Special Data Cell Types
79 // Special Data Cell Types
85 // See style guide for desciptions and examples.
80 // See style guide for desciptions and examples.
86
81
87 td {
82 td {
88
83
89 &.user {
84 &.user {
90 padding-left: 1em;
85 padding-left: 1em;
91 }
86 }
92
87
93 &.td-rss {
88 &.td-rss {
94 width: 20px;
89 width: 20px;
95 min-width: 0;
90 min-width: 0;
96 margin: 0;
91 margin: 0;
97 }
92 }
98
93
99 &.quick_repo_menu {
94 &.quick_repo_menu {
100 width: 15px;
95 width: 15px;
101 text-align: center;
96 text-align: center;
102
97
103 &:hover {
98 &:hover {
104 background-color: @grey5;
99 background-color: @grey5;
105 }
100 }
106 }
101 }
107
102
108 &.td-hash {
103 &.td-hash {
109 min-width: 80px;
104 min-width: 80px;
110 width: 200px;
105 width: 200px;
111
106
112 .obsolete {
107 .obsolete {
113 text-decoration: line-through;
108 text-decoration: line-through;
114 color: lighten(@grey2,25%);
109 color: lighten(@grey2,25%);
115 }
110 }
116 }
111 }
117
112
118 &.td-time {
113 &.td-time {
119 width: 160px;
114 width: 160px;
120 white-space: nowrap;
115 white-space: nowrap;
121 }
116 }
122
117
123 &.annotate{
118 &.annotate{
124 padding-right: 0;
119 padding-right: 0;
125
120
126 div.annotatediv{
121 div.annotatediv{
127 margin: 0 0.7em;
122 margin: 0 0.7em;
128 }
123 }
129 }
124 }
130
125
131 &.tags-col {
126 &.tags-col {
132 padding-right: 0;
127 padding-right: 0;
133 }
128 }
134
129
135 &.td-description {
130 &.td-description {
136 min-width: 350px;
131 min-width: 350px;
137
132
138 &.truncate, .truncate-wrap {
133 &.truncate, .truncate-wrap {
139 white-space: nowrap;
134 white-space: nowrap;
140 overflow: hidden;
135 overflow: hidden;
141 text-overflow: ellipsis;
136 text-overflow: ellipsis;
142 max-width: 350px;
137 max-width: 350px;
143 }
138 }
144 }
139 }
145
140
146 &.td-componentname {
141 &.td-componentname {
147 white-space: nowrap;
142 white-space: nowrap;
148 }
143 }
149
144
150 &.td-name {
145 &.td-name {
151
146
152 }
147 }
153
148
154 &.td-journalaction {
149 &.td-journalaction {
155 min-width: 300px;
150 min-width: 300px;
156
151
157 .journal_action_params {
152 .journal_action_params {
158 // waiting for feedback
153 // waiting for feedback
159 }
154 }
160 }
155 }
161
156
162 &.td-active {
157 &.td-active {
163 padding-left: .65em;
158 padding-left: .65em;
164 }
159 }
165
160
166 &.td-url {
161 &.td-url {
167 white-space: nowrap;
162 white-space: nowrap;
168 }
163 }
169
164
170 &.td-comments {
165 &.td-comments {
171 min-width: 3em;
166 min-width: 3em;
172 }
167 }
173
168
174 &.td-buttons {
169 &.td-buttons {
175 padding: .3em 0;
170 padding: .3em 0;
176 }
171 }
177
172
178 &.td-action {
173 &.td-action {
179 // this is for the remove/delete/edit buttons
174 // this is for the remove/delete/edit buttons
180 padding-right: 0;
175 padding-right: 0;
181 min-width: 95px;
176 min-width: 95px;
182 text-transform: capitalize;
177 text-transform: capitalize;
183
178
184 i {
179 i {
185 display: none;
180 display: none;
186 }
181 }
187 }
182 }
188
183
189 // TODO: lisa: this needs to be cleaned up with the buttons
184 // TODO: lisa: this needs to be cleaned up with the buttons
190 .grid_edit,
185 .grid_edit,
191 .grid_delete {
186 .grid_delete {
192 display: inline-block;
187 display: inline-block;
193 margin: 0 @padding/3 0 0;
188 margin: 0 @padding/3 0 0;
194 font-family: @text-light;
189 font-family: @text-light;
195
190
196 i {
191 i {
197 display: none;
192 display: none;
198 }
193 }
199 }
194 }
200
195
201 .grid_edit + .grid_delete {
196 .grid_edit + .grid_delete {
202 border-left: @border-thickness solid @grey5;
197 border-left: @border-thickness solid @grey5;
203 padding-left: @padding/2;
198 padding-left: @padding/2;
204 }
199 }
205
200
206 &.td-compare {
201 &.td-compare {
207
202
208 input {
203 input {
209 margin-right: 1em;
204 margin-right: 1em;
210 }
205 }
211
206
212 .compare-radio-button {
207 .compare-radio-button {
213 margin: 0 1em 0 0;
208 margin: 0 1em 0 0;
214 }
209 }
215
210
216
211
217 }
212 }
218
213
219 &.td-tags {
214 &.td-tags {
220 padding: .5em 1em .5em 0;
215 padding: .5em 1em .5em 0;
221 width: 140px;
216 width: 140px;
222
217
223 .tag {
218 .tag {
224 margin: 1px;
219 margin: 1px;
225 float: left;
220 float: left;
226 }
221 }
227 }
222 }
228
223
229 .icon-svn, .icon-hg, .icon-git {
224 .icon-svn, .icon-hg, .icon-git {
230 font-size: 1.4em;
225 font-size: 1.4em;
231 }
226 }
232
227
233 &.collapse_commit,
228 &.collapse_commit,
234 &.expand_commit {
229 &.expand_commit {
235 padding-right: 0;
230 padding-right: 0;
236 padding-left: 1em;
231 padding-left: 1em;
237 }
232 }
238 }
233 }
239
234
240 .perm_admin_row {
235 .perm_admin_row {
241 color: @grey4;
236 color: @grey4;
242 background-color: @grey6;
237 background-color: @grey6;
243 }
238 }
244
239
245 .noborder {
240 .noborder {
246 border: none;
241 border: none;
247
242
248 td {
243 td {
249 border: none;
244 border: none;
250 }
245 }
251 }
246 }
252 }
247 }
253 .rctable.audit-log {
248 .rctable.audit-log {
254 td {
249 td {
255 vertical-align: top;
250 vertical-align: top;
256 }
251 }
257 }
252 }
258
253
259 // TRUNCATING
254 // TRUNCATING
260 // TODO: lisaq: should this possibly be moved out of tables.less?
255 // TODO: lisaq: should this possibly be moved out of tables.less?
261 // for truncated text
256 // for truncated text
262 // used inside of table cells and in code block headers
257 // used inside of table cells and in code block headers
263 .truncate-wrap {
258 .truncate-wrap {
264 white-space: nowrap !important;
259 white-space: nowrap !important;
265
260
266 //truncated text
261 //truncated text
267 .truncate {
262 .truncate {
268 max-width: 450px;
263 max-width: 450px;
269 width: 300px;
264 width: 300px;
270 overflow: hidden;
265 overflow: hidden;
271 text-overflow: ellipsis;
266 text-overflow: ellipsis;
272 -o-text-overflow: ellipsis;
267 -o-text-overflow: ellipsis;
273 -ms-text-overflow: ellipsis;
268 -ms-text-overflow: ellipsis;
274
269
275 &.autoexpand {
270 &.autoexpand {
276 width: 120px;
271 width: 120px;
277 margin-right: 200px;
272 margin-right: 200px;
278 }
273 }
279 }
274 }
280 &:hover .truncate.autoexpand {
275 &:hover .truncate.autoexpand {
281 overflow: visible;
276 overflow: visible;
282 }
277 }
283
278
284 .tags-truncate {
279 .tags-truncate {
285 width: 150px;
280 width: 150px;
286 height: 22px;
281 height: 22px;
287 overflow: hidden;
282 overflow: hidden;
288
283
289 .tag {
284 .tag {
290 display: inline-block;
285 display: inline-block;
291 }
286 }
292
287
293 &.truncate {
288 &.truncate {
294 height: 22px;
289 height: 22px;
295 max-height:2em;
290 max-height:2em;
296 width: 140px;
291 width: 140px;
297 }
292 }
298 }
293 }
299 }
294 }
300
295
301 .apikeys_wrap {
296 .apikeys_wrap {
302 margin-bottom: @padding;
297 margin-bottom: @padding;
303
298
304 table.rctable td:first-child {
299 table.rctable td:first-child {
305 width: 340px;
300 width: 340px;
306 }
301 }
307 }
302 }
308
303
309
304
310
305
311 // SPECIAL CASES
306 // SPECIAL CASES
312
307
313 // Repository Followers
308 // Repository Followers
314 table.rctable.followers_data {
309 table.rctable.followers_data {
315 width: 75%;
310 width: 75%;
316 margin: 0;
311 margin: 0;
317 }
312 }
318
313
319 // Repository List
314 // Repository List
320 // Group Members List
315 // Group Members List
321 table.rctable.group_members,
316 table.rctable.group_members,
322 table#repo_list_table {
317 table#repo_list_table {
323 min-width: 600px;
318 min-width: 600px;
324 }
319 }
325
320
326 // Keyboard mappings
321 // Keyboard mappings
327 table.keyboard-mappings {
322 table.keyboard-mappings {
328 th {
323 th {
329 text-align: left;
324 text-align: left;
330 font-family: @text-semibold;
325 font-family: @text-semibold;
331 }
326 }
332 }
327 }
333
328
334 // Branches, Tags, and Bookmarks
329 // Branches, Tags, and Bookmarks
335 #obj_list_table.dataTable {
330 #obj_list_table.dataTable {
336 td.td-time {
331 td.td-time {
337 padding-right: 1em;
332 padding-right: 1em;
338 }
333 }
339 }
334 }
340
335
341 // User Admin
336 // User Admin
342 .rctable.useremails,
337 .rctable.useremails,
343 .rctable.account_emails {
338 .rctable.account_emails {
344 .tag,
339 .tag,
345 .btn {
340 .btn {
346 float: right;
341 float: right;
347 }
342 }
348 .btn { //to line up with tags
343 .btn { //to line up with tags
349 margin-right: 1.65em;
344 margin-right: 1.65em;
350 }
345 }
351 }
346 }
352
347
353 // User List
348 // User List
354 #user_list_table {
349 #user_list_table {
355
350
356 td.td-user {
351 td.td-user {
357 min-width: 100px;
352 min-width: 100px;
358 }
353 }
359 }
354 }
360
355
361 // Pull Request List Table
356 // Pull Request List Table
362 #pull_request_list_table.dataTable {
357 #pull_request_list_table.dataTable {
363
358
364 //TODO: lisa: This needs to be removed once the description is adjusted
359 //TODO: lisa: This needs to be removed once the description is adjusted
365 // for using an expand_commit button (see issue 765)
360 // for using an expand_commit button (see issue 765)
366 td {
361 td {
367 vertical-align: middle;
362 vertical-align: middle;
368 }
363 }
369 }
364 }
370
365
371 // Settings (no border)
366 // Settings (no border)
372 table.rctable.dl-settings {
367 table.rctable.dl-settings {
373 td {
368 td {
374 border: none;
369 border: none;
375 vertical-align: baseline;
370 vertical-align: baseline;
376 }
371 }
377 }
372 }
378
373
379
374
380 // Statistics
375 // Statistics
381 table.trending_language_tbl {
376 table.trending_language_tbl {
382 width: 100%;
377 width: 100%;
383 line-height: 1em;
378 line-height: 1em;
384
379
385 td div {
380 td div {
386 overflow: visible;
381 overflow: visible;
387 }
382 }
388 }
383 }
389
384
390 .trending_language_tbl, .trending_language_tbl td {
385 .trending_language_tbl, .trending_language_tbl td {
391 border: 0;
386 border: 0;
392 margin: 0;
387 margin: 0;
393 padding: 0;
388 padding: 0;
394 background: transparent;
389 background: transparent;
395 }
390 }
396
391
397 .trending_language_tbl, .trending_language_tbl tr {
392 .trending_language_tbl, .trending_language_tbl tr {
398 border-spacing: 0 3px;
393 border-spacing: 0 3px;
399 }
394 }
400
395
401 .trending_language {
396 .trending_language {
402 position: relative;
397 position: relative;
403 width: 100%;
398 width: 100%;
404 height: 19px;
399 height: 19px;
405 overflow: hidden;
400 overflow: hidden;
406 background-color: @grey6;
401 background-color: @grey6;
407
402
408 span, b{
403 span, b{
409 position: absolute;
404 position: absolute;
410 display: block;
405 display: block;
411 height: 12px;
406 height: 12px;
412 margin-bottom: 0px;
407 margin-bottom: 0px;
413 white-space: pre;
408 white-space: pre;
414 padding: floor(@basefontsize/4);
409 padding: floor(@basefontsize/4);
415 top: 0;
410 top: 0;
416 left: 0;
411 left: 0;
417 }
412 }
418
413
419 span{
414 span{
420 color: @text-color;
415 color: @text-color;
421 z-index: 0;
416 z-index: 0;
422 min-width: 20px;
417 min-width: 20px;
423 }
418 }
424
419
425 b {
420 b {
426 z-index: 1;
421 z-index: 1;
427 overflow: hidden;
422 overflow: hidden;
428 background-color: @rcblue;
423 background-color: @rcblue;
429 color: #FFF;
424 color: #FFF;
430 text-decoration: none;
425 text-decoration: none;
431 }
426 }
432
427
433 }
428 }
434
429
435 // Changesets
430 // Changesets
436 #changesets.rctable {
431 #changesets.rctable {
437
432
438 // td must be fixed height for graph
433 // td must be fixed height for graph
439 td {
434 td {
440 height: 32px;
435 height: 32px;
441 padding: 0 1em 0 0;
436 padding: 0 1em 0 0;
442 vertical-align: middle;
437 vertical-align: middle;
443 white-space: nowrap;
438 white-space: nowrap;
444
439
445 &.td-description {
440 &.td-description {
446 white-space: normal;
441 white-space: normal;
447 }
442 }
448
443
449 &.expand_commit {
444 &.expand_commit {
450 padding-right: 0;
445 padding-right: 0;
451 }
446 }
452 }
447 }
453 }
448 }
454
449
455 // Compare
450 // Compare
456 table.compare_view_commits {
451 table.compare_view_commits {
457 margin-top: @space;
452 margin-top: @space;
458
453
459 td.td-time {
454 td.td-time {
460 padding-left: .5em;
455 padding-left: .5em;
461 }
456 }
462
457
463 // special case to not show hover actions on hidden indicator
458 // special case to not show hover actions on hidden indicator
464 tr.compare_select_hidden:hover {
459 tr.compare_select_hidden:hover {
465 cursor: inherit;
460 cursor: inherit;
466
461
467 td {
462 td {
468 background-color: inherit;
463 background-color: inherit;
469 }
464 }
470 }
465 }
471
466
472 tr:hover {
467 tr:hover {
473 cursor: pointer;
468 cursor: pointer;
474
469
475 td {
470 td {
476 background-color: lighten(@alert4,25%);
471 background-color: lighten(@alert4,25%);
477 }
472 }
478 }
473 }
479
474
480
475
481 }
476 }
482
477
483 .file_history {
478 .file_history {
484 td.td-actions {
479 td.td-actions {
485 text-align: right;
480 text-align: right;
486 }
481 }
487 }
482 }
488
483
489
484
490 // Gist List
485 // Gist List
491 #gist_list_table {
486 #gist_list_table {
492 td {
487 td {
493 vertical-align: middle;
488 vertical-align: middle;
494
489
495 div{
490 div{
496 display: inline-block;
491 display: inline-block;
497 vertical-align: middle;
492 vertical-align: middle;
498 }
493 }
499
494
500 img{
495 img{
501 vertical-align: middle;
496 vertical-align: middle;
502 }
497 }
503 }
498 }
504 }
499 }
General Comments 0
You need to be logged in to leave comments. Login now