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
331557b2
Commit
331557b2
authored
Apr 14, 2020
by
刘安琪
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'htcloud' of
http://114.115.168.181/yuguangyang/style_tool
into htcloud
parents
7f5b5f4b
bcbd29e0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
18 deletions
+29
-18
element-variables.scss
element-variables.scss
+9
-6
message-box.scss
node_module/element-theme-chalk/src/message-box.scss
+20
-12
No files found.
element-variables.scss
View file @
331557b2
...
@@ -152,6 +152,8 @@ $--box-shadow-base: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04) !de
...
@@ -152,6 +152,8 @@ $--box-shadow-base: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04) !de
$--box-shadow-dark
:
0
2px
4px
rgba
(
0
,
0
,
0
,
.12
)
,
0
0
6px
rgba
(
0
,
0
,
0
,
.12
)
!
default
;
$--box-shadow-dark
:
0
2px
4px
rgba
(
0
,
0
,
0
,
.12
)
,
0
0
6px
rgba
(
0
,
0
,
0
,
.12
)
!
default
;
/// boxShadow|1|Shadow|1
/// boxShadow|1|Shadow|1
$--box-shadow-light
:
0
2px
12px
0
rgba
(
0
,
0
,
0
,
0
.1
)
!
default
;
$--box-shadow-light
:
0
2px
12px
0
rgba
(
0
,
0
,
0
,
0
.1
)
!
default
;
/// boxShadow|1|Shadow|1
$--box-shadow-heavy
:
0
2px
12px
0
rgba
(
0
,
0
,
0
,
0
.2
)
!
default
;
/* Fill
/* Fill
-------------------------- */
-------------------------- */
...
@@ -407,16 +409,17 @@ $--alert-icon-large-size: 28px !default;
...
@@ -407,16 +409,17 @@ $--alert-icon-large-size: 28px !default;
/// color||Color|0
/// color||Color|0
$--messagebox-title-color
:
$--color-text-primary
!
default
;
$--messagebox-title-color
:
$--color-text-primary
!
default
;
$--msgbox-width
:
420px
!
default
;
$--msgbox-width
:
420px
!
default
;
$--msgbox-border-radius
:
4
px
!
default
;
$--msgbox-border-radius
:
6
px
!
default
;
/// fontSize||Font|1
/// fontSize||Font|1
$--messagebox-font-size
:
$--font-size-large
!
default
;
$--messagebox-font-size
:
$--font-size-large
!
default
;
/// fontSize||Font|1
/// fontSize||Font|1
$--messagebox-content-font-size
:
$--font-size-base
!
default
;
$--messagebox-content-font-size
:
$--font-size-base
!
default
;
/// color||Color|0
/// color||Color|0
$--messagebox-content-color
:
$--color-text-
regular
!
default
;
$--messagebox-content-color
:
$--color-text-
primary
!
default
;
/// fontSize||Font|1
/// fontSize||Font|1
$--messagebox-error-font-size
:
12px
!
default
;
$--messagebox-error-font-size
:
12px
!
default
;
$--msgbox-padding-primary
:
15px
!
default
;
$--msgbox-padding-primary
:
24px
!
default
;
$--msgbox-header-padding-primary
:
16px
!
default
;
/// color||Color|0
/// color||Color|0
$--messagebox-success-color
:
$--color-success
!
default
;
$--messagebox-success-color
:
$--color-success
!
default
;
/// color||Color|0
/// color||Color|0
...
@@ -804,8 +807,8 @@ $--dialog-content-font-size: 14px !default;
...
@@ -804,8 +807,8 @@ $--dialog-content-font-size: 14px !default;
/// fontLineHeight||LineHeight|2
/// fontLineHeight||LineHeight|2
$--dialog-font-line-height
:
$--font-line-height-primary
!
default
;
$--dialog-font-line-height
:
$--font-line-height-primary
!
default
;
/// padding||Spacing|3
/// padding||Spacing|3
$--dialog-padding-primary
:
2
0
px
!
default
;
$--dialog-padding-primary
:
2
4
px
!
default
;
$--dialog-header-padding-primary
:
16px
!
default
;
/* Table
/* Table
-------------------------- */
-------------------------- */
///table||header|0
///table||header|0
...
@@ -853,7 +856,7 @@ $--pagination-hover-color: $--color-primary !default;
...
@@ -853,7 +856,7 @@ $--pagination-hover-color: $--color-primary !default;
/// color||Color|0
/// color||Color|0
$--popup-modal-background-color
:
$--color-black
!
default
;
$--popup-modal-background-color
:
$--color-black
!
default
;
/// opacity||Other|1
/// opacity||Other|1
$--popup-modal-opacity
:
0
.
5
!
default
;
$--popup-modal-opacity
:
0
.
4
!
default
;
/* Popover
/* Popover
-------------------------- */
-------------------------- */
...
...
node_module/element-theme-chalk/src/message-box.scss
View file @
331557b2
...
@@ -7,13 +7,13 @@
...
@@ -7,13 +7,13 @@
@include
b
(
message-box
)
{
@include
b
(
message-box
)
{
display
:
inline-block
;
display
:
inline-block
;
width
:
$--msgbox-width
;
width
:
$--msgbox-width
;
padding-bottom
:
10
px
;
padding-bottom
:
24
px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
background-color
:
$--color-white
;
background-color
:
$--color-white
;
border-radius
:
$--msgbox-border-radius
;
border-radius
:
$--msgbox-border-radius
;
border
:
1px
solid
$--border-color-lighter
;
border
:
1px
solid
$--border-color-lighter
;
font-size
:
$--messagebox-font-size
;
font-size
:
$--messagebox-font-size
;
box-shadow
:
$--box-shadow-
light
;
box-shadow
:
$--box-shadow-
heavy
;
text-align
:
left
;
text-align
:
left
;
overflow
:
hidden
;
overflow
:
hidden
;
backface-visibility
:
hidden
;
backface-visibility
:
hidden
;
...
@@ -37,22 +37,24 @@
...
@@ -37,22 +37,24 @@
@include
e
(
header
)
{
@include
e
(
header
)
{
position
:
relative
;
position
:
relative
;
padding
:
$--msgbox-padding-primary
;
padding
:
$--msgbox-header-padding-primary
;
padding-bottom
:
10px
;
padding-bottom
:
8px
;
padding-top
:
8px
;
}
}
@include
e
(
title
)
{
@include
e
(
title
)
{
padding-left
:
0
;
padding-left
:
0
;
margin-bottom
:
0
;
margin-bottom
:
0
;
font-size
:
$--messagebox-font-size
;
font-size
:
$--messagebox-font-size
;
line-height
:
1
;
line-height
:
36px
;
height
:
36px
;
color
:
$--messagebox-title-color
;
color
:
$--messagebox-title-color
;
}
}
@include
e
(
headerbtn
)
{
@include
e
(
headerbtn
)
{
position
:
absolute
;
position
:
absolute
;
top
:
$--msgbox-padding-primary
;
top
:
$--msgbox-
header-
padding-primary
;
right
:
$--msgbox-padding-primary
;
right
:
12px
;
padding
:
0
;
padding
:
0
;
border
:
none
;
border
:
none
;
outline
:
none
;
outline
:
none
;
...
@@ -61,7 +63,7 @@
...
@@ -61,7 +63,7 @@
cursor
:
pointer
;
cursor
:
pointer
;
.el-message-box__close
{
.el-message-box__close
{
color
:
$--color-
info
;
color
:
$--color-
default-text-plain
;
}
}
&
:focus
,
&
:hover
{
&
:focus
,
&
:hover
{
...
@@ -95,7 +97,7 @@
...
@@ -95,7 +97,7 @@
@include
e
(
status
)
{
@include
e
(
status
)
{
position
:
absolute
;
position
:
absolute
;
top
:
5
0%
;
top
:
2
0%
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
font-size
:
24px
!
important
;
font-size
:
24px
!
important
;
...
@@ -105,8 +107,8 @@
...
@@ -105,8 +107,8 @@
}
}
+
.el-message-box__message
{
+
.el-message-box__message
{
padding-left
:
3
6
px
;
padding-left
:
3
2
px
;
padding-right
:
12
px
;
padding-right
:
8
px
;
}
}
&
.el-icon-success
{
&
.el-icon-success
{
...
@@ -146,8 +148,14 @@
...
@@ -146,8 +148,14 @@
padding
:
5px
15px
0
;
padding
:
5px
15px
0
;
text-align
:
right
;
text-align
:
right
;
&
button
:nth-child
(
1
)
{
color
:
$--color-text-secondary
;
background-color
:
$--color-white
;
border-color
:
$--color-text-placeholder
;
}
&
button
:nth-child
(
2
)
{
&
button
:nth-child
(
2
)
{
margin-left
:
10
px
;
margin-left
:
8
px
;
}
}
}
}
...
...
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