MediaWiki:Test.css: различия между версиями

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 57: Строка 57:
     cursor: pointer;
     cursor: pointer;
     padding: 5px;
     padding: 5px;
}
.custom-audio-volume-wrapper {
    position: absolute;
    left: 100%;  /* Слева от кнопки громкости */
    top: 50%;
    transform: translateY(-50%);
    display: none;  /* Скрыто по умолчанию */
    background-color: #111;  /* Черный фон */
    padding: 5px;
    border-radius: 8px;
    border: 2px solid #2a56a1; /* Синяя обводка */
    box-shadow: 0 0 10px rgba(42, 86, 161, 0.8); /* Подсветка */
}
}


.custom-audio-volume {
.custom-audio-volume {
     width: 100px;
     width: 100px;
    height: 100px;
     margin-left: 10px;
     margin-left: 10px;
     transform-origin: center center;
     background-color: #333;
    border-radius: 4px;
}
}

Версия от 20:57, 16 апреля 2025

.custom-audio-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #111;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 480px;
    color: white;
    font-family: monospace;
    justify-content: space-between;
    border: 2px solid #2a56a1;
    box-shadow:
        0 0 8px rgba(42, 86, 161, 0.6),
        0 0 20px rgba(42, 86, 161, 0.4);
}

.custom-audio-play {
    background: #2a56a1;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.custom-audio-play:hover {
    background: #447fbc;
    transform: scale(1.05);
}

.custom-audio-progress {
    flex-grow: 1;
    height: 6px;
    border-radius: 4px;
    background: #333;
    outline: none;
    accent-color: #2a56a1;
}

.custom-audio-time {
    min-width: 45px;
    text-align: right;
    font-size: 12px;
    color: #d6e4f1;
    padding-left: 10px;
    padding-right: 5px;
}

.custom-audio-volume-btn {
    background: transparent;
    color: #fff;
    font-size: 20px;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.custom-audio-volume {
    width: 100px;
    margin-left: 10px;
    background-color: #333;
    border-radius: 4px;
}