1/*
2 * Edited for compatibility with old TinyMCE 3.x plugins in WordPress.
3 * More info: https://core.trac.wordpress.org/ticket/31596#comment:10
4 */
5
6/* Generic */
7body {
8font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
9font-size:13px;
10background:#fcfcfc;
11padding:0;
12margin:8px 8px 0 8px;
13}
14
15textarea {resize:none;outline:none;}
16
17a:link, a:hover {
18 color: #2B6FB6;
19}
20
21a:visited {
22 color: #3C2BB6;
23}
24
25.nowrap {white-space: nowrap}
26
27/* Forms */
28form {margin: 0;}
29fieldset {margin:0; padding:4px; border:1px solid #dfdfdf; font-family:Verdana, Arial; font-size:10px;}
30legend {color:#2B6FB6; font-weight:bold;}
31label.msg {display:none;}
32label.invalid {color:#EE0000; display:inline;}
33input.invalid {border:1px solid #EE0000;}
34input {background:#FFF; border:1px solid #dfdfdf;}
35input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
36input, select, textarea {border:1px solid #dfdfdf;}
37input.radio {border:1px none #000000; background:transparent; vertical-align:middle;}
38input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;}
39.input_noborder {border:0;}
40
41/* Buttons */
42#insert,
43#cancel,
44#apply,
45.mceActionPanel .button,
46input.mceButton,
47.updateButton {
48 display: inline-block;
49 text-decoration: none;
50 border: 1px solid #adadad;
51 margin: 0;
52 padding: 0 10px 1px;
53 font-size: 13px;
54 height: 24px;
55 line-height: 22px;
56 color: #333;
57 cursor: pointer;
58 -webkit-border-radius: 3px;
59 -webkit-appearance: none;
60 border-radius: 3px;
61 white-space: nowrap;
62 -webkit-box-sizing: border-box;
63 -moz-box-sizing: border-box;
64 box-sizing: border-box;
65 background: #fafafa;
66 background-image: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#e9e9e9));
67 background-image: -webkit-linear-gradient(top, #fafafa, #e9e9e9);
68 background-image: -moz-linear-gradient(top, #fafafa, #e9e9e9);
69 background-image: -o-linear-gradient(top, #fafafa, #e9e9e9);
70 background-image: linear-gradient(to bottom, #fafafa, #e9e9e9);
71
72 text-shadow: 0 1px 0 #fff;
73 -webkit-box-shadow: inset 0 1px 0 #fff;
74 -moz-box-shadow: inset 0 1px 0 #fff;
75 box-shadow: inset 0 1px 0 #fff;
76}
77
78#insert {
79 background: #2ea2cc;
80 background: -webkit-gradient(linear, left top, left bottom, from(#2ea2cc), to(#1e8cbe));
81 background: -webkit-linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%);
82 background: linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%);
83 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ea2cc', endColorstr='#1e8cbe',GradientType=0 );
84 border-color: #0074a2;
85 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
86 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
87 color: #fff;
88 text-decoration: none;
89 text-shadow: 0 1px 0 rgba(0,86,132,0.7);
90}
91
92#cancel:hover,
93input.mceButton:hover,
94.updateButton:hover,
95#cancel:focus,
96input.mceButton:focus,
97.updateButton:focus {
98 background: #f3f3f3;
99 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f3f3f3));
100 background-image: -webkit-linear-gradient(top, #fff, #f3f3f3);
101 background-image: -moz-linear-gradient(top, #fff, #f3f3f3);
102 background-image: -ms-linear-gradient(top, #fff, #f3f3f3);
103 background-image: -o-linear-gradient(top, #fff, #f3f3f3);
104 background-image: linear-gradient(to bottom, #fff, #f3f3f3);
105 border-color: #999;
106 color: #222;
107}
108
109#insert:hover,
110#insert:focus {
111 background: #1e8cbe;
112 background: -webkit-gradient(linear, left top, left bottom, from(#1e8cbe), to(#0074a2));
113 background: -webkit-linear-gradient(top, #1e8cbe 0%,#0074a2 100%);
114 background: linear-gradient(top, #1e8cbe 0%,#0074a2 100%);
115 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e8cbe', endColorstr='#0074a2',GradientType=0 );
116 border-color: #0074a2;
117 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
118 box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
119 color: #fff;
120}
121
122.mceActionPanel #insert {
123 float: right;
124}
125
126/* Browse */
127a.pickcolor, a.browse {text-decoration:none}
128a.browse span {display:block; width:20px; height:18px; border:1px solid #FFF; margin-left:1px;}
129.mceOldBoxModel a.browse span {width:22px; height:20px;}
130a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
131a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30);}
132a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
133a.pickcolor span {display:block; width:20px; height:16px; margin-left:2px;}
134.mceOldBoxModel a.pickcolor span {width:21px; height:17px;}
135a.pickcolor:hover span {background-color:#B2BBD0;}
136div.iframecontainer {background: #fff;}
137
138/* Charmap */
139table.charmap {border:1px solid #AAA; text-align:center}
140td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;}
141#charmap a {display:block; color:#000; text-decoration:none; border:0}
142#charmap a:hover {background:#CCC;color:#2B6FB6}
143#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center}
144#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center}
145#charmap #charmapView {background-color:#fff;}
146
147/* Source */
148.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;}
149.mceActionPanel {margin-top:5px;}
150
151/* Tabs classes */
152.tabs {width:100%; height:19px; line-height:normal; border-bottom: 1px solid #aaa;}
153.tabs ul {margin:0; padding:0; list-style:none;}
154.tabs li {float:left; border: 1px solid #aaa; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;}
155.tabs li.current {border-bottom: 1px solid #fff; margin-right:2px;}
156.tabs span {float:left; display:block; padding:0px 10px 0 0;}
157.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;}
158.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}
159
160.wp-core-ui #tabs {
161 padding-bottom: 5px;
162 background-color: transparent;
163}
164
165.wp-core-ui #tabs a {
166 padding: 6px 10px;
167 margin: 0 2px;
168}
169
170/* Panels */
171.panel_wrapper div.panel {display:none;}
172.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;}
173.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;}
174
175/* Columns */
176.column {float:left;}
177.properties {width:100%;}
178.properties .column1 {}
179.properties .column2 {text-align:left;}
180
181/* Titles */
182h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;}
183h3 {font-size:14px;}
184.title {font-size:12px; font-weight:bold; color:#2B6FB6;}
185
186/* Dialog specific */
187#link .panel_wrapper, #link div.current {height:125px;}
188#image .panel_wrapper, #image div.current {height:200px;}
189#plugintable thead {font-weight:bold; background:#DDD;}
190#plugintable, #about #plugintable td {border:1px solid #919B9C;}
191#plugintable {width:96%; margin-top:10px;}
192#pluginscontainer {height:290px; overflow:auto;}
193#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px}
194#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline}
195#colorpicker #preview_wrapper {text-align:center; padding-top:4px; white-space: nowrap; float: right;}
196#colorpicker #insert, #colorpicker #cancel {width: 90px}
197#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;}
198#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;}
199#colorpicker #light div {overflow:hidden;}
200#colorpicker .panel_wrapper div.current {height:175px;}
201#colorpicker #namedcolors {width:150px;}
202#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
203#colorpicker #colornamecontainer {margin-top:5px;}
204#colorpicker #picker_panel fieldset {margin:auto;width:325px;}
205
206
207/* Localization */
208
209body[dir="rtl"],
210body[dir="rtl"] fieldset,
211body[dir="rtl"] input, body[dir="rtl"] select, body[dir="rtl"] textarea,
212body[dir="rtl"] #charmap #codeN,
213body[dir="rtl"] .tabs a {
214 font-family: Tahoma, sans-serif;
215}
216