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

64 lines
1.3 KiB
SCSS
Raw Normal View History

2016-07-28 05:50:35 +08:00
@import "../../../stylesheets/variables/_all";
2016-06-02 00:33:19 +08:00
.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;
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 {
flex: 1;
background: #fff;
border: $border-size solid $color-gray-lighter;
background-clip: padding-box;
margin: 0;
color: $color-gray;
-webkit-appearance: none;
box-shadow: none;
outline: 0;
2016-06-14 01:00:38 +08:00
padding: $sm-padding-y*2 $sm-padding-x;
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;
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
}