More RTL for the admin menu, props ocean90, see#19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ab036390af
commit
40058cb1b7
File diff suppressed because one or more lines are too long
|
@ -410,45 +410,128 @@ form.upgrade .hint {
|
||||||
7.0 - Main Navigation (Right Menu) (RTL: Left Menu)
|
7.0 - Main Navigation (Right Menu) (RTL: Left Menu)
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#adminmenuback,
|
||||||
|
#adminmenuwrap {
|
||||||
|
border-width: 0 0 0 1px;
|
||||||
|
}
|
||||||
|
|
||||||
#adminmenushadow {
|
#adminmenushadow {
|
||||||
right: auto;
|
right: auto;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#adminmenu li .wp-submenu,
|
||||||
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
||||||
|
left: auto;
|
||||||
|
right: 146px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.folded #adminmenu .wp-submenu,
|
||||||
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
||||||
|
left: auto;
|
||||||
|
right: 26px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu .wp-submenu.sub-open,
|
||||||
|
#adminmenu li.focused.wp-not-current-submenu .wp-submenu,
|
||||||
|
.folded #adminmenu li.focused.wp-has-current-submenu .wp-submenu,
|
||||||
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
|
||||||
|
.no-js #adminmenu .wp-has-submenu:hover .wp-submenu,
|
||||||
|
.no-js.folded #adminmenu .wp-has-current-submenu:hover .wp-submenu {
|
||||||
|
padding: 0 0 8px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
#adminmenu div.wp-menu-image {
|
#adminmenu div.wp-menu-image {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu .wp-submenu a {
|
#adminmenu li li {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 8px
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu .wp-submenu a,
|
||||||
|
#adminmenu li li a,
|
||||||
|
.folded #adminmenu .wp-not-current-submenu li a {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#adminmenu .wp-not-current-submenu li a {
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.folded #adminmenu li li {
|
||||||
|
margin-left: inherit;
|
||||||
|
margin-right: 0
|
||||||
|
}
|
||||||
|
|
||||||
|
.folded #adminmenu li li a {
|
||||||
|
padding-left: inherit;
|
||||||
|
padding-right: 0
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-menu-arrow {
|
||||||
|
right: 0;
|
||||||
|
|
||||||
|
-moz-transform: translate( -139px );
|
||||||
|
-webkit-transform: translate( -139px );
|
||||||
|
-o-transform: translate( -139px );
|
||||||
|
-ms-transform: translate( -139px );
|
||||||
|
transform: translate( -139px );
|
||||||
|
}
|
||||||
|
|
||||||
|
.ie8 .wp-menu-arrow {
|
||||||
|
right: -20px;
|
||||||
|
}
|
||||||
|
|
||||||
#adminmenu .wp-menu-arrow div {
|
#adminmenu .wp-menu-arrow div {
|
||||||
left: -8px;
|
left: -8px;
|
||||||
top: 7px;
|
|
||||||
width: 16px;
|
width: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#adminmenu li.wp-not-current-submenu .wp-menu-arrow {
|
||||||
|
-moz-transform: translate( -138px );
|
||||||
|
-webkit-transform: translate( -138px );
|
||||||
|
-o-transform: translate( -138px );
|
||||||
|
-ms-transform: translate( -138px );
|
||||||
|
transform: translate( -138px );
|
||||||
|
}
|
||||||
|
|
||||||
|
.folded .wp-menu-arrow {
|
||||||
|
-moz-transform: translate( -27px );
|
||||||
|
-webkit-transform: translate( -27px );
|
||||||
|
-o-transform: translate( -27px );
|
||||||
|
-ms-transform: translate( -27px );
|
||||||
|
transform: translate( -27px );
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu .wp-not-current-submenu .wp-menu-arrow div {
|
||||||
|
border-style: solid solid none none;
|
||||||
|
border-width: 1px 1px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
#adminmenu .wp-menu-image img {
|
#adminmenu .wp-menu-image img {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
padding: 5px 2px 0 0;
|
||||||
|
|
||||||
.folded #adminmenu .wp-submenu {
|
|
||||||
left: auto;
|
|
||||||
right: 26px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.folded #adminmenu .wp-submenu.sub-open {
|
|
||||||
padding: 0 0 8px 8px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu .wp-submenu .wp-submenu-head {
|
#adminmenu .wp-submenu .wp-submenu-head {
|
||||||
padding: 6px 10px 5px 4px;
|
padding: 6px 10px 5px 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.folded #adminmenu .wp-submenu-wrap {
|
#adminmenu li .wp-submenu-wrap {
|
||||||
border-width: 0 0 1px 1px;
|
border-width: 1px 0 1px 1px;
|
||||||
|
border-style: solid none solid solid;
|
||||||
|
-webkit-border-bottom-right-radius: 0;
|
||||||
|
-webkit-border-bottom-left-radius: 3px;
|
||||||
|
-webkit-border-top-right-radius: 0;
|
||||||
|
-webkit-border-top-left-radius: 3px;
|
||||||
|
border-bottom-right-radius: 0;
|
||||||
|
border-bottom-left-radius: 3px;
|
||||||
|
border-top-right-radius: 0;
|
||||||
|
border-top-left-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.folded #adminmenu .wp-submenu ul {
|
.folded #adminmenu .wp-submenu ul {
|
||||||
|
@ -471,10 +554,6 @@ form.upgrade .hint {
|
||||||
padding: 1px 0 0 2px;
|
padding: 1px 0 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu .wp-menu-image img {
|
|
||||||
padding: 6px 1px 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu .awaiting-mod,
|
#adminmenu .awaiting-mod,
|
||||||
#adminmenu span.update-plugins,
|
#adminmenu span.update-plugins,
|
||||||
#sidemenu li a span.update-plugins {
|
#sidemenu li a span.update-plugins {
|
||||||
|
@ -483,73 +562,12 @@ form.upgrade .hint {
|
||||||
margin-right: 7px;
|
margin-right: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu .wp-submenu.sub-open,
|
#collapse-button {
|
||||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
|
float: right;
|
||||||
.no-js #adminmenu .wp-has-submenu:hover .wp-submenu,
|
|
||||||
.no-js.folded #adminmenu .wp-has-current-submenu:hover .wp-submenu {
|
|
||||||
padding: 0 0 8px 8px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li .wp-submenu-wrap,
|
|
||||||
.folded #adminmenu .wp-submenu-wrap {
|
|
||||||
-webkit-border-bottom-right-radius: 0;
|
|
||||||
-webkit-border-bottom-left-radius: 3px;
|
|
||||||
-webkit-border-top-right-radius: 0;
|
|
||||||
-webkit-border-top-left-radius: 3px;
|
|
||||||
border-radius: 0 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu li .wp-submenu-wrap {
|
|
||||||
border-style: solid none solid solid;
|
|
||||||
border-width: 1px 0 1px 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu .wp-submenu-wrap,
|
|
||||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu-wrap {
|
|
||||||
box-shadow: 1px 2px 5px 2px rgba(0, 0, 0, 0.4);
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu li .wp-submenu {
|
|
||||||
right: 145px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wp-menu-arrow {
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ie8 .wp-menu-arrow {
|
|
||||||
right: -20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu .wp-not-current-submenu .wp-menu-arrow div {
|
|
||||||
border-style: solid solid none none;
|
|
||||||
border-width: 1px 1px 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wp-menu-arrow {
|
|
||||||
-moz-transform: translate( -139px );
|
|
||||||
-webkit-transform: translate( -139px );
|
|
||||||
-o-transform: translate( -139px );
|
|
||||||
-ms-transform: translate( -139px );
|
|
||||||
transform: translate( -139px );
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu li.wp-not-current-submenu .wp-menu-arrow {
|
|
||||||
-moz-transform: translate( -138px );
|
|
||||||
-webkit-transform: translate( -138px );
|
|
||||||
-o-transform: translate( -138px );
|
|
||||||
-ms-transform: translate( -138px );
|
|
||||||
transform: translate( -138px );
|
|
||||||
}
|
|
||||||
|
|
||||||
.folded .wp-menu-arrow {
|
|
||||||
-moz-transform: translate( -27px );
|
|
||||||
-webkit-transform: translate( -27px );
|
|
||||||
-o-transform: translate( -27px );
|
|
||||||
-ms-transform: translate( -27px );
|
|
||||||
transform: translate( -27px );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
/* List table styles */
|
||||||
.post-com-count-wrapper {
|
.post-com-count-wrapper {
|
||||||
font-family: Tahoma, Arial, sans-serif;
|
font-family: Tahoma, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
@ -564,9 +582,6 @@ form.upgrade .hint {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#collapse-button {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------
|
||||||
8.0 - Layout Blocks
|
8.0 - Layout Blocks
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1525,6 +1525,7 @@ form.upgrade .hint {
|
||||||
border-width: 0 1px 0 0;
|
border-width: 0 1px 0 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenuwrap {
|
#adminmenuwrap {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
|
@ -1690,6 +1691,7 @@ body.no-js #adminmenu .wp-menu-toggle,
|
||||||
.folded #adminmenu .wp-not-current-submenu li a {
|
.folded #adminmenu .wp-not-current-submenu li a {
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu .wp-not-current-submenu li a {
|
#adminmenu .wp-not-current-submenu li a {
|
||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
}
|
}
|
||||||
|
@ -1910,6 +1912,32 @@ body.no-js #adminmenu .wp-menu-toggle,
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#collapse-menu {
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 34px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.folded #collapse-menu span {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#collapse-button,
|
||||||
|
#collapse-button div {
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#collapse-button {
|
||||||
|
float: left;
|
||||||
|
margin: 8px 6px;
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
-webkit-border-radius: 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* List table styles */
|
||||||
.post-com-count-wrapper {
|
.post-com-count-wrapper {
|
||||||
min-width: 22px;
|
min-width: 22px;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
|
@ -1960,30 +1988,6 @@ strong .post-com-count {
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#collapse-menu {
|
|
||||||
font-size: 12px;
|
|
||||||
line-height: 34px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.folded #collapse-menu span {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#collapse-button,
|
|
||||||
#collapse-button div {
|
|
||||||
width: 15px;
|
|
||||||
height: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#collapse-button {
|
|
||||||
float: left;
|
|
||||||
margin: 8px 6px;
|
|
||||||
border-width: 1px;
|
|
||||||
border-style: solid;
|
|
||||||
-webkit-border-radius: 10px;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------
|
||||||
8.0 - Layout Blocks
|
8.0 - Layout Blocks
|
||||||
|
|
Loading…
Reference in New Issue