From bc27b345eb433e1a85ee9343afa447caa42a9664 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 4 Sep 2008 04:41:06 +0000 Subject: [PATCH] Fix horizontal mode layout for publish box. Props noel. fixes #7681 git-svn-id: https://develop.svn.wordpress.org/trunk@8803 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/css/colors-classic.css | 11 +++++++++++ wp-admin/css/colors-fresh.css | 11 +++++++++++ wp-admin/wp-admin.css | 26 +++++++++++++++++++++++++- 3 files changed, 47 insertions(+), 1 deletion(-) diff --git a/wp-admin/css/colors-classic.css b/wp-admin/css/colors-classic.css index 1152a061e2..7e3967e2f2 100644 --- a/wp-admin/css/colors-classic.css +++ b/wp-admin/css/colors-classic.css @@ -252,6 +252,11 @@ ul#widget-list li.widget-list-item h4.widget-title { border-bottom-color: #999; } +#normal-sortables .submitbox .submitdelete { + color: #000; + border-bottom-color: #999; +} + .submitbox .submitdelete:hover, #media-upload a.delete:hover { color: #fff; @@ -259,6 +264,12 @@ ul#widget-list li.widget-list-item h4.widget-title { border-bottom-color: #f00; } +#normal-sortables .submitbox .submitdelete:hover { + color: #000; + background-color: #f00; + border-bottom-color: #f00; +} + .tablenav .dots { background-color: #cfebf7; border-color: #cfebf7; diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index 7040c02b6c..ae13a8a962 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -247,6 +247,11 @@ ul.view-switch li.current a { border-bottom-color: #999; } +#normal-sortables .submitbox .submitdelete { + color: #000; + border-bottom-color: #999; +} + .submitbox .submitdelete:hover, #media-upload a.delete:hover { color: #fff; @@ -254,6 +259,12 @@ ul.view-switch li.current a { border-bottom-color: #f00; } +#normal-sortables .submitbox .submitdelete:hover { + color: #000; + background-color: #f00; + border-bottom-color: #f00; +} + .tablenav .dots { background-color: #e4f2fd; border-color: #e4f2fd; diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index eb4aa11031..a484963ea1 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -1056,7 +1056,30 @@ table.form-table td .updated { position: relative; min-width: 195px; } - +#normal-sortables .postbox .submitbox { + clear: both; + position: relative; +} +#normal-sortables .postbox p { + display: inline; +} +#normal-sortables .postbox .curtime { + display: block; +} +#normal-sortables .postbox p strong { + display: inline; +} +#normal-sortables .postbox #private-checkbox, #normal-sortables .postbox #sticky-checkbox { + padding-left: 30px; +} +#normal-sortables .postbox .submit { + position: absolute; + top: -1em; + right: 0; + background: none; + border: 0; + padding: 0; +} #mediadiv img { float: left; @@ -1233,6 +1256,7 @@ table.form-table td .updated { #titlediv { margin-bottom: 20px; } +#titlediv label { cursor: text; } #titlediv div.inside { margin: 0;