Skip to content

Node.js based forum software built for the modern web

1.6 KB
Raw Blame
// fixes for global skin issues


.skin-quartz {
	p > code {
		color: #ffffff;
		font-weight: 600;
		font-size: 1rem;
		text-shadow: 1px 1px black;
	}
	.dropdown-header {
		color: white;
	}
	.card:has(.dropdown-menu.show) {
  		backdrop-filter: none;
	}
	.card {
		box-shadow: inset 1px 1px rgba(255, 255, 255, 0.2),
			inset -1px -1px rgba(255, 255, 255, 0.1),
			1px 3px 8px -1px rgba(0, 0, 0, 0.15);
	}
	.tag-list .tag:before {
		// quartz uses gradient for body bg
		background: linear-gradient(90deg, rgb(51.3, 182.7, 225.9), rgb(93.6, 98.1, 175.5), rgb(220.4, 47.5, 124.45));
  		background-attachment: fixed;
		transform: initial;
		top: 6px;
	}
	.composer .resizer {
		background: transparent;
	}
}

.skin-brite {
	.btn-link {
		background: $body-bg;
	}
}

// these skins have very light text/link-secondary  :/
.skin-brite, .skin-simplex, .skin-cerulean, .skin-lumen, .skin-lux,
.skin-materia, .skin-morph, .skin-yeti, .skin-zephyr {
	.text-secondary, .link-secondary {
		color: var(--bs-secondary-color) !important;
	}
	.link-secondary:hover {
		color: color-mix(in srgb, var(--bs-secondary-color) 80%, black)!important;
		text-decoration-color: color-mix(in srgb, var(--bs-secondary-color) 80%, black)!important;
	}
}

// fix minty buttons
.skin-minty .btn {
	color: initial!important;
}

.skin-litera {
	.badge {
		padding: 0.25rem 0.5rem;
	}
}

:root {
	.skin-slate {
		--bs-primary-rgb: #{lighten($primary, 10%)};
	}
	.skin-darkly, .skin-slate, .skin-cyborg {
		--bs-border-color: #929292;
	}
	.skin-zephyr {
		--bs-secondary-rgb: var(--bs-secondary-color);
	}
	.skin-quartz {
		.table{
			--bs-table-bg: transparent!important;
		}
	}
}