Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
style_tool
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Bugzilla
Bugzilla
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
于广洋
style_tool
Commits
5ac81906
Commit
5ac81906
authored
May 19, 2020
by
刘安琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整form item间距,错误提示位置
parent
06d81700
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
34 deletions
+14
-34
form.scss
node_module/element-theme-chalk/src/form.scss
+4
-10
form.css
theme/form.css
+5
-12
index.css
theme/index.css
+5
-12
No files found.
node_module/element-theme-chalk/src/form.scss
View file @
5ac81906
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
}
}
}
}
@include
b
(
form-item
)
{
@include
b
(
form-item
)
{
margin-bottom
:
1
2
px
;
margin-bottom
:
1
8
px
;
@include
utils-clearfix
;
@include
utils-clearfix
;
&
.el-form-item
{
&
.el-form-item
{
...
@@ -107,9 +107,6 @@
...
@@ -107,9 +107,6 @@
min-height
:
32px
;
min-height
:
32px
;
position
:
relative
;
position
:
relative
;
font-size
:
14px
;
font-size
:
14px
;
display
:
flex
;
display
:
-
webkit-flex
;
align-items
:center
;
@include
utils-clearfix
;
@include
utils-clearfix
;
.el-input-group
{
.el-input-group
{
...
@@ -119,13 +116,10 @@
...
@@ -119,13 +116,10 @@
@include
e
(
error
)
{
@include
e
(
error
)
{
color
:
$--color-danger
;
color
:
$--color-danger
;
font-size
:
12px
;
font-size
:
12px
;
line-height
:
32
px
;
line-height
:
16
px
;
height
:
32
px
;
height
:
16
px
;
white-space
:nowrap
;
white-space
:nowrap
;
margin-left
:
28px
;
margin-bottom
:
-20px
;
// position: absolute;
// top: 100%;
// left: 0;
@include
m
(
inline
)
{
@include
m
(
inline
)
{
position
:
relative
;
position
:
relative
;
...
...
theme/form.css
View file @
5ac81906
...
@@ -288,7 +288,7 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -288,7 +288,7 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
display
:
block
;
}
display
:
block
;
}
.el-form-item
{
.el-form-item
{
margin-bottom
:
1
2
px
;
}
margin-bottom
:
1
8
px
;
}
.el-form-item
::before
,
.el-form-item
::before
,
.el-form-item
::after
{
.el-form-item
::after
{
display
:
table
;
display
:
table
;
...
@@ -338,14 +338,7 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -338,14 +338,7 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
line-height
:
32px
;
line-height
:
32px
;
min-height
:
32px
;
min-height
:
32px
;
position
:
relative
;
position
:
relative
;
font-size
:
14px
;
font-size
:
14px
;
}
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
;
display
:
-webkit-flex
;
-webkit-box-align
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
;
}
.el-form-item__content
::before
,
.el-form-item__content
::before
,
.el-form-item__content
::after
{
.el-form-item__content
::after
{
display
:
table
;
display
:
table
;
...
@@ -357,10 +350,10 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -357,10 +350,10 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
.el-form-item__error
{
.el-form-item__error
{
color
:
#FF3D33
;
color
:
#FF3D33
;
font-size
:
12px
;
font-size
:
12px
;
line-height
:
32
px
;
line-height
:
16
px
;
height
:
32
px
;
height
:
16
px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
margin-
left
:
28
px
;
}
margin-
bottom
:
-20
px
;
}
.el-form-item__error--inline
{
.el-form-item__error--inline
{
position
:
relative
;
position
:
relative
;
top
:
auto
;
top
:
auto
;
...
...
theme/index.css
View file @
5ac81906
...
@@ -32359,7 +32359,7 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -32359,7 +32359,7 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
display: block; }
display: block; }
.el-form-item {
.el-form-item {
margin-bottom: 1
2
px; }
margin-bottom: 1
8
px; }
.el-form-item::before,
.el-form-item::before,
.el-form-item::after {
.el-form-item::after {
display: table;
display: table;
...
@@ -32409,14 +32409,7 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -32409,14 +32409,7 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
line-height: 32px;
line-height: 32px;
min-height: 32px;
min-height: 32px;
position: relative;
position: relative;
font-size: 14px;
font-size: 14px; }
display: -webkit-box;
display: -ms-flexbox;
display: flex;
display: -webkit-flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; }
.el-form-item__content::before,
.el-form-item__content::before,
.el-form-item__content::after {
.el-form-item__content::after {
display: table;
display: table;
...
@@ -32428,10 +32421,10 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -32428,10 +32421,10 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
.el-form-item__error {
.el-form-item__error {
color: #FF3D33;
color: #FF3D33;
font-size: 12px;
font-size: 12px;
line-height:
32
px;
line-height:
16
px;
height:
32
px;
height:
16
px;
white-space: nowrap;
white-space: nowrap;
margin-
left: 28
px; }
margin-
bottom: -20
px; }
.el-form-item__error--inline {
.el-form-item__error--inline {
position: relative;
position: relative;
top: auto;
top: auto;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment