[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

   1  .singlebutton {
   2      div {
   3          display: inline-block;
   4          margin-right: 5px;
   5          margin-bottom: 5px;
   6          margin-left: 5px;
   7      }
   8  }
   9  
  10  // Two singlebuttons side by side for ok/cancel.
  11  #notice {
  12      .buttons {
  13          .singlebutton {
  14              display: inline-block;
  15          }
  16      }
  17  }
  18  
  19  .continuebutton {
  20      text-align: center;
  21  }
  22  
  23  p.arrow_button {
  24      margin-top: 5em;
  25      text-align: center;
  26      #remove {
  27          margin: 3em auto 5em;
  28      }
  29      input {
  30          .btn-block;
  31      }
  32  }
  33  
  34  #addcontrols {
  35      // The margin top is equal the combination of the line-height and margin of a <p>,
  36      // because the visual parent is a <p>.
  37      margin-top: @baseLineHeight + (@baseLineHeight / 2);
  38      text-align: center;
  39      margin-bottom: 3em;
  40      label {
  41          display: inline;
  42      }
  43  }
  44  
  45  #addcontrols,
  46  #removecontrols {
  47      input {
  48          .btn-block;
  49          margin: auto;
  50      }
  51  }
  52  
  53  .btn-lineup {
  54      margin: 0 0 10px 5px;
  55  }
  56  
  57  input[name="searchwikicontent"] + input[type="submit"],
  58  select + input[type="submit"],
  59  input[type="text"] + input[type="button"],
  60  input[type="password"] + input[type="submit"],
  61  input[type="text"] + button,
  62  input[type="text"] + input[type="submit"] {
  63      .btn-lineup
  64  }
  65  
  66  button,
  67  input.form-submit,
  68  input[type="button"],
  69  input[type="submit"],
  70  input[type="reset"] {
  71      .btn;
  72  }
  73  button,
  74  input.form-submit,
  75  input[type="button"],
  76  input[type="submit"],
  77  input[type="reset"] {
  78      .btn-lineup;
  79  }
  80  
  81  button {
  82      &.yui3-button {
  83          &.closebutton {
  84              background-position: 0 0;
  85              &:hover {
  86                  background-position: 0 0;
  87                  // Because we assign the button look to every button tag
  88                  // above, we need to remove some styles from non-standard
  89                  // looking buttons. Correct fix, assign .btn class to every
  90                  // actual button in Moodle so we don't need to carpet bomb the
  91                  // bare button tag.
  92              }
  93          }
  94      }
  95  }
  96  
  97  input {
  98      &.fp-btn-choose {
  99          .btn-small
 100      }
 101  }
 102  
 103  .user-enroller-panel {
 104      .uep-search-results {
 105          .user,
 106          .cohort {
 107              .options {
 108                  .enrol {
 109                      .btn-mini
 110                  }
 111              }
 112          }
 113      }
 114  }


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