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