mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 19:54:28 +00:00
Pointers: more airy drop shadow, see #18693
git-svn-id: https://develop.svn.wordpress.org/trunk@18989 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,33 +1,36 @@
|
||||
|
||||
.wp-pointer-content {
|
||||
padding: 0 15px;
|
||||
background: white;
|
||||
border: 1px solid #aaa;
|
||||
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: 1px 1px 2px rgba( 0, 0, 0, 0.4 );
|
||||
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: 1em 15px;
|
||||
padding: 5px 10px;
|
||||
overflow: auto;
|
||||
background: #f5f5f5;
|
||||
border-top: 1px solid #ccc;
|
||||
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 {
|
||||
@@ -35,9 +38,11 @@
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.wp-pointer-arrow {
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.wp-pointer-arrow-inner {
|
||||
z-index: 20;
|
||||
}
|
||||
@@ -45,12 +50,15 @@
|
||||
.wp-pointer-left {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.wp-pointer-right {
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
.wp-pointer-top {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.wp-pointer-bottom {
|
||||
margin-top: -10px;
|
||||
}
|
||||
@@ -66,14 +74,16 @@
|
||||
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-bottom-color: #aaa;
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
||||
.wp-pointer-bottom .wp-pointer-arrow {
|
||||
border-top-color: #aaa;
|
||||
border-bottom-width: 0;
|
||||
@@ -92,21 +102,25 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user