1
|
/*
|
2
|
Copyright (c) 2003-2015, 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: 400 14px / 1.42857143 Roboto,Arial,Helvetica,Tahoma,Verdana,Sans-Serif;
|
63
|
color: #212121;
|
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: 1px solid #e4e4e4;
|
105
|
}
|
106
|
|
107
|
.cke_reset_all legend
|
108
|
{
|
109
|
background: #fff;
|
110
|
padding: 0 4px;
|
111
|
}
|
112
|
|
113
|
.cke_reset_all select
|
114
|
{
|
115
|
box-sizing: border-box;
|
116
|
}
|
117
|
|
118
|
.cke_reset_all table
|
119
|
{
|
120
|
table-layout: auto;
|
121
|
}
|