2020-06-12 17:44:24 +00:00
|
|
|
// Namespace button
|
|
|
|
#p-namespaces {
|
|
|
|
position: relative;
|
2021-01-18 20:18:39 +00:00
|
|
|
padding-top: 2.4rem;
|
2021-01-11 16:45:52 +00:00
|
|
|
float: right;
|
2020-06-12 17:44:24 +00:00
|
|
|
|
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end; // Right align
|
2021-01-18 20:18:39 +00:00
|
|
|
margin: 0;
|
2020-06-12 17:44:24 +00:00
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0.4rem 0.8rem;
|
2021-01-12 19:31:35 +00:00
|
|
|
border: 1px solid var( --border-color-base--lighter );
|
|
|
|
background-color: var( --background-color-framed );
|
|
|
|
color: var( --color-base--subtle );
|
2020-06-12 17:44:24 +00:00
|
|
|
transition: @transition-background-quick, @transition-box-shadow-quick;
|
|
|
|
.boxshadow(1);
|
|
|
|
|
|
|
|
&:hover {
|
2021-01-12 19:31:35 +00:00
|
|
|
background-color: var( --background-color-framed--hover );
|
2020-06-12 17:44:24 +00:00
|
|
|
.boxshadow(2);
|
|
|
|
}
|
|
|
|
|
2021-01-12 19:31:35 +00:00
|
|
|
&:active {
|
|
|
|
background-color: var( --background-color-framed--active );
|
|
|
|
.boxshadow(0);
|
|
|
|
}
|
|
|
|
|
2020-06-12 17:44:24 +00:00
|
|
|
&:after {
|
|
|
|
position: relative;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2021-01-11 16:45:52 +00:00
|
|
|
order: -1;
|
2020-06-12 17:44:24 +00:00
|
|
|
margin-right: 8px;
|
|
|
|
background-position: center;
|
2021-01-11 16:45:52 +00:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: contain;
|
|
|
|
content: '';
|
2021-01-14 17:20:15 +00:00
|
|
|
opacity: var( --opacity-icon-base );
|
2020-06-12 17:44:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-09 21:56:28 +00:00
|
|
|
.skin-citizen-dark {
|
|
|
|
#p-namespaces {
|
|
|
|
ul li a {
|
|
|
|
&:after {
|
|
|
|
filter: invert( 1 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|