]>
Commit | Line | Data |
---|---|---|
3332bebe IB |
1 | /*\r |
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.\r | |
3 | For licensing, see LICENSE.md or http://ckeditor.com/license\r | |
4 | */\r | |
5 | \r | |
6 | /*\r | |
7 | reset.css (part of editor.css)\r | |
8 | ================================\r | |
9 | \r | |
10 | This file holds the "reset" requirements of CKEditor, as well as define the\r | |
11 | default interface styles.\r | |
12 | \r | |
13 | CKEditor includes two main "reset" class names in the DOM structure created for\r | |
14 | editors:\r | |
15 | \r | |
16 | * .cke_reset: Intended to reset a specific element, but not its children.\r | |
17 | Because of this, only styles that will not be inherited can be defined.\r | |
18 | \r | |
19 | * .cke_reset_all: Intended to reset not only the element holding it, but\r | |
20 | also its child elements.\r | |
21 | \r | |
22 | To understand why "reset" is needed, check the CKEditor Skin SDK:\r | |
23 | http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Reset\r | |
24 | */\r | |
25 | \r | |
26 | /* Reset for single elements, not their children. */\r | |
27 | .cke_reset\r | |
28 | {\r | |
29 | /* Do not include inheritable rules here. */\r | |
30 | margin: 0;\r | |
31 | padding: 0;\r | |
32 | border: 0;\r | |
33 | background: transparent;\r | |
34 | text-decoration: none;\r | |
35 | width: auto;\r | |
36 | height: auto;\r | |
37 | vertical-align: baseline;\r | |
38 | box-sizing: content-box;\r | |
39 | position: static;\r | |
40 | transition: none;\r | |
41 | }\r | |
42 | \r | |
43 | /* Reset for elements and their children. */\r | |
44 | .cke_reset_all, .cke_reset_all *,\r | |
45 | .cke_reset_all a, .cke_reset_all textarea\r | |
46 | {\r | |
47 | /* The following must be identical to .cke_reset. */\r | |
48 | margin: 0;\r | |
49 | padding: 0;\r | |
50 | border: 0;\r | |
51 | background: transparent;\r | |
52 | text-decoration: none;\r | |
53 | width: auto;\r | |
54 | height: auto;\r | |
55 | vertical-align: baseline;\r | |
56 | box-sizing: content-box;\r | |
57 | position: static;\r | |
58 | transition: none;\r | |
59 | \r | |
60 | /* These are rule inherited by all children elements. */\r | |
61 | border-collapse: collapse;\r | |
62 | font: normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;\r | |
63 | color: #000;\r | |
64 | text-align: left;\r | |
65 | white-space: nowrap;\r | |
66 | cursor: auto;\r | |
67 | float: none;\r | |
68 | }\r | |
69 | \r | |
70 | .cke_reset_all .cke_rtl *\r | |
71 | {\r | |
72 | text-align: right;\r | |
73 | }\r | |
74 | \r | |
75 | /* Defaults for some elements. */\r | |
76 | \r | |
77 | .cke_reset_all iframe\r | |
78 | {\r | |
79 | vertical-align: inherit; /** For IE */\r | |
80 | }\r | |
81 | \r | |
82 | .cke_reset_all textarea\r | |
83 | {\r | |
84 | white-space: pre-wrap;\r | |
85 | }\r | |
86 | \r | |
87 | .cke_reset_all textarea,\r | |
88 | .cke_reset_all input[type="text"],\r | |
89 | .cke_reset_all input[type="password"]\r | |
90 | {\r | |
91 | cursor: text;\r | |
92 | }\r | |
93 | \r | |
94 | .cke_reset_all textarea[disabled],\r | |
95 | .cke_reset_all input[type="text"][disabled],\r | |
96 | .cke_reset_all input[type="password"][disabled]\r | |
97 | {\r | |
98 | cursor: default;\r | |
99 | }\r | |
100 | \r | |
101 | .cke_reset_all fieldset\r | |
102 | {\r | |
103 | padding: 10px;\r | |
104 | border: 2px groove #E0DFE3;\r | |
105 | }\r | |
106 | \r | |
107 | .cke_reset_all select\r | |
108 | {\r | |
109 | box-sizing: border-box;\r | |
110 | }\r | |
111 | \r | |
112 | .cke_reset_all table\r | |
113 | {\r | |
114 | table-layout: auto;\r | |
115 | }\r |