diff --git a/Resources/Plugins/edit-design/browser.js b/Resources/Plugins/edit-design/browser.js index a8e46b53..a7520f09 100644 --- a/Resources/Plugins/edit-design/browser.js +++ b/Resources/Plugins/edit-design/browser.js @@ -433,87 +433,87 @@ enabled(){ if (this.config.revertIcons){ let iconData = [ - [ ".icon-twitter-bird", "00" ], - [ ".icon-mention", "01" ], - [ ".icon-following", "02" ], - [ ".icon-message", "03" ], - [ ".icon-home", "04" ], - [ ".icon-hashtag", "05" ], - [ ".icon-reply", "06" ], - [ ".icon-favorite", "55" ], - [ ".icon-retweet", "08" ], - [ ".icon-drafts", "09" ], - [ ".icon-search", "0a" ], - [ ".icon-trash", "0c" ], - [ ".icon-close", "0d" ], - [ ".icon-arrow-r:before,.Icon--caretRight", "0e" ], - [ ".icon-arrow-l:before,.Icon--caretLeft", "0f" ], - [ ".icon-protected", "13" ], - [ ".icon-list", "14" ], - [ ".icon-camera", "15" ], - [ ".icon-more", "16" ], - [ ".icon-settings", "18" ], - [ ".icon-notifications", "19" ], - [ ".icon-user-dd", "1a" ], - [ ".icon-activity", "1c" ], - [ ".icon-trending", "1d" ], - [ ".icon-minus", "1e" ], - [ ".icon-plus", "1f" ], - [ ".icon-geo", "20" ], - [ ".icon-check", "21" ], - [ ".icon-schedule", "22" ], - [ ".icon-dot", "23" ], - [ ".icon-user", "24" ], - [ ".icon-content", "25" ], - [ ".icon-arrow-d:before,.Icon--caretDown", "26" ], - [ ".icon-arrow-u", "27" ], - [ ".icon-share", "28" ], - [ ".icon-info", "29" ], - [ ".icon-verified", "2a" ], - [ ".icon-translator", "2b" ], - [ ".icon-blocked", "2c" ], - [ ".icon-constrain", "2d" ], - [ ".icon-play-video", "2e" ], - [ ".icon-empty", "2f" ], - [ ".icon-clear-input", "30" ], - [ ".icon-compose", "31" ], - [ ".icon-mark-read", "32" ], - [ ".icon-arrow-r-double", "33" ], - [ ".icon-arrow-l-double", "34" ], - [ ".icon-follow", "35" ], - [ ".icon-image", "36" ], - [ ".icon-popout", "37" ], - [ ".icon-move", "39" ], - [ ".icon-compose-grid", "3a" ], - [ ".icon-compose-minigrid", "3b" ], - [ ".icon-compose-list", "3c" ], - [ ".icon-edit", "40" ], - [ ".icon-clear-timeline", "41" ], - [ ".icon-sliders", "42" ], - [ ".icon-custom-timeline", "43" ], - [ ".icon-compose-dm", "44" ], - [ ".icon-bg-dot", "45" ], - [ ".icon-user-team-mgr", "46" ], - [ ".icon-user-switch", "47" ], - [ ".icon-conversation", "48" ], - [ ".icon-dataminr", "49" ], - [ ".icon-link", "4a", ], - [ ".icon-flash", "50" ], - [ ".icon-pointer-u", "51" ], - [ ".icon-analytics", "54" ], - [ ".icon-heart", "55" ], - [ ".icon-calendar", "56" ], - [ ".icon-attachment", "57" ], - [ ".icon-play", "58" ], - [ ".icon-bookmark", "59" ], - [ ".icon-play-badge", "60" ], - [ ".icon-gif-badge", "61" ], - [ ".icon-poll", "62" ], + [ "twitter-bird", "00" ], + [ "mention", "01" ], + [ "following", "02" ], + [ "message", "03" ], + [ "home", "04" ], + [ "hashtag", "05" ], + [ "reply", "06" ], + [ "favorite", "55" ], + [ "retweet", "08" ], + [ "drafts", "09" ], + [ "search", "0a" ], + [ "trash", "0c" ], + [ "close", "0d" ], + [ "arrow-r:before,.Icon--caretRight", "0e" ], + [ "arrow-l:before,.Icon--caretLeft", "0f" ], + [ "protected", "13" ], + [ "list", "14" ], + [ "camera", "15" ], + [ "more", "16" ], + [ "settings", "18" ], + [ "notifications", "19" ], + [ "user-dd", "1a" ], + [ "activity", "1c" ], + [ "trending", "1d" ], + [ "minus", "1e" ], + [ "plus", "1f" ], + [ "geo", "20" ], + [ "check", "21" ], + [ "schedule", "22" ], + [ "dot", "23" ], + [ "user", "24" ], + [ "content", "25" ], + [ "arrow-d:before,.Icon--caretDown", "26" ], + [ "arrow-u", "27" ], + [ "share", "28" ], + [ "info", "29" ], + [ "verified", "2a" ], + [ "translator", "2b" ], + [ "blocked", "2c" ], + [ "constrain", "2d" ], + [ "play-video", "2e" ], + [ "empty", "2f" ], + [ "clear-input", "30" ], + [ "compose", "31" ], + [ "mark-read", "32" ], + [ "arrow-r-double", "33" ], + [ "arrow-l-double", "34" ], + [ "follow", "35" ], + [ "image", "36" ], + [ "popout", "37" ], + [ "move", "39" ], + [ "compose-grid", "3a" ], + [ "compose-minigrid", "3b" ], + [ "compose-list", "3c" ], + [ "edit", "40" ], + [ "clear-timeline", "41" ], + [ "sliders", "42" ], + [ "custom-timeline", "43" ], + [ "compose-dm", "44" ], + [ "bg-dot", "45" ], + [ "user-team-mgr", "46" ], + [ "user-switch", "47" ], + [ "conversation", "48" ], + [ "dataminr", "49" ], + [ "link", "4a", ], + [ "flash", "50" ], + [ "pointer-u", "51" ], + [ "analytics", "54" ], + [ "heart", "55" ], + [ "calendar", "56" ], + [ "attachment", "57" ], + [ "play", "58" ], + [ "bookmark", "59" ], + [ "play-badge", "60" ], + [ "gif-badge", "61" ], + [ "poll", "62" ], - [ ".icon-heart-filled", "55" ], - [ ".icon-retweet-filled", "08" ], - [ ".icon-list-filled", "14" ], - [ ".icon-user-filled", "35" ], + [ "heart-filled", "55" ], + [ "retweet-filled", "08" ], + [ "list-filled", "14" ], + [ "user-filled", "35" ], ]; this.icons = document.createElement("style"); @@ -525,7 +525,7 @@ enabled(){ font-style: normal; } -${iconData.map(entry => `#tduck ${entry[0]}:before{content:\"\\f0${entry[1]}\";font-family:_of!important}`).join("")} +${iconData.map(entry => `#tduck .icon-${entry[0]}:before{content:\"\\f0${entry[1]}\";font-family:_of!important}`).join("")} .drawer .btn .icon, .app-header .btn .icon { line-height: 1em !important } .app-search-fake .icon { margin-top: -3px !important }