Procházet zdrojové kódy

Other: Moved ck-button-icon mixin from ckeditor5-theme-lark.

Aleksander Nowodzinski před 8 roky
rodič
revize
7b8368fab3

+ 1 - 0
packages/ckeditor5-ui/theme/components/button/button.css

@@ -3,6 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
+@import "./mixins/_button.css";
 @import "../../mixins/_unselectable.css";
 @import "../tooltip/mixins/_tooltip.css";
 

+ 13 - 0
packages/ckeditor5-ui/theme/components/button/mixins/_button.css

@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md.
+ */
+
+/**
+ * A helper to define button–specific icon styles.
+ */
+@define-mixin ck-button-icon {
+	& .ck-icon {
+		@mixin-content;
+	}
+}