Newer
Older
display: flex;
flex-flow: row nowrap;
align-items: center;
width: 100%;
padding: 12px;
background-color: @secondary-background-color;
border: 1px solid darken(@secondary-background-color, 10%);
.transition(background-color .15s ease-out, border-color .15s ease-out);
&:first-child {
margin-top: 10px;
}
max-height: 55px;
min-height: 55px;
border: 1px solid darken(@tertiary-background-color, 10%);
font-size: 40px;
background-color: @tertiary-background-color;
position: relative;
}
top: 0;
width: 100%;
height: 100%;
margin: 0;
line-height: 55px;
color: darken(@tertiary-background-color, 10%);
text-align: right;
padding-left: 20px;
}
input[type=file] {
position: absolute !important;
width: 100%;
top: 0;
left: 0;
height: 100%;
opacity: 0;
z-index: 10000;
* {
cursor: pointer;
}
}
display: inline-block;
width: 50px;
height: 50px;
border-radius: 50%;
background-size: 100%;
background-position: 50% 50%;
margin-right: 5px;
}
}
Gabriel Engel
committed
@media all and(max-width: 1100px) {
#rocket-chat {
.flex-opened {
.calc(width, ~'100% - ' @rooms-box-width);
Gabriel Engel
committed
}
}
}
@media all and(max-width: 780px) {
#rocket-chat {
.burger {
visibility: visible;
display: inline-block;
}
.side-nav {
Gabriel Engel
committed
.transform(translateX(-100%));
.transition(transform .3s ease-out);
}
.main-content {
margin-left: 0;
width: 100%;
.transition(transform .3s ease-out);
}
.fixed-title h2 {
margin-left: 45px;
}
.flex-tab {
Gabriel Engel
committed
}
.messages-box {
padding: 0 10px;
Gabriel Engel
committed
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
}
&.menu-opened {
.side-nav {
.transform(translateX(0));
}
.burger {
.transform(rotate(180deg));
i {
&:nth-child(1) {
opacity: 1;
width: 10px;
.transform-origin(50%, 50%, 0);
.transform(translateY(3px) translateX(10px) rotate(45deg));
}
&:nth-child(2) {
//.transform(rotate(180deg));
}
&:nth-child(3) {
opacity: 1;
width: 10px;
.transform-origin(50%, 50%, 0);
.transform(translateX(10px) translateY(-3px) rotate(-45deg));
}
}
}
.main-content {
.transform(translateX(@rooms-box-width));
}
}
}
}
@media all and(max-width: 500px) {
.user-view {
.thumb {
width: 60px;
height: 60px;
}
.info {
margin-left: 75px;
.calc(width, ~'100% - 120px');
h3 {
font-size: 20px;
}
}
}
}