MediaWiki:Vector.css: Difference between revisions

From aurawatch
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
/* Custom background color for Vector skin tabs */
/* Custom background color for Vector skin tabs */


.vector-menu-tabs-legacy h3 {
.vector-menu-tabs-legacy {
        float: left;
// Part of the css required to fix external link heights regardless of font size
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAuCAIAAABmjeQ9AAAAP0lEQVQI142NMQ7AMBDCbL8pVf//sw6XIdk6IGGBgPdZAb+lBCaGpIamJKZNx+rM2oylmY01oU7eWzQ/cv+AH6mcAVHtBfHqAAAAAElFTkSuQmCC);
//.vector-menu-content {
        background-image: url(/w/skins/Vector/images/tab-break.png?3c163)!ie;
// height: 100%; still needed?
        background-repeat: no-repeat;
//}
        background-position: bottom right;
 
        font-size: 1em;
// pixel padding for border
        height: 2.5em;
padding: 0;
        padding-right: 0.5em;
 
        margin-right: -1px
// redlink in tab
    }
.new {
a,
a:visited {
color: var(--redlink-color);
}
}
 
// selected tab
.selected {
background: var(--body-main);
 
a,
a:visited {
color: var(--text-color);
}
}
 
// padding for tabs
li a {
color: var(--vector-tab-link-color);
padding: 0 .75em;
padding-top: 1em;
 
&:visited {
color: var(--vector-tab-link-color);
}
}
 
// background for tabs
ul {
li {
background: var(--vector-tab-background);
}
 
a:hover {
text-decoration: none;
}
}
}





Revision as of 06:11, 21 May 2023

div.vectorTabs ul li#ca-history {
   display: none;
}

/* Custom background color for Vector skin tabs */

.vector-menu-tabs-legacy {
	// Part of the css required to fix external link heights regardless of font size
	//.vector-menu-content {
	//	height: 100%; still needed?
	//}

	// pixel padding for border
	padding: 0;

	// redlink in tab
	.new {
		a,
		a:visited {
			color: var(--redlink-color);
		}
	}

	// selected tab
	.selected {
		background: var(--body-main);

		a,
		a:visited {
			color: var(--text-color);
		}
	}

	// padding for tabs
	li a {
		color: var(--vector-tab-link-color);
		padding: 0 .75em;
		padding-top: 1em;

		&:visited {
			color: var(--vector-tab-link-color);
		}
	}

	// background for tabs
	ul {
		li {
			background: var(--vector-tab-background);
		}

		a:hover {
			text-decoration: none;
		}
	}
}


/* Inactive tab background color */
.vector-menu-tabs-legacy li {
        display: inline-block;
        height: 1.9em;
        padding-left: 0.625em;
        padding-right: 0.625em;
        color: #688ba8;
        cursor: pointer;
        font-size: 0.8em
}

.vector-menu-tabs-legacy li a {
        display: inline-block;
        height: 1.9em;
        padding-left: 0.625em;
        padding-right: 0.625em;
        color: #688ba8;
        cursor: pointer;
        font-size: 0.8em
}