forked from nunobaldaia/html5_editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjquery.html5_editor.css
More file actions
executable file
·141 lines (116 loc) · 2.75 KB
/
jquery.html5_editor.css
File metadata and controls
executable file
·141 lines (116 loc) · 2.75 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/*
HTML5 Editor main styles
*/
/*
Containers
*/
.html5-editor-container {
position: relative;
}
.html5-editor-container .html5-editor {
min-height: 100px;
padding-top: 30px;
}
/*
Top toolbar
*/
.html5-editor-container .toolbar {
position: absolute;
top: 0;
z-index: 10;
background-color: #fff;
border: 1px solid #c9d0d6;
-webkit-border-bottom-right-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
-moz-border-radius-bottomright: 3px;
-moz-border-radius-bottomleft: 3px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.html5-editor-container .toolbar ul {
display: inline-block;
margin: 0;
padding: 0;
margin-right: 20px;
}
.html5-editor-container .toolbar ul:last-child {
margin-right: 0;
}
.html5-editor-container .toolbar li {
display: inline-block;
}
.html5-editor-container .toolbar li:last-child {
border-right: none;
}
/*
* Left toolbar
*/
.html5-editor-container .html5-editor.left-toolbar {
min-height: 100px;
padding-top: 0;
}
.html5-editor-container .toolbar.left {
left: -62px; top: 0;
width: 50px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-border-top-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
-moz-border-radius-topleft: 3px;
-moz-border-radius-bottomleft: 3px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
.html5-editor-container .toolbar.left ul {
display: block;
margin-bottom: 15px;
margin-right: 0;
}
.html5-editor-container .toolbar.left ul:last-child {
margin-top: 0;
}
.html5-editor-container .toolbar.left li {
display: block;
text-align: right;
}
.html5-editor-container .toolbar.left li:last-child {
}
.html5-editor-container .toolbar a {
font-family: 'Times New Roman', serif;
font-size: 14px;
text-decoration: none;
line-height: 21px;
padding: 3px;
text-shadow: 0 1px 1px #fff;
color: #666;
display: block;
}
.html5-editor-container .toolbar a:hover {
background-color: #c9d0d6;
}
.html5-editor-container .toolbar .code {
font-family: Fixed, Courier, monospace;
}
.html5-editor-container .toolbar .bold {
font-weight: bold;
}
.html5-editor-container .toolbar .italic {
font-style: italic;
}
.html5-editor-container .toolbar .underline {
text-decoration: underline;
}
.html5-editor-container .toolbar .strike {
text-decoration: line-through;
font-variant: small-caps;
}
/*
Fix toolbar on top the the editor
*/
.html5-editor-container .toolbar.fixed {
position: fixed;
-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
}