MediaWiki:Custom-common.less/inventory.less

/* // Inventory slot (Module:Inventory slot) // Taken from corresponding template of same name on minecraft.gamepedia.com // and modified for use on this wiki .mw-parser-output .invslot { position: relative; display: inline-block; background: #8B8B8B no-repeat center center / 32px 32px; border: 2px solid; border-color: #373737 #FFF #FFF #373737; width: 32px; height: 32px; font-size: 16px; line-height: 1; text-align: left; vertical-align: bottom; box-sizing: content-box; } .mw-parser-output .invslot-item, .mw-parser-output .invslot-item > a:first-child:not(.invslot-hover-overlay) { position: relative; display: block; margin: -2px; padding: 2px; width: 32px; height: 32px; } .mw-parser-output .invslot-stacksize { position: absolute; right: 0; bottom: 2px; font-family: Minecraft, sans-serif; font-weight: normal; font-size: 16px; color: #FFF; text-shadow: 1.5px 1.5px 0 #3F3F3F; filter: dropshadow(color=#3F3F3F, offx=2, offy=2); z-index: 2; text-align: right; } .mw-parser-output .invslot-hover-overlay { display: block; position: absolute; top: 2px; left: 2px; height: 32px; width: 32px; background-color: transparent; cursor: default; z-index: 3; } .mw-parser-output .invslot-hover-overlay:hover { background-color: rgba(255, 255, 255, 0.5); cursor: pointer; } .slot-image-follow { position: absolute; z-index: 5; } .mw-parser-output .invslot-large { padding: 8px; } .mw-parser-output .invslot-item-image > a.new:first-child { background: url(https://vignette.wikia.nocookie.net/hypixel-skyblock/images/3/30/Question.png/revision/latest/scale-to-width-down/24?cb=20190928151533) no-repeat center; width: 32px; height: 32px; text-indent: -9999px; overflow: hidden; }

.mcui { display: inline-block; position: relative; background-color: #C6C6C6; border: 2px solid; border-top-color: currentcolor; border-right-color: currentcolor; border-bottom-color: currentcolor; border-left-color: currentcolor; border-color: #DBDBDB #5B5B5B #5B5B5B #DBDBDB; padding: 6px; text-align: left; white-space: nowrap; vertical-align: bottom; } .mcui-text { font-family: minecraft; color: #2B2D2F; font-size: 14px; } .mcui-overarrow-text { position: absolute; top: 0; }

.mcui-returnbutton { position: absolute; top: 0; right: 20px; font-size: 22px; color: #B84000; cursor: pointer; transition: color 0.2s ease, transform 0.5s ease; } .mcui-returnbutton:hover { color: #e1926b; transform: rotate(20deg); } /* // Crafting Grid // Taken from minecraft.gamepedia.com /*/ .mcui-Crafting_Table > *, .mcui-Furnace > *, .mcui-Forging_Table > * { display: inline-block; vertical-align: top; } .mcui-Crafting_Table .mcui-row, .mcui-Forging_Table .mcui-row { display: flex; } .mcui-Crafting_Table .mcui-row td { display: inline-block; border: none; padding: 0 !important; }

.mcui-Crafting_Table > .mcui-arrow { background: url(https://vignette.wikia.nocookie.net/hypixel-skyblock/images/8/86/Grid_layout_Arrow_%28small%29.png) no-repeat; width: 32px; height: 26px; margin: 40px 4px 0; }

.mcui-Crafting_Table > .mcui-output { margin-top: 28px; }

/* // Forging Table .mcui-Forging_Table .mcui-row td { display: inline-block; border: none; padding: 0 !important; margin-top: 6px; }

.mcui-Forging_Table > .mcui-arrow { background: url(https://vignette.wikia.nocookie.net/hypixel-skyblock/images/8/86/Grid_layout_Arrow_%28small%29.png) no-repeat; width: 32px; height: 26px; margin: 12px 4px 0; }

.mcui-Forging_Table > .mcui-output { margin-top: 0px; }

/* // Furnace // Taken from minecraft.gamepedia.com .mcui-Furnace .mcui-fuel { display: block; background: url(https://vignette.wikia.nocookie.net/hypixel-skyblock/images/d/d8/Grid_layout_Fire.png) no-repeat; width: 36px; height: 36px; } /* .mcui-Furnace .mcui-fuel.mcui-inactive { background-image: url(/media/a/ab/Grid_layout_Fire_%28in-active%29.png); } */ .mcui-Furnace > .mcui-arrow { background: url(https://vignette.wikia.nocookie.net/hypixel-skyblock/images/8/8e/Grid_layout_Furnace_Progress.png) no-repeat; width: 44px; height: 32px; margin: 36px 18px 0 14px; } /* .mcui-Furnace > .mcui-arrow.mcui-inactive { background-image: url(/media/d/dc/Grid_layout_Furnace_Progress_%28in-active%29.png); } */

.mcui-Furnace > .mcui-output { margin-top: 28px; }

/* // Brewing Stand // Taken from minecraft.gamepedia.com .mcui-Brewing_Stand > * { display: block; }

.mcui-Brewing_Stand .invslot { vertical-align: top; }

.mcui-Brewing_Stand > .mcui-input { text-align: center; }

.mcui-Brewing_Stand > .mcui-input > .invslot { margin-top: 3px; }

.mcui-Brewing_Stand .mcui-bubbling, .mcui-Brewing_Stand .mcui-arrow { display: inline-block; background-repeat: no-repeat; width: 24px; height: 57px; }

/* .mcui-Brewing_Stand .mcui-bubbling { background-image: url(/media/6/65/Grid_layout_Brewing_Bubbles.gif); } */ /* .mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-bubbling { background-image: url(/media/d/db/Grid_layout_Brewing_Bubbles_%28In-active%29.png); } */

/* .mcui-Brewing_Stand .mcui-arrow { background-image: url(/media/4/4b/Grid_layout_Brewing_Arrow.png); } */ /* .mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-arrow { background-image: url(/media/5/59/Grid_layout_Brewing_Arrow_%28In-active%29.png); } */

.mcui-Brewing_Stand > .mcui-paths { position: relative; background: url(https://vignette.wikia.nocookie.net/hypixel-skyblock/images/8/82/Grid_layout_Brewing_Paths.png) no-repeat; width: 60px; height: 40px; margin: -20px auto -16px; z-index: 1; }

.mcui-Brewing_Stand .mcui-output .invslot { background-image: url(https://vignette.wikia.nocookie.net/hypixel-skyblock/images/5/59/Grid_layout_Brewing_Empty.png); } .mcui-Brewing_Stand .mcui-output2 { margin: 14px 10px 0; }