Move pointer-specific CSS from wp-admin.css to wp-pointer.css.
props ocean90. fixes #26477. Built from https://develop.svn.wordpress.org/trunk@26797 git-svn-id: http://core.svn.wordpress.org/trunk@26684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5dbc86ec6f
commit
790f951105
|
@ -2738,8 +2738,7 @@ html.wp-toolbar {
|
|||
|
||||
#welcome-panel.welcome-panel .welcome-panel-close::before,
|
||||
.tagchecklist span a:before,
|
||||
#bulk-titles div a:before,
|
||||
.wp-pointer-buttons a.close:before {
|
||||
#bulk-titles div a:before {
|
||||
content: '\f153';
|
||||
display: block !important;
|
||||
font: normal 16px/1 'dashicons';
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2738,8 +2738,7 @@ html.wp-toolbar {
|
|||
|
||||
#welcome-panel.welcome-panel .welcome-panel-close::before,
|
||||
.tagchecklist span a:before,
|
||||
#bulk-titles div a:before,
|
||||
.wp-pointer-buttons a.close:before {
|
||||
#bulk-titles div a:before {
|
||||
content: '\f153';
|
||||
display: block !important;
|
||||
font: normal 16px/1 'dashicons';
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
.wp-pointer-content {
|
||||
.wp-pointer-content {
|
||||
padding: 0 0 10px;
|
||||
position: relative;
|
||||
font-size: 13px;
|
||||
|
@ -57,7 +57,13 @@
|
|||
}
|
||||
|
||||
.wp-pointer-buttons a.close:before {
|
||||
font-size: 13px;
|
||||
content: '\f153';
|
||||
display: block !important;
|
||||
font: normal 13px/1 'dashicons';
|
||||
speak: none;
|
||||
margin: 2px 0;
|
||||
text-align: center;
|
||||
-webkit-font-smoothing: antialiased !important;
|
||||
width: 10px;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
|
@ -65,10 +71,6 @@
|
|||
top: 1px;
|
||||
}
|
||||
|
||||
.wp-pointer-buttons a.close:hover:before {
|
||||
background-position:0% 50%;
|
||||
}
|
||||
|
||||
/* The arrow base class must take up no space, even with transparent borders. */
|
||||
.wp-pointer-arrow,
|
||||
.wp-pointer-arrow-inner {
|
||||
|
@ -153,4 +155,4 @@
|
|||
.wp-pointer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
.wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:0;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:0 0 5px;padding:15px 60px 14px 18px;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;right:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:left;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-right:3px;position:relative}.wp-pointer-buttons a.close:before{font-size:13px;width:10px;height:100%;position:absolute;right:-12px;top:1px}.wp-pointer-buttons a.close:hover:before{background-position:0 50%}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{padding-right:13px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{right:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 17px 15px;border-bottom-color:#2ea2cc}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:15px 17px 0;border-top-color:#fff}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:17px 15px 17px 0;border-right-color:#fff}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:17px 0 17px 15px;border-left-color:#fff}@media screen and (max-width:782px){.wp-pointer{display:none}}
|
||||
.wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:0;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:0 0 5px;padding:15px 60px 14px 18px;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;right:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:left;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-right:3px;position:relative}.wp-pointer-buttons a.close:before{content:'\f153';display:block!important;font:400 13px/1 dashicons;speak:none;margin:2px 0;text-align:center;-webkit-font-smoothing:antialiased!important;width:10px;height:100%;position:absolute;right:-12px;top:1px}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{padding-right:13px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{right:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 17px 15px;border-bottom-color:#2ea2cc}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:15px 17px 0;border-top-color:#fff}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:17px 15px 17px 0;border-right-color:#fff}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:17px 0 17px 15px;border-left-color:#fff}@media screen and (max-width:782px){.wp-pointer{display:none}}
|
|
@ -1,4 +1,4 @@
|
|||
.wp-pointer-content {
|
||||
.wp-pointer-content {
|
||||
padding: 0 0 10px;
|
||||
position: relative;
|
||||
font-size: 13px;
|
||||
|
@ -57,7 +57,13 @@
|
|||
}
|
||||
|
||||
.wp-pointer-buttons a.close:before {
|
||||
font-size: 13px;
|
||||
content: '\f153';
|
||||
display: block !important;
|
||||
font: normal 13px/1 'dashicons';
|
||||
speak: none;
|
||||
margin: 2px 0;
|
||||
text-align: center;
|
||||
-webkit-font-smoothing: antialiased !important;
|
||||
width: 10px;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
|
@ -65,10 +71,6 @@
|
|||
top: 1px;
|
||||
}
|
||||
|
||||
.wp-pointer-buttons a.close:hover:before {
|
||||
background-position:100% 50%;
|
||||
}
|
||||
|
||||
/* The arrow base class must take up no space, even with transparent borders. */
|
||||
.wp-pointer-arrow,
|
||||
.wp-pointer-arrow-inner {
|
||||
|
@ -153,4 +155,4 @@
|
|||
.wp-pointer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
.wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:0;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:0 0 5px;padding:15px 18px 14px 60px;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;left:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:right;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-left:3px;position:relative}.wp-pointer-buttons a.close:before{font-size:13px;width:10px;height:100%;position:absolute;left:-12px;top:1px}.wp-pointer-buttons a.close:hover:before{background-position:100% 50%}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{padding-right:13px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{left:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 17px 15px;border-bottom-color:#2ea2cc}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:15px 17px 0;border-top-color:#fff}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:17px 15px 17px 0;border-right-color:#fff}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:17px 0 17px 15px;border-left-color:#fff}@media screen and (max-width:782px){.wp-pointer{display:none}}
|
||||
.wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:0;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:0 0 5px;padding:15px 18px 14px 60px;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;left:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:right;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-left:3px;position:relative}.wp-pointer-buttons a.close:before{content:'\f153';display:block!important;font:400 13px/1 dashicons;speak:none;margin:2px 0;text-align:center;-webkit-font-smoothing:antialiased!important;width:10px;height:100%;position:absolute;left:-12px;top:1px}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{padding-right:13px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{left:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 17px 15px;border-bottom-color:#2ea2cc}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:15px 17px 0;border-top-color:#fff}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:17px 15px 17px 0;border-right-color:#fff}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:17px 0 17px 15px;border-left-color:#fff}@media screen and (max-width:782px){.wp-pointer{display:none}}
|
Loading…
Reference in New Issue