aboutsummaryrefslogtreecommitdiff
path: root/sources/skins/moono/reset.css
blob: 32ddf98e38970bd0e3476572dcb42c431c71acff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/

/*
reset.css (part of editor.css)
================================

This file holds the "reset" requirements of CKEditor, as well as define the
default interface styles.

CKEditor includes two main "reset" class names in the DOM structure created for
editors:

	* .cke_reset: Intended to reset a specific element, but not its children.
	  Because of this, only styles that will not be inherited can be defined.

	* .cke_reset_all: Intended to reset not only the element holding it, but
	   also its child elements.

To understand why "reset" is needed, check the CKEditor Skin SDK:
http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Reset
*/

/* Reset for single elements, not their children. */
.cke_reset
{
	/* Do not include inheritable rules here. */
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	text-decoration: none;
	width: auto;
	height: auto;
	vertical-align: baseline;
	box-sizing: content-box;
	position: static;
	transition: none;
}

/* Reset for elements and their children. */
.cke_reset_all, .cke_reset_all *,
.cke_reset_all a, .cke_reset_all textarea
{
	/* The following must be identical to .cke_reset. */
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	text-decoration: none;
	width: auto;
	height: auto;
	vertical-align: baseline;
	box-sizing: content-box;
	position: static;
	transition: none;

	/* These are rule inherited by all children elements. */
	border-collapse: collapse;
	font: normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;
	color: #000;
	text-align: left;
	white-space: nowrap;
	cursor: auto;
	float: none;
}

.cke_reset_all .cke_rtl *
{
	text-align: right;
}

/* Defaults for some elements. */

.cke_reset_all iframe
{
	vertical-align: inherit;	/** For IE */
}

.cke_reset_all textarea
{
	white-space: pre-wrap;
}

.cke_reset_all textarea,
.cke_reset_all input[type="text"],
.cke_reset_all input[type="password"]
{
	cursor: text;
}

.cke_reset_all textarea[disabled],
.cke_reset_all input[type="text"][disabled],
.cke_reset_all input[type="password"][disabled]
{
	cursor: default;
}

.cke_reset_all fieldset
{
	padding: 10px;
	border: 2px groove #E0DFE3;
}

.cke_reset_all select
{
	box-sizing: border-box;
}

.cke_reset_all table
{
	table-layout: auto;
}