]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/css/wp-pointer.css
WordPress 4.5
[autoinstalls/wordpress.git] / wp-includes / css / wp-pointer.css
index c5566f3f9173950ce5d457a590c496d311a30c03..d58170ee6edae5a094e825a9f598697b333585d2 100644 (file)
@@ -1,50 +1,41 @@
-.wp-pointer {
-}
-
 .wp-pointer-content {
        padding: 0 0 10px;
        position: relative;
        font-size: 13px;
-
        background: #fff;
-       border-style: solid;
-       border-width: 1px;
-       /* Fallback for non-rgba-compliant browsers */
-       border-color: #dfdfdf;
-       /* Use rgba to look better against non-white backgrounds. */
-       border-color: rgba(0,0,0,.125);
-       -webkit-border-radius: 3px;
-       border-radius: 3px;
-
-       -webkit-box-shadow: 0 2px 4px rgba(0,0,0,.19);
-       box-shadow: 0 2px 4px rgba(0,0,0,.19);
+       border: 1px solid #ddd;
+       -webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.075);
+       box-shadow: 0 3px 6px rgba(0,0,0,0.075);
 }
 
 .wp-pointer-content h3 {
        position: relative;
-       margin: 0 0 5px;
+       margin: -1px -1px 5px;
        padding: 15px 18px 14px 60px;
+       border: 1px solid #3592b6;
+       border-bottom: none;
        line-height: 1.4em;
        font-size: 14px;
        color: #fff;
-       border-radius: 3px 3px 0 0;
-       text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
-       background: #8cc1e9;
-       background-image: -webkit-gradient(linear, left bottom, left top, from(#72a7cf), to(#8cc1e9));
-       background-image: -webkit-linear-gradient(bottom, #72a7cf, #8cc1e9);
-       background-image:    -moz-linear-gradient(bottom, #72a7cf, #8cc1e9);
-       background-image:      -o-linear-gradient(bottom, #72a7cf, #8cc1e9);
-       background-image: linear-gradient(to top, #72a7cf, #8cc1e9);
+       background: #00a0d2;
 }
 
 .wp-pointer-content h3:before {
+       background: #fff;
+       -webkit-border-radius: 50%;
+       border-radius: 50%;
+       color: #00a0d2;
+       content: "\f227";
+       font: normal 20px/1.6 dashicons;
        position: absolute;
-       top: 0;
+       top: 8px;
        left: 15px;
-       content: ' ';
-       width: 36px;
-       height: 100%;
-       background: url('../images/icon-pointer-flag.png') 0 50% no-repeat;
+       speak: none;
+       text-align: center;
+       width: 32px;
+       height: 32px;
+       -webkit-font-smoothing: antialiased;
+       -moz-osx-font-smoothing: grayscale;
 }
 
 .wp-pointer-content p {
 }
 
 .wp-pointer-buttons a.close {
-       padding-left:3px;
+       padding-left: 3px;
        position: relative;
 }
 
 .wp-pointer-buttons a.close:before {
-       content: ' ';
-       width:10px;
-       height:100%;
-       position:absolute;
-       left:-10px;
-       background:url('../images/xit.gif') 0 50% no-repeat;
+       background: none;
+       color: #b4b9be;
+       content: "\f153";
+       display: block !important;
+       font: normal 16px/1 dashicons;
+       speak: none;
+       margin: 1px 0;
+       text-align: center;
+       -webkit-font-smoothing: antialiased !important;
+       width: 10px;
+       height: 100%;
+       position: absolute;
+       left: -15px;
+       top: 1px;
 }
 
 .wp-pointer-buttons a.close:hover:before {
-       background-position:100% 50%;
+       color: #c00;
 }
 
 /* The arrow base class must take up no space, even with transparent borders. */
@@ -91,7 +90,9 @@
 
 .wp-pointer-arrow {
        z-index: 10;
-       background:url('../images/arrow-pointer-blue.png') 0 0 no-repeat;
+       width: 0;
+       height: 0;
+       border: 0 solid transparent;
 }
 
 .wp-pointer-arrow-inner {
 }
 
 .wp-pointer-bottom {
+       margin-top: -13px;
        padding-bottom: 13px;
 }
 
+/* rtl:ignore */
 .wp-pointer-left {
        padding-left: 13px;
 }
-
+/* rtl:ignore */
 .wp-pointer-right {
+       margin-left: -13px;
        padding-right: 13px;
 }
 
 .wp-pointer-bottom .wp-pointer-arrow,
 .wp-pointer-undefined .wp-pointer-arrow {
        left: 50px;
-       width: 30px;
-       height: 14px;
 }
 
 .wp-pointer-left .wp-pointer-arrow,
 .wp-pointer-right .wp-pointer-arrow {
        top: 50%;
        margin-top: -15px;
-       width: 14px;
-       height: 30px;
 }
 
 /* Arrow Sprite */
 .wp-pointer-top .wp-pointer-arrow,
 .wp-pointer-undefined .wp-pointer-arrow {
        top: 0;
-       background-position: 0 0;
-}
-
-.wp-pointer-bottom .wp-pointer-arrow {
-       bottom: 0;
-       background-position: 0 -46px;
-}
-
-.wp-pointer-left .wp-pointer-arrow {
-       left: 0;
-       background-position: 0 -15px;
-}
-
-.wp-pointer-right .wp-pointer-arrow {
-       right:0;
-       background-position:-16px -15px;
-}
-
-/* - RTL
-------------------------------------------------------------------------------*/
-
-.rtl .wp-pointer-content h3 {
-       padding-right: 60px;
-       padding-left: 18px;
+       border-width: 0 13px 13px 13px;
+       border-bottom-color: #3592b6;
 }
 
-.rtl .wp-pointer-content h3:before {
-       right: 15px;
+.wp-pointer-top .wp-pointer-arrow-inner,
+.wp-pointer-undefined .wp-pointer-arrow-inner {
+       top: 1px;
+       margin-left: -13px;
+       margin-top: -13px;
+       border: 13px solid transparent;
+       border-bottom-color: #00a0d2;
+       display: block;
+       content: " ";
 }
 
-.rtl .wp-pointer-buttons a {
-       float: left;
+.wp-pointer-bottom .wp-pointer-arrow {
+       bottom: 0;
+       border-width: 13px 13px 0 13px;
+       border-top-color: #ccc;
 }
 
-.rtl .wp-pointer-buttons a.close {
-       padding-right:3px;
-       padding-left: 0;
+.wp-pointer-bottom .wp-pointer-arrow-inner {
+       bottom: 1px;
+       margin-left: -13px;
+       margin-bottom: -13px;
+       border: 13px solid transparent;
+       border-top-color: #fff;
+       display: block;
+       content: " ";
 }
 
-.rtl .wp-pointer-buttons a.close:before {
-       right:-10px;
+/* rtl:ignore */
+.wp-pointer-left .wp-pointer-arrow {
+       left: 0;
+       border-width: 13px 13px 13px 0;
+       border-right-color: #ccc;
 }
 
-.rtl .wp-pointer-top .wp-pointer-arrow,
-.rtl .wp-pointer-bottom .wp-pointer-arrow,
-.rtl .wp-pointer-undefined .wp-pointer-arrow {
-       right: 50px;
+/* rtl:ignore */
+.wp-pointer-left .wp-pointer-arrow-inner {
+       left: 1px;
+       margin-left: -13px;
+       margin-top: -13px;
+       border: 13px solid transparent;
+       border-right-color: #fff;
+       display: block;
+       content: " ";
 }
 
-/**
- * HiDPI Displays
- */
-@media print,
-  (-o-min-device-pixel-ratio: 5/4),
-  (-webkit-min-device-pixel-ratio: 1.25),
-  (min-resolution: 120dpi) {
-
-       .wp-pointer-buttons a.close:before {
-               background-image: url('../images/xit-2x.gif');
-               background-size: 20px auto;
-       }
-
-       .wp-pointer-content h3:before {
-               background-image: url('../images/icon-pointer-flag-2x.png');
-               background-size: 36px auto;
-       }
-
-       .wp-pointer-arrow {
-               background: url('../images/arrow-pointer-blue-2x.png') 0 0 no-repeat;
-               background-size: 30px 60px;
-       }
-
-       .wp-pointer-top .wp-pointer-arrow,
-       .wp-pointer-undefined .wp-pointer-arrow {
-               background-position: 0 1px;
-       }
-
-       .wp-pointer-bottom .wp-pointer-arrow {
-               background-position: 0 -47px;
-       }
-
-       .wp-pointer-left .wp-pointer-arrow {
-               background-position: 1px -15px;
-       }
-
-       .wp-pointer-right .wp-pointer-arrow {
-               background-position:-17px -15px;
+/* rtl:ignore */
+.wp-pointer-right .wp-pointer-arrow {
+       right: 0;
+       border-width: 13px 0 13px 13px;
+       border-left-color: #ccc;
+}
+
+/* rtl:ignore */
+.wp-pointer-right .wp-pointer-arrow-inner {
+       right: 1px;
+       margin-right: -13px;
+       margin-top: -13px;
+       border: 13px solid transparent;
+       border-left-color: #fff;
+       display: block;
+       content: " ";
+}
+
+/* Disable pointers at responsive sizes */
+@media screen and ( max-width: 782px ) {
+       .wp-pointer {
+               display: none;
        }
 }