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