@talentsoft-opensource/hylia
Version:
The Hylia design systems. Contains all the building blocks style rules for Talentsoft.
66 lines (55 loc) • 1.31 kB
text/less
.Hylia-m-message {
position: relative;
animation: appearFeed 1s forwards;
&__avatar {
flex-shrink: 0;
flex-grow: 0;
}
&__comment {
display: flex;
justify-content: flex-start;
margin-bottom: 2rem;
width: 100%;
//Override
.Hylia-a-button {
color: @apprentice;
&:hover {
color: @smart;
}
}
}
&__date {
font-size: 1rem;
text-transform: uppercase;
color: @knight;
margin-top: 0.5rem;
margin-left: 1rem;
}
&__message {
display: flex;
align-items: flex-start;
width: 100%;
}
&__wrapper {
display: flex;
flex-direction: column;
margin-left: 1rem;
flex: 1;
align-items: flex-start;
}
&__author {
font-family: @regular_bold;
color: @smart;
display: inline-block;
font-size: 1.4rem;
margin-right: 0.5rem;
}
&__text {
font-family: @regular_regular;
border-radius: @radius;
font-size: 1.4rem;
padding: 1rem;
white-space: pre-wrap;
background-color: @gray;
}
}