github.com/fanux/shipyard@v0.0.0-20161009071005-6515ce223235/controller/static/semantic/src/definitions/elements/flag.less (about)

     1  /*!
     2   * # Semantic UI - Flag
     3   * http://github.com/semantic-org/semantic-ui/
     4   *
     5   *
     6   * Copyright 2014 Contributors
     7   * Released under the MIT license
     8   * http://opensource.org/licenses/MIT
     9   *
    10   */
    11  
    12  
    13  /*******************************
    14              Theme
    15  *******************************/
    16  
    17  @type    : 'element';
    18  @element : 'flag';
    19  
    20  @import (multiple) '../../theme.config';
    21  
    22  
    23  /*******************************
    24               Flag
    25  *******************************/
    26  
    27  i.flag:not(.icon) {
    28    display: inline-block;
    29  
    30    width: @width;
    31    height: @height;
    32  
    33    line-height: @height;
    34    vertical-align: @verticalAlign;
    35    margin: 0em @margin 0em 0em;
    36  
    37    text-decoration: inherit;
    38  
    39    speak: none;
    40    font-smoothing: antialiased;
    41    backface-visibility: hidden;
    42  }
    43  
    44  /* Sprite */
    45  i.flag:not(.icon):before {
    46    display: inline-block;
    47    content: '';
    48    background: url(@spritePath) no-repeat 0px 0px;
    49    width: @width;
    50    height: @height;
    51  }
    52  
    53  .loadUIOverrides();