Changeset 3447:b1afe8a19f26 for admin
- Timestamp:
- 12/08/16 17:44:54 (9 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 3 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;
Note: See TracChangeset
for help on using the changeset viewer.