Ticket #18693: 18693.koop.diff
File 18693.koop.diff, 6.2 KB (added by , 12 years ago) |
---|
-
wp-includes/js/wp-pointer.dev.js
13 13 return $(this).text(); 14 14 }, 15 15 buttons: function( event, t ) { 16 var close = ( wpPointerL10n ) ? wpPointerL10n. close : 'Close',17 button = $('<a href="#">' + close + '</a>');16 var close = ( wpPointerL10n ) ? wpPointerL10n.dismiss : 'Dismiss', 17 button = $('<a class="close" href="#">' + close + '</a>'); 18 18 19 19 return button.bind( 'click.pointer', function() { 20 20 t.element.pointer('close'); -
wp-includes/css/wp-pointer.dev.css
1 .wp-pointer { 2 } 1 3 2 4 .wp-pointer-content { 3 padding: 0 15px; 4 background: white; 5 border: 1px solid #ccc; 5 background:#fff; 6 border:1px solid #dfdfdf; 7 border:1px solid rgba(0,0,0,.125); /* So as to look better against non-white backgrounds for rgba-compliant browsers */ 8 border-radius:3px; 9 box-shadow:0 2px 4px rgba(0,0,0,.19); 10 padding:0 0 10px; 11 position:relative; 12 } 6 13 7 -webkit-border-radius: 3px; 8 border-radius: 3px; 14 .wp-pointer-content h3 { 15 margin:0; 16 padding:18px 18px 18px 56px; 17 font-size:14px; 18 color:#fff; 19 border-radius:3px 3px 0 0; 20 text-shadow:0 -1px 0 rgba(0,0,0,.3); 21 background-color: #8cc1e9; 22 background-image: -webkit-linear-gradient(bottom, rgb(114,167,207) 0%, rgb(140,193,233) 100%); 23 background-image: -moz-linear-gradient(bottom, rgb(114,167,207) 0%, rgb(140,193,233) 100%); 24 background-image: -ms-linear-gradient(bottom, rgb(114,167,207) 0%, rgb(140,193,233) 100%); 25 background-image: -o-linear-gradient(bottom, rgb(114,167,207) 0%, rgb(140,193,233) 100%); 26 background-image: linear-gradient(bottom, rgb(114,167,207) 0%, rgb(140,193,233) 100%); 27 } 9 28 10 -moz-box-shadow: 1px 1px 2px rgba( 0, 0, 0, 0.4 ); 11 -webkit-box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5); 12 box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5); 29 .wp-pointer-content h3:before { 30 position:absolute; 31 top:7px; 32 left:10px; 33 content:' '; 34 width:36px; 35 height:37px; 36 background:url('../images/icon-pointer-flag.png') 0 0 no-repeat; 13 37 } 14 38 39 .wp-pointer-content p { 40 padding:5px 15px; 41 } 42 15 43 .wp-pointer-buttons { 16 margin: 0 -15px;17 padding: 5px 1 0px;44 margin: 0; 45 padding: 5px 15px; 18 46 overflow: auto; 19 background: #f5f5f5;20 border-top: 1px solid #ddd;21 22 -webkit-border-bottom-right-radius: 3px;23 -webkit-border-bottom-left-radius: 3px;24 border-bottom-right-radius: 3px;25 border-bottom-left-radius: 3px;26 47 } 27 48 28 49 .wp-pointer-buttons a { … … 31 52 text-decoration: none; 32 53 } 33 54 55 .wp-pointer-buttons a.close { 56 padding-left:3px; 57 position: relative; 58 } 59 60 .wp-pointer-buttons a.close:before { 61 content: ' '; 62 width:10px; 63 height:100%; 64 position:absolute; 65 left:-10px; 66 background:url('../../wp-admin/images/xit.gif') 0 50% no-repeat; 67 } 68 69 .wp-pointer-buttons a.close:hover:before { 70 background-position:100% 50%; 71 } 72 34 73 /* The arrow base class must take up no space, even with transparent borders. */ 35 74 .wp-pointer-arrow, 36 75 .wp-pointer-arrow-inner { … … 41 80 42 81 .wp-pointer-arrow { 43 82 z-index: 10; 83 background:url('../images/arrow-pointer-blue.png') 0 0 no-repeat; 44 84 } 45 85 46 86 .wp-pointer-arrow-inner { 47 87 z-index: 20; 48 88 } 49 89 50 .wp-pointer-left { 51 margin-left: 10px; 90 /* Make Room for the Arrow! */ 91 .wp-pointer-top, 92 .wp-pointer-undefined { 93 padding-top:13px; 52 94 } 53 95 54 .wp-pointer- right{55 margin-left: -10px;96 .wp-pointer-bottom { 97 padding-bottom:13px; 56 98 } 57 99 58 .wp-pointer- top{59 margin-top: 10px;100 .wp-pointer-left { 101 padding-left:13px; 60 102 } 61 103 62 .wp-pointer- bottom{63 margin-top: -10px;104 .wp-pointer-right { 105 padding-right:13px; 64 106 } 65 107 66 .wp-pointer-left .wp-pointer-arrow, 67 .wp-pointer-right .wp-pointer-arrow, 108 /* Base Size & Positioning */ 68 109 .wp-pointer-top .wp-pointer-arrow, 69 .wp-pointer-bottom .wp-pointer-arrow { 70 border: solid 10px transparent; 110 .wp-pointer-bottom .wp-pointer-arrow, 111 .wp-pointer-undefined .wp-pointer-arrow { 112 left:50px; 113 width:30px; 114 height:14px; 71 115 } 72 116 73 .wp-pointer-left .wp-pointer-arrow { 74 border-right-color: #aaa; 75 border-left-width: 0; 76 } 77 117 .wp-pointer-left .wp-pointer-arrow, 78 118 .wp-pointer-right .wp-pointer-arrow { 79 border-left-color: #aaa; 80 border-right-width: 0; 119 top:60px; 120 width:14px; 121 height:30px; 81 122 } 82 123 83 .wp-pointer-top .wp-pointer-arrow { 84 border-top-width: 0; 124 /* Arrow Sprite */ 125 .wp-pointer-top .wp-pointer-arrow, 126 .wp-pointer-undefined .wp-pointer-arrow { 127 top:0; 128 background-position:0 0; 85 129 } 86 130 87 131 .wp-pointer-bottom .wp-pointer-arrow { 88 bo rder-top-color: #aaa;89 b order-bottom-width: 0;132 bottom:0; 133 background-position:0 -46px; 90 134 } 91 135 92 .wp-pointer-left .wp-pointer-arrow-inner, 93 .wp-pointer-right .wp-pointer-arrow-inner, 94 .wp-pointer-top .wp-pointer-arrow-inner, 95 .wp-pointer-bottom .wp-pointer-arrow-inner { 96 border: solid 9px transparent; 136 .wp-pointer-left .wp-pointer-arrow { 137 left:0; 138 background-position:0 -15px; 97 139 } 98 140 99 .wp-pointer-left .wp-pointer-arrow-inner { 100 border-right-color: #fff; 101 border-left-width: 0; 102 top: -9px; 103 left: 2px; 141 .wp-pointer-right .wp-pointer-arrow { 142 right:0; 143 background-position:-16px -15px; 104 144 } 105 145 106 .wp-pointer-right .wp-pointer-arrow-inner {107 border-left-color: #fff;108 border-right-width: 0;109 top: -9px;110 right: 2px;111 }112 113 .wp-pointer-top .wp-pointer-arrow-inner {114 border-bottom-color: #fff;115 border-top-width: 0;116 top: 2px;117 left: -9px;118 }119 120 .wp-pointer-bottom .wp-pointer-arrow-inner {121 border-top-color: #fff;122 border-bottom-width: 0;123 bottom: 2px;124 left: -9px;125 }126 -
wp-includes/script-loader.php
99 99 $scripts->add( 'wp-pointer', "/wp-includes/js/wp-pointer$suffix.js", array( 'jquery-ui-widget', 'jquery-ui-position' ), '20111017', 1 ); 100 100 $scripts->localize( 'wp-pointer', 'wpPointerL10n', array( 101 101 'close' => __('Close'), 102 'dismiss' => __('Dismiss'), 102 103 ) ); 103 104 104 105 $scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), '20111111', 1 );