gaf-mobile
Version:
GAF mobile Web site
192 lines (161 loc) • 4.23 kB
text/less
@import (reference) '../themes/variables';
.Thread {
@this: Thread;
.flex();
.flex-direction(column);
padding-bottom: 60px;
&-header {
.flex-shrink(0);
width: 100%;
background: @septenary-color-xxxdark;
&-inner {
.flex();
.flex-align-items(center);
.flex-shrink(0);
min-height: 55px;
margin-bottom: 16px;
padding-top: 15px;
padding-bottom: 15px;
border-bottom: 1px solid @border-color;
color: @septenary-color-xxxlight;
}
&-details {
.flex-basis(100%);
padding-right: 20px;
overflow: hidden;
}
&-userContainer {
.flex();
.flex-align-items(center);
}
&-icon {
width: 24px;
height: 24px;
margin-right: 20px;
stroke: @septenary-color-xxxlight;
}
&-action {
margin-left: auto;
}
&-userName {
display: block;
font-size: @type-size;
font-weight: @type-weight-medium;
line-height: 1;
color: @septenary-color-xxxlight;
}
&-title {
.text-wrap();
position: relative;
margin: 4px 0;
font-size: @type-size-xsml;
font-weight: @type-weight-regular;
letter-spacing: 0.07px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: @septenary-color-xxxlight;
&:not(:first-child)::before {
display: block;
position: absolute;
top: 0;
left: 50px;
width: 1px;
height: 10px;
border-right: 1px solid @septenary-color-xxxlight;
content: "";
}
}
&-button {
.flex-shrink(0);
width: auto;
margin-left: auto;
&-abTest {
width: 100px;
}
}
&-subDetails {
.flex();
.flex-align-items(center);
height: 20px;
margin-top: 4px;
}
&-status {
.flex-shrink(0);
&[data-status="online"] {
+ .@{this}-header-title {
padding-left: 60px;
}
}
}
}
&-view {
margin-top: 16px;
overflow: auto;
}
&-message-list {
list-style: none;
padding: 5px 0 0 0;
}
&-message {
.flex();
}
&-loader {
text-align: center;
}
&-empty {
text-align: center;
&-header {
font-size: @type-size-xlge;
color: @quaternary-color-light;
}
&-text {
color: @input-placeholder-color;
}
&-img {
width: 60px;
padding-top: 60px;
}
}
&-inputContainer {
position: absolute;
bottom: 0;
width: 100%;
border-top: 1px solid @body-bg;
background: @septenary-color-xxxlight;
&--disabled {
opacity: 0.5;
}
}
&-reply {
position: relative;
/* Nesting due to specificity issue of inputs globally */
.@{this}-reply-input {
height: 56px;
max-height: 120px;
overflow: auto ; /* overwrite value set by flAutoResize */
margin: 0;
padding: 10px 50px 0 0;
border: none;
border-radius: 0;
font-size: @type-size;
}
&-btn {
position: absolute;
bottom: 8px;
right: 10px;
padding: 6px;
border: none;
line-height: 1;
color: @primary-color;
background-color: transparent;
[class*="flicon-"] {
width: 18px;
height: 16px;
padding: 0;
stroke: none;
fill: currentColor;
}
}
}
}