Newer
Older
activity-manager / public / styles / nav.css
@Kilian Riou Kilian Riou on 8 Feb 2021 799 bytes Card styles
nav {
	height: 100%;
	position: fixed;
	background-color: var(--primary-dark);
	width: 12em;
	box-shadow: 0 0 0.5em black;
	padding-left: 1em;
	padding-right: 1em;
}

.nav-category {
	text-transform: uppercase;
	color: var(--secondary);
	font-size: 0.75em;
	font-weight: normal;
	margin-top: 5em;
	margin-bottom: 0;
}

nav li {
	list-style-type: none;
}

nav ul, nav ul *, nav ul *:hover {
	color: var(--secondary-light);
	font-size: 1em;
	font-weight: bold;
	margin: 0;
	padding: 0.2em;
	border-radius: 0.2em;
	transition: background-color 0.25s linear;
}

nav ul:hover {
	background-color: var(--primary);
	transition: none;
}

.nav-selected, .nav-selected:hover {
	background: none;
	margin-left: 1em;
	transition: none;
}

nav .icon {
	display: inline-block;
	margin-right: 0.5em;
	width: 1em;
}