philomena/assets/css/views/communication.css

150 lines
3.1 KiB
CSS
Raw Normal View History

2023-11-23 17:07:49 +01:00
.communication__toolbar {
font-size: var(--font-size);
background: var(--secondary-color);
padding: 0 var(--padding-small);
line-height: var(--block-header-height);
border: 1px solid var(--secondary-border-color);
border-bottom: 0;
box-sizing: border-box;
}
.communication__toolbar__button {
color: var(--text-color);
background: 0;
border: 0;
padding: var(--padding-small);
2024-04-30 20:38:28 +02:00
}
2023-11-23 17:07:49 +01:00
2024-04-30 20:38:28 +02:00
.communication__toolbar__button:hover {
background: var(--secondary-muted-color);
2023-11-23 17:07:49 +01:00
}
.communication-edit__actions {
display: flex;
flex-direction: row;
2023-11-23 17:07:49 +01:00
line-height: var(--block-header-height);
border: 0;
margin: var(--padding-normal);
margin-top: 0;
gap: var(--padding-normal);
}
.communication__anonymous {
display: flex;
flex-direction: row;
2024-05-20 21:25:43 +02:00
line-height: var(--block-header-height);
2023-11-23 17:07:49 +01:00
background: var(--secondary-color);
border: 1px solid var(--secondary-border-color);
}
.communication__anonymous--checkbox {
padding: 0 var(--padding-small);
border-right: 1px solid var(--secondary-border-color);
}
.communication__anonymous--label {
padding: 0 var(--padding-small);
}
2024-05-07 19:33:56 +02:00
.communication > .block__content:first-of-type {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.communication > .block__content:last-of-type {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.communication__body {
display: block;
overflow: hidden;
}
.communication__body__text {
border-radius: var(--border-radius-inner);
word-wrap: break-word;
}
.communication__sender-name {
display: flex;
align-items: center;
gap: var(--padding-normal);
}
.communication__sender-block {
display: flex;
flex-direction: column;
background: var(--primary-muted-color);
border-radius: var(--border-radius-inner);
padding: var(--padding-small);
}
2024-05-31 20:07:00 +02:00
.communication__options {
display: flex;
flex-flow: row;
}
2024-05-07 22:52:17 +02:00
.communication__options__staff {
display: flex;
align-items: center;
gap: var(--padding-normal);
margin-top: var(--padding-small);
}
2024-05-31 20:07:00 +02:00
.communication__post-time {
2024-05-07 22:52:17 +02:00
display: flex;
align-items: center;
gap: var(--padding-small);
2024-05-31 20:07:00 +02:00
padding: var(--padding-small);
flex-wrap: nowrap;
2024-05-07 22:52:17 +02:00
}
2024-05-31 20:07:00 +02:00
.communication__post-time > time,
2024-05-07 22:52:17 +02:00
.communication__options__edit-time {
2024-05-31 20:07:00 +02:00
white-space: nowrap;
2024-05-07 22:52:17 +02:00
}
2024-05-07 19:33:56 +02:00
@mixin if-mobile {
2024-05-31 20:07:00 +02:00
.communication__options {
flex-flow: column;
}
.communication__options__edit-time {
width: 100%;
}
.communication__post-time > time,
.communication__options__edit-time {
white-space: normal;
}
.communication__post-time {
border-radius: var(--border-radius-inner);
margin-top: var(--padding-small);
background: var(--primary-muted-color);
flex-wrap: wrap;
}
2024-05-07 19:33:56 +02:00
.communication__body__text {
margin-top: var(--padding-normal);
}
.communication__sender-block {
flex-direction: row;
gap: var(--padding-normal);
align-items: center;
}
.communication__sender-block > .image-constrained {
min-height: var(--avatar-small-size);
min-width: var(--avatar-small-size);
}
.communication__options > *:first-child {
display: flex;
flex-direction: column;
gap: var(--padding-small);
}
}