+/* Styles for the media library iframe (not used on the Library screen) */
+
div#media-upload-header {
margin: 0;
- padding: 0 5px;
+ padding: 5px 5px 0;
font-weight: bold;
position: relative;
border-bottom-width: 1px;
overflow: hidden;
}
-div#media-upload-error {
- margin: 1em;
- font-weight: bold;
-}
-
form {
margin: 1em;
}
}
tr.image-size div.image-size-item {
- float: left;
- width: 25%;
- margin: 0;
+ margin: 0 0 5px;
}
#library-form .progress,
background-color: transparent;
}
-thead.media-item-info th,
-thead.media-item-info td {
- border: none;
- margin: 0;
-}
-
.form-table thead.media-item-info {
border: 8px solid #fff;
}
display: inline;
}
-.describe td {
- vertical-align: middle;
- padding: 0 5px 8px 0;
-}
-
.describe td.error {
padding: 2px 8px;
}
border-style: solid;
}
-.hidden {
- height: 0;
- width: 0;
- overflow: hidden;
- border: none;
-}
-
/* Specific to Uploader */
#media-upload p.ml-submit {
font-weight: normal;
}
-#media-upload tr.image-size td.field {
- text-align: center;
-}
-
-#media-upload #media-items {
- border-width: 1px;
- border-style: solid;
- border-bottom: none;
- width: 623px;
-}
-
-#media-upload .media-item {
- border-bottom-width: 1px;
- border-bottom-style: solid;
- min-height: 36px;
- width: 100%;
-}
-
#media-upload .ui-sortable .media-item {
cursor: move;
}
-.filename {
- line-height: 36px;
- padding: 0 10px;
- overflow: hidden;
-}
-
-#media-upload .describe {
- width: 100%;
- clear: both;
- cursor: default;
-}
-
-#media-upload .slidetoggle {
- border-top-width: 1px;
- border-top-style: solid;
-}
-
-#media-upload .describe th.label {
- padding-top: .2em;
- text-align: left;
- min-width: 120px;
-}
-
-#media-upload tr.align td.field {
- text-align: center;
-}
-
#media-upload tr.image-size {
margin-bottom: 1em;
height: 3em;
}
#gallery-settings .align .field label {
- margin: 0 1.5em 0 0;
+ margin: 0 1em 0 3px;
}
#gallery-settings p.ml-submit {
#sort-buttons span {
margin-right: 25px;
}
+
+p.media-types {
+ margin: 1em;
+}
+
+tr.not-image {
+ display: none;
+}
+
+table.not-image tr.not-image {
+ display: table-row;
+}
+
+table.not-image tr.image-only {
+ display: none;
+}