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
d799544a
Commit
d799544a
authored
May 22, 2020
by
刘安琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整dialog按钮间距
parent
d011c378
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
6 deletions
+20
-6
dialog.scss
node_module/element-theme-chalk/src/dialog.scss
+8
-2
dialog.css
theme/dialog.css
+6
-2
index.css
theme/index.css
+6
-2
No files found.
node_module/element-theme-chalk/src/dialog.scss
View file @
d799544a
...
@@ -99,11 +99,17 @@
...
@@ -99,11 +99,17 @@
@include
e
(
footer
)
{
@include
e
(
footer
)
{
padding
:
0
0
$--dialog-padding-footer
0
;
padding
:
0
0
$--dialog-padding-footer
0
;
text-align
:
right
;
text-align
:
center
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
&
button
:nth-child
(
2
)
{
&
button
:nth-child
(
2
)
{
margin-left
:
20px
;
margin-left
:
16px
;
}
&
button
:nth-child
(
3
)
{
margin-left
:
16px
;
}
&
button
:nth-child
(
2
)
{
margin-left
:
16px
;
}
}
}
}
...
...
theme/dialog.css
View file @
d799544a
...
@@ -638,11 +638,15 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -638,11 +638,15 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
word-break
:
break-all
;
}
word-break
:
break-all
;
}
.el-dialog__footer
{
.el-dialog__footer
{
padding
:
0
0
40px
0
;
padding
:
0
0
40px
0
;
text-align
:
right
;
text-align
:
center
;
-webkit-box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
box-sizing
:
border-box
;
}
.el-dialog__footer
button
:nth-child
(
2
)
{
.el-dialog__footer
button
:nth-child
(
2
)
{
margin-left
:
20px
;
}
margin-left
:
16px
;
}
.el-dialog__footer
button
:nth-child
(
3
)
{
margin-left
:
16px
;
}
.el-dialog__footer
button
:nth-child
(
2
)
{
margin-left
:
16px
;
}
.el-dialog--center
{
.el-dialog--center
{
text-align
:
center
;
}
text-align
:
center
;
}
.el-dialog--center
.el-dialog__body
{
.el-dialog--center
.el-dialog__body
{
...
...
theme/index.css
View file @
d799544a
...
@@ -5316,11 +5316,15 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -5316,11 +5316,15 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
word-break: break-all; }
word-break: break-all; }
.el-dialog__footer {
.el-dialog__footer {
padding: 0 0 40px 0;
padding: 0 0 40px 0;
text-align:
right
;
text-align:
center
;
-webkit-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box; }
box-sizing: border-box; }
.el-dialog__footer button:nth-child(2) {
.el-dialog__footer button:nth-child(2) {
margin-left: 20px; }
margin-left: 16px; }
.el-dialog__footer button:nth-child(3) {
margin-left: 16px; }
.el-dialog__footer button:nth-child(2) {
margin-left: 16px; }
.el-dialog--center {
.el-dialog--center {
text-align: center; }
text-align: center; }
.el-dialog--center .el-dialog__body {
.el-dialog--center .el-dialog__body {
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