WordPress/wp-includes/css/wp-pointer.dev.css
2011-10-18 07:43:40 +00:00

127 lines
2.2 KiB
CSS

.wp-pointer-content {
padding: 0 15px;
background: white;
border: 1px solid #ccc;
-webkit-border-radius: 3px;
border-radius: 3px;
-moz-box-shadow: 1px 1px 2px rgba( 0, 0, 0, 0.4 );
-webkit-box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5);
box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5);
}
.wp-pointer-buttons {
margin: 0 -15px;
padding: 5px 10px;
overflow: auto;
background: #f5f5f5;
border-top: 1px solid #ddd;
-webkit-border-bottom-right-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.wp-pointer-buttons a {
float: right;
display: inline-block;
text-decoration: none;
}
/* The arrow base class must take up no space, even with transparent borders. */
.wp-pointer-arrow,
.wp-pointer-arrow-inner {
position: absolute;
width: 0;
height: 0;
}
.wp-pointer-arrow {
z-index: 10;
}
.wp-pointer-arrow-inner {
z-index: 20;
}
.wp-pointer-left {
margin-left: 10px;
}
.wp-pointer-right {
margin-left: -10px;
}
.wp-pointer-top {
margin-top: 10px;
}
.wp-pointer-bottom {
margin-top: -10px;
}
.wp-pointer-left .wp-pointer-arrow,
.wp-pointer-right .wp-pointer-arrow,
.wp-pointer-top .wp-pointer-arrow,
.wp-pointer-bottom .wp-pointer-arrow {
border: solid 10px transparent;
}
.wp-pointer-left .wp-pointer-arrow {
border-right-color: #aaa;
border-left-width: 0;
}
.wp-pointer-right .wp-pointer-arrow {
border-left-color: #aaa;
border-right-width: 0;
}
.wp-pointer-top .wp-pointer-arrow {
border-top-width: 0;
}
.wp-pointer-bottom .wp-pointer-arrow {
border-top-color: #aaa;
border-bottom-width: 0;
}
.wp-pointer-left .wp-pointer-arrow-inner,
.wp-pointer-right .wp-pointer-arrow-inner,
.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer-bottom .wp-pointer-arrow-inner {
border: solid 9px transparent;
}
.wp-pointer-left .wp-pointer-arrow-inner {
border-right-color: #fff;
border-left-width: 0;
top: -9px;
left: 2px;
}
.wp-pointer-right .wp-pointer-arrow-inner {
border-left-color: #fff;
border-right-width: 0;
top: -9px;
right: 2px;
}
.wp-pointer-top .wp-pointer-arrow-inner {
border-bottom-color: #fff;
border-top-width: 0;
top: 2px;
left: -9px;
}
.wp-pointer-bottom .wp-pointer-arrow-inner {
border-top-color: #fff;
border-bottom-width: 0;
bottom: 2px;
left: -9px;
}