Jump to content

User:Fred Gandt/quickLinks.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
#fg-quick-links-switch {
	text-decoration: none;
	padding: .5em .2em;
	font-size: 1.7em;
	background: none;
	height: 1.46em;
	color: #ffbc41;
	width: 1em;
}
#fg-quick-links-switch::before {
	content: "\02606";
}
#fg-quick-links-switch.fg-quick-links::before {
	content: "\02605";
}
#fg-quick-links-view {
	text-decoration: none;
	padding: .8em .3em;
	background: none;
	font-size: 1.1em;
	height: 2.3em;
	color: unset;
	opacity: .5;
	width: 2em;
}
#fg-quick-links-view::before {
	content: "\1F50D";
}
#fg-quick-links span > span {
	display: inline;
}
#fg-quick-links span > div {
	display: none;
	position: absolute;
	min-width: 300px;
	background: #fff;
	z-index: 2000;
	margin-top: 2.2em;
	padding: 1em;
	border: 1px solid #a7d7f9;
	border-radius: 3px;
	box-shadow: 2px 2px 15px -2px rgba(0, 0, 0, 0.5);
}
#fg-quick-links-ql {
	max-height: calc( 80vh - 13em );
    padding-right: 2em;
	overflow: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
}
#fg-quick-links-ql ul {
	float: none !important;
	background: none;
}
#fg-quick-links-ql ul.fg-quick-links-empty {
	display: none;
}
#fg-quick-links-ql li {
	float: none !important;
	height: auto;
	background: none;
}
#fg-quick-links-ql li.fg-quick-links-title {
	font-weight: bold;
	color: #666;
	cursor: pointer;
}
#fg-quick-links-ql li:not( .fg-quick-links-title ) {
	display: none;
    margin-left: 1.3em;
}
#fg-quick-links-ql li a {
	padding: 0;
	float: none;
	height: auto;
	display: block;
	margin-left: 1.3em;
	background-image: none;
}
#fg-quick-links-ql ul li.fg-quick-links-title::before {
	content: '►\A0';
	float: left;
	color: #aaa;
}
#fg-quick-links-ql ul.fg-quick-links-open li.fg-quick-links-title::before {
	content: '▼\A0';
}
#fg-quick-links-ql li:not( [class=fg-quick-links-title] )::before {
	content: 'x';
	float: left;
	color: #fff;
	background: rgba( 255, 0, 0, 0.5 );
	border-radius: 100%;
	padding: 1px 3px;
	font-size: 10px;
	line-height: 10px;
	margin-top: 2px;
	cursor: pointer;
}
#fg-quick-links input {
	margin-bottom: 1em;
	width: calc( 100% - 2em - 2px );
	padding: 0.5em 1em 0.6em;
	border: 1px solid #aaa;
	border-radius: 3px;
}
#fg-quick-links button {
	display: none;
	margin-top: 1em;
}
#p-views,
#fg-quick-links span:hover > div,
#fg-quick-links.fg-quick-links button,
#fg-quick-links.fg-quick-links span > div,
#fg-quick-links-ql ul.fg-quick-links-open li {
	display: block;
}