الگو:جعبه ماده: تفاوت میان نسخه‌ها

از ویکی داد
پرش به ناوبری پرش به جستجو
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۹ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<div class="law-article-box" style="direction:rtl; text-align:right; position:relative; overflow:hidden; margin:30px 0; padding:0; background:linear-gradient(135deg,#ffffff 0%,#f7fbfa 100%); border:1px solid #d9e7e4; border-right:7px solid #168477; border-radius:14px; box-shadow:0 5px 22px rgba(20,60,55,0.08);">
<div class="law-article-box" style="direction:rtl; text-align:right; width:92%; margin:28px auto; padding:0; background:#fffdf8; border:1px solid #d9dfdc; border-radius:6px; overflow:hidden;">


<!-- سربرگ ماده -->
<div style="height:3px; background:#2f6f68;"></div>


<div style="display:flex; justify-content:space-between; align-items:center; gap:15px; padding:15px 20px; background:linear-gradient(90deg,#f1f8f6,#ffffff); border-bottom:1px solid #dfeae8;">
<div style="display:flex; direction:rtl; align-items:stretch;">


<div style="display:flex; align-items:center; gap:11px;">
<div style="width:78px; flex:0 0 78px; box-sizing:border-box; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:10px 4px; background:#e8f0ed; border-left:1px solid #d5dfdb;">


<div style="width:40px; height:40px; display:flex; align-items:center; justify-content:center; flex-shrink:0; background:#168477; color:#ffffff; border-radius:10px; font-size:16px; font-weight:bold; box-shadow:0 2px 7px rgba(22,132,119,0.18);">
<div style="font-size:10px; color:#58736e; line-height:1.3;">
م
ماده
</div>
</div>


<div>
<div style="font-size:31px; font-weight:800; color:#245b55; line-height:1.1;">
 
{{{شماره|}}}
<div style="font-size:20px; font-weight:800; color:#11695f; line-height:1.5;">
ماده {{{شماره|}}}
</div>
 
<div style="margin-top:2px; font-size:11px; color:#78909c; line-height:1.7;">
قانون کار جمهوری اسلامی ایران
</div>
</div>


</div>
<div style="margin-top:5px; font-size:9px; font-weight:bold; color:#3e776f; line-height:1.3;">
 
</div>
 
<!-- وضعیت -->
 
<div style="padding:5px 12px; background:{{#ifeq:{{{وضعیت|معتبر}}}|معتبر|#edf7f2|{{#ifeq:{{{وضعیت|}}}|اصلاح‌شده|#fff8e8|#f9eeee}}}}; border:1px solid {{#ifeq:{{{وضعیت|معتبر}}}|معتبر|#c9e5d8|{{#ifeq:{{{وضعیت|}}}|اصلاح‌شده|#ead9a9|#e4c8c8}}}}; border-radius:20px; color:{{#ifeq:{{{وضعیت|معتبر}}}|معتبر|#287653|{{#ifeq:{{{وضعیت|}}}|اصلاح‌شده|#80651f|#9a4545}}}}; font-size:12px; font-weight:bold; line-height:1.5; white-space:nowrap;">
● {{{وضعیت|معتبر}}}
● {{{وضعیت|معتبر}}}
</div>
</div>
خط ۳۳: خط ۲۱:
</div>
</div>


<div style="flex:1; min-width:0; box-sizing:border-box; padding:14px 21px 16px; background:#fffdf8;">


<!-- متن ماده -->
<div style="font-size:17px; color:#303936; line-height:2.15; text-align:justify;">
 
{{{متن|}}}
<div style="position:relative; padding:28px 28px 27px;">
 
<div style="position:absolute; top:24px; right:17px; width:3px; height:58px; background:#c49a3a; border-radius:3px;">
</div>
</div>


<div class="law-article-text" style="padding-right:18px; font-size:16px; color:#263f3c; line-height:2.5; text-align:justify;">
{{{متن|}}}
</div>
</div>


</div>
</div>


<div style="display:flex; direction:rtl; align-items:center; justify-content:center; gap:8px; padding:10px 10px; background:#f1f4f2; border-top:1px solid #d9dfdc;">


<!-- ناوبری ماده -->
{{#if:{{{قبل|}}}|
 
<div style="padding:13px 20px; background:#fafcfb; border-top:1px solid #e2ebe9;">
 
<div style="display:flex; justify-content:space-between; align-items:center; gap:10px; direction:rtl; font-size:13px; line-height:2;">


<div style="flex:1; text-align:right;">
<div style="flex:1; min-width:0;">
{{#if:{{{قبل|}}}|
[[{{{قبل}}}|
<span style="color:#176c88;">
<span style="display:flex; align-items:center; justify-content:center; min-height:38px; box-sizing:border-box; padding:6px 8px; background:#ffffff; border:1px solid #cfdad6; border-radius:6px; color:#28706a; font-size:12px; font-weight:bold; white-space:nowrap;">
[[{{{قبل}}}|← ماده قبل]]
&nbsp; ماده قبل
</span>
</span>
]]
</div>
}}
}}
</div>


<div style="flex:1; text-align:center;">
{{#if:{{{فهرست|}}}|
{{#if:{{{فهرست|}}}|
<span style="font-weight:bold; color:#11695f;">
 
[[{{{فهرست}}}|فهرست مواد]]
<div style="flex:1.15; min-width:0;">
[[{{{فهرست}}}|
<span style="display:flex; align-items:center; justify-content:center; min-height:38px; box-sizing:border-box; padding:6px 8px; background:#dfeae6; border:1px solid #bfcfca; border-radius:6px; color:#245b55; font-size:12px; font-weight:800; white-space:nowrap;">
☰ &nbsp; فهرست مواد
</span>
</span>
]]
</div>
}}
}}
</div>


<div style="flex:1; text-align:left;">
{{#if:{{{بعد|}}}|
{{#if:{{{بعد|}}}|
<span style="color:#176c88;">
 
[[{{{بعد}}}|ماده بعد →]]
<div style="flex:1; min-width:0;">
[[{{{بعد}}}|
<span style="display:flex; align-items:center; justify-content:center; min-height:38px; box-sizing:border-box; padding:6px 8px; background:#ffffff; border:1px solid #cfdad6; border-radius:6px; color:#28706a; font-size:12px; font-weight:bold; white-space:nowrap;">
ماده بعد &nbsp;
</span>
</span>
]]
</div>
}}
}}
</div>
</div>


</div>
</div>


</div>
</div>

نسخهٔ کنونی تا ۱۰ سپتامبر ۲۰۲۶، ساعت ۱۵:۳۵

ماده

● معتبر