[ Index ]

PHP Cross Reference of Unnamed Project

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


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1