dev

Note: After publishing, you may have to bypass your browser's cache to see the changes.

/**
 * Stylesheet: UserProfilePopup
 * Author: Marisa1980
 * Description: Import and display CSS for MediaWiki:UserProfilePopup.js
 * Other: This stylesheet can not run on mobile site
**/

.UserProfilePopup__popup {
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 11px;
	left: 0;
	margin-top: 5px;
	background: var(--theme-body-background-color);
	border: 3px solid var(--theme-accent-color);
	border-radius: 12px;
	padding: 16px;
	width: 315px;
	z-index: 9999;
	font-family: sans-serif;
	box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.UserProfilePopup__block:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-image: url("/extensions-ucp/mw143/CurseProfile/img/blocked.png");
	background-size: 100%;
	background-repeat: no-repeat;
	pointer-events: none;
	z-index: 1;
}

.UserProfilePopup__container:hover .UserProfilePopup__popup,
.UserProfilePopup__socialWrapper:hover .UserProfilePopup__socialPanel {
	opacity: 1;
	transition: opacity 0.5s ease;
	pointer-events: auto;
}


.UserProfilePopup__header {
	display: flex;
	align-items: flex-start;
}

.UserProfilePopup__avatar {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	margin-right: 12px;
	object-fit: cover;
}

.UserProfilePopup__name {
	word-break: break-word;
	line-height: 20px;
	font-size: 18px;
	font-weight: bold;
	color: var(--theme-page-text-color);
}

.UserProfilePopup__aka {
	margin-top: 3px;
	margin-bottom: 5px;
	line-height: 15px;
	font-size: 12px;
	color: rgba(var(--theme-page-text-color--rgb),.8);
}

.UserProfilePopup__stats {
	font-size: 14px;
	color: var(--theme-page-text-color);
}

.UserProfilePopup__roles {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	margin-top: 4px;
	max-height: 110px;
	overflow-x: hidden;
}

.UserProfilePopup__role {
	display: inline-block;
	background: rgba(var(--theme-link-color--rgb),.3);
	color: var(--theme-page-text-color);
	border-radius: 3px;
	padding: 3px 8px;
	margin: 2px 2px 2px 0;
	font-size: 11px;
}

.UserProfilePopup__bio {
	word-break: break-word;
	margin-top: 10px;
	line-height: 14px;
	font-size: 12px;
	color: rgba(var(--theme-page-text-color--rgb),.8);
	max-height: 110px;
	overflow-x: hidden;
}

.UserProfilePopup__buttons {
	display: flex;
	margin-top: 12px;
}

.UserProfilePopup__button {
	color: var(--theme-page-text-color);
	border: 1px solid #cccccc;
	background: linear-gradient(to bottom, whitesmoke 35%, #e5e5e5 65%);
	position: relative;
	margin: 3px 5px 0 0;
	padding: 0 8px;
	height: 21px;
	border-radius: 4px;
	font-size: 12px;
	font-style: normal;
	font-weight: 100;
	text-transform: none;
	transition: background 0.3s;
}

.theme-fandomdesktop-dark .UserProfilePopup__button {
	color: var(--theme-page-text-color);
	border: 1px solid #cccccc;
	background: linear-gradient(to bottom, var(--theme-page-text-mix-color) 25%, var(--theme-page-text-mix-color-95) 65%);
	position: relative;
	margin: 3px 5px 0 0;
	padding: 0 8px;
	height: 21px;
	border-radius: 4px;
	font-size: 12px;
	font-style: normal;
	font-weight: 100;
	text-transform: none;
	transition: background 0.3s;
}

.UserProfilePopup__button:hover {
	color: var(--theme-page-text-color);
	background: linear-gradient(to bottom, whitesmoke 35%, #dbdbdb 65%);
	text-decoration: none;
}

.UserProfilePopup__button:active {
	color: var(--theme-page-text-color);
	background: linear-gradient(to bottom, whitesmoke 35%, #c2c2c2 65%);
	text-decoration: none;
}

.theme-fandomdesktop-dark .UserProfilePopup__button:hover {
	color: var(--theme-page-text-color);
	background: linear-gradient(to bottom, var(--theme-page-text-mix-color) 5%, var(--theme-page-text-mix-color-95) 65%);
	text-decoration: none;
}

.theme-fandomdesktop-dark .UserProfilePopup__button:active {
	color: var(--theme-page-text-color);
	background: linear-gradient(to bottom, var(--theme-page-text-mix-color) 5%, var(--theme-page-text-mix-color-95) 25%);
	text-decoration: none;
}

.UserProfilePopup__socialWrapper {
	position: relative;
}

.UserProfilePopup__dots {
	color: var(--theme-page-text-color);
}

.UserProfilePopup__socialPanel {
	position: absolute;
	top: -55px;
	right: 0;
	display: flex;
	gap: 6px;
	background: var(--theme-page-background-color, #fff);
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 6px;
	height: 55px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	z-index: 999;
}

.UserProfilePopup__socialLink {
	color: var(--theme-link-color);
}

.UserProfilePopup__socialLink svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	vertical-align: middle;
}

.UserProfilePopup__socialLink-discord {
	display: block;
	font-size: 10px;
	line-height: normal;
}