Шаблон:CheckboxCreator: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
Строка 6: | Строка 6: | ||
</div></div></div></div> | </div></div></div></div> | ||
<div class="customCSS" style="display:none">.outer-wrapper{display:flex;justify-content:left;align-items:left;font-family:Arial,sans-serif;color:#EFE8D8;font-weight:bold} | <div class="customCSS" style="display:none">.outer-wrapper{display:flex;justify-content:left;align-items:left;font-family:Arial,sans-serif;color:#EFE8D8;font-weight:bold} | ||
.checkbox-wrapper{padding: | .checkbox-wrapper{padding:20px;border:2px solid #9F2828;border-radius:10px;background-color:#27272e;box-shadow:0 4px 8px rgba(0,0,0,0.1);display:flex;align-items:center;cursor:pointer} | ||
.checkbox-wrapper label{margin-right:10px;cursor:pointer} | |||
.checkbox- | .checkbox-wrapper input[type="checkbox"]{appearance:none;width:20px;height:20px;border:2px solid #9F2828;border-radius:4px;position:relative;display:flex;justify-content:center;align-items:center;cursor:pointer} | ||
.checkbox- | .checkbox-wrapper input[type="checkbox"]::after{content:'';width:10px;height:10px;background-color:#9F2828;border-radius:2px;opacity:0;transition:opacity 0.2s ease} | ||
.checkbox- | .checkbox-wrapper input[type="checkbox"]:checked::after{opacity:1}</div> | ||
.checkbox- |