2008-06-10 06:40:21 +02:00
|
|
|
|
|
|
|
html, body {
|
|
|
|
background-color: #fff;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2012-11-15 00:21:59 +01:00
|
|
|
body {
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 1.4em;
|
2008-11-14 03:35:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a.button {
|
|
|
|
padding: 4px 8px;
|
2008-06-10 06:40:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
textarea,
|
|
|
|
input,
|
|
|
|
select {
|
2012-11-15 00:21:59 +01:00
|
|
|
font: inherit;
|
2008-06-10 06:40:21 +02:00
|
|
|
margin: 1px;
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
2010-01-08 14:06:17 +01:00
|
|
|
p.help {
|
|
|
|
margin: 4px 0;
|
|
|
|
font-size: 12px;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2008-06-10 06:40:21 +02:00
|
|
|
abbr.required {
|
|
|
|
color: #FF0000;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2008-06-14 18:38:08 +02:00
|
|
|
img.alignright,
|
2008-06-10 06:40:21 +02:00
|
|
|
.alignright {
|
|
|
|
float: right;
|
2010-01-08 14:06:17 +01:00
|
|
|
margin-left: 5px;
|
2008-06-10 06:40:21 +02:00
|
|
|
}
|
|
|
|
|
2008-06-14 18:38:08 +02:00
|
|
|
img.alignleft,
|
2008-06-10 06:40:21 +02:00
|
|
|
.alignleft {
|
|
|
|
float: left;
|
2010-01-08 14:06:17 +01:00
|
|
|
margin-right: 5px;
|
2008-06-10 06:40:21 +02:00
|
|
|
}
|
|
|
|
|
2008-06-14 18:38:08 +02:00
|
|
|
img.aligncenter {
|
2008-06-10 06:40:21 +02:00
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
th.label {
|
2008-06-23 17:26:03 +02:00
|
|
|
width: 107px;
|
2008-06-10 06:40:21 +02:00
|
|
|
}
|
|
|
|
|
2008-07-09 01:38:53 +02:00
|
|
|
#media-upload #basic th.label {
|
|
|
|
padding: 5px 5px 5px 0;
|
|
|
|
}
|
|
|
|
|
2008-06-10 06:40:21 +02:00
|
|
|
.show-align {
|
|
|
|
height: 200px;
|
2008-06-14 18:38:08 +02:00
|
|
|
width: 480px;
|
|
|
|
float: right;
|
2008-06-10 06:40:21 +02:00
|
|
|
background-color: #f1f1f1;
|
|
|
|
cursor: default;
|
|
|
|
-moz-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2008-11-23 07:37:15 +01:00
|
|
|
#img-edit {
|
2008-11-14 03:35:02 +01:00
|
|
|
border: 1px solid #dfdfdf;
|
2008-06-10 06:40:21 +02:00
|
|
|
width: 623px;
|
2008-06-14 18:38:08 +02:00
|
|
|
margin: 15px auto;
|
2008-06-10 06:40:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#media-upload .media-upload-form table.describe {
|
|
|
|
border-top-style: none;
|
|
|
|
border-top-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#img_demo_txt {
|
2008-11-23 07:37:15 +01:00
|
|
|
font-size: 9px;
|
|
|
|
line-height: 13px;
|
|
|
|
font-family: Monaco,"Courier New",Courier,monospace;
|
|
|
|
color: #888;
|
2008-06-10 06:40:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#img_demo {
|
2008-06-14 18:38:08 +02:00
|
|
|
padding: 0;
|
2008-06-10 06:40:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#saveeditimg {
|
|
|
|
padding: 10px 0 0 5px;
|
|
|
|
border-top: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidemenu,
|
|
|
|
#sidemenu li {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidemenu li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidemenu a {
|
|
|
|
border-bottom-style: solid;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-top-style: solid;
|
|
|
|
border-top-width: 1px;
|
|
|
|
display: block;
|
|
|
|
float: left;
|
2008-11-23 07:37:15 +01:00
|
|
|
height: 28px;
|
2008-06-10 06:40:21 +02:00
|
|
|
line-height: 28px;
|
|
|
|
text-decoration: none;
|
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0pt 7px;
|
2011-11-02 16:24:56 +01:00
|
|
|
background-color: #f9f9f9;
|
|
|
|
border-color: #f9f9f9;
|
|
|
|
border-bottom-color: #dfdfdf;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #21759B;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover,
|
|
|
|
a:active,
|
|
|
|
a:focus {
|
|
|
|
color: #D54E21;
|
2008-06-10 06:40:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidemenu a.current {
|
2008-06-23 17:26:03 +02:00
|
|
|
-webkit-border-top-left-radius: 4px;
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
-webkit-border-top-right-radius: 4px;
|
|
|
|
border-top-right-radius: 4px;
|
2010-01-08 14:06:17 +01:00
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px;
|
|
|
|
font-weight: normal;
|
2011-11-02 16:24:56 +01:00
|
|
|
background-color: #fff;
|
|
|
|
border-color: #dfdfdf #dfdfdf #fff;
|
|
|
|
color: #D54E21;
|
2008-06-10 06:40:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#adv_settings .field label {
|
|
|
|
padding: 0 5px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#media-upload h3 {
|
2008-06-14 18:38:08 +02:00
|
|
|
clear: both;
|
|
|
|
padding: 0pt 0pt 3px;
|
|
|
|
border-bottom-style: solid;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
font-family: Georgia,"Times New Roman",Times,serif;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: normal;
|
|
|
|
margin: 0 0 10px -4px;
|
|
|
|
padding: 15px 0 3px;
|
|
|
|
border-bottom-color: #DADADA;
|
|
|
|
color: #5A5A5A;
|
2008-06-10 06:40:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#img_dim #width,
|
2008-06-14 18:38:08 +02:00
|
|
|
#img_dim #height,
|
|
|
|
#img_prop #border,
|
|
|
|
#img_prop #vspace,
|
|
|
|
#img_prop #hspace {
|
|
|
|
width: 36px;
|
2008-06-10 06:40:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#img_dim abbr {
|
|
|
|
padding: 0 4px;
|
|
|
|
}
|
|
|
|
|
2008-06-14 18:38:08 +02:00
|
|
|
#show_align_sp {
|
|
|
|
width: 115px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#img_dim input,
|
|
|
|
#img_prop input {
|
|
|
|
margin-right: 10px;
|
2008-06-10 06:40:21 +02:00
|
|
|
}
|
|
|
|
|
2008-06-23 17:26:03 +02:00
|
|
|
#basic .align .field label {
|
|
|
|
padding: 0 0 0 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#basic {
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 2px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#img_size {
|
|
|
|
float: right;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: #f1f1f1;
|
|
|
|
padding: 5px 0;
|
|
|
|
width: 45px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#img_size div {
|
|
|
|
font-size: 10px;
|
|
|
|
padding: 2px;
|
|
|
|
border: 1px solid #f1f1f1;
|
|
|
|
line-height: 15px;
|
|
|
|
height: 15px;
|
|
|
|
-webkit-border-radius: 3px;
|
|
|
|
border-radius: 3px;
|
|
|
|
color: #07273E;
|
|
|
|
}
|
|
|
|
|
|
|
|
#img_size div#s100 {
|
|
|
|
border-color: #A3A3A3;
|
|
|
|
background-color: #E5E5E5;
|
|
|
|
}
|
|
|
|
|
|
|
|
#img_size_div {
|
|
|
|
width: 100px;
|
|
|
|
float: left;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
#img_size_title {
|
|
|
|
margin: 0 7px 5px;
|
|
|
|
text-align: right;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#img_align_td {
|
|
|
|
padding: 2px 0 8px;
|
|
|
|
}
|
2008-11-14 03:35:02 +01:00
|
|
|
|
|
|
|
#media-upload tr.align td.field {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.describe td {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
#media-upload .describe th.label {
|
|
|
|
padding-top: .5em;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
#media-upload .describe {
|
|
|
|
border-top-width: 1px;
|
|
|
|
border-top-style: solid;
|
|
|
|
padding: 5px;
|
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
margin: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.describe input[type="text"],
|
|
|
|
.describe textarea {
|
|
|
|
width: 460px;
|
|
|
|
border: 1px solid #dfdfdf;
|
2010-01-08 14:06:17 +01:00
|
|
|
-webkit-border-radius: 4px;
|
|
|
|
border-radius: 4px;
|
2008-11-14 03:35:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-upload-form label,
|
|
|
|
.media-upload-form legend {
|
|
|
|
font-weight: bold;
|
2010-01-08 14:06:17 +01:00
|
|
|
font-size: 12px;
|
2008-11-14 03:35:02 +01:00
|
|
|
color: #464646;
|
|
|
|
}
|
|
|
|
|
|
|
|
.align .field label {
|
|
|
|
display: inline;
|
|
|
|
padding: 0 0 0 28px;
|
|
|
|
margin: 0 1em 0 0;
|
|
|
|
}
|
2012-11-15 00:21:59 +01:00
|
|
|
|
2008-11-14 03:35:02 +01:00
|
|
|
.image-align-none-label {
|
|
|
|
background: url(../../../../../../wp-admin/images/align-none.png) no-repeat center left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-align-left-label {
|
|
|
|
background: url(../../../../../../wp-admin/images/align-left.png) no-repeat center left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-align-center-label {
|
|
|
|
background: url(../../../../../../wp-admin/images/align-center.png) no-repeat center left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-align-right-label {
|
|
|
|
background: url(../../../../../../wp-admin/images/align-right.png) no-repeat center left;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#media-upload-header {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 5px;
|
|
|
|
font-weight: bold;
|
|
|
|
position: relative;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
2012-04-25 22:56:26 +02:00
|
|
|
height: 33px;
|
2011-11-02 16:24:56 +01:00
|
|
|
background-color: #f9f9f9;
|
|
|
|
border-bottom-color: #dfdfdf;
|
2008-11-14 03:35:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body#media-upload ul#sidemenu {
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0 5px;
|
|
|
|
position: relative;
|
|
|
|
left: 0px;
|
|
|
|
bottom: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#media-upload-error {
|
|
|
|
margin: 1em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2008-11-23 07:37:15 +01:00
|
|
|
|
2011-11-02 16:24:56 +01:00
|
|
|
#TB_window #TB_title {
|
|
|
|
background-color: #222222;
|
|
|
|
color: #CFCFCF;
|
2008-11-23 07:37:15 +01:00
|
|
|
}
|
2012-02-24 02:58:18 +01:00
|
|
|
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* RTL */
|
|
|
|
body#media-upload.rtl ul#sidemenu {
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl #basic .align .field label {
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
padding: 0 24px 0 0;
|
|
|
|
margin: 5px 3px 5px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .align .field input {
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
margin: 5px 15px 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl tr.image-size label {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl tr.image-size input {
|
|
|
|
margin: 3px 15px 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .image-align-none-label,
|
|
|
|
.rtl .image-align-left-label,
|
|
|
|
.rtl .image-align-center-label,
|
|
|
|
.rtl .image-align-right-label {
|
|
|
|
background-position: center right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#media-upload.rtl .describe th.label {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .show-align,
|
2012-12-04 20:51:35 +01:00
|
|
|
.rtl #img_size,
|
2012-02-24 02:58:18 +01:00
|
|
|
.rtl .alignright,
|
2012-12-04 20:51:35 +01:00
|
|
|
.rtl #img_demo.alignleft {
|
2012-02-24 02:58:18 +01:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl tr.image-size label,
|
|
|
|
.rtl tr.image-size input,
|
|
|
|
.rtl #img_dim label,
|
|
|
|
.rtl #img_dim input,
|
|
|
|
.rtl #img_prop label,
|
|
|
|
.rtl #img_prop input,
|
|
|
|
.rtl #img_size_div,
|
2012-12-04 20:51:35 +01:00
|
|
|
.rtl .alignleft,
|
|
|
|
.rtl #img_demo.alignright {
|
2012-02-24 02:58:18 +01:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl #img_dim label,
|
|
|
|
.rtl #img_prop label {
|
|
|
|
margin: 5px 0pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl #img_dim input,
|
|
|
|
.rtl #img_prop input {
|
|
|
|
margin: 0 5px 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl #img_size_title {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2012-11-15 00:21:59 +01:00
|
|
|
|
Introduce a new, cross-browser HiDPI CSS @media rule to be used everywhere.
{{{
@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
}}}
Serve HiDPI graphics for printing, regardless of screen resolution.
Specify Opera's vendor-prefixed device pixel ratio property, for Opera desktop.
Specify a minimum Webkit device pixel ratio of 1.25 instead of 1.5, to serve
2x images to Android devices that are between 1 and 1.5x (like the Nexus 7).
Firefox and Opera will respond to 1.5x on these devices, but Chrome will not.
Specify min-resolution, which covers Firefox 19. Opera on Android also supports
min-resolution, but Opera Mini does not support dppx, so the dpi unit is used.
props iammattthomas for the exhaustive research.
props lessbloat for patching.
fixes #22238.
git-svn-id: https://develop.svn.wordpress.org/trunk@22629 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-17 07:50:08 +01:00
|
|
|
/**
|
|
|
|
* Retina display 2x icons
|
|
|
|
*/
|
|
|
|
@media print,
|
|
|
|
(-o-min-device-pixel-ratio: 5/4),
|
|
|
|
(-webkit-min-device-pixel-ratio: 1.25),
|
|
|
|
(min-resolution: 120dpi) {
|
2012-11-15 00:21:59 +01:00
|
|
|
.image-align-none-label {
|
|
|
|
background: url(../../../../../../wp-admin/images/align-none-2x.png) no-repeat center left;
|
|
|
|
background-size: auto 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-align-left-label {
|
|
|
|
background: url(../../../../../../wp-admin/images/align-left-2x.png) no-repeat center left;
|
|
|
|
background-size: auto 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-align-center-label {
|
|
|
|
background: url(../../../../../../wp-admin/images/align-center-2x.png) no-repeat center left;
|
|
|
|
background-size: auto 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-align-right-label {
|
|
|
|
background: url(../../../../../../wp-admin/images/align-right-2x.png) no-repeat center left;
|
|
|
|
background-size: auto 15px;
|
|
|
|
}
|
|
|
|
}
|