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