wetrade-design
Version:
一款多语言支持Vue3的UI框架
246 lines (245 loc) • 5.44 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/** gray-sp */
/** blue-sp */
/** green-sp */
/** red-sp */
/** orange-sp */
/** 品牌橙 */
/** 日落黄 */
/** 柠檬黄 */
/** 新生绿 */
/** 绿色 */
/** 碧涛青 */
/** 海蔚蓝 */
/** 品牌蓝色 */
/** 宝石蓝 */
/** 星空紫 */
/** 罗兰紫 */
/** 青春紫 */
/** 品红 */
/** 红色 */
/** 灰色 */
/** 保留ant色板 */
/** 绿色 */
/** 品牌蓝 */
.wd-drawer {
position: fixed;
z-index: 2000;
width: 0%;
height: 100%;
transition: width 0s ease 0.3s, height 0s ease 0.3s;
}
.wd-drawer .wd-table {
background-color: #1f2029;
}
.wd-drawer .wd-table-body .wd-table-cell {
background-color: #1f2029;
}
.wd-drawer-content-wrapper {
position: absolute;
width: 100%;
height: 100%;
transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.wd-drawer .wd-drawer-content {
width: 100%;
height: 100%;
}
.wd-drawer-left,
.wd-drawer-right {
top: 0;
width: 0%;
height: 100%;
}
.wd-drawer-left .wd-drawer-content-wrapper,
.wd-drawer-right .wd-drawer-content-wrapper {
height: 100%;
}
.wd-drawer-left.wd-drawer-open,
.wd-drawer-right.wd-drawer-open {
width: 100%;
transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.wd-drawer-left {
left: 0;
}
.wd-drawer-left .wd-drawer-content-wrapper {
left: 0;
}
.wd-drawer-left.wd-drawer-open .wd-drawer-content-wrapper {
box-shadow: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03);
}
.wd-drawer-right {
right: 0;
}
.wd-drawer-right .wd-drawer-content-wrapper {
right: 0;
}
.wd-drawer-right.wd-drawer-open .wd-drawer-content-wrapper {
box-shadow: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03);
}
.wd-drawer-right.wd-drawer-open.no-mask {
right: 1px;
transform: translateX(1px);
}
.wd-drawer-top,
.wd-drawer-bottom {
left: 0;
width: 100%;
height: 0%;
}
.wd-drawer-top .wd-drawer-content-wrapper,
.wd-drawer-bottom .wd-drawer-content-wrapper {
width: 100%;
}
.wd-drawer-top.wd-drawer-open,
.wd-drawer-bottom.wd-drawer-open {
height: 100%;
transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.wd-drawer-top {
top: 0;
}
.wd-drawer-top.wd-drawer-open .wd-drawer-content-wrapper {
box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
}
.wd-drawer-bottom {
bottom: 0;
}
.wd-drawer-bottom .wd-drawer-content-wrapper {
bottom: 0;
}
.wd-drawer-bottom.wd-drawer-open .wd-drawer-content-wrapper {
box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03);
}
.wd-drawer-bottom.wd-drawer-open.no-mask {
bottom: 1px;
transform: translateY(1px);
}
.wd-drawer.wd-drawer-open .wd-drawer-mask {
height: 100%;
opacity: 1;
transition: none;
animation: antdDrawerFadeIn 0.3s cubic-bezier(0.23, 1, 0.32, 1);
pointer-events: auto;
}
.wd-drawer-title {
flex: 1;
margin: 0;
color: #1E1E29;
font-weight: 600;
font-size: 16px;
line-height: 22px;
}
.wd-drawer-content {
position: relative;
z-index: 1;
overflow: auto;
background-color: #1f2029;
background-clip: padding-box;
border: 0;
}
.wd-drawer-close {
display: flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
color: #656B80;
font-size: 16px;
font-style: normal;
line-height: 1;
text-align: center;
text-transform: none;
text-decoration: none;
background: transparent;
border: 0;
border-radius: 3px;
outline: 0;
cursor: pointer;
transition: color 0.3s;
text-rendering: auto;
}
.wd-drawer-close:focus,
.wd-drawer-close:hover {
color: #1E1E29;
background-color: rgba(129, 135, 153, 0.1);
text-decoration: none;
}
.wd-drawer-header {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px;
color: #1E1E29;
background: #1f2029;
border-bottom: 1px solid #F8F9FB;
border-radius: 6px 6px 0 0;
}
.wd-drawer-header-title {
display: flex;
flex: 1;
align-items: center;
justify-content: space-between;
}
.wd-drawer-header-close-only {
padding-bottom: 0;
border: none;
}
.wd-drawer-header-close-left .wd-drawer-close {
margin-right: 4px;
}
.wd-drawer-wrapper-body {
display: flex;
flex-flow: column nowrap;
width: 100%;
height: 100%;
}
.wd-drawer-body {
flex-grow: 1;
padding: 8px 16px 24px;
overflow: auto;
font-size: 14px;
line-height: 18px;
word-wrap: break-word;
background-color: #1f2029;
}
.wd-drawer-footer {
flex-shrink: 0;
padding: 24px 24px;
border-top: 1px solid #F8F9FB;
background: #1f2029;
}
.wd-drawer-mask {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 0;
background-color: rgba(0, 0, 0, 0.4);
opacity: 0;
transition: opacity 0.3s linear, height 0s ease 0.3s;
pointer-events: none;
}
.wd-drawer .wd-picker-clear {
background: #fff;
}
@keyframes antdDrawerFadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.wd-drawer-rtl {
direction: rtl;
}
.wd-drawer-rtl .wd-drawer-close {
margin-right: 0;
margin-left: 12px;
}