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.

284 lines
4.2 KiB
Plaintext

9 years ago
.slideout-menu {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
/* iPhone 5 and other such devices */
@media (max-width: @screen-sm-max) {
.chat-modal {
width: 100%;
height: 100%;
top: 0px !important;
left: 0px !important;
.modal-dialog {
margin: 0;
height: 100%;
width: 100%;
.modal-content {
height: 100%;
border: none;
}
}
}
.account {
margin-top: 256px;
.cover .controls i {
font-size: 3em;
}
}
}
@media (max-width: @screen-md-max) {
body {
padding-top: 0;
padding-bottom: 0;
}
#panel {
9 years ago
background-color: inherit;
min-height: 100%;
padding-top: 80px;
7 years ago
padding-bottom: 40px;
}
body, #panel, .slideout-menu {
-webkit-overflow-scrolling: touch;
}
.navbar-toggle {
padding: 10px 17px;
margin: 0;
line-height: 30px;
border: none;
.header & .notification-icon {
left: auto;
right: 7px;
top: 10px;
9 years ago
&.unread-count::after {
position: static;
}
}
}
#menu {
padding-top: 100px;
}
.slideout-menu {
z-index: 10000 !important;
background-color: #1D1F20;
background-image: linear-gradient(145deg, #1D1F20, #404348);
a, button {
color: #fff;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
.chat-list {
max-height: 100%;
li {
width: auto;
border: none;
color: #fff;
position: relative;
height: 60px;
&:hover {
background: none;
}
&:not(:last-child) {
border-bottom: none;
}
.main-avatar {
position: absolute;
top: 0;
left: 0;
.avatar {
height: 40px;
8 years ago
width: 40px;
font-size: 20px;
border-radius: 0;
}
}
.members {
display: none;
}
.room-name {
display: block;
overflow: hidden;
8 years ago
white-space: nowrap;
text-overflow: ellipsis;
padding-left: 60px;
}
.teaser-content {
padding-left: 60px;
display: block;
8 years ago
font-size: 13px;
opacity: .8;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
}
.menu-section {
.chat-list, .notification-list-mobile {
.user-link {
display: inline;
}
.unread {
background-color: inherit;
9 years ago
}
}
.chat-list .unread .room-name::after,
.notification-list-mobile .unread a::after {
content: "new";
text-transform: uppercase;
color: #FFF;
margin-left: 5px;
font-size: 10px;
background: #C91106;
border: 1px solid #890405;
padding: 2px 3px;
border-radius: 5px;
}
9 years ago
}
.counter {
font-style: normal;
9 years ago
&:after {
left: 5px;
top: -1px;
padding: 3px 7px;
background: #333;
border: 1px solid #222;
}
&:before {
display: none;
}
}
}
.menu-header-title {
font-weight: 400;
letter-spacing: 0.5px;
margin: 0;
}
.menu-section {
margin: 25px 0;
}
.menu-section-title {
text-transform: uppercase;
color: #85888d;
font-weight: 200;
font-size: 13px;
letter-spacing: 1px;
padding: 0 20px;
margin:0;
}
.menu-section-list {
padding: 0;
margin: 10px 0;
list-style: none;
a, button {
display: block;
padding: 10px 20px;
text-align: left;
width: 100%;
&:hover {
background-color: rgba(255, 255, 255, 0.1);
text-decoration: none;
}
}
}
.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
overflow: hidden;
overflow-y: hidden !important;
}
@keyframes fade {
from {
opacity: 0;
}
to {
opacity: .3;
}
}
.subnav-is-opened .main-nav__secondary-nav {
display: block;
animation: fade 250ms ease-in-out both;
}
9 years ago
.slideout-open .slideout-panel {
&::after {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 1040;
content: ' ';
opacity: 0;
}
}
.menu-profile {
text-align: center;
background: #101010;
position: absolute;
height: 75px;
width: 100%;
top: 0px;
z-index: 1;
img, .user-icon {
.user-icon-style(70px, 4rem);
position: absolute;
bottom: -22px;
left: 93px;
border-radius: 50%;
}
i {
position: absolute;
left: 145px;
font-size: 21px;
top: 28px;
}
}
[data-section="notifications"] ul li a:first-child {
display: none;
}
8 years ago
}