[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/theme/bootstrapbase/less/ -> moodle.less (source)

   1  // Import the bootstrap variables.
   2  @import "bootstrap/variables.less";
   3  
   4  // Old Moodle stuff from base theme.
   5  // Massive, needs broken up.
   6  @import "moodle/core";
   7  @import "moodle/admin";
   8  @import "moodle/calendar";
   9  @import "moodle/course";
  10  @import "moodle/filemanager";
  11  @import "moodle/message";
  12  @import "moodle/question";
  13  @import "moodle/user";
  14  
  15  
  16  // Upstream Bootstrap.
  17  @import "bootstrap/bootstrap";
  18  
  19  // Override Bootstrap defaults.
  20  @import "moodle/bootstrapoverride";
  21  
  22  // Set image location.
  23  @iconSpritePath:          ~"[[pix:theme|glyphicons-halflings]]";
  24  @iconWhiteSpritePath:     ~"[[pix:theme|glyphicons-halflings-white]]";
  25  
  26  // Increase form label width.
  27  @horizontalComponentOffset: 200px;
  28  // On Wider screens.
  29  @horizontalComponentOffset980: 220px;
  30  @horizontalComponentOffset1200: 265px;
  31  
  32  // We need to darken the link colour as its contrast is too low for accessibility tests.
  33  // Bootstrap defines - @linkColor: #08c;
  34  // We only need to darken this ever so slightly - so 7%;
  35  // Calculated with => @linkColor: darken(#08c, 7%);
  36  @linkColor:             #0070a8;
  37  @linkColorHover:        darken(@linkColor, 15%);
  38  
  39  // Roll back nameclashes.
  40  @import "moodle/undo";
  41  
  42  // Extra padding for fixed nav.
  43  // Needs to be between bootstrap/bootstrap and
  44  // bootstrap/responsive.
  45  body {
  46      padding-top: 60px;
  47  }
  48  
  49  // New Moodle stuff that builds on Bootstrap.
  50  @import "moodle/blocks";
  51  @import "moodle/forms";
  52  @import "moodle/modules";
  53  @import "moodle/chat";
  54  @import "moodle/reports";
  55  @import "moodle/backup-restore";
  56  @import "moodle/tables";
  57  @import "moodle/buttons";
  58  @import "moodle/grade";
  59  @import "moodle/dock";
  60  
  61  // Anything below this line is considered expendable,
  62  // so it doesn't matter if it doesn't show up in ie < 9
  63  // though at current time (2013-03-13) the whole file is
  64  // picked up in IE8, and IE9 fails at some point during the
  65  // responsive section, cutting off the last 400 selectors.
  66  
  67  // The following responsive imports are copied in
  68  // from "bootstrap/responsive".
  69  @import "bootstrap/responsive-utilities.less";
  70  @import "bootstrap/responsive-1200px-min.less";
  71  @import "bootstrap/responsive-768px-979px.less";
  72  @import "bootstrap/responsive-767px-max.less";
  73  @import "bootstrap/responsive-navbar.less";
  74  @import "moodle/responsive";
  75  
  76  @import "moodle/debug";
  77  @import "moodle/expendable";


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1