bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/chat/message-form/styles.scss
2017-06-01 14:24:29 +00:00

91 lines
1.7 KiB
SCSS

@import "../../../stylesheets/variables/_all";
.form {
flex-grow: 0;
flex-shrink: 0;
align-self: flex-end;
width: 100%;
position: relative;
margin-bottom: -$sm-padding-x;
}
.wrapper {
display: flex;
flex-direction: row;
}
.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;
}
}
.info {
font-size: $font-size-base * .75;
color: $color-gray-light;
text-align: right;
padding: $border-size 0;
&:before {
content: "\00a0"; // non-breaking space
}
}