assets/stylesheets/semantic_ui/definitions/elements/icon.less in less-rails-semantic_ui-1.8.1.0 vs assets/stylesheets/semantic_ui/definitions/elements/icon.less in less-rails-semantic_ui-1.9.0.0
- old
+ new
@@ -13,33 +13,37 @@
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
+
/*******************************
Theme
*******************************/
@type : 'element';
@element : 'icon';
-@import 'semantic_ui/theme.config';
+@import (multiple) 'semantic_ui/theme.config';
+& {
+
+
/*******************************
Icon
*******************************/
@font-face {
font-family: 'Icons';
src: asset-url("@{fontPath}/@{fontName}.eot");
src:
asset-url("@{fontPath}/@{fontName}.eot?#iefix") format('embedded-opentype'),
- asset-url("@{fontPath}/@{fontName}.svg#icons") format('svg'),
+ asset-url("@{fontPath}/@{fontName}.woff2") format('woff'),
asset-url("@{fontPath}/@{fontName}.woff") format('woff'),
- asset-url("@{fontPath}/@{fontName}.ttf") format('truetype')
+ asset-url("@{fontPath}/@{fontName}.ttf") format('truetype'),
+ asset-url("@{fontPath}/@{fontName}.svg#icons") format('svg')
;
-
font-style: normal;
font-weight: normal;
font-variant: normal;
text-decoration: inherit;
text-transform: none;
@@ -347,5 +351,8 @@
font-size: @massive;
vertical-align: middle;
}
.loadUIOverrides();
+
+}
+