Шаблон:Test/Revamp.css: различия между версиями

Материал из МК14 | Space Station 14 Wiki
Нет описания правки
Нет описания правки
 
Строка 1: Строка 1:
.AmmoTest1, .AmmoTest2 {
.dps-calculator {
     transition: transform 0.3s ease;
     background: #1e1e1e;
     cursor: pointer;
    border: 2px solid #0C1C14;
     display: inline-block;
    border-radius: 8px;
    padding: 20px;
     max-width: 320px;
     margin: 20px auto;
}
 
.input-group {
    margin-bottom: 15px;
}
}


.active {
.input-group label {
     filter: brightness(1.2) drop-shadow(0 0 5px #3D5F12);
     display: block;
    color: #E4E4CC;
    margin-bottom: 5px;
    font-size: 0.9em;
}
}


.damage-display {
select {
     font-size: 1.2em;
     width: 100%;
     color: #FFD700;
    padding: 10px;
     font-weight: bold;
    background: #333;
     transition: opacity 0.3s;
     color: #E4E4CC;
     border: 1px solid #555;
    border-radius: 4px;
    cursor: pointer;
     font-size: 0.9em;
}
}


.updated {
.highlight {
     animation: damagePop 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
     color: #ff6666;
    font-size: 1.4em;
    padding: 15px;
    background: #2a2a2a;
    border-radius: 6px;
    margin-top: 20px;
}
}


@keyframes damagePop {
.highlight span:first-child {
    0% { transform: scale(1); }
     color: #E4E4CC;
     50% { transform: scale(1.15); }
     font-weight: normal;
     100% { transform: scale(1); }
}
}

Текущая версия от 13:29, 12 февраля 2025

.dps-calculator {
    background: #1e1e1e;
    border: 2px solid #0C1C14;
    border-radius: 8px;
    padding: 20px;
    max-width: 320px;
    margin: 20px auto;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    color: #E4E4CC;
    margin-bottom: 5px;
    font-size: 0.9em;
}

select {
    width: 100%;
    padding: 10px;
    background: #333;
    color: #E4E4CC;
    border: 1px solid #555;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.highlight {
    color: #ff6666;
    font-size: 1.4em;
    padding: 15px;
    background: #2a2a2a;
    border-radius: 6px;
    margin-top: 20px;
}

.highlight span:first-child {
    color: #E4E4CC;
    font-weight: normal;
}