diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-02-19 23:38:52 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-02-19 23:38:52 +0100 |
commit | 3332bebe4da6dfa0fe3e4b2abddc84b1cc62f8f5 (patch) | |
tree | a4f77655fe55b79606e7d3416504686a1ab8b058 /sources/skins/moono/reset.css | |
download | piedsjaloux-ckeditor-component-3332bebe4da6dfa0fe3e4b2abddc84b1cc62f8f5.tar.gz piedsjaloux-ckeditor-component-3332bebe4da6dfa0fe3e4b2abddc84b1cc62f8f5.tar.zst piedsjaloux-ckeditor-component-3332bebe4da6dfa0fe3e4b2abddc84b1cc62f8f5.zip |
Initial commit4.5.7
Diffstat (limited to 'sources/skins/moono/reset.css')
-rw-r--r-- | sources/skins/moono/reset.css | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/sources/skins/moono/reset.css b/sources/skins/moono/reset.css new file mode 100644 index 0000000..169308d --- /dev/null +++ b/sources/skins/moono/reset.css | |||
@@ -0,0 +1,115 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | reset.css (part of editor.css) | ||
8 | ================================ | ||
9 | |||
10 | This file holds the "reset" requirements of CKEditor, as well as define the | ||
11 | default interface styles. | ||
12 | |||
13 | CKEditor includes two main "reset" class names in the DOM structure created for | ||
14 | editors: | ||
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 | |||
22 | To understand why "reset" is needed, check the CKEditor Skin SDK: | ||
23 | http://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 | } | ||