bs3-reset.less 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. //the following column widths need not be floated, as they are full width (100%)
  2. //but in our case it's needed, because sidebar is floated left(not position:absolute) and
  3. //the .row elements containing .col-*-12 have .clearfix behavior,
  4. //which doesn't allow any floating elements on left or right, thus causing problems with our sidebar
  5. .page-content > .row > {
  6. .col-xs-12 , .col-sm-12 , .col-md-12, .col-lg-12 {
  7. float: left;
  8. max-width: 100%;//if not, .col-xs-12 > .row > .col-sm-12 will have problems
  9. }
  10. }
  11. .col-xs-reset { width: auto; padding-left: 0; padding-right: 0; float: none !important; }
  12. @media (min-width: @screen-sm-min) {
  13. .col-sm-reset { width: auto; padding-left: 0; padding-right: 0; float: none !important; }
  14. }
  15. @media (min-width: @screen-md-min) {
  16. .col-md-reset { width: auto; padding-left: 0; padding-right: 0; float: none !important; }
  17. }
  18. @media (min-width: @screen-lg-min) {
  19. .col-lg-reset { width: auto; padding-left: 0; padding-right: 0; float: none !important; }
  20. }
  21. .jqstooltip , .legendColorBox div {
  22. .box-sizing(content-box);
  23. }
  24. .legendLabel {
  25. .box-sizing(content-box);
  26. height: 22px;
  27. padding-left: 2px;
  28. font-size: @font-flot-chart-label;
  29. }