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

60 lines
932 B
SCSS
Raw Normal View History

2017-07-19 11:08:53 +02:00
@import "colors";
@import "common";
@import "constants";
2017-09-06 17:06:03 +02:00
.messagerie {
.messages-list {
max-height: 350px;
overflow-y: scroll;
border: 1px solid $border-grey;
2017-12-14 17:10:13 +01:00
background: $light-grey;
padding: 2 * $default-spacer;
margin-bottom: $default-spacer;
2017-12-14 17:10:13 +01:00
border-radius: 4px;
> li {
display: flex;
align-items: flex-start;
2017-12-14 17:10:13 +01:00
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
}
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
}