X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/wordpress.git/blobdiff_plain/699231ae09f7057a4d0000cdf32e50a3df6a04ca..5aa86a9053fb0fa15846bb60aac2fb8fdfff524a:/wp-admin/css/media.dev.css?ds=sidebyside diff --git a/wp-admin/css/media.dev.css b/wp-admin/css/media.dev.css index 297005c2..38361bb4 100644 --- a/wp-admin/css/media.dev.css +++ b/wp-admin/css/media.dev.css @@ -1,6 +1,8 @@ +/* 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; @@ -16,11 +18,6 @@ body#media-upload ul#sidemenu { overflow: hidden; } -div#media-upload-error { - margin: 1em; - font-weight: bold; -} - form { margin: 1em; } @@ -34,7 +31,7 @@ th { } .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; } @@ -76,14 +73,11 @@ tr.image-size td { } 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 +93,6 @@ thead.media-item-info tr { 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 +106,6 @@ abbr.required { display: inline; } -.describe td { - vertical-align: middle; - padding: 0 5px 8px 0; -} - .describe td.error { padding: 2px 8px; } @@ -138,13 +121,6 @@ abbr.required { border-style: solid; } -.hidden { - height: 0; - width: 0; - overflow: hidden; - border: none; -} - /* Specific to Uploader */ #media-upload p.ml-submit { @@ -153,60 +129,15 @@ abbr.required { #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 { - 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; @@ -351,7 +282,7 @@ h4.media-sub-title { } #gallery-settings .align .field label { - margin: 0 1.5em 0 0; + margin: 0 1em 0 3px; } #gallery-settings p.ml-submit { @@ -381,3 +312,19 @@ h4.media-sub-title { #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; +}