Files
mattermost/webapp/sass/responsive/_tablet.scss
Asaad Mahmood 4e38796e69 Improving about modal and colon issue with webhooks (#3343)
Updating word break

Updating improvements for about modal
2016-06-16 08:42:38 -04:00

241 lines
5.7 KiB
SCSS

@charset 'UTF-8';
@media screen and (max-width: 960px) {
.signup-team__container {
&.branded {
display: block;
margin: 0 auto;
max-width: 380px;
.signup__markdown {
display: none;
}
}
}
.sidebar--right {
@include single-transition(all, .5s, ease);
@include translateX(100%);
z-index: 5;
&.move--left {
-webkit-transform: translateX(0) !important;
-moz-transform: translateX(0) !important;
-ms-transform: translateX(0) !important;
-o-transform: translateX(0) !important;
transform: translateX(0) !important;
.search-bar__container {
padding-right: 8px;
}
}
}
.backstage-content {
margin: 30px;
max-width: 100%;
padding: 0;
}
.backstage-sidebar {
height: auto;
padding: 30px 15px 0;
position: relative;
width: 100%;
}
.help__format-text {
display: none;
}
.inner-wrap {
&:not(.move--left) {
margin-right: 0 !important;
}
&.move--left {
margin-right: 0 !important;
.channel-header__links {
position: relative;
right: auto;
top: auto;
}
}
}
}
// Tablet and desktop
@media screen and (min-width: 768px) {
.second-bar {
display: none;
}
.sidebar--right {
&.move--left {
@include translateX(0);
}
}
.inner-wrap {
&.move--left {
margin-right: 400px;
}
}
.post {
&.post--compact {
&:not(.post--thread) {
padding: 5px .5em 0 70px;
.post__link {
margin: 4px 0 7px;
}
.post__time {
font-size: .85em;
left: -70px;
position: absolute;
text-align: right;
top: 4px;
width: 60px;
}
span {
p {
&:last-child {
margin-bottom: .3em;
}
}
}
.post__header {
float: left;
height: 21px;
padding-top: 3px;
.col__name {
font-weight: bold;
margin-right: 2px;
padding-right: 5px;
position: relative;
z-index: 1;
}
.colon {
display: inline;
}
.col__reply {
top: 2px;
}
}
&.other--root {
.post__body {
> div {
&:first-child {
min-height: 21px;
}
}
}
.post__link + .post__body {
clear: both;
}
&.post--comment {
.post__header {
.col__reply {
top: 0;
}
}
}
}
.post-code {
clear: both;
}
.post__body {
width: 100%;
}
.post__content {
padding-right: 85px;
}
}
&.same--root {
&.same--user {
padding-left: 70px;
padding-top: 0;
.post__header {
.col__reply {
top: 4px;
}
}
.post__img {
img {
display: none;
}
}
}
&.post--comment {
padding-top: 1px;
.post__img {
img {
display: inline-block;
}
}
&.same--user {
.post__img {
img {
display: none;
}
}
}
.post__header {
margin-left: 12px;
}
}
}
}
&.same--root {
&.same--user {
.post__time {
@include opacity(0);
font-size: 11px;
left: -4px;
line-height: 37px;
position: absolute;
text-rendering: auto;
top: -2px;
}
&.post--compact {
&.post--system {
.post__time {
position: absolute;
top: 3px;
}
}
.post__time {
font-size: .85em;
left: -70px;
top: -5px;
}
}
}
}
}
}