Xf2 Data SQL sorgular Kenar Çubuğu Widget'larına ve Diğerlerine Yazı Harika Simgeleri Ekleme

XFdestek

Kurucu Üye
XFD Üyesi
Katılım
25 May 2014
Mesajlar
832

İtibar:

extra.less ekle:
.block {
    h3:before {
        display: inline-block;
        font-family: FontAwesome;
        padding-right: 3px;
    }
    
    &[data-widget-section="staffMembers"] {
        h3:before {
             content: "\f0e3";
        }
    }

    &[data-widget-section="onlineNow"] {
        h3:before {
             content: "\f007";
        }
    }

    &[data-widget-definition="new_profile_posts"] {
        h3:before {
             content: "\f086";
        }
    }

    &[data-widget-definition="forum_statistics"] {
        h3:before {
             content: "\f080";
        }
    }

    &[data-widget-definition="share_page"] {
        h3:before {
             content: "\f14d";
        }
    }

    &[data-widget-definition="find_member"] {
        h3:before {
             content: "\f002";
        }
    }

    &[data-widget-definition="newest_members"] {
        h3:before {
             content: "\f234";
        }
    }

    &[data-widget-definition="birthdays"] {
        h3:before {
             content: "\f1fd";
        }
    }

    &[data-widget-definition="xfrm_new_resources"] {
        h3:before {
             content: "\f187";
        }
    }

    &[data-widget-definition="xfrm_top_resources"] {
        h3:before {
             content: "\f091";
        }
    }

    &[data-widget-definition="xfrm_latest_reviews"] {
        h3:before {
             content: "\f005";
        }
    }
    
    &[data-widget-key="xfrm_overview_top_authors"] {
        h3.block-minorHeader:before {
             content: "\f201";
        }
    }
 
    &[data-widget-definition="xfi_social_block_widget"] {
        h3:before {
             content: "\f1e1";
        }
    }

    &[data-widget-definition="jum_whv"] {
        h3:before {
             content: "\f0c0";
        }
    }
}
 
Üst Alt