bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/chat/message-form/styles.scss
2017-04-11 17:05:10 -04:00

75 lines
1.4 KiB
SCSS

@import "../../../stylesheets/variables/_all";
.form {
flex-grow: 0;
flex-shrink: 0;
align-self: flex-end;
display: flex;
flex-direction: row;
width: 100%;
}
.actions {
display: flex;
align-items: center;
justify-content: center;
flex-grow: 0;
flex-shrink: 0;
border: $border-size solid $color-gray-lighter;
background: #fff;
border-radius: $border-radius 0 0 $border-radius;
color: $color-gray-light;
padding: $sm-padding-y $sm-padding-x;
transition: background .3s;
cursor: pointer;
&:hover,
&:focus {
background-color: fade-out($color-gray-lighter, .75);
}
&:disabled,
&[disabled] {
cursor: not-allowed;
opacity: .75;
background-color: fade-out($color-gray-lighter, .75);
}
}
.input {
flex: 1;
background: #fff;
border: $border-size solid $color-gray-lighter;
background-clip: padding-box;
margin: 0;
color: $color-text;
-webkit-appearance: none;
box-shadow: none;
outline: 0;
padding: $sm-padding-y*2 $sm-padding-x;
resize: none;
transition: none;
border-radius: $border-radius;
font-size: $font-size-base * .90;
min-height: 2.5rem;
max-height: 10rem;
&:disabled,
&[disabled] {
cursor: not-allowed;
opacity: .75;
background-color: fade-out($color-gray-lighter, .75);
}
}
.sendButton {
@extend .input;
border-left: 0px;
min-width: 1rem;
max-width: 2.5rem;
> [class*=" icon-bbb-"] {
color: $color-gray-light;
}
}