chowa
Version:
UI component library based on React
111 lines (93 loc) • 2.28 kB
CSS
/**
* @license chowa v1.1.3
*
* Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
@keyframes cw-slide-down {
0% {
max-height: 0; }
100% {
max-height: 666px; } }
.cw-slide-down-enter {
animation-name: cw-slide-down; }
.cw-slide-down-leave {
animation-name: cw-slide-down;
animation-direction: reverse; }
.cw-slide-down-appear {
animation-duration: 0.2s;
animation-timing-function: ease-in;
transform-origin: top;
overflow-y: hidden; }
.cw-form {
margin: 0;
padding: 12px 0;
box-sizing: border-box; }
.cw-form-inline {
display: flex;
align-items: flex-start;
flex-direction: row; }
.cw-form-item {
margin: 0 0 12px 0;
padding: 0;
width: 100%;
box-sizing: border-box; }
.cw-form-item-label {
color: #616a6e;
line-height: 32px;
font-size: 14px;
box-sizing: border-box;
word-break: keep-all; }
.cw-form-item-label-top .cw-form-item-label {
padding: 0;
margin: 0 8px 0 0; }
.cw-form-item-label-left,
.cw-form-item-label-right {
display: flex;
flex-direction: row;
align-items: stretch;
justify-content: flex-start;
flex-wrap: wrap; }
.cw-form-item-label-left .cw-form-item-label,
.cw-form-item-label-right .cw-form-item-label {
margin: 0 12px 0 0;
padding: 0 8px;
display: inline-flex;
align-items: flex-start; }
.cw-form-item-label-left .cw-form-item-label {
justify-content: flex-start; }
.cw-form-item-label-right .cw-form-item-label {
justify-content: flex-end; }
@media only screen and (max-width: 640px) {
.cw-form-item-label-right .cw-form-item-label {
justify-content: flex-start; } }
.cw-form-item-required {
color: #ed4014;
margin: 0 4px;
padding: 0;
flex: none; }
.cw-form-item-content {
text-align: left;
box-sizing: border-box;
margin: 0;
padding: 0;
flex: auto; }
.cw-form-control {
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative; }
.cw-form-field {
margin: 0;
padding: 0;
box-sizing: border-box; }
.cw-form-notice {
margin: 0;
padding: 6px 0 0 0;
box-sizing: border-box;
font-size: 12px;
line-height: 12px;
height: 18px;
color: #ed4014; }