/*
 * @Author: 天吾
 * @Date: 2019-01-23 16:29:55
 * @Last Modified by: 天吾
 * @Last Modified time: 2019-04-27 19:55:52
 */
/*
    size 统一用  sm base lg  表示,  对于不能满足的情况, 仿照衣服尺寸加上 x(EXTRA) 比如  font-size-xlg 表示特大
*/
.gd-textarea {
  position: relative;
}
.gd-textarea * {
  box-sizing: border-box;
}
.gd-textarea--resize textarea {
  resize: auto;
}
.gd-textarea > * {
  flex-shrink: 0;
}
.gd-textarea__inner {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  flex-shrink: 1;
  width: 100%;
  outline: none;
  resize: none;
  font-size: 14px;
  padding: 12px 16px;
  position: relative;
  line-height: 1.2;
}
.gd-textarea__inner::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.gd-textarea__inner::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #e1e5f5;
}
.gd-textarea__inner::-webkit-scrollbar-track {
  border-radius: 3px;
}
.gd-textarea__inner--focus {
  border-color: #6C788C;
}
.gd-textarea__inner--tip {
  padding-bottom: 28px;
}
.gd-textarea__label {
  color: #424242;
  font-weight: 500;
  flex: 0 0 auto;
  min-width: 36px;
}
.gd-textarea textarea:focus {
  box-shadow: 0 0 0 1000px white inset;
}
.gd-textarea__word-count {
  background: white;
  padding: 0 6px;
  position: absolute;
  right: 8px;
  bottom: 12px;
  text-align: right;
  font-size: 11px;
  line-height: 15px;
}
.gd-textarea__word-count--error {
  color: #ee4444;
}
