Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:VHModIcon/styles.css

Template page
.vho-mod-icon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #4a4a4a;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.vho-mod-icon:hover {
    background: #5a5a5a;
    border-color: #888;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.vho-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.vho-mod-icon:hover .vho-tooltip {
    opacity: 1;
}

.vho-mod-placeholder {
    background: transparent;
    border: 2px dashed #666;
    border-radius: 8px;
    padding: 12px;
    height: 74px;
}

/* Flyout Modal Styles */
.vho-flyout {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.vho-flyout.active {
    opacity: 1;
    visibility: visible;
}

.vho-flyout-content {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.vho-flyout.active .vho-flyout-content {
    transform: translateY(0);
}

.vho-flyout-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #444;
}

.vho-flyout-icon {
    margin-right: 16px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.vho-flyout-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.vho-flyout-description {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

.vho-flyout-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.vho-flyout-link {
    background: #444;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
}

.vho-flyout-link:hover {
    background: #555;
}

.vho-flyout-link.curseforge {
    background: #f16436;
}

.vho-flyout-link.wiki {
    background: #36a9f1;
}

.vho-flyout-link.documentation {
    background: #6bb6ff;
}

.vho-flyout-link.support {
    background: #7289da;
}

.vho-flyout-note {
    background: #3a3a3a;
    padding: 12px;
    border-radius: 6px;
    color: #ffcc66;
    font-style: italic;
    margin-bottom: 16px;
}

.vho-flyout-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.vho-flyout-close:hover {
    color: white;
}