| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- // Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
- // For licensing, see LICENSE.md or http://ckeditor.com/license
- // TODO/NOTE: This along with _editor helper will probably become a creator theme.
- @include ck-editor {
- .ck-editor-top {
- .ck-toolbar {
- border-top: 0;
- border-left: 0;
- border-right: 0;
- }
- }
- .ck-editor-editable {
- background: ck-color();
- overflow: hidden;
- padding: ck-spacing();
- }
- .ck-editor-bottom {
- border-bottom: 0;
- border-left: 0;
- border-right: 0;
- padding: ck-spacing();
- }
- }
- .ck-editor,
- .ck-editor-bottom {
- background: ck-color( 'foreground' );
- border: 1px solid ck-border-color( 'foreground' );
- }
- @include ck-editor {
- .ck-toolbar {
- .ck-button {
- border: 0;
- }
- // Make sure the next button does not overlap focused one.
- .ck-button:focus {
- z-index: 1;
- }
- .ck-button:not(:hover):not(:focus):not(.ck-on) {
- background: ck-color( 'foreground' );
- }
- .ck-button.ck-on {
- @include ck-button-colors( 'foreground', -10 );
- }
- }
- }
|