Chatwoot/app/javascript/dashboard/assets/scss/widgets/_reply-box.scss

79 lines
1.3 KiB
SCSS
Raw Normal View History

.reply-box {
transition: box-shadow .35s $swift-ease-out-function,
height 2s $swift-ease-out-function;
&.is-focused {
box-shadow: var(--shadow);
}
.reply-box__top {
2019-10-27 13:58:02 +00:00
.icon {
color: $medium-gray;
cursor: pointer;
font-size: $font-size-medium;
margin-right: $space-small;
&.active {
color: $color-woot;
}
}
2019-10-27 13:58:02 +00:00
.attachment {
cursor: pointer;
margin-right: $space-one;
padding: 0 $space-small;
}
>textarea {
@include ghost-input();
@include margin(0);
background: transparent;
// Override min-height : 50px in foundation
//
max-height: $space-mega * 2.4;
min-height: 4.8rem;
padding: var(--space-normal) 0 0;
resize: none;
}
}
&.is-private {
background: var(--y-50);
.reply-box__top {
background: var(--y-50);
2019-10-27 13:58:02 +00:00
>input {
background: var(--y-50);
}
}
}
2019-10-27 13:58:02 +00:00
.file-uploads>label {
cursor: pointer;
&:hover .button--emoji {
background: var(--b-200);
}
}
2019-10-27 13:58:02 +00:00
.bottom-box .button--emoji.button--upload {
height: var(--space-large);
padding: 0;
width: var(--space-large);
2019-10-27 13:58:02 +00:00
.file-uploads {
height: 100%;
line-height: var(--space-large);
width: 100%;
}
label {
padding: var(--space-small);
}
}
}