svn:eol-stle:native (CRLF for licenses) for new files
git-svn-id: https://develop.svn.wordpress.org/trunk@17933 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1b66183679
commit
017298a40f
@ -1,32 +1,32 @@
|
|||||||
/**
|
/**
|
||||||
* SWFUpload: http://www.swfupload.org, http://swfupload.googlecode.com
|
* SWFUpload: http://www.swfupload.org, http://swfupload.googlecode.com
|
||||||
*
|
*
|
||||||
* mmSWFUpload 1.0: Flash upload dialog - http://profandesign.se/swfupload/, http://www.vinterwebb.se/
|
* mmSWFUpload 1.0: Flash upload dialog - http://profandesign.se/swfupload/, http://www.vinterwebb.se/
|
||||||
*
|
*
|
||||||
* SWFUpload is (c) 2006-2007 Lars Huring, Olov Nilzén and Mammon Media and is released under the MIT License:
|
* SWFUpload is (c) 2006-2007 Lars Huring, Olov Nilzén and Mammon Media and is released under the MIT License:
|
||||||
* http://www.opensource.org/licenses/mit-license.php
|
* http://www.opensource.org/licenses/mit-license.php
|
||||||
*
|
*
|
||||||
* SWFUpload 2 is (c) 2007-2008 Jake Roberts and is released under the MIT License:
|
* SWFUpload 2 is (c) 2007-2008 Jake Roberts and is released under the MIT License:
|
||||||
* http://www.opensource.org/licenses/mit-license.php
|
* http://www.opensource.org/licenses/mit-license.php
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
The MIT License
|
The MIT License
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
in the Software without restriction, including without limitation the rights
|
in the Software without restriction, including without limitation the rights
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
furnished to do so, subject to the following conditions:
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
The above copyright notice and this permission notice shall be included in
|
||||||
all copies or substantial portions of the Software.
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
@ -1,23 +1,23 @@
|
|||||||
(function($){
|
(function($){
|
||||||
$.widget("wp.wpdialog", $.ui.dialog, {
|
$.widget("wp.wpdialog", $.ui.dialog, {
|
||||||
open: function() {
|
open: function() {
|
||||||
var ed;
|
var ed;
|
||||||
|
|
||||||
// Initialize tinyMCEPopup if it exists and is the editor is active.
|
// Initialize tinyMCEPopup if it exists and is the editor is active.
|
||||||
if ( tinyMCEPopup && typeof tinyMCE != 'undefined' && ( ed = tinyMCE.activeEditor ) && !ed.isHidden() ) {
|
if ( tinyMCEPopup && typeof tinyMCE != 'undefined' && ( ed = tinyMCE.activeEditor ) && !ed.isHidden() ) {
|
||||||
tinyMCEPopup.init();
|
tinyMCEPopup.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add beforeOpen event.
|
// Add beforeOpen event.
|
||||||
if ( this._isOpen || false === this._trigger('beforeOpen') ) {
|
if ( this._isOpen || false === this._trigger('beforeOpen') ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open the dialog.
|
// Open the dialog.
|
||||||
$.ui.dialog.prototype.open.apply( this, arguments );
|
$.ui.dialog.prototype.open.apply( this, arguments );
|
||||||
// WebKit leaves focus in the TinyMCE editor unless we shift focus.
|
// WebKit leaves focus in the TinyMCE editor unless we shift focus.
|
||||||
this.element.focus();
|
this.element.focus();
|
||||||
this._trigger('refresh');
|
this._trigger('refresh');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
@ -1,287 +1,287 @@
|
|||||||
/*
|
/*
|
||||||
Distraction Free Writing mode TinyMCE Styles
|
Distraction Free Writing mode TinyMCE Styles
|
||||||
*/
|
*/
|
||||||
|
|
||||||
html, body.mceContentBody {
|
html, body.mceContentBody {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
max-width: none !important;
|
max-width: none !important;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
color: #444;
|
color: #444;
|
||||||
font-family: Georgia, "Bitstream Charter", serif;
|
font-family: Georgia, "Bitstream Charter", serif;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
p,
|
p,
|
||||||
dl,
|
dl,
|
||||||
td,
|
td,
|
||||||
th,
|
th,
|
||||||
ul,
|
ul,
|
||||||
ol,
|
ol,
|
||||||
blockquote {
|
blockquote {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
tr th,
|
tr th,
|
||||||
thead th,
|
thead th,
|
||||||
label,
|
label,
|
||||||
tr th,
|
tr th,
|
||||||
thead th {
|
thead th {
|
||||||
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
|
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
|
||||||
}
|
}
|
||||||
pre,
|
pre,
|
||||||
code,
|
code,
|
||||||
code var {
|
code var {
|
||||||
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||||
}
|
}
|
||||||
body, input, textarea {
|
body, input, textarea {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
hr {
|
hr {
|
||||||
background-color: #e7e7e7;
|
background-color: #e7e7e7;
|
||||||
border: 0;
|
border: 0;
|
||||||
clear: both;
|
clear: both;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
}
|
}
|
||||||
/* Text elements */
|
/* Text elements */
|
||||||
p {
|
p {
|
||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
}
|
}
|
||||||
ul {
|
ul {
|
||||||
list-style: square;
|
list-style: square;
|
||||||
margin: 0 0 18px 1.5em;
|
margin: 0 0 18px 1.5em;
|
||||||
}
|
}
|
||||||
ol {
|
ol {
|
||||||
list-style: decimal;
|
list-style: decimal;
|
||||||
margin: 0 0 18px 1.5em;
|
margin: 0 0 18px 1.5em;
|
||||||
}
|
}
|
||||||
ul ul,
|
ul ul,
|
||||||
ol ol,
|
ol ol,
|
||||||
ul ol,
|
ul ol,
|
||||||
ol ul {
|
ol ul {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
dl {
|
dl {
|
||||||
margin: 0 0 24px 0;
|
margin: 0 0 24px 0;
|
||||||
}
|
}
|
||||||
dt {
|
dt {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
dd {
|
dd {
|
||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
}
|
}
|
||||||
strong {
|
strong {
|
||||||
color: #000;
|
color: #000;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
cite,
|
cite,
|
||||||
em,
|
em,
|
||||||
i {
|
i {
|
||||||
border: none;
|
border: none;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
big {
|
big {
|
||||||
font-size: 131.25%;
|
font-size: 131.25%;
|
||||||
}
|
}
|
||||||
ins {
|
ins {
|
||||||
background: #ffc;
|
background: #ffc;
|
||||||
border: none;
|
border: none;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
del {
|
del {
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
color: #555;
|
color: #555;
|
||||||
}
|
}
|
||||||
blockquote {
|
blockquote {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
padding: 0 3em;
|
padding: 0 3em;
|
||||||
}
|
}
|
||||||
blockquote cite,
|
blockquote cite,
|
||||||
blockquote em,
|
blockquote em,
|
||||||
blockquote i {
|
blockquote i {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
pre {
|
pre {
|
||||||
background: #f7f7f7;
|
background: #f7f7f7;
|
||||||
color: #222;
|
color: #222;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
padding: 1.5em;
|
padding: 1.5em;
|
||||||
}
|
}
|
||||||
abbr,
|
abbr,
|
||||||
acronym {
|
acronym {
|
||||||
border-bottom: 1px dotted #666;
|
border-bottom: 1px dotted #666;
|
||||||
cursor: help;
|
cursor: help;
|
||||||
}
|
}
|
||||||
ins {
|
ins {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
sup,
|
sup,
|
||||||
sub {
|
sub {
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
height: 0;
|
height: 0;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
position: relative;
|
position: relative;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
}
|
}
|
||||||
sup {
|
sup {
|
||||||
bottom: 1ex;
|
bottom: 1ex;
|
||||||
}
|
}
|
||||||
sub {
|
sub {
|
||||||
top: .5ex;
|
top: .5ex;
|
||||||
}
|
}
|
||||||
a:link {
|
a:link {
|
||||||
color: #06c;
|
color: #06c;
|
||||||
}
|
}
|
||||||
a:visited {
|
a:visited {
|
||||||
color: #743399;
|
color: #743399;
|
||||||
}
|
}
|
||||||
a:active,
|
a:active,
|
||||||
a:hover {
|
a:hover {
|
||||||
color: #ff4b33;
|
color: #ff4b33;
|
||||||
}
|
}
|
||||||
p,
|
p,
|
||||||
ul,
|
ul,
|
||||||
ol,
|
ol,
|
||||||
dd,
|
dd,
|
||||||
pre,
|
pre,
|
||||||
hr {
|
hr {
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
ul ul,
|
ul ul,
|
||||||
ol ol,
|
ol ol,
|
||||||
ul ol,
|
ul ol,
|
||||||
ol ul {
|
ol ul {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
pre,
|
pre,
|
||||||
kbd,
|
kbd,
|
||||||
tt,
|
tt,
|
||||||
var {
|
var {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 21px;
|
line-height: 21px;
|
||||||
}
|
}
|
||||||
code {
|
code {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
strong,
|
strong,
|
||||||
b,
|
b,
|
||||||
dt,
|
dt,
|
||||||
th {
|
th {
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
color: #000;
|
color: #000;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px 0;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2.4em;
|
font-size: 2.4em;
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.8em;
|
font-size: 1.8em;
|
||||||
}
|
}
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 1.4em;
|
font-size: 1.4em;
|
||||||
}
|
}
|
||||||
h4 {
|
h4 {
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
h5 {
|
h5 {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
h6 {
|
h6 {
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
table {
|
table {
|
||||||
border: 1px solid #e7e7e7 !important;
|
border: 1px solid #e7e7e7 !important;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
margin: 0 -1px 24px 0;
|
margin: 0 -1px 24px 0;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
tr th,
|
tr th,
|
||||||
thead th {
|
thead th {
|
||||||
border: none !important;
|
border: none !important;
|
||||||
color: #888;
|
color: #888;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
padding: 9px 24px;
|
padding: 9px 24px;
|
||||||
}
|
}
|
||||||
tr td {
|
tr td {
|
||||||
border: none !important;
|
border: none !important;
|
||||||
border-top: 1px solid #e7e7e7 !important;
|
border-top: 1px solid #e7e7e7 !important;
|
||||||
padding: 6px 24px;
|
padding: 6px 24px;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
img.size-auto,
|
img.size-auto,
|
||||||
img.size-large,
|
img.size-large,
|
||||||
img.size-full,
|
img.size-full,
|
||||||
img.size-medium {
|
img.size-medium {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
.alignleft,
|
.alignleft,
|
||||||
img.alignleft {
|
img.alignleft {
|
||||||
display: inline;
|
display: inline;
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 24px;
|
margin-right: 24px;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
.alignright,
|
.alignright,
|
||||||
img.alignright {
|
img.alignright {
|
||||||
display: inline;
|
display: inline;
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 24px;
|
margin-left: 24px;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
.aligncenter,
|
.aligncenter,
|
||||||
img.aligncenter {
|
img.aligncenter {
|
||||||
clear: both;
|
clear: both;
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
img.alignleft,
|
img.alignleft,
|
||||||
img.alignright,
|
img.alignright,
|
||||||
img.aligncenter {
|
img.aligncenter {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
.wp-caption {
|
.wp-caption {
|
||||||
background: #f1f1f1;
|
background: #f1f1f1;
|
||||||
border: none;
|
border: none;
|
||||||
-khtml-border-radius: 0;
|
-khtml-border-radius: 0;
|
||||||
-moz-border-radius: 0;
|
-moz-border-radius: 0;
|
||||||
-webkit-border-radius: 0;
|
-webkit-border-radius: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
color: #888;
|
color: #888;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
max-width: 632px !important; /* prevent too-wide images from breaking layout */
|
max-width: 632px !important; /* prevent too-wide images from breaking layout */
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.wp-caption img {
|
.wp-caption img {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
}
|
}
|
||||||
.wp-caption p.wp-caption-text {
|
.wp-caption p.wp-caption-text {
|
||||||
margin: 0 0 4px;
|
margin: 0 0 4px;
|
||||||
}
|
}
|
||||||
.wp-smiley {
|
.wp-smiley {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user