* PLT-5277 - Adjusting textbox on tablet view

* PLT-5277 - Adjusting text area on mobile view

* PLT-5097 - Updating styles for remove image

* PLT-5217 - Updating styles for mobile code block
Этот коммит содержится в:
Asaad Mahmood
2017-02-10 20:05:40 +05:00
коммит произвёл Corey Hulen
родитель 2a9c1afd44
Коммит c03cc2fb3c
3 изменённых файлов: 28 добавлений и 53 удалений

Просмотреть файл

@@ -20,24 +20,6 @@
position: relative; position: relative;
width: 120px; width: 120px;
&:after {
@include opacity(0);
@include alpha-property(background, $black, .4);
content: '';
height: 100%;
left: 0;
opacity: 0;
position: absolute;
top: 0;
width: 100%;
}
&:hover {
&:after {
@include opacity(1);
}
}
&:first-child { &:first-child {
margin-left: 0; margin-left: 0;
} }
@@ -60,21 +42,24 @@
} }
.file-preview__remove { .file-preview__remove {
height: 100%; background: alpha-color($black, .5);
left: 0; border-radius: 0 0 0 2px;
height: 28px;
position: absolute; position: absolute;
right: 0;
text-align: center;
top: 0; top: 0;
width: 100%; width: 28px;
i { i {
color: $white; color: $white;
cursor: pointer; cursor: pointer;
font-size: 16px; font-size: 16px;
opacity: inherit; line-height: 29px;
position: absolute; position: relative;
right: 5px; right: auto;
text-shadow: 0 0 3px alpha-color($black, .7); text-shadow: 0 0 3px alpha-color($black, .7);
top: 5px; top: auto;
z-index: 5; z-index: 5;
} }
} }

Просмотреть файл

@@ -1,6 +1,14 @@
@charset 'UTF-8'; @charset 'UTF-8';
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.post-create__container {
padding-bottom: 10px;
.msg-typing {
display: none;
}
}
.suggestion-list__content { .suggestion-list__content {
max-height: 145px; max-height: 145px;
} }
@@ -138,6 +146,14 @@
display: block; display: block;
} }
.post-code {
&:hover {
.post-code__language {
@include opacity(.6);
}
}
}
.backstage-filters { .backstage-filters {
display: block; display: block;
@@ -738,28 +754,6 @@
margin-top: 0; margin-top: 0;
} }
.file-preview__remove {
@include alpha-property(background, $black, .5);
height: 28px;
left: auto;
right: 0;
text-align: center;
top: 0;
width: 28px;
&:after {
display: none;
}
i {
font-size: 16px;
line-height: 29px;
position: relative;
right: auto;
top: auto;
}
}
// Since system console is not responsive we're overriding bootstrap styles for it // Since system console is not responsive we're overriding bootstrap styles for it
.admin-sidebar { .admin-sidebar {
.navbar-nav { .navbar-nav {

Просмотреть файл

@@ -22,15 +22,11 @@
.post-create__container { .post-create__container {
form { form {
padding: .5em 0; padding: .5em 0 0;
} }
.post-create-footer { .post-create-footer {
padding: 0 45px 0 45px; padding: 0 45px;
.msg-typing {
display: none;
}
.post-error { .post-error {
position: relative; position: relative;