MediaWiki:Gadget-ResourcePacks.css

.hsw-resourcepack-dropdown { display: flex; --svg-initial-color: white; --svg-initial-stroke: none; } .theme-fandomdesktop-light .hsw-resourcepack-dropdown { --svg-initial-color: lightgrey; --svg-initial-stroke: darkgrey; } .hsw-resourcepack-dropdown .wds-dropdown__toggle { line-height: 0; }

/* Community header icon colors */ .fandom-community-header__top-container .hsw-resourcepack-dropdown .hsw-dd-green { fill: #609153; opacity: 0.7; } .fandom-community-header__top-container .hsw-resourcepack-dropdown .hsw-dd-brown { fill: #6f5039; opacity: 0.7; } /* Sticky header icon colors */ .fandom-sticky-header .hsw-resourcepack-dropdown .hsw-dd-green { fill: #43653a; opacity: 0.5; } .fandom-sticky-header .hsw-resourcepack-dropdown .hsw-dd-brown { fill: #846145; opacity: 0.5; } body .hsw-resourcepack-dropdown:hover .hsw-dd-green, body .hsw-resourcepack-dropdown:hover .hsw-dd-brown { opacity: 1; }

.hsw-resourcepack-dropdown .wds-dropdown__content { padding: 0; border: 2px solid #c4a494; }

.hsw-pack-header { padding: 8px 6px 0; background: rgba(0,0,0,0.2); } .hsw-pack-header strong { display: block; text-align: center; font-size: 14px; padding-bottom: 8px; border-bottom: 1px solid currentColor; }

.hsw-pack-list li { position: relative; font-size: 14px; font-weight: 400; padding: 11px 9px; white-space: nowrap; } .hsw-pack-list li.unselected { opacity: 0.75; background-color: #aaaaaa33; margin-top: 2px; } .hsw-pack-list li:not(.default):hover { background-color: var(--wds-dropdown-linked-item-background-color); color: var(--wds-dropdown-linked-item-color); text-decoration: none; opacity: 1; cursor: pointer; } .hsw-pack-list li:not(.default):hover img[src$="Yes.svg"] { content: url(https://static.wikia.nocookie.net/hypixel-skyblock/images/c/cf/No.svg); }

.hsw-resourcepack-dropdown hr { margin-top: 0; }

/* Containers for pack data */ .hsw-pack-box { display: grid; grid-template-columns: auto 1fr auto; gap: 5px 10px; } .hsw-pack-box .check, .hsw-pack-box .pack-site { grid-row: span 2; display: flex; align-items: center; justify-content: center; } .hsw-pack-box .check { width: 20px; color: var(--svg-initial-color); stroke: var(--svg-initial-stroke); } .hsw-pack-box .check img, .hsw-pack-box .check svg { width: 18px; height: auto; } .hsw-pack-list li:not(.default):hover .check .hsw-plus { color: gold; stroke-width: 2; stroke: var(--theme-link-color); } .default .hsw-pack-box .check:before { content: ""; display: block; width: 18px; height: 18px; background: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/0/0b/DefaultPack.png/revision/latest/scale-to-width-down/18); } .hsw-pack-box .pack-site { width: 35px; color: var(--svg-initial-color); stroke: var(--svg-initial-stroke); } a.pack-site:hover { color: var(--theme-link-color); stroke-width: 1.5; stroke: gold; } .hsw-pack-box .pack-author { font-size: 12px; font-weight: normal; text-transform: none; }

/* Up/Down arrows */ .hsw-pack-box .pack-up, .hsw-pack-box .pack-down { position: absolute; display: none; fill: currentColor; color: var(--svg-initial-color); stroke: var(--svg-initial-stroke); } .hsw-pack-list li:hover .pack-up, .hsw-pack-list li:hover .pack-down { display: initial; } .hsw-pack-box .pack-up:hover, .hsw-pack-box .pack-down:hover { color: var(--theme-link-color); stroke-width: 1; stroke: gold; } .hsw-pack-box .pack-up { top: 0; transform: rotate(180deg); } .hsw-pack-box .pack-down { bottom: 0; } .hsw-pack-box .pack-up svg, .hsw-pack-box .pack-down svg { width: 18px; height: 18px; }