demarches-normaliennes/app/assets/stylesheets/new_design/messagerie.scss

60 lines
870 B
SCSS
Raw Normal View History

2017-07-19 11:08:53 +02:00
@import "colors";
@import "common";
@import "constants";
2018-09-06 18:22:03 +02:00
.messages-list {
max-height: 350px;
overflow-y: scroll;
border: 1px solid $border-grey;
background: $light-grey;
padding: 2 * $default-spacer;
margin-bottom: $default-spacer;
border-radius: 4px;
2018-09-06 18:40:47 +02:00
}
2018-09-06 18:22:03 +02:00
2018-09-06 18:40:47 +02:00
.message {
display: flex;
align-items: flex-start;
margin-bottom: $default-padding;
padding: $default-padding;
background: #FFFFFF;
width: 80%;
border-radius: 3px;
&.from-me {
margin-left: auto;
2017-07-19 11:08:53 +02:00
}
2018-09-06 18:22:03 +02:00
}
2017-07-19 11:08:53 +02:00
2018-09-06 18:22:03 +02:00
.messagerie {
2017-07-20 14:23:16 +02:00
.person-icon {
margin-right: $default-spacer;
}
2017-07-19 11:08:53 +02:00
h2 {
margin-bottom: $default-spacer;
}
.mail {
font-weight: bold;
}
2017-07-19 11:23:31 +02:00
.guest,
2017-07-19 11:08:53 +02:00
.date {
font-size: 12px;
color: $grey;
2017-07-19 11:23:31 +02:00
}
.date {
2017-07-19 11:08:53 +02:00
float: right;
}
.attachment-link {
margin-top: $default-spacer;
}
2017-12-18 13:57:27 +01:00
.message-textarea {
margin-bottom: $default-spacer;
}
2017-07-19 11:08:53 +02:00
}