You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

172 lines
2.8 KiB
Plaintext

@import "../keyframes";
10 years ago
.modal-unfocused {
z-index: @zindex-modal - 5 !important;
}
10 years ago
.taskbar {
display: none;
left: 15px;
right: auto;
10 years ago
margin-top: 0;
.transition(.15s ease-in opacity);
10 years ago
background: none;
border: none;
10 years ago
&[data-active="1"] {
display: block;
}
&:hover {
-moz-opacity: 1;
opacity: 1;
}
&.navbar {
min-height: 32px;
}
.navbar-nav {
float: unset;
display: flex;
flex-direction: column;
padding-right: 15px;
padding-bottom: 15px;
10 years ago
li {
margin-top: 1rem;
&.new a {
-webkit-animation-name: bounceIn;
animation-name: bounceIn;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
10 years ago
&.active a {
&::after {
content: '\f06e';
font-family: "FontAwesome";
2 years ago
font-size: 1rem;
background: black;
border-radius: 50%;
color: white;
position: absolute;
top: 0;
right: 0;
2 years ago
width: 2rem;
height: 2rem;
display: flex;
align-items: center;
justify-content: center;
}
}
&.new a::after {
display: none;
}
a {
2 years ago
padding: 0;
font-size: 2rem;
display: flex;
align-items: center;
justify-content: center;
10 years ago
&.user-icon {
overflow: visible;
}
&:focus, &:hover {
color: @gray-lighter;
}
border-radius: 50%;
2 years ago
height: 5rem;
width: 5rem;
> span {
display: none;
}
-webkit-animation-name: bounceIn;
animation-name: bounceIn;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
2 years ago
> i {
width: inherit;
line-height: 1;
display: inline;
}
10 years ago
}
img {
2 years ago
max-width: 2.4rem;
max-height: 2.4rem;
margin-right: 1em;
}
10 years ago
&.pulse a {
-webkit-animation-name: bounceIn;
animation-name: bounceIn;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
&.taskbar-composer {
a, a:hover, a:focus, a:active {
background-color: #f44336;
background-size: cover;
}
}
10 years ago
&.taskbar-chat {
a, a:hover, a:focus, a:active {
background: @brand-primary;
}
10 years ago
&.new:after {
content: attr(data-content);
position: absolute;
left: 52px;
top: 0px;
font-size: 10px;
text-align: center;
border: 1px solid #890405;
color: #fff;
font-weight: bold;
min-width: 20px;
.border-radius(4px);
background: #c91106;
padding: 1px 2px;
font-family: @font-family-sans-serif;
}
&.new[data-content="0"]:after {
display: none;
}
}
&.taskbar-composer, &.taskbar-chat {
a {
text-align: center;
i {
2 years ago
font-size: 1.8rem;
line-height: 4.2rem;
color: #FFF;
}
}
}
10 years ago
}
}
}