Jump to content
CMSTOOLS.ru - форум поддержки и развития CMS

Recommended Posts

Для добавления иконок заходим Внешний вид -- Стили и шаблоны -- CSS. Вставляем в CUSTOM.CSS следующий код:

2016-01-31_09-20-27.png.29fa705321d4939737e5ad7c6c2ec976.png2016-01-31_09-21-26.png.55bd306889dadb02a38635ba7f6297dd.png

/* USER & NAVIGATION ICONS */
#elUserNav .fa-bell:before { content: "\f0f3"; }
#elUserNav .fa-envelope:before { content: "\f0e0"; }
#elUserNav .fa-warning:before { content: "\f071"; }

#elUserLink_menu a[href*="/admin"] i{ display: none; }

#elUserLink_menu a:before,
#ipsLayout_mainNav a:before,
#elCreateNew_menu a:before{
    content: "\f02b";
    font-family: "FontAwesome";
    font-size: 14px;
    font-weight: normal;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    {prefix="transform" value="translate(0,0)"}
}

#elUserLink_menu a:before, #elCreateNew_menu a:before{ display: inline-block; width: 22px; opacity: 0.7; }
#elUserLink_menu a:hover:before, #elCreateNew_menu a:hover:before{ opacity: 1; }

/* Não tenho certeza se o melhor método é href */
#elUserLink_menu a[href*="/profile/"]:before{ content: "\f007" }
#elUserLink_menu a[href='{url="app=core&module=messaging&controller=messenger" seoTemplate="messaging"}']:before{ content: "\f0e0" }
#elUserLink_menu a[href*="/content/"]:before{ content: "\f03a" }
#elUserLink_menu a[href*="/followed/"]:before{ content: "\f1d8" }
#elUserLink_menu a[href*="/attachments/"]:before{ content: "\f0c6" }
#elUserLink_menu a[href*="/settings/"]:before{ content: "\f013" }
#elUserLink_menu a[href*="/clients/"]:before{ content: "\f07a" }
#elUserLink_menu a[href*="edit"]:before{ content: "\f040" }
#elUserLink_menu a[href*="/ignore/"]:before{ content: "\f05e" }
#elUserLink_menu a[href*="/notifications/options/"]:before{ content: "\f0f3" }
#elUserLink_menu a[href*="/modcp/"]:before{ content: "\f046" }
#elUserLink_menu a[href*="/admin"]:before{ content: "\f023" }
#elUserLink_menu a[href*="/logout/"]:before{ content: "\f08b" }
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...