Revert "update 构成表单页的种子"

This reverts commit c74448b1fc.
This commit is contained in:
2021-05-12 23:20:00 +08:00
parent c74448b1fc
commit 43a3184bba
32 changed files with 980 additions and 1475 deletions

View File

@@ -21,11 +21,8 @@
@import './lib/table.less';
@import './lib/list.less';
@import './lib/form.less';
@import './lib/form-page.less';
@import './lib/description.less';
@import './lib/input.less';
@import './lib/select.less';
@import './lib/checkbox.less';
@import './lib/cascader.less';
@import './lib/dropdown.less';
@import './lib/modal.less';

View File

@@ -1,10 +0,0 @@
@import (reference) '~@/assets/style/extend.less';
.ant-checkbox-wrapper {
margin-right: @padding-xs;
&:last-child {
margin-right: 0;
}
+.ant-checkbox-wrapper {
margin-left: 0;
}
}

View File

@@ -37,7 +37,3 @@
.container-fluid {
.container-base();
}
.container-flex {
display: flex;
justify-content: space-between;
}

View File

@@ -17,9 +17,9 @@ h4,
}
h5,
.h5 {
font-size: 16px;
font-size: 14px;
}
h6,
.h6 {
font-size: 14px;
font-size: 12px;
}

View File

@@ -1,134 +0,0 @@
@import (reference) '~@/assets/style/extend.less';
.yo-form-page {
position: relative;
height: 100%;
>.ant-tabs {
display: flex;
flex-direction: column;
height: 100%;
>.ant-tabs-bar {
margin-bottom: 0;
background-color: @white;
.ant-tabs-nav-container {
height: @tabs-card-height + @padding-xs;
padding: (@tabs-card-height + @padding-xs - @btn-height-base) / 2 @padding-md;
}
.ant-tabs-tab {
.ant-btn();
&:hover {
border-color: @btn-default-border;
}
}
.ant-tabs-tab {
line-height: @btn-height-base;
margin-right: -1px;
}
.ant-tabs-tab-active {
z-index: 2;
color: @btn-primary-color;
border-color: @btn-primary-bg;
background-color: @btn-primary-bg;
&:hover {
color: @btn-primary-color;
border-color: color(~`colorPalette('@{btn-primary-bg}', 5) `);
background-color: color(~`colorPalette('@{btn-primary-bg}', 5) `);
}
}
}
>.ant-tabs-content {
position: relative;
flex: 1;
>.ant-tabs-tabpane {
position: absolute;
top: 0;
left: 0;
overflow: auto;
width: 100%;
height: 100%;
}
}
}
&--bar {
position: sticky;
bottom: 0;
z-index: 200;
&--with-tab {
position: absolute;
display: flex;
align-items: flex-end;
width: 100%;
height: 0;
padding-right: 7px;
>.container-fluid {
width: 100%;
}
+.ant-tabs {
>.ant-tabs-content {
>.ant-tabs-tabpane {
padding-bottom: @padding-xs * 2 + @btn-height-base + @border-width-base * 2;
}
}
}
}
}
&--bar-inner {
display: flex;
justify-content: space-between;
padding: @padding-xs @padding-md;
border: @border-width-base @border-style-base @border-color-split;
background-color: fade(@white, 80%);
backdrop-filter: blur(5px);
>:first-child {
flex: 1;
}
.ant-btn {
margin-left: @padding-sm;
}
}
&--body {
>.ant-card-body {
padding: 0;
>section {
padding: @padding-lg;
>h5 {
border-left: @padding-xs @border-style-base @primary-color;
padding-left: @padding-md;
}
}
}
}
}

View File

@@ -1,6 +0,0 @@
@import (reference) '~@/assets/style/extend.less';
.yo-input-prefix-2 {
.ant-input:not(:first-child) {
padding-left: 45px;
}
}