Changeset 3447:b1afe8a19f26
- Timestamp:
- 12/08/16 17:44:54 (9 years ago)
- Branch:
- default
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/meta-editor.js
r3445 r3447 81 81 for (var i=0; i < meta.length; i++) { 82 82 li = $('<li>'+meta[i]+'</li>'); 83 a_remove = $('< button type="button" class="metaRemove meta-helper"><img src="images/trash.png" alt="remove" /></button>');83 a_remove = $('<a href="#" type="button" class="metaRemove meta-helper"><img src="images/trash.png" alt="remove" /></a>'); 84 84 a_remove.get(0).caller = this; 85 85 a_remove.get(0).meta_id = meta[i]; … … 109 109 var meta_id = $(this).text(); 110 110 li = $('<li><a href="' + This.meta_url + $(this).attr('uri') + '">'+meta_id+'</a></li>'); 111 a_remove = $('< button type="button" class="metaRemove meta-helper"><img src="images/trash.png" alt="remove" /></button>');111 a_remove = $('<a href="#" type="button" class="metaRemove meta-helper"><img src="images/trash.png" alt="remove" /></a>'); 112 112 a_remove.get(0).caller = This; 113 113 a_remove.get(0).meta_id = meta_id; … … 163 163 164 164 $(data).find('meta').each(function(i) { 165 meta_link = $('< button type="button" class="metaItem meta-helper">' + $(this).text() + '</button>');165 meta_link = $('<a href="#" type="button" class="metaItem meta-helper">' + $(this).text() + '</a>'); 166 166 meta_link.get(0).meta_id = $(this).text(); 167 167 meta_link.click(function() { … … 178 178 179 179 if (list_type == 'more') { 180 var a_more = $('< button type="button" class="metaGetMore meta-helper"></button>');180 var a_more = $('<a href="#" type="button" class="button metaGetMore meta-helper"></a>'); 181 181 a_more.append(This.text_all + String.fromCharCode(160)+String.fromCharCode(187)); 182 182 a_more.click(function() { … … 193 193 target.append(pa); 194 194 195 var a = $('< button type="button" class="metaGetList meta-helper">' + This.text_choose + '</button>');195 var a = $('<a href="#" type="button" class="button metaGetList meta-helper">' + This.text_choose + '</a>'); 196 196 a.click(function() { 197 197 $(this).parent().next().removeClass('hide'); -
admin/style/default.css
r3444 r3447 1362 1362 #gototop, 1363 1363 .metaGetList, 1364 .metaGetMore { 1364 .metaGetMore, 1365 a.checkbox-helper, 1366 a#gototop, 1367 a.metaGetList, 1368 a.metaGetMore { 1365 1369 font-size: 0.825em; 1366 1370 color: #333; … … 1374 1378 #gototop:hover, 1375 1379 .metaGetList:hover, 1376 .metaGetMore:hover { 1380 .metaGetMore:hover, 1381 a.checkbox-helper:hover, 1382 a#gototop:hover, 1383 a.metaGetList:hover, 1384 a.metaGetMore:hover { 1377 1385 background: #a2cbe9; 1378 1386 box-shadow: none; … … 1397 1405 1398 1406 .metaRemove, 1399 .addMeta button:not(.metaGetMore) { 1407 .addMeta button:not(.metaGetMore), 1408 .addMeta a:not(.metaGetMore) { 1400 1409 border: none; 1401 1410 border-radius: 0; … … 1403 1412 background: none; } 1404 1413 1405 .addMeta button:not(.metaGetMore) { 1414 .addMeta button:not(.metaGetMore), 1415 .addMeta a:not(.metaGetMore) { 1406 1416 text-shadow: initial; 1407 1417 box-shadow: initial; 1408 1418 margin-bottom: 2px; } 1409 .addMeta button:not(.metaGetMore):hover, .addMeta button:not(.metaGetMore):focus { 1419 .addMeta button:not(.metaGetMore):hover, .addMeta button:not(.metaGetMore):focus, 1420 .addMeta a:not(.metaGetMore):hover, 1421 .addMeta a:not(.metaGetMore):focus { 1410 1422 background: #fc0; } 1411 1423 -
admin/style/scss/partials/_buttons.scss
r3442 r3447 227 227 #gototop, 228 228 .metaGetList, 229 .metaGetMore { 229 .metaGetMore, 230 a.checkbox-helper, 231 a#gototop, 232 a.metaGetList, 233 a.metaGetMore { 230 234 font-size: 0.825em; 231 235 color: #333; … … 263 267 264 268 .metaRemove, 265 .addMeta button:not(.metaGetMore) { 269 .addMeta button:not(.metaGetMore), 270 .addMeta a:not(.metaGetMore) { 266 271 border: none; 267 272 border-radius: 0; … … 270 275 } 271 276 272 .addMeta button:not(.metaGetMore) { 277 .addMeta button:not(.metaGetMore), 278 .addMeta a:not(.metaGetMore) { 273 279 text-shadow: initial; 274 280 box-shadow: initial; -
plugins/tags/style.css
r3438 r3447 1 .tag0 { } 2 .tag10 { font-size: 140%; } 3 .tag20 { font-size: 150%; } 4 .tag30 { font-size: 160%; } 5 .tag40 { font-size: 170%; } 6 .tag50 { font-size: 180%; } 7 .tag60 { font-size: 190%; } 8 .tag70 { font-size: 200%; } 9 .tag80 { font-size: 210%; } 10 .tag90 { font-size: 220%; } 11 .tag100 { font-size: 230%; } 1 .tag0 {} 2 3 .tag10 { 4 font-size: 140%; 5 } 6 7 .tag20 { 8 font-size: 150%; 9 } 10 11 .tag30 { 12 font-size: 160%; 13 } 14 15 .tag40 { 16 font-size: 170%; 17 } 18 19 .tag50 { 20 font-size: 180%; 21 } 22 23 .tag60 { 24 font-size: 190%; 25 } 26 27 .tag70 { 28 font-size: 200%; 29 } 30 31 .tag80 { 32 font-size: 210%; 33 } 34 35 .tag90 { 36 font-size: 220%; 37 } 38 39 .tag100 { 40 font-size: 230%; 41 } 42 12 43 table.tags { 13 44 margin-left: 3em; 14 } 45 } 46 15 47 tr.tagLetter span { 16 font-size 48 font-size: 250%; 17 49 border: none; 18 display 50 display: block; 19 51 width: 1ex; 20 52 position: relative; 21 53 top: 0.80em; 22 54 left: -2ex; 23 } 55 } 56 24 57 ul.metaList { 25 58 margin: 0 0 1em 0; 26 59 padding: 0; 27 } 60 } 61 28 62 ul.metaList li { 29 63 margin: 0; … … 31 65 list-style: none; 32 66 list-style-position: inside; 33 } 67 } 68 69 70 /* 34 71 a.metaRemove { 35 72 color : #999 !important; … … 49 86 font-weight: bold; 50 87 } 88 */ 89 90 51 91 /* Auto Complete */ 92 52 93 .ac_results { 53 94 padding: 0px; … … 56 97 overflow: hidden; 57 98 z-index: 99999; 58 } 99 } 100 59 101 .ac_results ul { 60 102 width: 100%; … … 63 105 padding: 0; 64 106 margin: 0; 65 } 107 } 108 66 109 .ac_results li { 67 110 margin: 0px; … … 82 125 line-height: 16px; 83 126 overflow: hidden; 84 } 127 } 128 85 129 .ac_loading { 86 130 background: transparent url('index.php?pf=tags/img/loader.gif') right center no-repeat; 87 } 131 } 132 88 133 .ac_odd { 89 134 background-color: #eee; 90 } 135 } 136 91 137 .ac_over { 92 138 background-color: #2373A8; 93 139 color: white; 94 } 140 } 141 95 142 #post_meta_input:focus { 96 143 -moz-box-sizing: content-box; 97 } 144 } 145 98 146 #tags-edit input[type=text] { 99 147 width: 11.5em; 100 } 148 } 149 101 150 .tag-actions form { 102 151 display: inline-block; 103 152 margin-right: 1.5em; 104 153 }
Note: See TracChangeset
for help on using the changeset viewer.