Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(153)

Side by Side Diff: MoinMoin/themes/basic/static/custom-less/basic.less

Issue 108020043: Improved the index gui section in the basic theme and added smiley support (Closed)
Patch Set: Created 10 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 @import "notice.less"; 1 @import "notice.less";
2 @import "bootstrap.less"; 2 @import "bootstrap.less";
3 @import "moin-variables.less"; 3 @import "moin-variables.less";
4 4
5 // ---- Customising the top navbar breakpoint 5 // ---- Customising the top navbar breakpoint
6 @grid-float-breakpoint: @screen-md; 6 @grid-float-breakpoint: @screen-md;
7 7
8 @media screen and (min-width: @grid-float-breakpoint) { 8 @media screen and (min-width: @grid-float-breakpoint) {
9 .moin-pull-right { 9 .moin-pull-right {
10 .pull-right; 10 .pull-right;
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 ul.moin-breadcrumb li ul.moin-bcs-subitems{ 301 ul.moin-breadcrumb li ul.moin-bcs-subitems{
302 display: none; 302 display: none;
303 position: absolute; 303 position: absolute;
304 } 304 }
305 ul.moin-breadcrumb li:hover ul.moin-bcs-subitems{ 305 ul.moin-breadcrumb li:hover ul.moin-bcs-subitems{
306 display: block; 306 display: block;
307 } 307 }
308 .moin-thead{ 308 .moin-thead{
309 background-color: silver; 309 background-color: silver;
310 } 310 }
311
312 #filter-btn {·
313 background-color: #428bca;
Thomas.J.Waldmann 2014/06/14 18:24:16 hardcoded colour how is that compatible with boot
ajgupta93 2014/06/26 11:50:27 This color is picked from a bootstrap element alre
314 border-radius: 3px;
315 display: inline;
316 padding: 10px;
317 color: #ffffff;
318 margin-bottom: 10px;
319 }
320
321 .spacer {·
322 display: block;
323 }
324
325 .moin-contenttypes-wrapper {·
326 ul {
327 -webkit-padding-start: 0px;
328 -moz-padding-start: 0px;
329 }
330
331 div {
332 cursor: pointer;
333 display: block;
334 }
335
336 form {
337 display: none;
338
339 li label {
340 cursor: pointer;
341 display: inline;
342 line-height: 1.5em;
343 vertical-align: middle;
344 color: #1e90ff;
345 text-transform: capitalize;
Thomas.J.Waldmann 2014/06/14 18:24:16 why?
346 }
347
348 li span {
349 font-size: .8em;
350 text-transform: capitalize;
Thomas.J.Waldmann 2014/06/14 18:24:16 why?
351 display: block;
352 }
353
354 .filters {
355 background-color: white;
356 border: none;
357 margin-top: 1em;
358
359 .filter-toggle, .filter-more {·
360 font-size: 1em;
361 background-color: #eeeeee;
362 border: 1px solid #dddddd;
363 padding: 0.5em;
364 border-radius: 0.5em;
365 margin: 0.2em;
366 text-decoration: none;
367 }
368
369 }
370
371 }
372
373 li {
374 list-style-type: none;
375 width: 40%;
376 border-radius: 5px;
377 display: block;
378 padding: 5px;
379 margin-top: 5px;
380 }
381 }
382
383 .moin-item-index div {
384
385 .moin-select-item {
386 visibility: hidden;
387 display: inline-block;
388 width: 17px;
389 cursor: default;
390 background: transparent url("../img/moin-checkbox-off.png") no-repeat;
Thomas.J.Waldmann 2014/06/14 18:24:16 ehrm, doesn't bootstrap have something pretty for
391 margin-top: 1em;
392 }
393
394 &.selected-item .moin-select-item,&:hover .moin-select-item {·
395 visibility: visible;
396 }
397
398 &.selected-item .moin-select-item {
399 background-image: url("../img/moin-checkbox-on.png");
Thomas.J.Waldmann 2014/06/14 18:24:16 same here
400 }
401 }
402
403 .moin-download-link {
404 display: none;
405 }
406
407 .ct-hide:after {
408 content: url("../img/moin-moveup.png");
409 margin: 0 .2em;
410 float: right;
411 vertical-align: middle;
412 }
413
414 .moin-index-message {
415 width: 50%;
416 margin: 1em auto;
417 text-align: center;
418 display: none;
419
420 span {
421 padding: 4px;
422 background-color: #007cef;
423 color: #ffffff;
424 border: 1px solid #ccc;
425 border-radius: 5px;
426 }
427 }
428
429 .moin-index-path {
430 margin-left: .5em;
431
432 &:before {
433 content: url("../img/moin-parent.png");
Thomas.J.Waldmann 2014/06/14 18:24:16 same here
434 margin: 0.3em
435 }
436 }
437
438 .moin-clr {
439 clear: both;
440 }
441
442 .moin-item-index {
443 width: 100%;
444 margin-left: 0.5em;
445
446 div {
447 float: left;
448 width: 16.5em;
449
450 .moin-select-item {
451 visibility: hidden;
452 display: inline-block;
453 width: 17px;
454 cursor: default;
455 background: transparent url("../img/moin-checkbox-off.png") no-repeat;
456 margin-top: 1em;
457 }
458
459 &.selected-item .moin-select-item,&:hover .moin-select-item {
460 visibility: visible;
461 }
462
463 &.selected-item .moin-select-item {
464 background-image: url("../img/moin-checkbox-on.png");
465 }
466 }
467 }
468
469 .moin-index-separator {
470 clear: both;
471 border-top: 1px dashed #ccc;
472 display: none;
473 }
474
475 .popup-container {
476 margin: 0;
477 border: 5px solid #428bca;
478 border-radius: 6px 6px 0 0;
479 }
480
481 .popup-header {
482 background-color: #428bca;
483 color: #ffffff;
484 padding: 10px;
485 margin: 0;
486 }
487
488 input {
489
490 &[value="X"] {
491 padding: 0.1px;
492 margin: -.2em;
493 width: 19px;
494 border-radius: 2em;
495 float: right;
496
497 &:hover {
498 background: #f4f4f4;
499 }
500 }
501
502 &[type="text"] {
503 width: 96%;
504 }
505
506 &[type="submit"],&[type="button"],button {
507 font-weight: bold;
508 font-size: .75em;
509 background: #d6d5d0;
510 padding: 4px 15px;
511 border: 1px solid #ccc;
512 border-radius: 6px;
513 box-shadow: 1px 1px 2px #9d9d9b;
514 cursor: pointer;
515 }
516
517 &:hover {
518 box-shadow: 1px 1px 2px #000;
519 }
520
521 &:active {
522 position: relative;
523 top: 1px;
524 }
525 }
526
527 input,select {
528 padding: 3px;
529 background: #f4f4f4;
530 border: 1px solid #ccc;
531 border-radius: 2px;
532 }
533
534 .popup-body {
535 clear: both;
536 background-color: #f4f4f4;
537 color: #000000;
538 padding: 10px;
539 margin: 0;
540
541 label {
542 margin: 5px;
543 }
544
545 input {
546 margin: 8px 5px;
547 }
548 }
549
550 #moin-initials {
551 width: 90%;
552 margin: 5px auto;
553 text-align: center;
554
555 a {
556 display: inline-block;
557 margin: 0;
558 padding: 4px 5px;
559
560 &:hover,&.selected {
561 background: #428bca;
562 border-radius: 5px;
563 color: #ffffff;
564 text-decoration: none
565 }
566
567 }
568 }
569
570 #popup {
571 background: transparent url("../img/moin-transparent-bg.png") repeat;
572 padding: 5px;
573 width: 40%;
574 position: absolute;
575 top: 10%;
576 left: 30%;
577 display: none;
578 z-index: 10;
579 }
580
581 .moin-error {
582 color: #ff2727;
583 background: #d6d5d0;
584 padding: 4px;
585 margin: 1em;
586 text-align: center;
587 list-style-type: none;
588 border-radius: 5px;
589 }
590
591 .moin-textcha {
592 padding-top: .2em;
593 }
594
595 #moin-upload-cont {
596 min-height: 10px;
597 }
598
599 #file_upload {
600 margin-top: 2em;
601 }
602
603 form.upload_file {
604 background-color: #d6d5d0;
605 border: 1px solid #ccc;
606 cursor: pointer;
607 direction: ltr;
608 font-weight: bold;
609 height: 2.5em;
610 line-height: 2.5em;
611 overflow: hidden;
612 position: relative;
613 text-align: center;
614 width: 15em;
615 display: block;
616 box-shadow: 0 0 5px #9d9d9b;
617
618 &:hover {
619 box-shadow: 0 0 5px #000;
620 }
621
622 input {
623 cursor: pointer;
624 height: 100%;
625 margin: 0;
626 opacity: 0;
627 position: absolute;
628 }
629
630 button {
631 display: none
632 }
633 }
634
635 .file_upload_template .file_upload_start {
636 visibility: hidden;
637 border-width: 0;
638 padding: 0;
639
640 button {
641 width: 0;
642 }
643 }
644
645 .file_name {
646 word-break: break-all;
647 word-wrap: break-word;
648 max-width: 10em;
649 }
650
651 .upload-form {
652 display: none;
653 }
654
655 .moin-drag {
656 font-size: .7em;
657 color: #9d9d9b;
658 }
659
660 #lightbox {
661 background: #f4f4f4;
662 opacity: .7;
663 position: absolute;
664 left: 0;
665 top: 0;
666 width: 100%;
667 height: 100%;
668 z-index: 9;
669 margin: 0;
670 display: none
671 }
672
Thomas.J.Waldmann 2014/06/14 18:24:16 somehow I have a vague feeling that we add way to
311 // set min-width to prevent search box from floating off window to right 673 // set min-width to prevent search box from floating off window to right
312 @media (min-width: 768px) { 674 @media (min-width: 768px) {
313 .container { 675 .container {
314 width: auto; 676 width: auto;
315 } 677 }
316 } 678 }
317 @media (min-width: 992px) { 679 @media (min-width: 992px) {
318 .container { 680 .container {
319 width: auto; 681 width: auto;
320 } 682 }
321 } 683 }
322 @media (min-width: 1200px) { 684 @media (min-width: 1200px) {
323 .container { 685 .container {
324 width: auto; 686 width: auto;
325 } 687 }
326 } 688 }
OLDNEW
« no previous file with comments | « MoinMoin/themes/basic/static/css/basic.css ('k') | MoinMoin/themes/basic/static/img/admonitions/caution.png » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b