Simplify pointer API with smarter positioning. see #18693.

git-svn-id: https://develop.svn.wordpress.org/trunk@18969 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2011-10-14 03:33:46 +00:00
parent 0ad398784b
commit ed7c3fb655
6 changed files with 72 additions and 47 deletions

View File

@@ -51,26 +51,18 @@
.wp-pointer-left .wp-pointer-arrow {
border-right-color: #aaa;
border-left-width: 0;
right: 100%;
top: 0;
}
.wp-pointer-right .wp-pointer-arrow {
border-left-color: #aaa;
border-right-width: 0;
left: 100%;
top: 0;
}
.wp-pointer-top .wp-pointer-arrow {
border-bottom-color: #aaa;
border-top-width: 0;
left: 0;
bottom: 100%;
}
.wp-pointer-bottom .wp-pointer-arrow {
border-top-color: #aaa;
border-bottom-width: 0;
left: 0;
top: 100%;
}
.wp-pointer-left .wp-pointer-arrow-inner,