From 31b0b05b566c8e533756731027cb8895e5133e13 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 25 Aug 2008 08:56:35 +0000 Subject: [PATCH] Only Mozilla seems to support shorthand for border-radius. Reverting the rest, see #7584 git-svn-id: https://develop.svn.wordpress.org/trunk@8725 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/wp-admin.css | 60 ++++++++++++++++++++++++++++--------------- 1 file changed, 40 insertions(+), 20 deletions(-) diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 1c706edd59..1d6d8e4fe5 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -188,9 +188,12 @@ table#availablethemes td.bottom { padding: 1.5em 0 0 0; margin: 10px 0 0 0; -moz-border-radius: 0 0 3px 3px; - -khtml-border-radius: 0 0 3px 3px; - -webkit-border-radius: 0 0 3px 3px; - border-radius: 0 0 3px 3px; + -webkit-border-bottom-left-radius: 3px; + -webkit-border-bottom-right-radius: 3px; + -khtml-border-bottom-left-radius: 3px; + -khtml-border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; } .side-info { @@ -745,9 +748,11 @@ ul#adminmenu li.write-new-button a { #dashmenu ul { background: #fff; border: 1px solid #c6d9e9; - -webkit-border-radius: 0 0 7px 7px; -moz-border-radius: 0 0 7px 7px; - border-radius: 0 0 7px 7px; + -webkit-border-bottom-left-radius: 7px; + -webkit-border-bottom-right-radius: 7px; + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; -webkit-box-shadow:0 2px 6px rgba(0,0,0,0.2); -moz-box-shadow:0 2px 6px rgba(0,0,0,0.2); } @@ -1316,9 +1321,12 @@ table.form-table td .updated { #poststuff #editor-toolbar .active { font-weight: bold; -moz-border-radius: 0 0 3px 3px; - -khtml-border-radius: 0 0 3px 3px; - -webkit-border-radius: 0 0 3px 3px; - border-radius: 0 0 3px 3px; + -webkit-border-bottom-right-radius: 3px; + -webkit-border-bottom-left-radius: 3px; + -khtml-border-bottom-right-radius: 3px; + -khtml-border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; } #poststuff #media-buttons { @@ -1351,9 +1359,12 @@ table.form-table td .updated { text-indent: -9999px; width: 12px; -moz-border-radius: 3px 0 0 3px; - -khtml-border-radius: 3px 0 0 3px; - -webkit-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; + -webkit-border-top-left-radius: 3px; + -webkit-border-bottom-left-radius: 3px; + -khtml-border-top-left-radius: 3px; + -khtml-border-bottom-left-radius: 3px; + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; } #poststuff .closed .inside { @@ -1437,9 +1448,12 @@ table.form-table td .updated { #post-body ul#category-tabs li.ui-tabs-selected { -moz-border-radius: 3px 0 0 3px; - -khtml-border-radius: 3px 0 0 3px; - -webkit-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; + -webkit-border-top-left-radius: 3px; + -webkit-border-bottom-left-radius: 3px; + -khtml-border-top-left-radius: 3px; + -khtml-border-bottom-left-radius: 3px; + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; } #post-body ul#category-tabs li.ui-tabs-selected a { @@ -1594,9 +1608,12 @@ ul.view-switch a { ul.view-switch li.current { border: none; -moz-border-radius: 3px 3px 0 0; - -khtml-border-radius: 3px 3px 0 0; - -webkit-border-radius: 3px 3px 0 0; - border-radius: 3px 3px 0 0; + -webkit-border-top-left-radius: 3px; + -webkit-border-top-right-radius: 3px; + -khtml-border-top-left-radius: 3px; + -khtml-border-top-right-radius: 3px; + border-top-left-radius: 3px; + border-top-right-radius: 3px; } @@ -1856,9 +1873,12 @@ p#post-search-prep { padding-left: 6px; padding-right: 6px; -moz-border-radius: 4px 4px 0 0; - -khtml-border-radius: 4px 4px 0 0; - -webkit-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -khtml-border-top-left-radius: 4px; + -khtml-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; border-width: 1px; border-style: solid; }