MediaWiki:Vector-darkmode.less/infoboxes.less

De RuneScape Wiki
Ir para: navegação, pesquisa
// <pre>
/* ========================
          infoboxes
   ======================== */

.rsw-infobox {
    background: @dark-infobox-background;

    .infobox-header {
        background: @dark-infobox-header;
        border-color: @dark-infobox-background;
    }

    .infobox-subheader {
        background: @dark-infobox-subheader;
        border-color: @dark-infobox-background;
    }

    .infobox-image.bordered-image {
        border: none;
    }
    
    .infobox-image.fill-image {
    	border-color: @dark-infobox-background;
    }

    .infobox-map {
        border-color: @dark-infobox-background;
    }

    th:not(.infobox-header):not(.infobox-subheader):not(.info-right-left-border):not(.info-right-border-0):not(.info-right-border-1) {
        border-left: none;
        border-right-color: @dark-infobox-border;
    }

    td {

        &:not(.infobox-image):not(.infobox-map) {
            border-right: none;

                &:not(.info-right-left-border):not(.info-right-border-0):not(.info-right-border-1) {
                border-right: none;
                }
        }
        
        &[colspan="2"] {
            border: none;
        }

    }

}

// Infobox bônus
.infobox-bonus {
	background: @dark-infobox-background;

    .infobox-header {
        background: @dark-infobox-header;
        border-color: @dark-infobox-background;
    }
    
    tr,
    th {
    	border: none;
    }

    th {
        background: @dark-infobox-subheader;
    }
    
    // "Compare" button
    .oo-ui-labelElement-label {
        color: #222;
    }

}

// Template:Disassembly
#DisassemblyT .disassembly-border {
    border-top-color: @dark-infobox-background;
}

// Template:InfoRow
.infotableBonuses {

	.attribute-value,
	.attribute-total,
	.attribute-total .attribute-value {
		background: saturate( darken( @dark-wikitable-background, 3% ), 3% );
	}

}

// Infobox missão
.infobox-missao {
	background-color: @pickled-bluewood;
	
	.header {
		color: @white;
		background-color: @big-stone;
	}
	
	> tbody {
		
		> tr > th {
			color: @white;
			background-color: @cloud-burst;
		}
		
	}
	
}