web/wp-admin/css/media.dev.css
changeset 194 32102edaa81b
parent 136 bde1974c263b
--- a/web/wp-admin/css/media.dev.css	Thu Sep 16 15:45:36 2010 +0000
+++ b/web/wp-admin/css/media.dev.css	Mon Nov 19 18:26:13 2012 +0100
@@ -1,24 +1,21 @@
+/* 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;
 	border-bottom-style: solid;
-	height: 2.5em;
 }
 
 body#media-upload ul#sidemenu {
 	font-weight: normal;
 	margin: 0 5px;
-	position: absolute;
-	left: 0px;
+	left: 0;
 	bottom: -1px;
-}
-
-div#media-upload-error {
-	margin: 1em;
-	font-weight: bold;
+	float: none;
+	overflow: hidden;
 }
 
 form {
@@ -34,7 +31,7 @@
 }
 
 .media-upload-form label.form-help, td.help {
-	font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif;
+	font-family: sans-serif;
 	font-style: italic;
 	font-weight: normal;
 }
@@ -54,7 +51,6 @@
 
 /* specific to the image upload form */
 
-
 .image-align-none-label {
 	background: url(../images/align-none.png) no-repeat center left;
 }
@@ -76,14 +72,11 @@
 }
 
 tr.image-size div.image-size-item {
-	float: left;
-	width: 25%;
-	margin: 0;
+	margin: 0 0 5px;
 }
 
 #library-form .progress,
 #gallery-form .progress,
-#flash-upload-ui,
 .insert-gallery,
 .describe.startopen,
 .describe.startclosed {
@@ -99,12 +92,6 @@
 	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;
 }
@@ -118,11 +105,6 @@
 	display: inline;
 }
 
-.describe td {
-	vertical-align: middle;
-	padding: 0 5px 8px 0;
-}
-
 .describe td.error {
 	padding: 2px 8px;
 }
@@ -138,13 +120,6 @@
 	border-style: solid;
 }
 
-.hidden {
-	height: 0;
-	width: 0;
-	overflow: hidden;
-	border: none;
-}
-
 /* Specific to Uploader */
 
 #media-upload p.ml-submit {
@@ -153,61 +128,15 @@
 
 #media-upload p.help,
 #media-upload label.help {
-	font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif;
+	font-family: sans-serif;
 	font-style: italic;
 	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 {
-	padding: 5px;
-	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;
@@ -352,7 +281,7 @@
 }
 
 #gallery-settings .align .field label {
-	margin: 0 1.5em 0 0;
+	margin: 0 1em 0 3px;
 }
 
 #gallery-settings p.ml-submit {
@@ -382,3 +311,19 @@
 #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;
+}