github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/public/libs/toopay-bootstrap-markdown/less/bootstrap-markdown.less (about)

     1  /**
     2   * Bootstrap-Markdown.less
     3   *
     4   * @author Taufan Aditya @taufanaditya
     5   * @copyright 2013 Taufan Aditya
     6   */
     7  
     8  @import "variables.less"; // Point this into your bootstrap variables
     9  @import "mixins.less"; // Point this into your bootstrap variables
    10  
    11  .md-editor {
    12    display: block;
    13    border: 1px solid @table-border-color;
    14  
    15    > .md-header, .md-footer {
    16      display: block;
    17      padding: 6px 4px;
    18      background: @panel-default-heading-bg;
    19    }
    20  
    21    > .md-header {
    22      margin: 0;
    23    }
    24  
    25    > .md-preview {
    26      background: @panel-bg;
    27      border-top: 1px dashed @table-border-color;
    28      border-bottom: 1px dashed @table-border-color;
    29      min-height: 10px;
    30      overflow: auto;
    31    }
    32  
    33    > textarea {
    34      font-family: @font-family-monospace;
    35      font-size: @font-size-base;
    36      outline: 0;
    37      outline: thin dotted  \9; /* IE6-9 */
    38      margin: 0;
    39      display: block;
    40      padding: 0;
    41      width: 100%;
    42      border: 0;
    43      border-top: 1px dashed @table-border-color;
    44      border-bottom: 1px dashed @table-border-color;
    45      border-radius: 0;
    46      box-shadow: none;
    47      background: @input-bg-disabled;
    48      &:focus {
    49        box-shadow: none;
    50        background: @input-bg;
    51      }
    52    }
    53  
    54    // Hover state
    55    @color: @input-border-focus;
    56    @color-rgba: rgba(red(@color), green(@color), blue(@color), .6);
    57    &.active {
    58      border-color: @color;
    59      outline: 0;
    60      .box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{color-rgba}");
    61    }
    62  }