2013-11-12 22:19:15 +01:00
|
|
|
/**
|
|
|
|
* Base Styles
|
|
|
|
*/
|
2014-01-09 17:36:12 +01:00
|
|
|
.media-modal * {
|
|
|
|
-webkit-box-sizing: content-box;
|
2014-02-13 09:30:17 +01:00
|
|
|
-moz-box-sizing: content-box;
|
|
|
|
box-sizing: content-box;
|
2014-01-09 17:36:12 +01:00
|
|
|
}
|
|
|
|
|
2014-09-10 20:09:16 +02:00
|
|
|
.media-frame input,
|
|
|
|
.media-frame select,
|
|
|
|
.media-frame textarea {
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-modal,
|
|
|
|
.media-frame {
|
|
|
|
font-family: "Open Sans", sans-serif;
|
|
|
|
font-size: 12px;
|
2015-04-08 05:19:28 +02:00
|
|
|
-webkit-overflow-scrolling: touch;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame input,
|
|
|
|
.media-frame textarea {
|
|
|
|
padding: 6px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame select,
|
|
|
|
.wp-admin .media-frame select {
|
|
|
|
line-height: 28px;
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame a {
|
|
|
|
border-bottom: none;
|
2015-10-21 18:18:26 +02:00
|
|
|
color: #0073aa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame a:hover,
|
|
|
|
.media-frame a:active {
|
|
|
|
color: #00a0d2;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2015-10-21 18:18:26 +02:00
|
|
|
.media-frame a:focus {
|
|
|
|
-webkit-box-shadow:
|
|
|
|
0 0 0 1px #5b9dd9,
|
|
|
|
0 0 2px 1px rgba(30, 140, 190, .8);
|
|
|
|
box-shadow:
|
|
|
|
0 0 0 1px #5b9dd9,
|
|
|
|
0 0 2px 1px rgba(30, 140, 190, .8);
|
|
|
|
outline: none;
|
|
|
|
color: #124964;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame a.button {
|
2015-04-05 23:20:27 +02:00
|
|
|
color: #32373c;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame a.button:hover {
|
2015-04-05 23:20:27 +02:00
|
|
|
color: #23282d;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame a.button-primary,
|
|
|
|
.media-frame a.button-primary:hover {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame input[type="text"],
|
|
|
|
.media-frame input[type="password"],
|
|
|
|
.media-frame input[type="number"],
|
|
|
|
.media-frame input[type="search"],
|
|
|
|
.media-frame input[type="email"],
|
|
|
|
.media-frame input[type="url"],
|
|
|
|
.media-frame textarea,
|
|
|
|
.media-frame select {
|
|
|
|
font-family: "Open Sans", sans-serif;
|
|
|
|
font-size: 12px;
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: #dfdfdf;
|
|
|
|
}
|
|
|
|
|
2014-08-25 23:26:16 +02:00
|
|
|
.media-frame input[type="text"]:focus,
|
|
|
|
.media-frame input[type="password"]:focus,
|
|
|
|
.media-frame input[type="number"]:focus,
|
|
|
|
.media-frame input[type="search"]:focus,
|
|
|
|
.media-frame input[type="email"]:focus,
|
|
|
|
.media-frame input[type="url"]:focus,
|
|
|
|
.media-frame textarea:focus,
|
|
|
|
.media-frame select:focus {
|
|
|
|
border-color: #5b9dd9;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-frame select {
|
|
|
|
height: 24px;
|
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame input:disabled,
|
|
|
|
.media-frame textarea:disabled,
|
|
|
|
.media-frame input[readonly],
|
|
|
|
.media-frame textarea[readonly] {
|
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame input[type="search"] {
|
|
|
|
-webkit-appearance: textfield;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame :-moz-placeholder {
|
|
|
|
color: #a9a9a9;
|
|
|
|
}
|
|
|
|
|
2014-01-28 22:17:12 +01:00
|
|
|
.media-frame .hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-11-14 20:28:22 +01:00
|
|
|
/*!
|
2015-03-11 16:12:27 +01:00
|
|
|
* jQuery UI Draggable/Sortable 1.11.4
|
2014-11-14 20:28:22 +01:00
|
|
|
* http://jqueryui.com
|
|
|
|
*
|
2015-02-27 11:21:26 +01:00
|
|
|
* Copyright jQuery Foundation and other contributors
|
2014-11-14 20:28:22 +01:00
|
|
|
* Released under the MIT license.
|
|
|
|
* http://jquery.org/license
|
|
|
|
*/
|
|
|
|
.ui-draggable-handle,
|
|
|
|
.ui-sortable-handle {
|
2014-02-23 11:30:19 +01:00
|
|
|
-ms-touch-action: none;
|
2015-02-27 11:21:26 +01:00
|
|
|
touch-action: none;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2012-11-16 00:58:33 +01:00
|
|
|
/**
|
|
|
|
* Modal
|
|
|
|
*/
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-modal {
|
|
|
|
position: fixed;
|
|
|
|
top: 30px;
|
|
|
|
right: 30px;
|
|
|
|
left: 30px;
|
|
|
|
bottom: 30px;
|
|
|
|
z-index: 160000;
|
|
|
|
}
|
|
|
|
|
2013-12-03 21:54:11 +01:00
|
|
|
.wp-customizer .media-modal {
|
|
|
|
z-index: 560000;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-modal-backdrop {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
min-height: 360px;
|
|
|
|
background: #000;
|
|
|
|
opacity: 0.7;
|
|
|
|
z-index: 159900;
|
|
|
|
}
|
|
|
|
|
2013-12-03 21:54:11 +01:00
|
|
|
.wp-customizer .media-modal-backdrop {
|
|
|
|
z-index: 559900;
|
|
|
|
}
|
|
|
|
|
2012-11-16 00:58:33 +01:00
|
|
|
.media-modal-close {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
2015-06-26 07:01:24 +02:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
padding: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
z-index: 1000;
|
2014-08-03 00:02:19 +02:00
|
|
|
-webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
|
|
|
|
transition: color .1s ease-in-out, background .1s ease-in-out;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2014-08-19 22:38:16 +02:00
|
|
|
.media-modal-close:active {
|
2014-08-24 07:11:16 +02:00
|
|
|
-webkit-box-shadow: none;
|
2014-08-19 22:38:16 +02:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-modal-close span.media-modal-icon {
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
|
2014-08-08 21:01:19 +02:00
|
|
|
.media-modal-close .media-modal-icon:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f158";
|
2015-09-05 21:57:25 +02:00
|
|
|
font: normal 20px/1 dashicons;
|
2013-11-12 22:19:15 +01:00
|
|
|
speak: none;
|
2014-08-08 21:01:19 +02:00
|
|
|
vertical-align: middle;
|
2013-11-12 22:19:15 +01:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2014-08-08 21:01:19 +02:00
|
|
|
color: #666;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2014-08-08 21:01:19 +02:00
|
|
|
.media-modal-close:hover .media-modal-icon:before {
|
2015-04-05 23:20:27 +02:00
|
|
|
color: #00a0d2;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal-close:active {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal-content {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
overflow: auto;
|
|
|
|
min-height: 300px;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.7);
|
2014-01-09 17:36:12 +01:00
|
|
|
box-shadow: 0 5px 15px rgba(0,0,0,0.7);
|
|
|
|
background: #fcfcfc;
|
|
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2015-11-05 00:43:26 +01:00
|
|
|
.media-modal-content .media-frame select.attachment-filters {
|
|
|
|
margin-top: 11px;
|
|
|
|
margin-left: 2%;
|
|
|
|
width: 42%;
|
|
|
|
width: -webkit-calc(48% - 12px);
|
|
|
|
width: calc(48% - 12px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal-content .attachments-browser .media-toolbar-secondary {
|
|
|
|
width: 66%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal-content .media-toolbar-primary.search-form {
|
|
|
|
width: 33%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal-content .media-toolbar-primary .media-button {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal-content .attachments-browser .search {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-06-26 07:01:24 +02:00
|
|
|
/* higher specificity */
|
|
|
|
.wp-core-ui .media-modal-icon {
|
2013-11-12 22:19:15 +01:00
|
|
|
background-image: url(../images/uploader-icons.png);
|
|
|
|
background-repeat: no-repeat;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Toolbar
|
|
|
|
*/
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-toolbar {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 100;
|
|
|
|
height: 60px;
|
|
|
|
padding: 0 16px;
|
|
|
|
border: 0 solid #dfdfdf;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2012-11-16 00:58:33 +01:00
|
|
|
.media-toolbar-primary {
|
|
|
|
float: left;
|
2013-11-12 22:19:15 +01:00
|
|
|
height: 100%;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-toolbar-secondary {
|
|
|
|
float: right;
|
2013-11-12 22:19:15 +01:00
|
|
|
height: 100%;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-toolbar-primary > .media-button,
|
|
|
|
.media-toolbar-primary > .media-button-group {
|
|
|
|
margin-right: 10px;
|
|
|
|
float: right;
|
2013-11-12 22:19:15 +01:00
|
|
|
margin-top: 15px;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-toolbar-secondary > .media-button,
|
|
|
|
.media-toolbar-secondary > .media-button-group {
|
|
|
|
margin-left: 10px;
|
2013-11-12 22:19:15 +01:00
|
|
|
margin-top: 15px;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sidebar
|
|
|
|
*/
|
|
|
|
.media-sidebar {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2012-11-16 00:58:33 +01:00
|
|
|
left: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
bottom: 0;
|
|
|
|
width: 267px;
|
|
|
|
padding: 0 16px 24px;
|
|
|
|
z-index: 75;
|
2014-01-09 17:36:12 +01:00
|
|
|
background: #f3f3f3;
|
|
|
|
border-right: 1px solid #ddd;
|
2013-11-12 22:19:15 +01:00
|
|
|
overflow: auto;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hide-toolbar .media-sidebar {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-sidebar .sidebar-title {
|
|
|
|
font-size: 20px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 12px 10px 10px;
|
|
|
|
line-height: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-sidebar .sidebar-content {
|
|
|
|
padding: 0 10px;
|
|
|
|
margin-bottom: 130px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-sidebar .search {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-10-29 00:08:24 +01:00
|
|
|
.media-sidebar h3, /* Back-compat for pre-4.4 */
|
|
|
|
.image-details h3, /* Back-compat for pre-4.4 */
|
|
|
|
.media-sidebar h2,
|
|
|
|
.image-details h2 {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: relative;
|
|
|
|
font-weight: bold;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 12px;
|
2013-11-28 05:14:09 +01:00
|
|
|
color: #666;
|
2013-11-12 22:19:15 +01:00
|
|
|
margin: 24px 0 8px;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting {
|
2013-11-12 22:19:15 +01:00
|
|
|
display: block;
|
2012-11-16 00:58:33 +01:00
|
|
|
float: right;
|
2013-11-12 22:19:15 +01:00
|
|
|
width: 100%;
|
|
|
|
margin: 1px 0;
|
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting label,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting label {
|
2013-11-12 22:19:15 +01:00
|
|
|
display: block;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting .link-to-custom,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting .link-to-custom {
|
2014-07-05 01:29:16 +02:00
|
|
|
margin: 3px 2px 0;
|
2013-07-01 12:15:07 +02:00
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting span,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting span {
|
2013-11-12 22:19:15 +01:00
|
|
|
min-width: 30%;
|
2012-11-16 00:58:33 +01:00
|
|
|
margin-left: 4%;
|
2013-11-12 22:19:15 +01:00
|
|
|
font-size: 12px;
|
2014-06-06 00:01:18 +02:00
|
|
|
text-align: left;
|
2014-11-16 20:01:22 +01:00
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-sidebar .setting .name {
|
|
|
|
max-width: 80px;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting select,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting select {
|
2013-11-12 22:19:15 +01:00
|
|
|
max-width: 65%;
|
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting input[type="checkbox"],
|
|
|
|
.media-sidebar .field input[type="checkbox"],
|
|
|
|
.media-sidebar .setting input[type="radio"],
|
|
|
|
.media-sidebar .field input[type="radio"],
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting input[type="checkbox"],
|
|
|
|
.attachment-details .field input[type="checkbox"],
|
|
|
|
.attachment-details .setting input[type="radio"],
|
|
|
|
.attachment-details .field input[type="radio"] {
|
2013-11-12 22:19:15 +01:00
|
|
|
float: none;
|
|
|
|
margin: 8px 3px 0;
|
|
|
|
padding: 0;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting span,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting span,
|
2012-11-16 00:58:33 +01:00
|
|
|
.compat-item label span {
|
|
|
|
float: right;
|
2013-11-12 22:19:15 +01:00
|
|
|
min-height: 22px;
|
|
|
|
padding-top: 8px;
|
|
|
|
line-height: 16px;
|
|
|
|
font-weight: normal;
|
2013-11-28 05:14:09 +01:00
|
|
|
color: #666;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2014-06-06 00:01:18 +02:00
|
|
|
.compat-item label span {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting input[type="text"],
|
|
|
|
.media-sidebar .setting input[type="password"],
|
|
|
|
.media-sidebar .setting input[type="email"],
|
|
|
|
.media-sidebar .setting input[type="number"],
|
|
|
|
.media-sidebar .setting input[type="search"],
|
|
|
|
.media-sidebar .setting input[type="tel"],
|
|
|
|
.media-sidebar .setting input[type="url"],
|
|
|
|
.media-sidebar .setting textarea,
|
|
|
|
.media-sidebar .setting .value,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting input[type="text"],
|
|
|
|
.attachment-details .setting input[type="password"],
|
|
|
|
.attachment-details .setting input[type="email"],
|
|
|
|
.attachment-details .setting input[type="number"],
|
|
|
|
.attachment-details .setting input[type="search"],
|
|
|
|
.attachment-details .setting input[type="tel"],
|
|
|
|
.attachment-details .setting input[type="url"],
|
|
|
|
.attachment-details .setting textarea,
|
|
|
|
.attachment-details .setting .value {
|
2014-08-15 11:41:15 +02:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
2014-08-15 06:10:16 +02:00
|
|
|
box-sizing: border-box;
|
2013-11-12 22:19:15 +01:00
|
|
|
margin: 1px;
|
|
|
|
width: 65%;
|
2012-11-16 00:58:33 +01:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting .value,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting .value {
|
2014-07-05 01:29:16 +02:00
|
|
|
margin: 0 1px;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting textarea,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting textarea,
|
2013-11-12 22:19:15 +01:00
|
|
|
.compat-item .field textarea {
|
|
|
|
height: 62px;
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar select,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details select {
|
2013-11-12 22:19:15 +01:00
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
|
2012-11-16 00:58:33 +01:00
|
|
|
.compat-item {
|
|
|
|
float: right;
|
2013-11-12 22:19:15 +01:00
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compat-item table {
|
|
|
|
width: 100%;
|
|
|
|
table-layout: fixed;
|
|
|
|
border-spacing: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compat-item tr {
|
|
|
|
padding: 2px 0;
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compat-item .label,
|
|
|
|
.compat-item .field {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.compat-item .label {
|
2013-11-12 22:19:15 +01:00
|
|
|
min-width: 30%;
|
2012-11-16 00:58:33 +01:00
|
|
|
margin-left: 4%;
|
|
|
|
float: right;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.compat-item .label span {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2012-11-16 00:58:33 +01:00
|
|
|
.compat-item .field {
|
|
|
|
float: left;
|
2015-01-03 21:47:23 +01:00
|
|
|
width: 65%;
|
|
|
|
margin: 1px;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2014-08-02 21:53:17 +02:00
|
|
|
.compat-item .field input[type="text"],
|
|
|
|
.compat-item .field input[type="password"],
|
|
|
|
.compat-item .field input[type="email"],
|
|
|
|
.compat-item .field input[type="number"],
|
|
|
|
.compat-item .field input[type="search"],
|
|
|
|
.compat-item .field input[type="tel"],
|
2015-01-03 21:47:23 +01:00
|
|
|
.compat-item .field input[type="url"],
|
|
|
|
.compat-item .field textarea {
|
2013-11-12 22:19:15 +01:00
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
2015-01-06 22:44:25 +01:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
2015-01-03 21:47:23 +01:00
|
|
|
box-sizing: border-box;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2014-08-18 04:26:16 +02:00
|
|
|
.sidebar-for-errors .attachment-details,
|
|
|
|
.sidebar-for-errors .compat-item,
|
2014-08-21 06:38:17 +02:00
|
|
|
.sidebar-for-errors .media-sidebar .media-progress-bar,
|
2014-08-18 04:26:16 +02:00
|
|
|
.sidebar-for-errors .upload-details {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2013-11-12 22:19:15 +01:00
|
|
|
|
2012-11-16 00:58:33 +01:00
|
|
|
/**
|
|
|
|
* Menu
|
|
|
|
*/
|
|
|
|
.media-menu {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
margin: 0;
|
2014-08-19 22:38:16 +02:00
|
|
|
padding: 10px 0;
|
2014-01-09 17:36:12 +01:00
|
|
|
background: #f3f3f3;
|
2013-11-12 22:19:15 +01:00
|
|
|
border-left-width: 1px;
|
|
|
|
border-left-style: solid;
|
2014-01-09 17:36:12 +01:00
|
|
|
border-left-color: #ccc;
|
2013-11-12 22:19:15 +01:00
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-menu > a {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
padding: 8px 20px;
|
|
|
|
margin: 0;
|
|
|
|
line-height: 18px;
|
|
|
|
font-size: 14px;
|
2015-04-05 23:20:27 +02:00
|
|
|
color: #0073aa;
|
2013-11-12 22:19:15 +01:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-menu > a:hover {
|
2015-10-21 18:18:26 +02:00
|
|
|
color: #0073aa;
|
2013-11-12 22:19:15 +01:00
|
|
|
background: rgba( 0, 0, 0, 0.04 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-menu > a:active {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-menu .active,
|
|
|
|
.media-menu .active:hover {
|
2015-04-05 23:20:27 +02:00
|
|
|
color: #23282d;
|
2013-11-12 22:19:15 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-menu .separator {
|
|
|
|
height: 0;
|
|
|
|
margin: 12px 20px;
|
|
|
|
padding: 0;
|
2014-01-09 17:36:12 +01:00
|
|
|
border-top: 1px solid #ddd;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2012-12-04 02:26:03 +01:00
|
|
|
/**
|
2013-11-12 22:19:15 +01:00
|
|
|
* Menu
|
2012-12-04 02:26:03 +01:00
|
|
|
*/
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-router {
|
|
|
|
position: relative;
|
|
|
|
padding: 0 6px;
|
|
|
|
margin: 0;
|
|
|
|
clear: both;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
2014-02-06 07:25:18 +01:00
|
|
|
.media-router a {
|
|
|
|
-webkit-transition: none;
|
2014-02-13 09:30:17 +01:00
|
|
|
transition: none;
|
2014-02-06 07:25:18 +01:00
|
|
|
}
|
|
|
|
|
2012-12-04 02:26:03 +01:00
|
|
|
.media-router > a {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: relative;
|
2012-12-04 02:26:03 +01:00
|
|
|
float: right;
|
2013-11-12 22:19:15 +01:00
|
|
|
padding: 8px 10px 9px;
|
|
|
|
margin: 0;
|
|
|
|
height: 18px;
|
|
|
|
line-height: 18px;
|
|
|
|
font-size: 14px;
|
|
|
|
text-decoration: none;
|
2012-12-04 02:26:03 +01:00
|
|
|
}
|
2013-11-12 22:19:15 +01:00
|
|
|
|
2012-12-04 02:26:03 +01:00
|
|
|
.media-router > a:last-child {
|
|
|
|
border-left: 0;
|
|
|
|
}
|
|
|
|
|
2014-05-29 05:39:15 +02:00
|
|
|
.media-router > a:active {
|
2013-11-12 22:19:15 +01:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-router .active,
|
|
|
|
.media-router .active:hover {
|
2015-04-05 23:20:27 +02:00
|
|
|
color: #32373c;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-router .active,
|
|
|
|
.media-router > a.active:last-child {
|
|
|
|
margin: -1px -1px 0;
|
2014-01-09 17:36:12 +01:00
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
border-bottom: none;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-router .active:after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2012-11-16 00:58:33 +01:00
|
|
|
/**
|
|
|
|
* Frame
|
|
|
|
*/
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-frame {
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2012-12-04 02:26:03 +01:00
|
|
|
.media-frame-menu {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2012-12-04 02:26:03 +01:00
|
|
|
right: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
bottom: 0;
|
2014-03-07 03:46:14 +01:00
|
|
|
width: 200px;
|
2013-11-12 22:19:15 +01:00
|
|
|
z-index: 150;
|
2012-12-04 02:26:03 +01:00
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-frame-title {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 200px;
|
|
|
|
left: 0;
|
2014-08-19 22:38:16 +02:00
|
|
|
height: 50px;
|
2013-11-12 22:19:15 +01:00
|
|
|
z-index: 200;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame-router {
|
|
|
|
position: absolute;
|
2014-08-19 22:38:16 +02:00
|
|
|
top: 50px;
|
2013-11-12 22:19:15 +01:00
|
|
|
right: 200px;
|
2012-11-30 14:34:16 +01:00
|
|
|
left: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
height: 36px;
|
|
|
|
z-index: 200;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame-content {
|
|
|
|
position: absolute;
|
2014-08-19 22:38:16 +02:00
|
|
|
top: 84px;
|
2012-11-16 00:58:33 +01:00
|
|
|
right: 200px;
|
2013-11-12 22:19:15 +01:00
|
|
|
left: 0;
|
|
|
|
bottom: 61px;
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
|
|
|
margin: 0;
|
|
|
|
overflow: auto;
|
2014-01-09 17:36:12 +01:00
|
|
|
background: #fff;
|
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
border-bottom: 1px solid #ddd;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame-toolbar {
|
|
|
|
position: absolute;
|
|
|
|
right: 200px;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
height: 60px;
|
|
|
|
z-index: 100;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2012-12-04 02:26:03 +01:00
|
|
|
.media-frame.hide-menu .media-frame-title,
|
|
|
|
.media-frame.hide-menu .media-frame-router,
|
|
|
|
.media-frame.hide-menu .media-frame-toolbar,
|
|
|
|
.media-frame.hide-menu .media-frame-content {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame.hide-menu .media-frame-menu {
|
|
|
|
right: -200px;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-frame.hide-toolbar .media-frame-content {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame.hide-toolbar .media-frame-toolbar {
|
|
|
|
bottom: -61px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame.hide-router .media-frame-content {
|
2014-08-19 22:38:16 +02:00
|
|
|
top: 50px;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame.hide-router .media-frame-router {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame.hide-router .media-frame-title {
|
|
|
|
border-bottom: 1px solid #dfdfdf;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 );
|
2013-11-12 22:19:15 +01:00
|
|
|
box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 );
|
|
|
|
}
|
|
|
|
|
2014-08-08 05:46:17 +02:00
|
|
|
.media-frame-title .dashicons {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-frame-title h1 {
|
|
|
|
padding: 0 16px;
|
|
|
|
font-size: 22px;
|
2014-08-19 22:38:16 +02:00
|
|
|
line-height: 50px;
|
2013-11-12 22:19:15 +01:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-11 05:13:16 +01:00
|
|
|
.media-frame-title .suggested-dimensions {
|
|
|
|
font-size: 14px;
|
|
|
|
float: left;
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
|
2014-04-13 20:20:14 +02:00
|
|
|
.media-frame-content .crop-content {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2015-07-20 17:57:25 +02:00
|
|
|
.wp-customizer:not(.mobile) .media-frame-content .crop-content.site-icon {
|
|
|
|
margin-left: 300px;
|
|
|
|
}
|
|
|
|
|
2014-04-04 17:48:16 +02:00
|
|
|
.media-frame-content .crop-content .crop-image {
|
2014-03-11 05:13:16 +01:00
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
|
2014-04-04 17:48:16 +02:00
|
|
|
.media-frame-content .crop-content .upload-errors
|
|
|
|
{
|
|
|
|
position: absolute;
|
|
|
|
width: 300px;
|
|
|
|
top: 50%;
|
|
|
|
right: 50%;
|
|
|
|
margin-right: -150px;
|
|
|
|
margin-left: -150px;
|
|
|
|
z-index: 600000;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
/**
|
|
|
|
* Iframes
|
|
|
|
*/
|
|
|
|
.media-frame .media-iframe {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame .media-iframe,
|
|
|
|
.media-frame .media-iframe iframe {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2012-11-30 14:34:16 +01:00
|
|
|
/**
|
|
|
|
* Attachment Browser Filters
|
|
|
|
*/
|
|
|
|
.media-frame select.attachment-filters {
|
2013-11-12 22:19:15 +01:00
|
|
|
margin-top: 11px;
|
2014-12-11 05:12:23 +01:00
|
|
|
margin-left: 2%;
|
2015-11-05 00:43:26 +01:00
|
|
|
max-width: 42%;
|
|
|
|
max-width: -webkit-calc(48% - 12px);
|
|
|
|
max-width: calc(48% - 12px);
|
2015-04-14 02:54:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame select.attachment-filters:last-of-type {
|
|
|
|
margin-left: 0;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Search
|
|
|
|
*/
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-frame .search {
|
|
|
|
margin-top: 11px;
|
|
|
|
padding: 4px;
|
|
|
|
font-size: 13px;
|
|
|
|
color: #464646;
|
|
|
|
font-family: "Open Sans", sans-serif;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
2014-12-11 05:12:23 +01:00
|
|
|
.media-toolbar-primary .search {
|
|
|
|
max-width: 100%;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Attachments
|
|
|
|
*/
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachments {
|
2013-11-12 22:19:15 +01:00
|
|
|
margin: 0;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Attachment
|
|
|
|
*/
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: relative;
|
2012-11-16 00:58:33 +01:00
|
|
|
float: right;
|
2014-08-05 07:20:18 +02:00
|
|
|
padding: 8px;
|
|
|
|
margin: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
color: #464646;
|
2014-08-05 07:20:18 +02:00
|
|
|
cursor: pointer;
|
2013-11-12 22:19:15 +01:00
|
|
|
list-style: none;
|
|
|
|
text-align: center;
|
|
|
|
-webkit-user-select: none;
|
2014-02-13 09:30:17 +01:00
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
2014-08-08 05:46:17 +02:00
|
|
|
width: 25%;
|
2014-08-05 07:20:18 +02:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment:focus,
|
|
|
|
.wp-core-ui .selected.attachment:focus,
|
|
|
|
.wp-core-ui .attachment.details:focus {
|
2014-05-29 05:39:15 +02:00
|
|
|
-webkit-box-shadow:
|
2014-08-25 23:26:16 +02:00
|
|
|
inset 0 0 2px 3px #fff,
|
|
|
|
inset 0 0 0 7px #5b9dd9;
|
2014-05-29 05:39:15 +02:00
|
|
|
box-shadow:
|
2014-08-25 23:26:16 +02:00
|
|
|
inset 0 0 2px 3px #fff,
|
|
|
|
inset 0 0 0 7px #5b9dd9;
|
2014-05-29 05:39:15 +02:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .selected.attachment {
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-box-shadow:
|
2014-08-05 07:20:18 +02:00
|
|
|
inset 0 0 0 5px #fff,
|
|
|
|
inset 0 0 0 7px #ccc;
|
2014-07-22 21:58:18 +02:00
|
|
|
box-shadow:
|
2014-08-05 07:20:18 +02:00
|
|
|
inset 0 0 0 5px #fff,
|
|
|
|
inset 0 0 0 7px #ccc;
|
2014-07-18 09:57:15 +02:00
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment.details {
|
2014-08-25 23:26:16 +02:00
|
|
|
-webkit-box-shadow:
|
|
|
|
inset 0 0 0 3px #fff,
|
2015-10-21 18:18:26 +02:00
|
|
|
inset 0 0 0 7px #0073aa;
|
2014-08-25 23:26:16 +02:00
|
|
|
box-shadow:
|
|
|
|
inset 0 0 0 3px #fff,
|
2015-10-21 18:18:26 +02:00
|
|
|
inset 0 0 0 7px #0073aa;
|
2014-08-25 23:26:16 +02:00
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment-preview {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: relative;
|
2014-08-06 08:29:16 +02:00
|
|
|
-webkit-box-shadow:
|
|
|
|
inset 0 0 15px rgba( 0, 0, 0, 0.1 ),
|
|
|
|
inset 0 0 0 1px rgba( 0, 0, 0, 0.05 );
|
|
|
|
box-shadow:
|
|
|
|
inset 0 0 15px rgba( 0, 0, 0, 0.1 ),
|
|
|
|
inset 0 0 0 1px rgba( 0, 0, 0, 0.05 );
|
|
|
|
background: #eee;
|
|
|
|
cursor: pointer;
|
2014-08-05 07:20:18 +02:00
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment-preview:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "";
|
2014-08-05 07:20:18 +02:00
|
|
|
display: block;
|
|
|
|
padding-top: 100%;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment .icon {
|
2013-11-12 22:19:15 +01:00
|
|
|
margin: 0 auto;
|
|
|
|
overflow: hidden;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment .thumbnail {
|
2014-08-05 07:20:18 +02:00
|
|
|
overflow: hidden;
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2014-08-05 07:20:18 +02:00
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
right: 0;
|
2014-08-14 09:18:15 +02:00
|
|
|
opacity: 1;
|
|
|
|
-webkit-transition: opacity .1s;
|
|
|
|
transition: opacity .1s;
|
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment .portrait img {
|
2014-08-05 07:20:18 +02:00
|
|
|
max-width: 100%;
|
2014-07-04 05:39:15 +02:00
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment .landscape img {
|
2014-08-05 07:20:18 +02:00
|
|
|
max-height: 100%;
|
2014-07-04 05:39:15 +02:00
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment .thumbnail:after {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "";
|
2013-11-12 22:19:15 +01:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2012-11-16 00:58:33 +01:00
|
|
|
right: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );
|
2013-11-12 22:19:15 +01:00
|
|
|
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment .thumbnail img {
|
2013-11-12 22:19:15 +01:00
|
|
|
top: 0;
|
2015-02-27 14:41:30 +01:00
|
|
|
right: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment .thumbnail .centered {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2015-02-27 14:41:30 +01:00
|
|
|
right: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2015-02-27 14:41:30 +01:00
|
|
|
-webkit-transform: translate( -50%, 50% );
|
|
|
|
-ms-transform: translate(-50%,50%); /* Fails with spaces?? Weird! */
|
|
|
|
transform: translate( -50%, 50% );
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment .thumbnail .centered img {
|
2015-02-27 14:41:30 +01:00
|
|
|
-webkit-transform: translate( 50%, -50% );
|
|
|
|
-ms-transform: translate(50%,-50%);
|
|
|
|
transform: translate( 50%, -50% );
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2015-04-07 23:29:26 +02:00
|
|
|
.wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon {
|
2015-02-27 14:41:30 +01:00
|
|
|
-webkit-transform: translate( 50%, -70% );
|
|
|
|
-ms-transform: translate(50%,-70%);
|
|
|
|
transform: translate( 50%, -70% );
|
2014-08-06 08:29:16 +02:00
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.ie8 .wp-core-ui .attachment img.icon {
|
2014-08-06 08:29:16 +02:00
|
|
|
top: 20%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment .filename {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
max-height: 100%;
|
|
|
|
word-wrap: break-word;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: bold;
|
|
|
|
background: rgba( 255, 255, 255, 0.8 );
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 );
|
2013-11-12 22:19:15 +01:00
|
|
|
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 );
|
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment .filename div {
|
2013-11-12 22:19:15 +01:00
|
|
|
padding: 5px 10px;
|
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment .thumbnail img {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2015-06-26 07:01:24 +02:00
|
|
|
.wp-core-ui .attachment-close {
|
2014-11-18 04:34:25 +01:00
|
|
|
display: block;
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
2012-11-16 00:58:33 +01:00
|
|
|
left: 5px;
|
2013-11-12 22:19:15 +01:00
|
|
|
height: 22px;
|
|
|
|
width: 22px;
|
|
|
|
padding: 0;
|
|
|
|
background-color: #fff;
|
|
|
|
background-position: -96px 4px;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-border-radius: 3px;
|
2013-11-12 22:19:15 +01:00
|
|
|
border-radius: 3px;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 );
|
2013-11-12 22:19:15 +01:00
|
|
|
box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 );
|
|
|
|
}
|
|
|
|
|
2015-06-26 07:01:24 +02:00
|
|
|
.wp-core-ui .attachment-close:hover,
|
|
|
|
.wp-core-ui .attachment-close:focus {
|
2014-11-18 04:34:25 +01:00
|
|
|
background-position: -36px 4px;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment .check {
|
2013-11-12 22:19:15 +01:00
|
|
|
display: none;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
2015-06-26 07:01:24 +02:00
|
|
|
padding: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
2014-07-11 06:24:14 +02:00
|
|
|
z-index: 10;
|
2014-08-05 07:20:18 +02:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
outline: none;
|
2014-01-09 17:36:12 +01:00
|
|
|
background: #eee;
|
2014-07-25 02:47:15 +02:00
|
|
|
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 );
|
|
|
|
box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 );
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2015-06-26 07:01:24 +02:00
|
|
|
.wp-core-ui .attachment .check .media-modal-icon {
|
|
|
|
display: block;
|
2013-11-12 22:19:15 +01:00
|
|
|
background-position: -1px 0;
|
|
|
|
height: 15px;
|
|
|
|
width: 15px;
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
2015-06-26 07:01:24 +02:00
|
|
|
.wp-core-ui .attachment .check:hover .media-modal-icon {
|
2013-11-12 22:19:15 +01:00
|
|
|
background-position: -40px 0;
|
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment.selected .check {
|
2013-11-12 22:19:15 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .attachment.details .check,
|
|
|
|
.wp-core-ui .attachment.selected .check:focus,
|
|
|
|
.wp-core-ui .media-frame.mode-grid .attachment.selected .check {
|
2015-10-21 18:18:26 +02:00
|
|
|
background-color: #0073aa;
|
2014-08-05 07:20:18 +02:00
|
|
|
-webkit-box-shadow:
|
|
|
|
0 0 0 1px #fff,
|
2015-10-21 18:18:26 +02:00
|
|
|
0 0 0 2px #0073aa;
|
2014-08-05 07:20:18 +02:00
|
|
|
box-shadow:
|
|
|
|
0 0 0 1px #fff,
|
2015-10-21 18:18:26 +02:00
|
|
|
0 0 0 2px #0073aa;
|
2014-01-09 17:36:12 +01:00
|
|
|
}
|
|
|
|
|
2015-06-26 07:01:24 +02:00
|
|
|
.wp-core-ui .attachment.details .check .media-modal-icon,
|
|
|
|
.wp-core-ui .media-frame.mode-grid .attachment.selected .check .media-modal-icon {
|
2013-11-12 22:19:15 +01:00
|
|
|
background-position: -21px 0;
|
|
|
|
}
|
|
|
|
|
2015-06-26 07:01:24 +02:00
|
|
|
.wp-core-ui .attachment.details .check:hover .media-modal-icon,
|
|
|
|
.wp-core-ui .attachment.selected .check:focus .media-modal-icon,
|
|
|
|
.wp-core-ui .media-frame.mode-grid .attachment.selected .check:hover .media-modal-icon {
|
2013-11-12 22:19:15 +01:00
|
|
|
background-position: -60px 0;
|
|
|
|
}
|
|
|
|
|
2015-01-13 08:16:23 +01:00
|
|
|
.wp-core-ui .media-frame .attachment .describe {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2014-08-05 07:20:18 +02:00
|
|
|
margin: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
padding: 8px;
|
|
|
|
font-size: 12px;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-border-radius: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
border-radius: 0;
|
2012-11-20 19:22:19 +01:00
|
|
|
}
|
2012-11-16 00:58:33 +01:00
|
|
|
|
2012-11-30 14:34:16 +01:00
|
|
|
/**
|
|
|
|
* Attachments Browser
|
|
|
|
*/
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-frame .attachments-browser {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2012-11-30 14:34:16 +01:00
|
|
|
.attachments-browser .media-toolbar {
|
|
|
|
left: 300px;
|
2013-11-12 22:19:15 +01:00
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
|
2014-07-04 05:39:15 +02:00
|
|
|
.attachments-browser.hide-sidebar .media-toolbar {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.attachments-browser .media-toolbar-primary > .media-button,
|
|
|
|
.attachments-browser .media-toolbar-primary > .media-button-group,
|
|
|
|
.attachments-browser .media-toolbar-secondary > .media-button,
|
|
|
|
.attachments-browser .media-toolbar-secondary > .media-button-group {
|
2014-08-14 00:45:15 +02:00
|
|
|
margin: 11px 0;
|
2012-11-30 14:34:16 +01:00
|
|
|
}
|
|
|
|
|
2014-09-03 08:28:16 +02:00
|
|
|
.attachments-browser .attachments {
|
|
|
|
padding: 2px 8px 8px;
|
|
|
|
}
|
|
|
|
|
2012-11-30 14:34:16 +01:00
|
|
|
.attachments-browser .attachments,
|
|
|
|
.attachments-browser .uploader-inline {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 50px;
|
2012-11-30 14:34:16 +01:00
|
|
|
right: 0;
|
|
|
|
left: 300px;
|
2013-11-12 22:19:15 +01:00
|
|
|
bottom: 0;
|
|
|
|
overflow: auto;
|
2014-05-29 05:39:15 +02:00
|
|
|
outline: none;
|
2014-07-10 05:50:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.attachments-browser .uploader-inline.hidden {
|
2014-07-13 12:44:14 +02:00
|
|
|
display: none;
|
2014-07-10 05:50:17 +02:00
|
|
|
}
|
|
|
|
|
2015-04-14 03:21:27 +02:00
|
|
|
.attachments-browser .media-toolbar-primary {
|
2015-11-05 00:43:26 +01:00
|
|
|
max-width: 33%;
|
2015-04-14 03:21:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.attachments-browser .media-toolbar-secondary {
|
2015-11-05 00:43:26 +01:00
|
|
|
max-width: 66%;
|
2015-04-14 03:21:27 +02:00
|
|
|
}
|
|
|
|
|
2014-07-11 01:06:15 +02:00
|
|
|
.uploader-inline .close {
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
height: 48px;
|
|
|
|
position: absolute;
|
2014-07-25 02:31:15 +02:00
|
|
|
left: 0;
|
2014-07-11 01:06:15 +02:00
|
|
|
text-align: center;
|
2014-07-25 02:31:15 +02:00
|
|
|
top: 0;
|
2014-07-11 01:06:15 +02:00
|
|
|
width: 50px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-inline .close:before {
|
2015-09-05 21:57:25 +02:00
|
|
|
font: normal 30px/50px dashicons !important;
|
2014-07-11 01:06:15 +02:00
|
|
|
color: #777;
|
|
|
|
display: inline-block;
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f335";
|
2014-07-11 01:06:15 +02:00
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
2014-07-10 05:50:17 +02:00
|
|
|
.attachments-browser.hide-sidebar .attachments,
|
|
|
|
.attachments-browser.hide-sidebar .uploader-inline {
|
2014-07-04 05:39:15 +02:00
|
|
|
left: 0;
|
2014-07-07 22:30:16 +02:00
|
|
|
margin-left: 0;
|
2014-07-04 05:39:15 +02:00
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.attachments-browser .instructions {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 16px;
|
|
|
|
line-height: 18px;
|
|
|
|
font-size: 13px;
|
2013-11-28 05:14:09 +01:00
|
|
|
color: #666;
|
2014-04-08 03:55:15 +02:00
|
|
|
margin-left: 0.5em;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2014-07-10 19:31:15 +02:00
|
|
|
.attachments-browser .no-media {
|
|
|
|
padding: 2em 2em 0 0;
|
|
|
|
}
|
|
|
|
|
2012-11-16 00:58:33 +01:00
|
|
|
/**
|
|
|
|
* Progress Bar
|
|
|
|
*/
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-progress-bar {
|
|
|
|
position: relative;
|
|
|
|
height: 10px;
|
|
|
|
width: 70%;
|
|
|
|
margin: 10px auto;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-border-radius: 10px;
|
2013-11-12 22:19:15 +01:00
|
|
|
border-radius: 10px;
|
|
|
|
background: #dfdfdf;
|
|
|
|
background: rgba( 0, 0, 0, 0.1 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-progress-bar div {
|
|
|
|
height: 10px;
|
|
|
|
min-width: 20px;
|
|
|
|
width: 0;
|
2015-10-21 18:18:26 +02:00
|
|
|
background: #0073aa;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-border-radius: 10px;
|
2013-11-12 22:19:15 +01:00
|
|
|
border-radius: 10px;
|
2014-08-03 00:02:19 +02:00
|
|
|
-webkit-transition: width 300ms;
|
|
|
|
transition: width 300ms;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-uploader-status .media-progress-bar {
|
|
|
|
display: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploading.media-uploader-status .media-progress-bar {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2012-11-16 00:58:33 +01:00
|
|
|
.attachment-preview .media-progress-bar {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
2012-11-16 00:58:33 +01:00
|
|
|
right: 15%;
|
2013-11-12 22:19:15 +01:00
|
|
|
width: 70%;
|
|
|
|
margin: -5px 0 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-uploader-status {
|
|
|
|
position: relative;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
max-width: 400px;
|
|
|
|
}
|
|
|
|
|
2015-10-29 00:08:24 +01:00
|
|
|
.uploader-inline .media-uploader-status h3, /* Back-compat for pre-4.4 */
|
|
|
|
.uploader-inline .media-uploader-status h2 {
|
2013-11-12 22:19:15 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-uploader-status .upload-details {
|
|
|
|
display: none;
|
|
|
|
font-size: 12px;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploading.media-uploader-status .upload-details {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-uploader-status .upload-detail-separator {
|
|
|
|
padding: 0 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-uploader-status .upload-count {
|
|
|
|
color: #464646;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-uploader-status .upload-dismiss-errors,
|
|
|
|
.media-uploader-status .upload-errors {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.errors.media-uploader-status .upload-dismiss-errors,
|
|
|
|
.errors.media-uploader-status .upload-errors {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-uploader-status .upload-dismiss-errors {
|
|
|
|
text-decoration: none;
|
2012-11-30 14:34:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-sidebar .media-uploader-status .upload-dismiss-errors {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2012-11-30 14:34:16 +01:00
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.upload-errors .upload-error {
|
2015-05-15 18:19:26 +02:00
|
|
|
padding: 12px;
|
2015-06-19 20:49:27 +02:00
|
|
|
margin-bottom: 12px;
|
|
|
|
background: #fff;
|
2015-10-09 19:47:25 +02:00
|
|
|
border-right: 4px solid #dc3232;
|
2015-06-19 20:49:27 +02:00
|
|
|
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2015-10-09 19:47:25 +02:00
|
|
|
.uploader-inline .upload-errors .upload-error {
|
|
|
|
background-color: #fbeaea;
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2015-05-15 18:19:26 +02:00
|
|
|
.upload-errors .upload-error-filename {
|
2013-11-12 22:19:15 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload-errors .upload-error-message {
|
|
|
|
display: block;
|
|
|
|
padding-top: 8px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-window {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background: rgba( 0, 86, 132, 0.9 );
|
|
|
|
z-index: 250000;
|
|
|
|
display: none;
|
|
|
|
text-align: center;
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transition: opacity 250ms;
|
2014-02-13 09:30:17 +01:00
|
|
|
transition: opacity 250ms;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-window-content {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
left: 10px;
|
|
|
|
bottom: 10px;
|
|
|
|
border: 1px dashed #fff;
|
|
|
|
}
|
|
|
|
|
2015-10-29 00:08:24 +01:00
|
|
|
.uploader-window h3, /* Back-compat for pre-4.4 */
|
|
|
|
.uploader-window h1 {
|
2013-11-12 22:19:15 +01:00
|
|
|
margin: -0.5em 0 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
-webkit-transform: translateY( -50% );
|
2014-08-05 07:20:18 +02:00
|
|
|
-ms-transform: translateY(-50%);
|
2014-02-13 09:30:17 +01:00
|
|
|
transform: translateY( -50% );
|
2013-11-12 22:19:15 +01:00
|
|
|
font-size: 40px;
|
|
|
|
color: #fff;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-window .media-progress-bar {
|
|
|
|
margin-top: 20px;
|
|
|
|
max-width: 300px;
|
|
|
|
background: transparent;
|
|
|
|
border-color: #fff;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-window .media-progress-bar div {
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploading .uploader-window .media-progress-bar {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame .uploader-inline {
|
2014-07-25 02:31:15 +02:00
|
|
|
margin-bottom: 20px;
|
|
|
|
padding: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-inline-content {
|
|
|
|
position: absolute;
|
|
|
|
top: 30%;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-inline-content .upload-ui {
|
2014-07-25 02:31:15 +02:00
|
|
|
margin: 2em 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-inline-content .post-upload-ui {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-inline .has-upload-message .upload-ui {
|
|
|
|
margin: 0 0 4em;
|
|
|
|
}
|
|
|
|
|
2015-10-29 00:08:24 +01:00
|
|
|
.uploader-inline h3, /* Back-compat for pre-4.4 */
|
|
|
|
.uploader-inline h2 {
|
2013-11-12 22:19:15 +01:00
|
|
|
font-size: 20px;
|
|
|
|
line-height: 28px;
|
|
|
|
font-weight: 400;
|
2014-07-25 02:31:15 +02:00
|
|
|
margin: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-inline .has-upload-message .upload-instructions {
|
|
|
|
font-size: 14px;
|
|
|
|
color: #464646;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-inline .drop-instructions {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.supports-drag-drop .uploader-inline .drop-instructions {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-inline p {
|
|
|
|
font-size: 12px;
|
2014-07-25 02:31:15 +02:00
|
|
|
margin: 0.5em 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-inline .media-progress-bar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploading.uploader-inline .media-progress-bar {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploader-inline .browser {
|
|
|
|
display: inline-block !important;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Selection
|
|
|
|
*/
|
|
|
|
.media-selection {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2012-11-16 00:58:33 +01:00
|
|
|
right: 0;
|
|
|
|
left: 350px;
|
2013-11-12 22:19:15 +01:00
|
|
|
height: 60px;
|
2012-11-16 00:58:33 +01:00
|
|
|
padding: 0 16px 0 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-selection .selection-info {
|
2013-11-12 22:19:15 +01:00
|
|
|
display: inline-block;
|
|
|
|
font-size: 12px;
|
|
|
|
height: 60px;
|
2012-11-16 00:58:33 +01:00
|
|
|
margin-left: 10px;
|
2013-11-12 22:19:15 +01:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-selection.empty,
|
|
|
|
.media-selection.editing {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-selection.one .edit-selection {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-selection .count {
|
|
|
|
display: block;
|
|
|
|
padding-top: 12px;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
font-weight: bold;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2015-06-26 07:01:24 +02:00
|
|
|
.media-selection .button-link {
|
2012-11-16 00:58:33 +01:00
|
|
|
float: right;
|
2013-11-12 22:19:15 +01:00
|
|
|
padding: 1px 8px;
|
2012-11-16 00:58:33 +01:00
|
|
|
margin: 1px -8px 1px 8px;
|
2013-11-12 22:19:15 +01:00
|
|
|
line-height: 16px;
|
|
|
|
border-left: 1px solid #dfdfdf;
|
2015-10-21 18:18:26 +02:00
|
|
|
color: #0073aa;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2015-06-26 07:01:24 +02:00
|
|
|
.media-selection .button-link:hover,
|
|
|
|
.media-selection .button-link:focus {
|
2015-10-21 18:18:26 +02:00
|
|
|
color: #00a0d2;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2015-06-26 07:01:24 +02:00
|
|
|
.media-selection .button-link:last-child {
|
2012-11-16 00:58:33 +01:00
|
|
|
border-left: 0;
|
2012-12-04 19:23:47 +01:00
|
|
|
margin-left: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2015-06-26 07:01:24 +02:00
|
|
|
.selection-info .clear-selection {
|
2015-10-21 18:18:26 +02:00
|
|
|
color: #bc0b0b;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2015-06-26 07:01:24 +02:00
|
|
|
.selection-info .clear-selection:hover,
|
|
|
|
.selection-info .clear-selection:focus {
|
2015-10-21 18:18:26 +02:00
|
|
|
color: red;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-selection .selection-view {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-selection .attachments {
|
|
|
|
display: inline-block;
|
|
|
|
height: 48px;
|
2014-08-05 07:20:18 +02:00
|
|
|
margin: 6px;
|
|
|
|
padding: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
overflow: hidden;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2014-08-05 07:20:18 +02:00
|
|
|
.media-selection .attachment {
|
2014-10-12 01:24:23 +02:00
|
|
|
width: 40px;
|
2014-08-05 07:20:18 +02:00
|
|
|
padding: 0;
|
2014-10-12 01:24:23 +02:00
|
|
|
margin: 4px;
|
2014-08-05 07:20:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-selection .attachment .thumbnail {
|
2014-10-12 01:24:23 +02:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2014-08-05 07:20:18 +02:00
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-selection .attachment .icon {
|
|
|
|
width: 50%;
|
|
|
|
}
|
2014-08-25 23:26:16 +02:00
|
|
|
|
|
|
|
.media-selection .attachment-preview {
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-box-shadow: none;
|
2013-11-12 22:19:15 +01:00
|
|
|
box-shadow: none;
|
2014-08-25 23:26:16 +02:00
|
|
|
background: none;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2015-04-07 23:29:26 +02:00
|
|
|
.wp-core-ui .media-selection .attachment:focus,
|
|
|
|
.wp-core-ui .media-selection .selected.attachment:focus,
|
|
|
|
.wp-core-ui .media-selection .attachment.details:focus {
|
|
|
|
-webkit-box-shadow:
|
|
|
|
0 0 0 1px #fff,
|
|
|
|
0 0 2px 3px #5b9dd9;
|
|
|
|
box-shadow:
|
|
|
|
0 0 0 1px #fff,
|
|
|
|
0 0 2px 3px #5b9dd9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-core-ui .media-selection .selected.attachment {
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-core-ui .media-selection .attachment.details {
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-box-shadow:
|
|
|
|
0 0 0 1px #fff,
|
2015-10-21 18:18:26 +02:00
|
|
|
0 0 0 3px #0073aa;
|
2013-11-12 22:19:15 +01:00
|
|
|
box-shadow:
|
|
|
|
0 0 0 1px #fff,
|
2015-10-21 18:18:26 +02:00
|
|
|
0 0 0 3px #0073aa;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-selection:after {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "";
|
2013-11-12 22:19:15 +01:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2012-11-16 00:58:33 +01:00
|
|
|
left: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
bottom: 0;
|
|
|
|
width: 25px;
|
2014-02-13 09:30:17 +01:00
|
|
|
background-image: -webkit-gradient(linear, left top, right top, from(rgba( 255, 255, 255, 1 )), to(rgba( 255, 255, 255, 0 )));
|
|
|
|
background-image: -webkit-linear-gradient(left, rgba( 255, 255, 255, 1 ), rgba( 255, 255, 255, 0 ));
|
2015-11-07 12:57:31 +01:00
|
|
|
background-image: linear-gradient(to right, rgba( 255, 255, 255, 1 ), rgba( 255, 255, 255, 0 ));
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-selection .attachment .filename {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Spinner
|
|
|
|
*/
|
|
|
|
.media-frame .spinner {
|
2014-02-26 18:23:13 +01:00
|
|
|
background: url(../images/spinner.gif) no-repeat;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-background-size: 20px 20px;
|
2013-11-12 22:19:15 +01:00
|
|
|
background-size: 20px 20px;
|
2015-04-09 22:35:28 +02:00
|
|
|
float: left;
|
|
|
|
display: inline-block;
|
|
|
|
visibility: hidden;
|
2013-11-12 22:19:15 +01:00
|
|
|
opacity: 0.7;
|
|
|
|
filter: alpha(opacity=70);
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin: 0;
|
2015-04-09 22:35:28 +02:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame .spinner.is-active {
|
|
|
|
visibility: visible;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2014-03-06 18:46:15 +01:00
|
|
|
.media-toolbar .spinner {
|
|
|
|
margin-top: 14px;
|
|
|
|
}
|
|
|
|
|
2014-07-17 05:55:15 +02:00
|
|
|
/**
|
|
|
|
* Attachment Details
|
|
|
|
*/
|
|
|
|
.attachment-details {
|
|
|
|
position: relative;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-details .settings-save-status {
|
2013-11-12 22:19:15 +01:00
|
|
|
float: left;
|
|
|
|
text-transform: none;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
|
2014-08-07 22:32:16 +02:00
|
|
|
.attachment-details .settings-save-status .spinner {
|
2015-04-09 22:35:28 +02:00
|
|
|
margin-right: 5px;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2014-07-17 05:55:15 +02:00
|
|
|
.attachment-details .settings-save-status .saved {
|
2013-11-12 22:19:15 +01:00
|
|
|
float: left;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-04-09 22:35:28 +02:00
|
|
|
.attachment-details.save-waiting .settings-save-status .spinner {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2014-07-17 05:55:15 +02:00
|
|
|
.attachment-details.save-complete .settings-save-status .saved {
|
2013-11-12 22:19:15 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-info {
|
|
|
|
overflow: hidden;
|
|
|
|
min-height: 60px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
line-height: 18px;
|
2013-11-28 05:14:09 +01:00
|
|
|
color: #666;
|
2014-03-07 03:46:14 +01:00
|
|
|
border-bottom: 1px solid #ddd;
|
2013-11-12 22:19:15 +01:00
|
|
|
padding-bottom: 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-info .filename {
|
|
|
|
font-weight: bold;
|
|
|
|
color: #464646;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
2012-11-16 00:58:33 +01:00
|
|
|
.attachment-info .thumbnail {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: relative;
|
2012-11-16 00:58:33 +01:00
|
|
|
float: right;
|
2013-11-12 22:19:15 +01:00
|
|
|
max-width: 120px;
|
|
|
|
max-height: 120px;
|
|
|
|
margin-top: 5px;
|
2012-11-16 00:58:33 +01:00
|
|
|
margin-left: 10px;
|
2013-11-12 22:19:15 +01:00
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploading .attachment-info .thumbnail {
|
|
|
|
width: 120px;
|
|
|
|
height: 80px;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-box-shadow: inset 0 0 15px rgba( 0, 0, 0, 0.1 );
|
2013-11-12 22:19:15 +01:00
|
|
|
box-shadow: inset 0 0 15px rgba( 0, 0, 0, 0.1 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploading .attachment-info .media-progress-bar {
|
|
|
|
margin-top: 35px;
|
|
|
|
}
|
|
|
|
|
2014-05-11 08:19:14 +02:00
|
|
|
.attachment-info .thumbnail-image:after {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "";
|
2013-11-12 22:19:15 +01:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 );
|
2013-11-12 22:19:15 +01:00
|
|
|
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 );
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-info .thumbnail img {
|
|
|
|
display: block;
|
|
|
|
max-width: 120px;
|
|
|
|
max-height: 120px;
|
|
|
|
margin: 0 auto;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2012-12-03 05:15:32 +01:00
|
|
|
.attachment-info .details {
|
2012-11-16 00:58:33 +01:00
|
|
|
float: right;
|
2013-11-12 22:19:15 +01:00
|
|
|
font-size: 12px;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-info .edit-attachment,
|
2014-03-07 17:42:14 +01:00
|
|
|
.attachment-info .delete-attachment,
|
Media Grid, support `MEDIA_TRASH`:
* Add a setting to `_wpMediaViewsL10n.settings`: `mediaTrash`
* In the attachment edit modal, properly toggle between Trash/Untrash
* In `media.view.Attachment`, add a method for `untrashAttachment`
* When creating the grid toolbar, switch the setting order of subviews so that `media.view.DeleteSelectedButton` can listen to the instance of `media.view.AttachmentFilters.All` to update the text in its UI.
* Add a new filter to `media.view.AttachmentFilters.All`, `trash`, when `settings.mediaTrash` is true
* Allow the cached queries in `Query.get()` to be flushed when race conditions exist and collections need to be refreshed. This is currently only being used when `MEDIA_TRASH` is set, to refresh the filtered/mirrored collections related to `all`, `trash`, and any already queried filter.
* Cleanup the bootstrapping of `media.view.MediaFrame.Manage`
* Allow `wp_ajax_query_attachments()` to return items from the trash when `MEDIA_TRASH` is `true`
* Allow `wp_ajax_save_attachment()` to set `post_status` when `MEDIA_TRASH` is `true`. It allows `wp_delete_post()` to be called, which will trash the attachment instead of deleting when the flag is set.
Props koop for the knowledge sharing and thought partnership.
See #29145.
Built from https://develop.svn.wordpress.org/trunk@29490
git-svn-id: http://core.svn.wordpress.org/trunk@29268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-14 20:31:19 +02:00
|
|
|
.attachment-info .trash-attachment,
|
|
|
|
.attachment-info .untrash-attachment {
|
2013-11-12 22:19:15 +01:00
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-details.needs-refresh .attachment-info .edit-attachment {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-info .edit-attachment {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-07-17 05:55:15 +02:00
|
|
|
.media-modal .delete-attachment,
|
Media Grid, support `MEDIA_TRASH`:
* Add a setting to `_wpMediaViewsL10n.settings`: `mediaTrash`
* In the attachment edit modal, properly toggle between Trash/Untrash
* In `media.view.Attachment`, add a method for `untrashAttachment`
* When creating the grid toolbar, switch the setting order of subviews so that `media.view.DeleteSelectedButton` can listen to the instance of `media.view.AttachmentFilters.All` to update the text in its UI.
* Add a new filter to `media.view.AttachmentFilters.All`, `trash`, when `settings.mediaTrash` is true
* Allow the cached queries in `Query.get()` to be flushed when race conditions exist and collections need to be refreshed. This is currently only being used when `MEDIA_TRASH` is set, to refresh the filtered/mirrored collections related to `all`, `trash`, and any already queried filter.
* Cleanup the bootstrapping of `media.view.MediaFrame.Manage`
* Allow `wp_ajax_query_attachments()` to return items from the trash when `MEDIA_TRASH` is `true`
* Allow `wp_ajax_save_attachment()` to set `post_status` when `MEDIA_TRASH` is `true`. It allows `wp_delete_post()` to be called, which will trash the attachment instead of deleting when the flag is set.
Props koop for the knowledge sharing and thought partnership.
See #29145.
Built from https://develop.svn.wordpress.org/trunk@29490
git-svn-id: http://core.svn.wordpress.org/trunk@29268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-14 20:31:19 +02:00
|
|
|
.media-modal .trash-attachment,
|
|
|
|
.media-modal .untrash-attachment {
|
2015-06-26 07:01:24 +02:00
|
|
|
display: inline;
|
|
|
|
padding: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
color: #bc0b0b;
|
|
|
|
}
|
|
|
|
|
2014-07-17 05:55:15 +02:00
|
|
|
.media-modal .delete-attachment:hover,
|
2015-06-26 07:01:24 +02:00
|
|
|
.media-modal .delete-attachment:focus,
|
Media Grid, support `MEDIA_TRASH`:
* Add a setting to `_wpMediaViewsL10n.settings`: `mediaTrash`
* In the attachment edit modal, properly toggle between Trash/Untrash
* In `media.view.Attachment`, add a method for `untrashAttachment`
* When creating the grid toolbar, switch the setting order of subviews so that `media.view.DeleteSelectedButton` can listen to the instance of `media.view.AttachmentFilters.All` to update the text in its UI.
* Add a new filter to `media.view.AttachmentFilters.All`, `trash`, when `settings.mediaTrash` is true
* Allow the cached queries in `Query.get()` to be flushed when race conditions exist and collections need to be refreshed. This is currently only being used when `MEDIA_TRASH` is set, to refresh the filtered/mirrored collections related to `all`, `trash`, and any already queried filter.
* Cleanup the bootstrapping of `media.view.MediaFrame.Manage`
* Allow `wp_ajax_query_attachments()` to return items from the trash when `MEDIA_TRASH` is `true`
* Allow `wp_ajax_save_attachment()` to set `post_status` when `MEDIA_TRASH` is `true`. It allows `wp_delete_post()` to be called, which will trash the attachment instead of deleting when the flag is set.
Props koop for the knowledge sharing and thought partnership.
See #29145.
Built from https://develop.svn.wordpress.org/trunk@29490
git-svn-id: http://core.svn.wordpress.org/trunk@29268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-14 20:31:19 +02:00
|
|
|
.media-modal .trash-attachment:hover,
|
2015-06-26 07:01:24 +02:00
|
|
|
.media-modal .trash-attachment:focus,
|
|
|
|
.media-modal .untrash-attachment:hover,
|
|
|
|
.media-modal .untrash-attachment:focus {
|
2013-11-12 22:19:15 +01:00
|
|
|
color: red;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Attachment Display Settings
|
|
|
|
*/
|
|
|
|
.attachment-display-settings {
|
2013-11-12 22:19:15 +01:00
|
|
|
width: 100%;
|
2012-11-16 00:58:33 +01:00
|
|
|
float: right;
|
2013-11-12 22:19:15 +01:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-display-settings h4 {
|
|
|
|
margin: 1.4em 0 0.4em;
|
|
|
|
}
|
|
|
|
|
2014-02-24 19:08:16 +01:00
|
|
|
.collection-settings {
|
2013-11-12 22:19:15 +01:00
|
|
|
overflow: hidden;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2014-03-10 00:19:15 +01:00
|
|
|
.collection-settings .setting input[type="checkbox"] {
|
|
|
|
float: right;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.collection-settings .setting span {
|
|
|
|
min-width: inherit;
|
|
|
|
}
|
|
|
|
|
2014-03-06 23:55:14 +01:00
|
|
|
/**
|
|
|
|
* Image Editor
|
|
|
|
*/
|
2014-07-10 03:24:14 +02:00
|
|
|
.media-modal .imgedit-wrap {
|
2014-03-29 09:51:14 +01:00
|
|
|
position: static;
|
2014-03-06 23:55:14 +01:00
|
|
|
}
|
|
|
|
|
2014-07-10 03:24:14 +02:00
|
|
|
.media-modal .imgedit-wait {
|
2014-03-29 09:51:14 +01:00
|
|
|
height: auto !important;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2014-03-27 23:41:14 +01:00
|
|
|
}
|
|
|
|
|
2014-07-10 03:24:14 +02:00
|
|
|
.media-modal .imgedit-wrap .imgedit-panel-content {
|
2014-03-29 09:51:14 +01:00
|
|
|
padding: 16px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 282px;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
overflow: auto;
|
2014-03-06 23:55:14 +01:00
|
|
|
}
|
|
|
|
|
2014-07-10 03:24:14 +02:00
|
|
|
.media-modal .imgedit-wrap .imgedit-settings {
|
2014-03-29 09:51:14 +01:00
|
|
|
background: #f3f3f3;
|
|
|
|
border-right: 1px solid #ddd;
|
|
|
|
padding: 0 16px 16px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2014-03-06 23:55:14 +01:00
|
|
|
width: 250px;
|
2014-03-29 09:51:14 +01:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2014-07-10 03:24:14 +02:00
|
|
|
.media-modal .imgedit-group {
|
2014-03-29 09:51:14 +01:00
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
padding: 0;
|
|
|
|
padding-bottom: 16px;
|
2014-08-26 14:55:16 +02:00
|
|
|
position: relative; /* RTL fix, #WP29352 */
|
2014-03-29 09:51:14 +01:00
|
|
|
}
|
|
|
|
|
2014-07-10 03:24:14 +02:00
|
|
|
.media-modal .imgedit-group:last-of-type {
|
2014-03-29 09:51:14 +01:00
|
|
|
border: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2015-10-29 00:08:24 +01:00
|
|
|
.media-modal .imgedit-group-top h3, /* Back-compat for pre-4.4 */
|
|
|
|
.media-modal .imgedit-group-top h2 {
|
2014-03-29 09:51:14 +01:00
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 12px;
|
|
|
|
color: #666;
|
|
|
|
margin: 0;
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
|
|
|
|
2015-10-29 00:08:24 +01:00
|
|
|
.media-modal .imgedit-group-top h3 a, /* Back-compat for pre-4.4 */
|
|
|
|
.media-modal .imgedit-group-top h2 a {
|
2014-03-29 09:51:14 +01:00
|
|
|
text-decoration: none;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
2014-07-10 03:24:14 +02:00
|
|
|
.media-modal .imgedit-help-toggle {
|
2014-03-29 09:51:14 +01:00
|
|
|
margin-top: -2px;
|
|
|
|
cursor: pointer;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
2014-07-10 03:24:14 +02:00
|
|
|
.media-modal .imgedit-help-toggled span.dashicons:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f142";
|
2014-03-29 09:51:14 +01:00
|
|
|
}
|
|
|
|
|
2014-07-10 03:24:14 +02:00
|
|
|
.media-modal .imgedit-group img {
|
2014-03-29 09:51:14 +01:00
|
|
|
margin-top: 5px;
|
2014-03-06 23:55:14 +01:00
|
|
|
}
|
2014-03-29 09:51:14 +01:00
|
|
|
|
2014-07-10 03:24:14 +02:00
|
|
|
.media-modal .imgedit-wrap div.updated {
|
2014-03-29 09:51:14 +01:00
|
|
|
margin: 0;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-11-16 00:58:33 +01:00
|
|
|
/**
|
2014-01-28 22:17:12 +01:00
|
|
|
* Embed from URL and Image Details
|
2012-11-16 00:58:33 +01:00
|
|
|
*/
|
2013-11-12 22:19:15 +01:00
|
|
|
.embed-url {
|
2012-11-16 00:58:33 +01:00
|
|
|
display: block;
|
2013-11-12 22:19:15 +01:00
|
|
|
position: relative;
|
|
|
|
padding: 16px;
|
|
|
|
margin: 0;
|
|
|
|
z-index: 250;
|
|
|
|
background: #fff;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame .embed-url input {
|
|
|
|
font-size: 18px;
|
|
|
|
padding: 12px 14px;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 200px;
|
2015-02-11 23:28:29 +01:00
|
|
|
-webkit-box-shadow: inset -2px 2px 4px -2px rgba( 0, 0, 0, 0.1 );
|
|
|
|
box-shadow: inset -2px 2px 4px -2px rgba( 0, 0, 0, 0.1 );
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame .embed-url .spinner {
|
|
|
|
position: absolute;
|
2014-05-27 01:57:14 +02:00
|
|
|
top: 32px;
|
2013-11-12 22:19:15 +01:00
|
|
|
left: 26px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame .embed-loading .embed-url .spinner {
|
2015-04-09 22:35:28 +02:00
|
|
|
visibility: visible;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.embed-link-settings,
|
2014-03-05 16:06:14 +01:00
|
|
|
.embed-media-settings {
|
2013-11-12 22:19:15 +01:00
|
|
|
position: absolute;
|
2014-05-27 01:57:14 +02:00
|
|
|
top: 70px;
|
2013-11-12 22:19:15 +01:00
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
padding: 16px 16px 32px;
|
|
|
|
overflow: auto;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
|
|
|
|
2015-06-19 20:49:27 +02:00
|
|
|
.media-embed .embed-link-settings {
|
|
|
|
/* avoid Firefox to give focus to the embed preview container parent */
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
2015-02-27 23:13:27 +01:00
|
|
|
.embed-preview img,
|
|
|
|
.embed-preview iframe,
|
2015-06-19 20:49:27 +02:00
|
|
|
.embed-preview embed,
|
|
|
|
.mejs-container video {
|
2014-05-27 01:57:14 +02:00
|
|
|
max-width: 100%;
|
2015-06-19 20:49:27 +02:00
|
|
|
vertical-align: middle;
|
2014-05-27 01:57:14 +02:00
|
|
|
}
|
|
|
|
|
2015-02-27 23:13:27 +01:00
|
|
|
.embed-preview a {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2014-05-27 01:57:14 +02:00
|
|
|
.embed-preview img {
|
2015-02-27 23:13:27 +01:00
|
|
|
display: block;
|
2014-05-27 01:57:14 +02:00
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2015-06-19 20:49:27 +02:00
|
|
|
.mejs-container:focus {
|
|
|
|
outline: 1px solid #5b9dd9;
|
2015-06-19 20:56:27 +02:00
|
|
|
-webkit-box-shadow: 0 0 2px 1px rgba(30, 140, 190, .8);
|
2015-06-19 20:49:27 +02:00
|
|
|
box-shadow: 0 0 2px 1px rgba(30, 140, 190, .8);
|
|
|
|
}
|
|
|
|
|
2014-03-27 23:41:14 +01:00
|
|
|
.image-details .media-modal {
|
|
|
|
right: 140px;
|
|
|
|
left: 140px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .media-frame-title,
|
|
|
|
.image-details .media-frame-content,
|
|
|
|
.image-details .media-frame-router {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-05 16:06:14 +01:00
|
|
|
.image-details .embed-media-settings {
|
2014-01-28 22:17:12 +01:00
|
|
|
top: 0;
|
2014-03-27 23:41:14 +01:00
|
|
|
overflow: visible;
|
2014-04-02 03:54:15 +02:00
|
|
|
padding: 0;
|
2014-03-27 23:41:14 +01:00
|
|
|
}
|
|
|
|
|
2014-08-08 05:46:17 +02:00
|
|
|
.image-details .embed-media-settings,
|
|
|
|
.image-details .embed-media-settings div {
|
2014-08-10 06:22:15 +02:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
2014-08-08 05:46:17 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2014-03-27 23:41:14 +01:00
|
|
|
.image-details .column-settings {
|
2014-04-02 03:54:15 +02:00
|
|
|
background: #f3f3f3;
|
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
min-height: 100%;
|
2014-08-08 05:46:17 +02:00
|
|
|
width: 55%;
|
2014-04-02 03:54:15 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2015-10-29 00:08:24 +01:00
|
|
|
.image-details .column-settings h3, /* Back-compat for pre-4.4 */
|
|
|
|
.image-details .column-settings h2 {
|
2014-04-02 03:54:15 +02:00
|
|
|
margin: 20px;
|
|
|
|
padding-top: 20px;
|
|
|
|
border-top: 1px solid #ddd;
|
2015-10-29 00:08:24 +01:00
|
|
|
color: #23282d;
|
2014-03-27 23:41:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .column-image {
|
2014-08-08 05:46:17 +02:00
|
|
|
width: 45%;
|
2014-04-02 03:54:15 +02:00
|
|
|
position: absolute;
|
2014-08-08 05:46:17 +02:00
|
|
|
right: 55%;
|
2014-04-02 03:54:15 +02:00
|
|
|
top: 0;
|
2014-01-28 22:17:12 +01:00
|
|
|
}
|
|
|
|
|
2014-04-02 03:54:15 +02:00
|
|
|
.image-details .image {
|
|
|
|
margin: 20px;
|
2014-03-27 23:41:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .image img {
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 500px;
|
|
|
|
}
|
|
|
|
|
2014-04-02 03:54:15 +02:00
|
|
|
.image-details .advanced-toggle {
|
2015-06-26 07:01:24 +02:00
|
|
|
padding: 0;
|
2014-04-02 03:54:15 +02:00
|
|
|
color: #666;
|
2015-06-26 07:01:24 +02:00
|
|
|
text-transform: uppercase;
|
2014-04-02 03:54:15 +02:00
|
|
|
}
|
|
|
|
|
2014-07-28 17:52:17 +02:00
|
|
|
.image-details .advanced-toggle:after {
|
2015-09-05 21:57:25 +02:00
|
|
|
font: normal 20px/1 dashicons;
|
2014-04-02 03:54:15 +02:00
|
|
|
speak: none;
|
|
|
|
vertical-align: top;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f140";
|
2014-04-02 03:54:15 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin-top: -2px;
|
|
|
|
}
|
|
|
|
|
2014-07-28 17:52:17 +02:00
|
|
|
.image-details .advanced-visible .advanced-toggle:after {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f142";
|
2014-04-02 03:54:15 +02:00
|
|
|
}
|
2014-03-27 23:41:14 +01:00
|
|
|
|
2014-04-03 05:21:15 +02:00
|
|
|
.image-details .embed-media-settings .size {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .custom-size span {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .custom-size label {
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .custom-size span small {
|
|
|
|
color: #999;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .custom-size input {
|
|
|
|
width: 5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .custom-size .sep {
|
|
|
|
float: right;
|
|
|
|
margin: 26px 6px 0 6px;
|
|
|
|
}
|
|
|
|
|
2014-07-28 17:52:17 +02:00
|
|
|
.image-details .custom-size:after {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "";
|
2014-04-03 05:21:15 +02:00
|
|
|
display: table;
|
2014-07-28 17:52:17 +02:00
|
|
|
clear: both;
|
2014-04-03 05:21:15 +02:00
|
|
|
}
|
|
|
|
|
2012-11-16 00:58:33 +01:00
|
|
|
.media-embed .thumbnail {
|
2013-11-12 22:19:15 +01:00
|
|
|
max-width: 100%;
|
|
|
|
max-height: 200px;
|
|
|
|
position: relative;
|
2012-11-16 00:58:33 +01:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-embed .thumbnail img {
|
|
|
|
max-height: 200px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-embed .thumbnail:after {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "";
|
2013-11-12 22:19:15 +01:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );
|
2013-11-12 22:19:15 +01:00
|
|
|
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2012-11-16 00:58:33 +01:00
|
|
|
.media-embed .setting {
|
2013-11-12 22:19:15 +01:00
|
|
|
width: 100%;
|
2014-03-27 23:41:14 +01:00
|
|
|
margin: 10px 0;
|
2012-11-16 00:58:33 +01:00
|
|
|
float: right;
|
2013-11-12 22:19:15 +01:00
|
|
|
display: block;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2014-04-02 03:54:15 +02:00
|
|
|
.image-details .embed-media-settings .setting {
|
2014-03-27 23:41:14 +01:00
|
|
|
float: none;
|
2014-04-02 03:54:15 +02:00
|
|
|
width: auto;
|
2014-03-27 23:41:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .actions {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
2014-04-02 03:54:15 +02:00
|
|
|
.image-details .hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-03-27 23:41:14 +01:00
|
|
|
.media-embed .setting input[type="text"],
|
|
|
|
.media-embed .setting textarea {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 400px;
|
|
|
|
margin: 1px 0;
|
|
|
|
}
|
|
|
|
|
2014-04-02 03:54:15 +02:00
|
|
|
.image-details .embed-media-settings .setting input[type="text"],
|
|
|
|
.image-details .embed-media-settings .setting textarea {
|
2014-03-27 23:41:14 +01:00
|
|
|
max-width: inherit;
|
2014-04-02 03:54:15 +02:00
|
|
|
width: 70%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .embed-media-settings .setting input.link-to-custom,
|
2014-04-03 05:21:15 +02:00
|
|
|
.image-details .embed-media-settings .link-target,
|
|
|
|
.image-details .embed-media-settings .custom-size {
|
2014-04-02 03:54:15 +02:00
|
|
|
margin-right: 27%;
|
|
|
|
width: 70%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .embed-media-settings .link-target {
|
|
|
|
margin-top: 24px;
|
2014-03-27 23:41:14 +01:00
|
|
|
}
|
|
|
|
|
2014-04-19 20:34:17 +02:00
|
|
|
.media-embed .setting input.hidden,
|
|
|
|
.media-embed .setting textarea.hidden {
|
2014-01-28 22:17:12 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-embed .setting span {
|
|
|
|
display: block;
|
|
|
|
width: 200px;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 24px;
|
2013-11-28 05:14:09 +01:00
|
|
|
color: #666;
|
2012-11-16 00:58:33 +01:00
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2014-06-11 02:23:14 +02:00
|
|
|
.image-details .embed-media-settings .setting span {
|
2014-04-02 03:54:15 +02:00
|
|
|
float: right;
|
|
|
|
width: 25%;
|
|
|
|
text-align: left;
|
|
|
|
margin: 8px 1% 0 1%;
|
|
|
|
line-height: 1.1;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-embed .setting .button-group {
|
|
|
|
margin: 2px 0;
|
|
|
|
}
|
|
|
|
|
2014-03-27 23:41:14 +01:00
|
|
|
.media-embed-sidebar {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 440px;
|
|
|
|
}
|
|
|
|
|
2014-04-13 06:02:15 +02:00
|
|
|
.advanced-section,
|
2014-03-27 23:41:14 +01:00
|
|
|
.link-settings {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
2014-03-23 02:42:15 +01:00
|
|
|
/* Drag & drop on the editor upload */
|
|
|
|
.wp-editor-wrap .uploader-editor {
|
|
|
|
background: rgba( 150, 150, 150, 0.9 );
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 99998; /* under the toolbar */
|
|
|
|
display: none;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-editor-wrap .uploader-editor-content {
|
|
|
|
border: 1px dashed #fff;
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
left: 10px;
|
|
|
|
bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-editor-wrap .uploader-editor .uploader-editor-title {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
-webkit-transform: translateY( -50% );
|
2014-08-05 07:20:18 +02:00
|
|
|
-ms-transform: translateY(-50%);
|
2014-03-23 02:42:15 +01:00
|
|
|
transform: translateY( -50% );
|
|
|
|
font-size: 3em;
|
2014-03-27 05:08:14 +01:00
|
|
|
line-height: 1.3;
|
2014-03-23 02:42:15 +01:00
|
|
|
font-weight: bold;
|
|
|
|
color: #fff;
|
|
|
|
padding: 0;
|
2014-03-29 08:54:15 +01:00
|
|
|
margin: 0;
|
2014-03-23 02:42:15 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-editor-wrap .uploader-editor.droppable {
|
|
|
|
background: rgba( 0, 86, 132, 0.9 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
/**
|
|
|
|
* IE7 Fixes
|
|
|
|
*/
|
|
|
|
.ie7 .media-frame .attachments-browser {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ie7 .media-frame .embed-url input {
|
|
|
|
margin-top: 4px;
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ie7 .compat-item {
|
|
|
|
width: 99%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ie7 .attachment-display-settings {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ie7 .attachment-preview,
|
|
|
|
.ie7 .attachment-preview .thumbnail {
|
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ie7 .media-frame .attachment .describe {
|
|
|
|
width: 102px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ie7 .media-sidebar .setting select {
|
|
|
|
max-width: 55%;
|
|
|
|
}
|
|
|
|
|
2014-08-07 23:34:16 +02:00
|
|
|
.ie7 .media-sidebar .setting input[type="text"],
|
|
|
|
.ie7 .media-sidebar .setting input[type="password"],
|
|
|
|
.ie7 .media-sidebar .setting input[type="email"],
|
|
|
|
.ie7 .media-sidebar .setting input[type="number"],
|
|
|
|
.ie7 .media-sidebar .setting input[type="search"],
|
|
|
|
.ie7 .media-sidebar .setting input[type="tel"],
|
|
|
|
.ie7 .media-sidebar .setting input[type="url"],
|
2013-11-12 22:19:15 +01:00
|
|
|
.ie7 .media-sidebar .setting textarea {
|
|
|
|
width: 55%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ie7 .media-sidebar .setting .link-to-custom {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2013-12-09 02:31:11 +01:00
|
|
|
/**
|
|
|
|
* Localization
|
|
|
|
*/
|
|
|
|
.rtl .media-modal,
|
|
|
|
.rtl .media-frame,
|
|
|
|
.rtl .media-frame .search,
|
|
|
|
.rtl .media-frame input[type="text"],
|
|
|
|
.rtl .media-frame input[type="password"],
|
|
|
|
.rtl .media-frame input[type="number"],
|
|
|
|
.rtl .media-frame input[type="search"],
|
|
|
|
.rtl .media-frame input[type="email"],
|
|
|
|
.rtl .media-frame input[type="url"],
|
2014-08-07 23:34:16 +02:00
|
|
|
.rtl .media-frame input[type="tel"],
|
2013-12-09 02:31:11 +01:00
|
|
|
.rtl .media-frame textarea,
|
|
|
|
.rtl .media-frame select {
|
|
|
|
font-family: Tahoma, sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
:lang(he-il) .rtl .media-modal,
|
|
|
|
:lang(he-il) .rtl .media-frame,
|
|
|
|
:lang(he-il) .rtl .media-frame .search,
|
|
|
|
:lang(he-il) .rtl .media-frame input[type="text"],
|
|
|
|
:lang(he-il) .rtl .media-frame input[type="password"],
|
|
|
|
:lang(he-il) .rtl .media-frame input[type="number"],
|
|
|
|
:lang(he-il) .rtl .media-frame input[type="search"],
|
|
|
|
:lang(he-il) .rtl .media-frame input[type="email"],
|
|
|
|
:lang(he-il) .rtl .media-frame input[type="url"],
|
|
|
|
:lang(he-il) .rtl .media-frame textarea,
|
|
|
|
:lang(he-il) .rtl .media-frame select {
|
|
|
|
font-family: Arial, sans-serif;
|
|
|
|
}
|
|
|
|
|
2012-11-30 14:34:16 +01:00
|
|
|
/**
|
|
|
|
* Responsive layout
|
|
|
|
*/
|
|
|
|
@media only screen and (max-width: 900px) {
|
2014-08-08 05:46:17 +02:00
|
|
|
|
|
|
|
/* Drop-down menu */
|
2014-08-26 23:50:16 +02:00
|
|
|
.media-frame:not(.hide-menu) .media-frame-title,
|
|
|
|
.media-frame:not(.hide-menu) .media-frame-router,
|
|
|
|
.media-frame:not(.hide-menu) .media-frame-content,
|
|
|
|
.media-frame:not(.hide-menu) .media-frame-toolbar {
|
2014-08-08 05:46:17 +02:00
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2014-08-26 23:50:16 +02:00
|
|
|
.media-frame:not(.hide-menu) .media-frame-menu {
|
2014-08-08 05:46:17 +02:00
|
|
|
position: static;
|
|
|
|
width: 0;
|
|
|
|
}
|
|
|
|
|
2014-08-26 23:50:16 +02:00
|
|
|
.media-frame:not(.hide-menu) .media-menu {
|
2014-08-09 07:09:16 +02:00
|
|
|
width: auto;
|
|
|
|
max-width: 80%;
|
|
|
|
overflow: auto;
|
|
|
|
z-index: 2000;
|
|
|
|
top: 50px;
|
|
|
|
right: -300px;
|
|
|
|
left: auto;
|
|
|
|
bottom: auto;
|
|
|
|
padding: 5px 0;
|
|
|
|
border: 1px solid #ccc;
|
2014-08-08 05:46:17 +02:00
|
|
|
}
|
|
|
|
|
2014-08-26 23:50:16 +02:00
|
|
|
.media-frame:not(.hide-menu) .media-menu.visible {
|
2014-08-09 07:09:16 +02:00
|
|
|
right: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2014-08-26 23:50:16 +02:00
|
|
|
.media-frame:not(.hide-menu) .media-menu > a {
|
2014-08-09 07:09:16 +02:00
|
|
|
padding: 12px 16px;
|
2014-08-08 05:46:17 +02:00
|
|
|
font-size: 16px;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2014-08-26 23:50:16 +02:00
|
|
|
.media-frame:not(.hide-menu) .media-menu > a.active {
|
2014-08-09 07:09:16 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-08-26 23:50:16 +02:00
|
|
|
.media-frame:not(.hide-menu) .media-menu .separator {
|
2014-08-09 07:09:16 +02:00
|
|
|
margin: 5px 10px;
|
|
|
|
}
|
|
|
|
|
2014-08-26 23:50:16 +02:00
|
|
|
.media-frame:not(.hide-menu) .media-frame-title {
|
2014-08-08 05:46:17 +02:00
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2014-08-26 23:50:16 +02:00
|
|
|
.media-frame:not(.hide-menu) .media-frame-title .dashicons {
|
2014-08-08 05:46:17 +02:00
|
|
|
display: inline-block;
|
2014-08-19 22:38:16 +02:00
|
|
|
line-height: 50px;
|
2014-08-08 05:46:17 +02:00
|
|
|
}
|
|
|
|
|
2014-08-26 23:50:16 +02:00
|
|
|
.media-frame:not(.hide-menu) .media-frame-title h1 {
|
2015-10-21 18:18:26 +02:00
|
|
|
color: #0073aa;
|
2014-08-08 05:46:17 +02:00
|
|
|
line-height: 3;
|
|
|
|
font-size: 18px;
|
|
|
|
float: right;
|
|
|
|
cursor: pointer;
|
2012-11-30 14:34:16 +01:00
|
|
|
}
|
2014-08-08 05:46:17 +02:00
|
|
|
/* End drop-down menu */
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-sidebar {
|
2014-08-08 05:46:17 +02:00
|
|
|
width: 230px;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2012-11-30 14:34:16 +01:00
|
|
|
.attachments-browser .attachments,
|
|
|
|
.attachments-browser .uploader-inline,
|
|
|
|
.attachments-browser .media-toolbar {
|
2014-08-08 05:46:17 +02:00
|
|
|
left: 262px;
|
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting {
|
2014-08-08 05:46:17 +02:00
|
|
|
margin: 6px 0px;
|
2012-11-30 14:34:16 +01:00
|
|
|
}
|
2013-11-12 22:19:15 +01:00
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting input,
|
|
|
|
.media-sidebar .setting textarea,
|
|
|
|
.media-sidebar .setting span,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting input,
|
|
|
|
.attachment-details .setting textarea,
|
|
|
|
.attachment-details .setting span,
|
2013-11-12 22:19:15 +01:00
|
|
|
.compat-item label span {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting span,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting span,
|
2013-11-12 22:19:15 +01:00
|
|
|
.compat-item label span {
|
|
|
|
text-align: inherit;
|
|
|
|
min-height: 16px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 8px 2px 0;
|
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting .value,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting .value {
|
2014-08-08 05:46:17 +02:00
|
|
|
float: none;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting input[type="text"],
|
|
|
|
.media-sidebar .setting input[type="password"],
|
|
|
|
.media-sidebar .setting input[type="email"],
|
|
|
|
.media-sidebar .setting input[type="number"],
|
|
|
|
.media-sidebar .setting input[type="search"],
|
|
|
|
.media-sidebar .setting input[type="tel"],
|
|
|
|
.media-sidebar .setting input[type="url"],
|
|
|
|
.media-sidebar .setting textarea,
|
|
|
|
.media-sidebar .setting select,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting input[type="text"],
|
|
|
|
.attachment-details .setting input[type="password"],
|
|
|
|
.attachment-details .setting input[type="email"],
|
|
|
|
.attachment-details .setting input[type="number"],
|
|
|
|
.attachment-details .setting input[type="search"],
|
|
|
|
.attachment-details .setting input[type="tel"],
|
|
|
|
.attachment-details .setting input[type="url"],
|
|
|
|
.attachment-details .setting textarea,
|
|
|
|
.attachment-details .setting select {
|
|
|
|
float: none;
|
2013-11-12 22:19:15 +01:00
|
|
|
width: 98%;
|
|
|
|
max-width: none;
|
2014-08-08 05:46:17 +02:00
|
|
|
height: auto;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.media-sidebar .setting select.columns,
|
2014-08-15 06:10:16 +02:00
|
|
|
.attachment-details .setting select.columns {
|
2013-11-12 22:19:15 +01:00
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame input,
|
|
|
|
.media-frame textarea,
|
|
|
|
.media-frame .search {
|
|
|
|
padding: 3px 6px;
|
|
|
|
}
|
|
|
|
|
2014-08-08 05:46:17 +02:00
|
|
|
.image-details .column-image {
|
|
|
|
width: 30%;
|
|
|
|
right: 70%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .column-settings {
|
|
|
|
width: 70%;
|
|
|
|
}
|
|
|
|
|
2014-03-27 23:41:14 +01:00
|
|
|
.image-details .media-modal {
|
|
|
|
right: 30px;
|
|
|
|
left: 30px;
|
|
|
|
}
|
|
|
|
|
2014-04-02 03:54:15 +02:00
|
|
|
.image-details .embed-media-settings .setting {
|
|
|
|
margin: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .embed-media-settings .setting span {
|
|
|
|
float: none;
|
|
|
|
text-align: right;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .embed-media-settings .setting input.link-to-custom,
|
|
|
|
.image-details .embed-media-settings .setting input[type="text"],
|
|
|
|
.image-details .embed-media-settings .setting textarea {
|
|
|
|
width: 100%;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-03 05:21:15 +02:00
|
|
|
.image-details .embed-media-settings .custom-size {
|
|
|
|
margin-right: 20px;
|
2014-04-02 03:54:15 +02:00
|
|
|
}
|
|
|
|
|
2014-08-15 18:02:15 +02:00
|
|
|
.collection-settings .setting input[type="checkbox"] {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.media-selection {
|
|
|
|
min-width: 120px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-selection:after {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-selection .attachments {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-08-08 05:46:17 +02:00
|
|
|
.media-modal .attachments-browser .media-toolbar .search {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal .attachments-browser .media-toolbar .attachment-filters {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal .attachments-browser .media-toolbar .spinner {
|
2015-04-14 02:54:30 +02:00
|
|
|
margin: 14px 2px 0;
|
2013-11-15 20:54:10 +01:00
|
|
|
}
|
2014-02-13 09:30:17 +01:00
|
|
|
|
2013-11-15 20:54:10 +01:00
|
|
|
/* Text inputs need to be 16px, or they force zooming on iOS */
|
|
|
|
.media-frame input[type="text"],
|
|
|
|
.media-frame input[type="password"],
|
|
|
|
.media-frame input[type="number"],
|
|
|
|
.media-frame input[type="search"],
|
|
|
|
.media-frame input[type="email"],
|
|
|
|
.media-frame input[type="url"],
|
|
|
|
.media-frame textarea,
|
|
|
|
.media-frame select {
|
|
|
|
font-size: 16px;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-11-18 21:07:10 +01:00
|
|
|
/* Responsive on portrait and landscape */
|
|
|
|
@media only screen and (max-width: 640px), screen and (max-height: 400px) {
|
|
|
|
/* Full-bleed modal */
|
2014-03-27 23:41:14 +01:00
|
|
|
.media-modal,
|
2014-08-09 07:09:16 +02:00
|
|
|
.image-details .media-modal {
|
2013-11-15 22:47:09 +01:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal-backdrop {
|
2013-11-15 22:47:09 +01:00
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
|
2014-08-08 05:46:17 +02:00
|
|
|
.media-sidebar {
|
2014-08-09 07:09:16 +02:00
|
|
|
z-index: 1900;
|
|
|
|
max-width: 70%;
|
|
|
|
bottom: 120%;
|
2014-08-10 06:22:15 +02:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
2014-08-09 07:09:16 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-sidebar.visible {
|
|
|
|
bottom: 0;
|
2013-11-15 22:47:09 +01:00
|
|
|
}
|
|
|
|
|
2014-08-08 05:46:17 +02:00
|
|
|
.attachments-browser .attachments,
|
|
|
|
.attachments-browser .uploader-inline,
|
|
|
|
.attachments-browser .media-toolbar {
|
|
|
|
left: 0;
|
2013-11-15 22:47:09 +01:00
|
|
|
}
|
2013-11-18 21:07:10 +01:00
|
|
|
|
2014-08-08 05:46:17 +02:00
|
|
|
.image-details .media-frame-title {
|
|
|
|
display: block;
|
|
|
|
top: 0;
|
|
|
|
font-size: 14px;
|
2013-11-15 22:47:09 +01:00
|
|
|
}
|
|
|
|
|
2014-08-26 07:20:16 +02:00
|
|
|
.image-details .column-image,
|
|
|
|
.image-details .column-settings {
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-details .column-settings {
|
|
|
|
padding: 4px 0;
|
|
|
|
}
|
|
|
|
|
2014-08-08 05:46:17 +02:00
|
|
|
/* Media tabs on the top */
|
|
|
|
.media-frame-content .media-toolbar .instructions {
|
|
|
|
display: none;
|
2013-11-15 22:47:09 +01:00
|
|
|
}
|
2013-11-18 21:07:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Landscape specific header override */
|
|
|
|
@media screen and (max-height: 400px) {
|
|
|
|
.media-menu {
|
2014-08-08 05:46:17 +02:00
|
|
|
padding: 0;
|
2013-11-15 22:47:09 +01:00
|
|
|
}
|
|
|
|
|
2013-11-18 21:07:10 +01:00
|
|
|
.media-frame-router {
|
|
|
|
top: 44px;
|
2013-11-15 22:47:09 +01:00
|
|
|
}
|
|
|
|
|
2013-11-18 21:07:10 +01:00
|
|
|
.media-frame-content {
|
|
|
|
top: 78px;
|
|
|
|
}
|
2014-02-13 09:30:17 +01:00
|
|
|
|
2013-11-18 21:07:10 +01:00
|
|
|
.attachments-browser .attachments {
|
2014-08-08 05:46:17 +02:00
|
|
|
top: 40px;
|
2013-11-15 22:47:09 +01:00
|
|
|
}
|
|
|
|
|
2013-11-18 21:07:10 +01:00
|
|
|
/* Prevent unnecessary scrolling on title input */
|
|
|
|
.embed-link-settings {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-08 05:46:17 +02:00
|
|
|
@media only screen and (max-width: 480px) {
|
2014-08-26 23:50:16 +02:00
|
|
|
.media-modal-close {
|
2015-07-20 17:57:25 +02:00
|
|
|
top: -5px;
|
2014-08-26 23:50:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal .media-frame-title {
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
|
2015-07-20 17:57:25 +02:00
|
|
|
.wp-core-ui.wp-customizer .media-button {
|
|
|
|
margin-top: 13px;
|
|
|
|
}
|
|
|
|
|
2014-08-26 23:50:16 +02:00
|
|
|
.media-modal .media-frame-title h1,
|
|
|
|
.media-frame:not(.hide-menu) .media-frame-title h1 {
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame:not(.hide-menu) .media-frame-title .dashicons {
|
|
|
|
line-height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame-router,
|
|
|
|
.media-frame:not(.hide-menu) .media-menu {
|
|
|
|
top: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame-content {
|
|
|
|
top: 74px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-frame.hide-router .media-frame-content {
|
|
|
|
top: 40px;
|
|
|
|
}
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* HiDPI Displays
|
|
|
|
*/
|
|
|
|
@media print,
|
|
|
|
(-webkit-min-device-pixel-ratio: 1.25),
|
|
|
|
(min-resolution: 120dpi) {
|
|
|
|
|
2014-07-28 17:52:17 +02:00
|
|
|
.media-modal-icon {
|
|
|
|
background-image: url(../images/uploader-icons-2x.png);
|
|
|
|
-webkit-background-size: 134px 15px;
|
|
|
|
background-size: 134px 15px;
|
|
|
|
}
|
2013-11-12 22:19:15 +01:00
|
|
|
|
2014-07-28 17:52:17 +02:00
|
|
|
.media-frame .spinner {
|
|
|
|
background-image: url(../images/spinner-2x.gif);
|
|
|
|
}
|
2014-01-28 22:17:12 +01:00
|
|
|
}
|
2014-06-06 00:01:18 +02:00
|
|
|
|
2014-09-03 08:10:19 +02:00
|
|
|
.media-frame-content[data-columns="1"] .attachment {
|
2014-08-05 07:20:18 +02:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-09-03 08:10:19 +02:00
|
|
|
.media-frame-content[data-columns="2"] .attachment {
|
2014-08-05 07:20:18 +02:00
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
2014-09-03 08:10:19 +02:00
|
|
|
.media-frame-content[data-columns="3"] .attachment {
|
2014-09-03 08:28:16 +02:00
|
|
|
width: 33.33%;
|
2014-08-05 07:20:18 +02:00
|
|
|
}
|
|
|
|
|
2014-09-03 08:10:19 +02:00
|
|
|
.media-frame-content[data-columns="4"] .attachment {
|
2014-08-05 07:20:18 +02:00
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
|
2014-09-03 08:10:19 +02:00
|
|
|
.media-frame-content[data-columns="5"] .attachment {
|
2014-08-05 07:20:18 +02:00
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
|
2014-09-03 08:10:19 +02:00
|
|
|
.media-frame-content[data-columns="6"] .attachment {
|
2014-09-03 08:28:16 +02:00
|
|
|
width: 16.66%;
|
2014-08-05 07:20:18 +02:00
|
|
|
}
|
|
|
|
|
2014-09-03 08:10:19 +02:00
|
|
|
.media-frame-content[data-columns="7"] .attachment {
|
2014-09-03 08:28:16 +02:00
|
|
|
width: 14.28%;
|
2014-08-05 07:20:18 +02:00
|
|
|
}
|
|
|
|
|
2014-09-03 08:10:19 +02:00
|
|
|
.media-frame-content[data-columns="8"] .attachment {
|
2014-08-05 07:20:18 +02:00
|
|
|
width: 12.5%;
|
|
|
|
}
|
|
|
|
|
2014-09-03 08:10:19 +02:00
|
|
|
.media-frame-content[data-columns="9"] .attachment {
|
2014-09-03 08:28:16 +02:00
|
|
|
width: 11.11%;
|
2014-08-05 07:20:18 +02:00
|
|
|
}
|
|
|
|
|
2014-09-03 08:10:19 +02:00
|
|
|
.media-frame-content[data-columns="10"] .attachment {
|
2014-08-05 07:20:18 +02:00
|
|
|
width: 10%;
|
|
|
|
}
|
|
|
|
|
2014-09-03 08:10:19 +02:00
|
|
|
.media-frame-content[data-columns="11"] .attachment {
|
2014-09-03 08:28:16 +02:00
|
|
|
width: 9.09%;
|
2014-08-05 07:20:18 +02:00
|
|
|
}
|
|
|
|
|
2014-09-03 08:10:19 +02:00
|
|
|
.media-frame-content[data-columns="12"] .attachment {
|
2014-09-03 08:28:16 +02:00
|
|
|
width: 8.33%;
|
2014-08-05 07:20:18 +02:00
|
|
|
}
|