MediaWiki:Common.js: различия между версиями
Внешний вид
Glamyr (обсуждение | вклад) Отмена версии 8958, сделанной Glamyr (обсуждение) Метка: отмена |
Glamyr (обсуждение | вклад) Нет описания правки |
||
| Строка 30: | Строка 30: | ||
const names = { 'theme-stddark': 'Standard Dark', 'theme-nanotrasen': 'Nanotrasen TGUI', 'theme-syndicate': 'Syndicate TGUI', 'theme-plasmafire': 'Plasmafire', 'theme-clockcult': 'Clock Cult', 'theme-bloodcult': 'Blood Cult', 'theme-heretic': 'Heretic', 'theme-default': 'Standard Light' }; | const names = { 'theme-stddark': 'Standard Dark', 'theme-nanotrasen': 'Nanotrasen TGUI', 'theme-syndicate': 'Syndicate TGUI', 'theme-plasmafire': 'Plasmafire', 'theme-clockcult': 'Clock Cult', 'theme-bloodcult': 'Blood Cult', 'theme-heretic': 'Heretic', 'theme-default': 'Standard Light' }; | ||
classes.forEach(id => { | classes.forEach(id => { | ||
selectHtml += | selectHtml += '<div class="vector-dropdown-content" id="p-tg-dropdown-menu" style="padding: 8px; min-width: 180px; display: none; position: absolute; top: 110%; right: 0; z-index: 10000; background-color: var(--bg-card, #282a2d) !important; border: 1px solid var(--border-color, #3f4348) !important; border-radius: 6px !important; box-shadow: 0 4px 15px rgba(0,0,0,0.6) !important;">'; | ||
}); | }); | ||
selectHtml += '</ul></div></div>'; | selectHtml += '</ul></div></div>'; | ||