199 lines
3.9 KiB
CSS
199 lines
3.9 KiB
CSS
/* Post Type Columns */
|
|
.wp-list-table .column-downloads,
|
|
.wp-list-table .column-file,
|
|
.wp-list-table .column-shortcode,
|
|
.wp-list-table .column-ip,
|
|
.wp-list-table .column-ddate {
|
|
width: 15%;
|
|
}
|
|
|
|
/* Download Modal Window */
|
|
#sdm-download-modal .media-modal-content {
|
|
padding: 20px;
|
|
}
|
|
|
|
#sdm-download-modal .media-modal-content .media-frame-title {
|
|
position: static;
|
|
margin: -20px -20px 0 -20px;
|
|
border-bottom: 1px solid #dfdfdf;
|
|
}
|
|
|
|
.media-modal-content .left-panel {
|
|
position: absolute;
|
|
top: 45px;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 66%;
|
|
overflow: auto;
|
|
}
|
|
|
|
.media-modal-content .right-panel {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 20%;
|
|
padding: 45px 5% 10px 5%;
|
|
border-left: 1px solid #dfdfdf;
|
|
background-color: whiteSmoke;
|
|
}
|
|
|
|
.sdm-download-list ul {
|
|
margin: 0 20px;
|
|
}
|
|
|
|
.sdm-download-list {
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.sdm-download-list ul li {
|
|
margin: 10px 0;
|
|
padding: 5px;
|
|
border: 1px solid #dfdfdf;
|
|
}
|
|
|
|
.sdm-download-list ul li.ui-selected {
|
|
box-shadow: 0 0 0 1px white,0 0 0 5px #1E8CBE;
|
|
}
|
|
|
|
.sdm-download-list .download_url {
|
|
display: block;
|
|
margin-top: 3px;
|
|
color: gray;
|
|
}
|
|
|
|
.right-panel .download-details h3 {
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
color: #777;
|
|
text-shadow: 0 1px 0 white;
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
.right-panel .download-details label {
|
|
display: block;
|
|
margin: 10px 0 5px;
|
|
color: #999;
|
|
}
|
|
|
|
.right-panel .download-details input[type=text] {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 6px 8px;
|
|
}
|
|
|
|
.right-panel .download-details select {
|
|
display: block;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.right-panel .download-details #sdm-download-button {
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.right-panel .download-details input[type=button] {
|
|
display: block;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
height: auto;
|
|
margin-top: 10px;
|
|
padding: 10px 0;
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Meta Box File Buttons */
|
|
#plupload-browse-button, #plupload-upload-button {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
a#plupload-cancel-button {
|
|
padding: 1px 2px;
|
|
border-bottom: 1px solid red;
|
|
color: red;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a#plupload-cancel-button:hover {
|
|
background-color: red;
|
|
color: white;
|
|
}
|
|
|
|
/* Meta Box File Progress */
|
|
#plupload-progress {
|
|
position: relative;
|
|
margin-top: 10px;
|
|
width: 100%;
|
|
height: 30px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
#plupload-progress .bar {
|
|
height: 30px;
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
#plupload-progress .percent {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 30px;
|
|
text-align: center;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
line-height: 30px;
|
|
color: #ddd;
|
|
}
|
|
|
|
#plupload-progress .percent p {
|
|
margin: 0;
|
|
}
|
|
|
|
/* Meta Box File Success */
|
|
#plupload-container .success {
|
|
color: green;
|
|
}
|
|
|
|
#plupload-container .error {
|
|
color: red;
|
|
}
|
|
|
|
/* Menu Icon */
|
|
#menu-posts-sdm_download .wp-menu-image {
|
|
background: transparent url("/wp-content/plugins/simple-downloads/includes/images/menu.png") no-repeat;
|
|
background-position: 0 -35px !important;
|
|
}
|
|
|
|
#menu-posts-sdm_download:hover .wp-menu-image, #menu-posts-sdm_download.wp-has-current-submenu .wp-menu-image {
|
|
background-position: 0 -3px !important;
|
|
}
|
|
|
|
/* Media Button */
|
|
#sdm-media-button {
|
|
padding-left: .4em;
|
|
}
|
|
|
|
#sdm-media-button span.wp-media-buttons-icon {
|
|
background: transparent url("/wp-content/plugins/simple-downloads/includes/images/media-button.png") no-repeat;
|
|
background-position: -1px 0;
|
|
}
|
|
|
|
@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
|
|
only screen and (-moz-min-device-pixel-ratio: 1.5),
|
|
only screen and (-o-min-device-pixel-ratio: 3/2),
|
|
only screen and (min-device-pixel-ratio: 1.5) {
|
|
|
|
/* Menu Icon */
|
|
#menu-posts-sdm_download .wp-menu-image {
|
|
background-image: url("/wp-content/plugins/simple-downloads/includes/images/menu@x2.png");
|
|
background-size: 28px 64px !important;
|
|
}
|
|
|
|
/* Media Button */
|
|
#sdm-media-button span.wp-media-buttons-icon {
|
|
background-image: url("/wp-content/plugins/simple-downloads/includes/images/media-button@x2.png");
|
|
background-size: 16px 16px !important;
|
|
}
|
|
} |