bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/chat/message-form/styles.scss

92 lines
1.8 KiB
SCSS
Raw Normal View History

@import "/imports/ui/stylesheets/mixins/focus";
@import "/imports/ui/stylesheets/variables/_all";
2016-06-02 00:33:19 +08:00
.form {
flex-grow: 0;
flex-shrink: 0;
align-self: flex-end;
width: 100%;
position: relative;
margin-bottom: -$sm-padding-x;
}
.wrapper {
2016-06-02 00:33:19 +08:00
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;
2016-06-14 01:00:38 +08:00
color: $color-gray-light;
2016-06-02 00:33:19 +08:00
padding: $sm-padding-y $sm-padding-x;
2016-06-14 01:00:38 +08:00
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);
}
2016-06-02 00:33:19 +08:00
}
.input {
@include inputFocus($color-primary-input-shadow);
2016-06-02 00:33:19 +08:00
flex: 1;
background: #fff;
background-clip: padding-box;
margin: 0;
color: $color-text;
2016-06-02 00:33:19 +08:00
-webkit-appearance: none;
outline: 0;
2017-08-05 01:58:55 +08:00
padding: $sm-padding-y * 2.5 $sm-padding-x * 1.25;
2016-06-02 00:33:19 +08:00
resize: none;
transition: none;
2016-12-07 01:07:22 +08:00
border-radius: $border-radius;
2016-06-02 00:33:19 +08:00
font-size: $font-size-base * .90;
2016-12-07 01:07:22 +08:00
min-height: 2.5rem;
2016-06-02 00:33:19 +08:00
max-height: 10rem;
2017-10-12 01:27:43 +08:00
border: 1px solid $color-gray-lighter;
box-shadow: 0 0 0 2px $color-gray-lighter;
2016-06-14 01:00:38 +08:00
&:disabled,
&[disabled] {
cursor: not-allowed;
opacity: .75;
background-color: fade-out($color-gray-lighter, .75);
}
2016-06-02 00:33:19 +08:00
}
.sendButton {
2017-08-05 01:58:55 +08:00
margin-left: $sm-padding-x;
2017-09-29 20:13:49 +08:00
align-self: flex-end;
i {
font-size: 115% !important;
}
}
.info {
font-size: $font-size-base * .75;
color: $color-gray-light;
text-align: right;
padding: $border-size 0;
&:before {
content: "\00a0"; // non-breaking space
}
}