Этот коммит содержится в:
Asaad Mahmood
2015-11-13 17:04:42 +05:00
родитель 6b8d815ee8
Коммит bc1605e396

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

@@ -46,6 +46,21 @@ body.ios {
.textarea-wrapper { .textarea-wrapper {
position:relative; position:relative;
.textbox-preview-area {
position: absolute;
z-index: 2;
top: 0;
left: 0;
box-shadow: none;
}
.textbox-preview-link {
position: absolute;
z-index: 3;
bottom: -23px;
right: 0;
font-size: 13px;
cursor: pointer;
}
min-height:37px; min-height:37px;
} }
@@ -612,79 +627,80 @@ body.ios {
} }
.attachment { .attachment {
.attachment__content { .attachment__content {
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-radius: 4px; border-radius: 4px;
padding: 2px 5px; padding: 2px 5px;
margin: 0 0 5px 0; margin: 0 0 5px 0;
} }
.attachment__thumb-pretext { .attachment__thumb-pretext {
border: 0 none; border: 0 none;
background: transparent; background: transparent;
} }
.attachment__container { .attachment__container {
border-left-width: 4px; border-left-width: 4px;
border-left-style: solid; border-left-style: solid;
padding: 2px 0 2px 10px; padding: 2px 0 2px 10px;
&.attachment__container--good { &.attachment__container--good {
border-left-color: #00C100; border-left-color: #00C100;
} }
&.attachment__container--warning { &.attachment__container--warning {
border-left-color: #DEDE01; border-left-color: #DEDE01;
} }
&.attachment__container--danger { &.attachment__container--danger {
border-left-color: #E40303; border-left-color: #E40303;
} }
} }
.attachment__body { .attachment__body {
float: left; float: left;
width: 80%; width: 80%;
padding-right: 5px; padding-right: 5px;
&.attachment__body--no_thumb { overflow-x: auto;
width: 100%; &.attachment__body--no_thumb {
} width: 100%;
} }
.attachment__text p:last-of-type { }
display: inline-block; .attachment__text p:last-of-type {
} display: inline-block;
.attachment__thumb-pretext { }
margin-left: 5px; .attachment__thumb-pretext {
} margin-left: 5px;
.attachment__title { }
margin: 5px 0; .attachment__title {
padding: 0; margin: 5px 0;
line-height: 16px; padding: 0;
font-size: 16px; line-height: 16px;
a { font-size: 16px;
font-size: 16px; a {
} font-size: 16px;
} }
.attachment__author-icon { }
@include border-radius(50px); .attachment__author-icon {
margin-right: 5px; @include border-radius(50px);
width: 14px; margin-right: 5px;
height: 14px; width: 14px;
} height: 14px;
.attachment__image { }
max-width: 100%; .attachment__image {
margin-bottom: 1em; max-width: 100%;
} margin-bottom: 1em;
.attachment__thumb-container { }
width: 20%; .attachment__thumb-container {
float: right; width: 20%;
img { float: right;
max-height: 75px; img {
max-width: 100%; max-height: 75px;
} max-width: 100%;
} }
.attachment___fields { }
width: 100%; .attachment___fields {
.attachment___field-caption { width: 100%;
font-weight: 700; .attachment___field-caption {
} font-weight: 700;
.attachment___field p { }
margin: 0; .attachment___field p {
} margin: 0;
} }
}
} }