هيلبرنت | Helpernt

هيلبرنت | Helpernt (https://www.helpernt.com/vb/index.php)
-   ركن شروحات الزين فورو XENFORO (https://www.helpernt.com/vb/forumdisplay.php?f=94)
-   -   [ BBcode] : [شرح]- عمل عرض الشبكة في الموارد Grid layout for XFRM (https://www.helpernt.com/vb/showthread.php?t=7604)

maaidni 07-27-2018 01:44 PM

[شرح]- عمل عرض الشبكة في الموارد Grid layout for XFRM
 
السلام عليكم، لا شك أنك ترغب في الحصول على عرض الشبكة في الموارد ، مثل إضافة TH] NODE] .

رابط الإضافة:
كود:

https://www.themehouse.com/xenforo/2/addons/nodes
لكن هنا سنستخدم كود CSS بسيط يجب عليك وضعه في
كود:

Extra.less
واللذي سوف يغنيك عن الإضافة برمتها.

صورة قبل التعديل:

https://i.imgur.com/wIci9BK.png

صورة بعد التعديل:

https://i.imgur.com/hitD4AU.png

كود:

/* CODE_GRID-XFRM_MAAIDNI */
.structItem--resource {
    background-color: white !important;
    border-collapse: collapse;
    padding: 0px;
    width: 100%;
    min-height: 138px;
    height: 138px;
    height: auto;
    display: inline-block !important;
    margin: 9px 0px 0px 6px;
    max-width: 49% !important;
    max-height: 162px;
    box-sizing: border-box;
    vertical-align: top;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.structItem-cell--iconExpanded .structItem-iconContainer .avatar {
    width: 96px;
    height: 96px;
    font-size: 57.6px;
    margin-left: 3px;
}

.structItem--resource .structItem-cell--main {
    width: 100%;
    height: 112px;
}
.structItem--resource .structItem-cell--resourceMeta {
    display: block;
    width: auto !important;
    margin-top: -13px;
    margin-bottom: 15px;
}

span.avatar.avatar--s.avatar--separated.structItem-secondaryIcon {
    display: none;
}
.structItem--resource .ratingStarsRow--justified {
    border-bottom: 1px solid #dfdfdf;
    margin-bottom: 2px;
    padding-bottom: 2px;
}
.pairs.pairs--justified>dd {
    float: left;
    text-align: right;
    max-width: 100%;
}
.structItem--resource .structItem-metaItem--lastUpdate {
    float: right;
}
.structItem--resource .structItem-metaItem--downloads {
    float: left;
}
.structItem-cell.structItem-cell--icon.structItem-cell--iconExpanded {
    width: 120px;
}
div[data-type="resource"] .structItemContainer {
    background-color: #f5f5f5;
}
@media (max-width: 1125px) {
  .structItem--resource {
    max-width: calc(95%) !important;
  }
}
@media (max-width: 650px) {
  .structItem--resource {
    display: table !important;
    max-width: 100% !important;
    margin: 5px 5px 5px 0px;
    box-shadow: none;
    }
}
/* CODE_GRID-XFRM_MAAIDNI */

ملاحظة: إذا كان لديك استايل أسود استخدم الكود أسفله

كود:

/* CODE_GRID-XFRM_MAAIDNI */
.structItem--resource {
    background-color: Gris anthracite !important;
    border-collapse: collapse;
    padding: 0px;
    width: 100%;
    min-height: 138px;
    height: 138px;
    height: auto;
    display: inline-block !important;
    margin: 9px 0px 0px 6px;
    max-width: 49% !important;
    max-height: 162px;
    box-sizing: border-box;
    vertical-align: top;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.structItem-cell--iconExpanded .structItem-iconContainer .avatar {
    width: 96px;
    height: 96px;
    font-size: 57.6px;
    margin-left: 3px;
}

.structItem--resource .structItem-cell--main {
    width: 100%;
    height: 112px;
}
.structItem--resource .structItem-cell--resourceMeta {
    display: block;
    width: auto !important;
    margin-top: -13px;
    margin-bottom: 15px;
}

span.avatar.avatar--s.avatar--separated.structItem-secondaryIcon {
    display: none;
}
.structItem--resource .ratingStarsRow--justified {
    border-bottom: 1px solid #FFFF00;
    margin-bottom: 2px;
    padding-bottom: 2px;
}
.pairs.pairs--justified>dd {
    float: left;
    text-align: right;
    max-width: 100%;
}
.structItem--resource .structItem-metaItem--lastUpdate {
    float: right;
}
.structItem--resource .structItem-metaItem--downloads {
    float: left;
}
.structItem-cell.structItem-cell--icon.structItem-cell--iconExpanded {
    width: 120px;
}
div[data-type="resource"] .structItemContainer {
    background-color: #303030;
}
@media (max-width: 1125px) {
  .structItem--resource {
    max-width: calc(95%) !important;
  }
}
@media (max-width: 650px) {
  .structItem--resource {
    display: table !important;
    max-width: 100% !important;
    margin: 5px 5px 5px 0px;
    box-shadow: none;
    }
}
/* CODE_GRID-XFRM_MAAIDNI */


هيلبرنت 07-28-2018 12:53 PM

رد: [شرح]- عمل عرض الشبكة في الموارد Grid layout for XFRM
 
عشت ياباشا.

شروحات ناريه

for sat 07-28-2018 01:50 PM

رد: [شرح]- عمل عرض الشبكة في الموارد Grid layout for XFRM
 
ماشاءالله
شرح واضافة ولا اروع

abo-karim 07-28-2018 07:21 PM

رد: [شرح]- عمل عرض الشبكة في الموارد Grid layout for XFRM
 
الله عليك

واقسم بالله العظيم مبدع

maaidni 07-28-2018 09:01 PM

رد: [شرح]- عمل عرض الشبكة في الموارد Grid layout for XFRM
 
بارك الله فيكم جميعا

أرقـى الناس هو أقلهم حديثاً عن النـاس وأنقـى الناس هو أحسنهم ظناً بالنـاس وأتقـى الناس , هو أكثرهم سعياً في خدمة الناس.

MesterPerfect 07-30-2018 02:11 PM

رد: [شرح]- عمل عرض الشبكة في الموارد Grid layout for XFRM
 
الله يبارك فيك أخي ويجازيك خيرا


الساعة الآن 11:27 PM

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. TranZ By Almuhajir