2 Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
3 For licensing, see LICENSE.md or http://ckeditor.com/license
7 reset.css (part of editor.css)
8 ================================
10 This file holds the "reset" requirements of CKEditor, as well as define the
11 default interface styles.
13 CKEditor includes two main "reset" class names in the DOM structure created for
16 * .cke_reset: Intended to reset a specific element, but not its children.
17 Because of this, only styles that will not be inherited can be defined.
19 * .cke_reset_all: Intended to reset not only the element holding it, but
20 also its child elements.
22 To understand why "reset" is needed, check the CKEditor Skin SDK:
23 http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Reset
26 /* Reset for single elements, not their children. */
29 /* Do not include inheritable rules here. */
33 background: transparent
;
34 text-decoration: none
;
37 vertical-align: baseline
;
38 box-sizing: content-box
;
43 /* Reset for elements and their children. */
44 .cke_reset_all
, .cke_reset_all
*,
45 .cke_reset_all a
, .cke_reset_all textarea
47 /* The following must be identical to .cke_reset. */
51 background: transparent
;
52 text-decoration: none
;
55 vertical-align: baseline
;
56 box-sizing: content-box
;
60 /* These are rule inherited by all children elements. */
61 border-collapse: collapse
;
62 font: normal normal normal
12px Arial
,Helvetica
,Tahoma
,Verdana
,Sans-Serif
;
70 .cke_reset_all
.cke_rtl
*
75 /* Defaults for some elements. */
79 vertical-align: inherit
; /** For IE */
82 .cke_reset_all textarea
84 white-space: pre-wrap
;
87 .cke_reset_all textarea
,
88 .cke_reset_all input
[type
="text"],
89 .cke_reset_all input
[type
="password"]
94 .cke_reset_all textarea
[disabled
],
95 .cke_reset_all input
[type
="text"][disabled
],
96 .cke_reset_all input
[type
="password"][disabled
]
101 .cke_reset_all fieldset
104 border: 2px groove
#E0DFE3;
107 .cke_reset_all select
109 box-sizing: border-box
;