aboutsummaryrefslogtreecommitdiff
path: root/sources/skins/moonocolor/reset.css
diff options
context:
space:
mode:
Diffstat (limited to 'sources/skins/moonocolor/reset.css')
-rw-r--r--sources/skins/moonocolor/reset.css115
1 files changed, 115 insertions, 0 deletions
diff --git a/sources/skins/moonocolor/reset.css b/sources/skins/moonocolor/reset.css
new file mode 100644
index 0000000..32ddf98
--- /dev/null
+++ b/sources/skins/moonocolor/reset.css
@@ -0,0 +1,115 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5
6/*
7reset.css (part of editor.css)
8================================
9
10This file holds the "reset" requirements of CKEditor, as well as define the
11default interface styles.
12
13CKEditor includes two main "reset" class names in the DOM structure created for
14editors:
15
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.
18
19 * .cke_reset_all: Intended to reset not only the element holding it, but
20 also its child elements.
21
22To understand why "reset" is needed, check the CKEditor Skin SDK:
23http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Reset
24*/
25
26/* Reset for single elements, not their children. */
27.cke_reset
28{
29 /* Do not include inheritable rules here. */
30 margin: 0;
31 padding: 0;
32 border: 0;
33 background: transparent;
34 text-decoration: none;
35 width: auto;
36 height: auto;
37 vertical-align: baseline;
38 box-sizing: content-box;
39 position: static;
40 transition: none;
41}
42
43/* Reset for elements and their children. */
44.cke_reset_all, .cke_reset_all *,
45.cke_reset_all a, .cke_reset_all textarea
46{
47 /* The following must be identical to .cke_reset. */
48 margin: 0;
49 padding: 0;
50 border: 0;
51 background: transparent;
52 text-decoration: none;
53 width: auto;
54 height: auto;
55 vertical-align: baseline;
56 box-sizing: content-box;
57 position: static;
58 transition: none;
59
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;
63 color: #000;
64 text-align: left;
65 white-space: nowrap;
66 cursor: auto;
67 float: none;
68}
69
70.cke_reset_all .cke_rtl *
71{
72 text-align: right;
73}
74
75/* Defaults for some elements. */
76
77.cke_reset_all iframe
78{
79 vertical-align: inherit; /** For IE */
80}
81
82.cke_reset_all textarea
83{
84 white-space: pre-wrap;
85}
86
87.cke_reset_all textarea,
88.cke_reset_all input[type="text"],
89.cke_reset_all input[type="password"]
90{
91 cursor: text;
92}
93
94.cke_reset_all textarea[disabled],
95.cke_reset_all input[type="text"][disabled],
96.cke_reset_all input[type="password"][disabled]
97{
98 cursor: default;
99}
100
101.cke_reset_all fieldset
102{
103 padding: 10px;
104 border: 2px groove #E0DFE3;
105}
106
107.cke_reset_all select
108{
109 box-sizing: border-box;
110}
111
112.cke_reset_all table
113{
114 table-layout: auto;
115}