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