// Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. // For licensing, see LICENSE.md or http://ckeditor.com/license /** * Resets an element, ignoring its children. */ .ck-reset { // Do not include inheritable rules here. margin: 0; padding: 0; border: 0; background: transparent; text-decoration: none; vertical-align: middle; transition: none; // https://github.com/ckeditor/ckeditor5-theme-lark/issues/105 word-wrap: break-word; } /** * Resets an element AND its children. */ .ck-reset_all { &, *, a, textarea { // These are rule inherited by all children elements. border-collapse: collapse; font: normal normal normal #{$ck-font-size-base}/#{$ck-line-height-base} $ck-font-face; color: ck-color( 'text' ); text-align: left; white-space: nowrap; cursor: auto; float: none; // The following must be identical to .ck-reset. @extend .ck-reset; } .ck-rtl * { text-align: right; } // Defaults for some elements. iframe { vertical-align: inherit; // For IE } textarea { white-space: pre-wrap; } textarea, input[type="text"], input[type="password"] { cursor: text; } textarea[disabled], input[type="text"][disabled], input[type="password"][disabled] { cursor: default; } fieldset { padding: 10px; border: 2px groove #E0DFE3; } // See http://stackoverflow.com/questions/5517744/remove-extra-button-spacing-padding-in-firefox button::-moz-focus-inner { padding: 0; border: 0 } }