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

از ویکی داد
پرش به ناوبری پرش به جستجو
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۴ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<div class="law-article-box" style="direction:rtl; text-align:right; margin:28px 0; padding:0; background:#fff; border:1px solid #d9e4e2; border-right:5px solid #168477; border-radius:10px; overflow:hidden; box-shadow:0 3px 15px rgba(20,60,55,0.06);">
<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; align-items:stretch; direction:rtl;">
<div style="display:flex; direction:rtl; align-items:stretch;">


<!-- ستون شماره و وضعیت -->
<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:76px; flex:0 0 76px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:10px 4px; background:#f1f7f5; border-left:1px solid #dfe9e7; box-sizing:border-box;">
<div style="font-size:10px; color:#58736e; line-height:1.3;">
 
<div style="font-size:11px; color:#78909c; line-height:1.3;">
ماده
ماده
</div>
</div>


<div style="font-size:30px; font-weight:800; color:#11695f; line-height:1.15;">
<div style="font-size:31px; font-weight:800; color:#245b55; line-height:1.1;">
{{{شماره|}}}
{{{شماره|}}}
</div>
</div>


<div style="margin-top:5px; padding:2px 7px; background:{{#ifeq:{{{وضعیت|معتبر}}}|معتبر|#edf7f2|{{#ifeq:{{{وضعیت|}}}|اصلاح‌شده|#fff8e8|#f9eeee}}}}; border:1px solid {{#ifeq:{{{وضعیت|معتبر}}}|معتبر|#c9e5d8|{{#ifeq:{{{وضعیت|}}}|اصلاح‌شده|#ead9a9|#e4c8c8}}}}; border-radius:12px; color:{{#ifeq:{{{وضعیت|معتبر}}}|معتبر|#287653|{{#ifeq:{{{وضعیت|}}}|اصلاح‌شده|#80651f|#9a4545}}}}; font-size:9px; font-weight:bold; line-height:1.3; white-space:nowrap;">
<div style="margin-top:5px; font-size:9px; font-weight:bold; color:#3e776f; line-height:1.3;">
● {{{وضعیت|معتبر}}}
● {{{وضعیت|معتبر}}}
</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="flex:1; min-width:0; padding:8px 17px 14px; box-sizing:border-box;">
 
<div style="font-size:10px; color:#78909c; line-height:1.4; margin-bottom:3px;">
قانون کار جمهوری اسلامی ایران
</div>
 
<div style="border-right:3px solid #c49a3a; padding-right:12px;">
 
<div class="law-article-text" style="font-size:15.5px; color:#263f3c; line-height:2.15; text-align:justify;">
{{{متن|}}}
{{{متن|}}}
</div>
</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="display:flex; align-items:stretch; min-height:46px; background:#f7faf9; border-top:1px solid #dfe9e7;">


<div style="flex:1; display:flex; align-items:center; justify-content:center; padding:7px 10px; border-left:1px solid #dfe9e7; font-size:13px; font-weight:bold;">
<div style="flex:1; min-width:0;">
 
[[{{{قبل}}}|
{{#if:{{{قبل|}}}|
<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;">
<span style="color:#176c88;">
← &nbsp; ماده قبل
[[{{{قبل}}}|← &nbsp; ماده قبل]]
</span>
</span>
]]
</div>
}}
}}


</div>
{{#if:{{{فهرست|}}}|
 
 
<div style="flex:1.15; display:flex; align-items:center; justify-content:center; padding:7px 10px; background:#edf7f4; border-left:1px solid #dfe9e7; font-size:13px; font-weight:800;">


{{#if:{{{فهرست|}}}|
<div style="flex:1.15; min-width:0;">
<span style="color:#11695f;">
[[{{{فهرست}}}|
[[{{{فهرست}}}|☰ &nbsp; فهرست مواد]]
<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>
{{#if:{{{بعد|}}}|


 
<div style="flex:1; min-width:0;">
<div style="flex:1; display:flex; align-items:center; justify-content:center; padding:7px 10px; font-size:13px; font-weight:bold;">
[[{{{بعد}}}|
 
<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;">
{{#if:{{{بعد|}}}|
ماده بعد &nbsp; →
<span style="color:#176c88;">
[[{{{بعد}}}|ماده بعد &nbsp; →]]
</span>
</span>
]]
</div>
}}
}}
</div>


</div>
</div>


</div>
</div>

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

ماده

● معتبر