Explorar el Código

Moved icon component rules to Wireframe.

Aleksander Nowodzinski hace 9 años
padre
commit
d83e52e1e1
Se han modificado 1 ficheros con 3 adiciones y 26 borrados
  1. 3 26
      packages/ckeditor5-theme-lark/theme/components/icon.scss

+ 3 - 26
packages/ckeditor5-theme-lark/theme/components/icon.scss

@@ -1,30 +1,7 @@
 // Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
 // For licensing, see LICENSE.md or http://ckeditor.com/license
 
-/**
- * Default width/height of an icon.
- */
-$ck-icon-size: 20px;
-
-.ck-icon {
-	min-width: $ck-icon-size;
-	min-height: $ck-icon-size;
-	width: #{$ck-icon-size / $ck-font-size-base}em;
-	height: #{$ck-icon-size / $ck-font-size-base}em;
-	font-size: 1em;
-	vertical-align: middle;
-	color: inherit;
-
-	// Inherit cursor style (#5).
-	cursor: inherit;
-
-	* {
-		// Inherit cursor style (#5).
-		cursor: inherit;
-
-		// Allows dynamic coloring of the icons.
-		color: inherit;
-		// Needed by FF.
-		fill: currentColor;
-	}
+svg.ck-icon {
+	width: #{ $ck-icon-size / $ck-font-size-base }em;
+	height: #{ $ck-icon-size / $ck-font-size-base }em;
 }