Simplify pointer API with smarter positioning. see #18693.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
koopersmith
2011-10-14 03:33:46 +00:00
parent 6141f8039b
commit c47765dedb
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,