Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Other: Moved ck-button-icon mixin from ckeditor5-theme-lark.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Dec 14, 2017
1 parent 6e9c6e4 commit 8757d27
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions theme/components/button/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* For licensing, see LICENSE.md.
*/

@import "./mixins/_button.css";
@import "../../mixins/_unselectable.css";
@import "../tooltip/mixins/_tooltip.css";

Expand Down
13 changes: 13 additions & 0 deletions theme/components/button/mixins/_button.css
Original file line number Diff line number Diff line change
@@ -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;
}
}

0 comments on commit 8757d27

Please sign in to comment.