| 1 |
efrain |
1 |
/*
|
|
|
2 |
Copyright (c) 2003-2014, 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 |
/* Do not include inheritable rules here. */
|
|
|
29 |
margin: 0;
|
|
|
30 |
padding: 0;
|
|
|
31 |
border: 0;
|
|
|
32 |
background: transparent;
|
|
|
33 |
text-decoration: none;
|
|
|
34 |
width: auto;
|
|
|
35 |
height: auto;
|
|
|
36 |
vertical-align: baseline;
|
|
|
37 |
box-sizing: content-box;
|
|
|
38 |
-moz-box-sizing: content-box;
|
|
|
39 |
-webkit-box-sizing: content-box;
|
|
|
40 |
position: static;
|
|
|
41 |
-webkit-transition: none;
|
|
|
42 |
-moz-transition: none;
|
|
|
43 |
-ms-transition: none;
|
|
|
44 |
transition: none;
|
|
|
45 |
}
|
|
|
46 |
|
|
|
47 |
/* Reset for elements and their children. */
|
|
|
48 |
.cke_reset_all, .cke_reset_all * {
|
|
|
49 |
/* The following must be identical to .cke_reset. */
|
|
|
50 |
margin: 0;
|
|
|
51 |
padding: 0;
|
|
|
52 |
border: 0;
|
|
|
53 |
background: transparent;
|
|
|
54 |
text-decoration: none;
|
|
|
55 |
width: auto;
|
|
|
56 |
height: auto;
|
|
|
57 |
vertical-align: baseline;
|
|
|
58 |
box-sizing: content-box;
|
|
|
59 |
-moz-box-sizing: content-box;
|
|
|
60 |
-webkit-box-sizing: content-box;
|
|
|
61 |
position: static;
|
|
|
62 |
-webkit-transition: none;
|
|
|
63 |
-moz-transition: none;
|
|
|
64 |
-ms-transition: none;
|
|
|
65 |
transition: none;
|
|
|
66 |
|
|
|
67 |
/* These are rule inherited by all children elements. */
|
|
|
68 |
border-collapse: collapse;
|
|
|
69 |
font: normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;
|
|
|
70 |
color: $gray-darker;
|
|
|
71 |
text-align: left;
|
|
|
72 |
white-space: nowrap;
|
|
|
73 |
cursor: auto;
|
|
|
74 |
float: none;
|
|
|
75 |
}
|
|
|
76 |
|
|
|
77 |
.cke_reset_all {
|
|
|
78 |
.cke_rtl * {
|
|
|
79 |
text-align: right;
|
|
|
80 |
}
|
|
|
81 |
/* Defaults for some elements. */
|
|
|
82 |
iframe {
|
|
|
83 |
vertical-align: inherit; /** For IE */
|
|
|
84 |
}
|
|
|
85 |
textarea {
|
|
|
86 |
white-space: pre;
|
|
|
87 |
}
|
|
|
88 |
textarea, input[type="text"], input[type="password"] {
|
|
|
89 |
cursor: text;
|
|
|
90 |
}
|
|
|
91 |
textarea[disabled], input[type="text"][disabled], input[type="password"][disabled] {
|
|
|
92 |
cursor: default;
|
|
|
93 |
}
|
|
|
94 |
fieldset {
|
|
|
95 |
padding: 10px;
|
|
|
96 |
margin-top: 10px;
|
|
|
97 |
border: 1px solid $hr-border;
|
|
|
98 |
legend {
|
|
|
99 |
padding: 0 5px;
|
|
|
100 |
}
|
|
|
101 |
}
|
|
|
102 |
select {
|
|
|
103 |
box-sizing: border-box;
|
|
|
104 |
-moz-box-sizing: border-box;
|
|
|
105 |
-webkit-box-sizing: border-box;
|
|
|
106 |
}
|
|
|
107 |
}
|