Browse Source

Adds flag element, adds bordered image variation

pull/912/head
jlukic 11 years ago
parent
commit
85309d5599
2 changed files with 44 additions and 0 deletions
  1. 33
      src/definitions/elements/flag.less
  2. 11
      src/definitions/elements/image.less

33
src/definitions/elements/flag.less

@ -0,0 +1,33 @@
/*
* # Semantic - Flag
* http://github.com/semantic-org/semantic-ui/
*
*
* Copyright 2013 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Theme
*******************************/
@type : 'element';
@element : 'flag';
@import '../../semantic.config';
i.flag {
display: inline-block;
background: url(@spritePath) no-repeat 0px 0px;
width: @width;
height: @height;
line-height: @height;
vertical-align: @verticalAlign;
margin: 0em @margin 0em 0em;
}
.loadUIOverrides();

11
src/definitions/elements/image.less

@ -65,6 +65,17 @@ img.ui.image {
border-radius: @roundedBorderRadius;
}
/*--------------
Bordered
---------------*/
.ui.bordered.images .image,
.ui.bordered.images img,
.ui.bordered.image img,
.ui.bordered.image {
border: @imageBorder;
}
/*--------------
Circular
---------------*/

Loading…
Cancel
Save