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
70c61894
Commit
70c61894
authored
Apr 10, 2020
by
刘安琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改按钮相关配置值,增加特殊颜色变量
parent
e0e38917
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
199 additions
and
28 deletions
+199
-28
element-variables.scss
element-variables.scss
+199
-28
No files found.
element-variables.scss
View file @
70c61894
...
...
@@ -16,7 +16,19 @@ $--color-transition-base: color .2s cubic-bezier(.645,.045,.355,1) !default;
/* Color
-------------------------- */
/// color|1|Brand Color|0
$--color-primary
:
#000000
!
default
;
$--color-primary
:
#0994DC
!
default
;
$--color-primary-hover
:
#0885C6
!
default
;
$--color-primary-background-plain
:
#FFFFFF
!
default
;
$--color-primary-border-plain
:
#0994DC
!
default
;
$--color-primary-text-plain
:
#0994DC
!
default
;
$--color-primary-background-plain-hover
:
#EDF6FC
!
default
;
$--color-primary-border-plain-hover
:
#0885C6
!
default
;
$--color-primary-text-plain-hover
:
#0885C6
!
default
;
$--color-default-hover
:
#EDF6FC
!
default
;
$--color-default-border-plain
:
#E4E4E4
!
default
;
$--color-default-text-plain
:
#999999
!
default
;
/// color|1|Background Color|4
$--color-white
:
#FFFFFF
!
default
;
/// color|1|Background Color|4
...
...
@@ -31,13 +43,52 @@ $--color-primary-light-7: mix($--color-white, $--color-primary, 70%) !default; /
$--color-primary-light-8
:
mix
(
$--color-white
,
$--color-primary
,
80%
)
!
default
;
/* d9ecff */
$--color-primary-light-9
:
mix
(
$--color-white
,
$--color-primary
,
90%
)
!
default
;
/* ecf5ff */
/// color|1|Functional Color|1
$--color-success
:
#67C23A
!
default
;
$--color-success
:
#4EC87C
!
default
;
$--color-success-hover
:
#43BF73
!
default
;
$--color-success-background-plain
:
#EBF8F2
!
default
;
$--color-success-border-plain
:
#CFEFDF
!
default
;
$--color-success-text-plain
:
#4EC87C
!
default
;
$--color-success-background-plain-hover
:
#E1F2EA
!
default
;
$--color-success-border-plain-hover
:
#43C072
!
default
;
$--color-success-text-plain-hover
:
#43BF73
!
default
;
/// color|1|Functional Color|1
$--color-warning
:
#FFA533
!
default
;
$--color-warning-hover
:
#F29924
!
default
;
$--color-warning-background-plain
:
#FFF5E6
!
default
;
$--color-warning-border-plain
:
#F8DDC0
!
default
;
$--color-warning-text-plain
:
#FFA533
!
default
;
$--color-warning-background-plain-hover
:
#FAEDD9
!
default
;
$--color-warning-border-plain-hover
:
#F0D2B2
!
default
;
$--color-warning-text-plain-hover
:
#F29924
!
default
;
/// color|1|Functional Color|1
$--color-warning
:
#E6A23C
!
default
;
$--color-danger
:
#FF3D33
!
default
;
$--color-danger-hover
:
#F22F24
!
default
;
$--color-danger-background-plain
:
#FCEEED
!
default
;
$--color-danger-border-plain
:
#FCDDDC
!
default
;
$--color-danger-text-plain
:
#FF3D33
!
default
;
$--color-danger-background-plain-hover
:
#FAE7E6
!
default
;
$--color-danger-border-plain-hover
:
#F5CDCB
!
default
;
$--color-danger-text-plain-hover
:
#F22F24
!
default
;
/// color|1|Functional Color|1
$--color-danger
:
#F56C6C
!
default
;
$--color-hint
:
#FFBF00
!
default
;
$--color-hint-hover
:
#F2B600
!
default
;
$--color-hint-background-plain
:
#FFF9E1
!
default
;
$--color-hint-border-plain
:
#FFE3BE
!
default
;
$--color-hint-text-plain
:
#FFBF00
!
default
;
$--color-hint-background-plain-hover
:
#FAE7E6
!
default
;
$--color-hint-border-plain-hover
:
#F5CDCB
!
default
;
$--color-hint-text-plain-hover
:
#EBB102
!
default
;
/// color|1|Functional Color|1
$--color-info
:
#909399
!
default
;
$--color-info
:
#00BBF2
!
default
;
$--color-info-hover
:
#00B0E5
!
default
;
$--color-info-background-plain
:
#EAF4FF
!
default
;
$--color-info-border-plain
:
#D5E8FC
!
default
;
$--color-info-text-plain
:
#666666
!
default
;
$--color-info-background-plain-hover
:
#BED7F2
!
default
;
$--color-info-border-plain-hover
:
#E0EDFB
!
default
;
$--color-info-text-plain-hover
:
#605E5E
!
default
;
$--color-success-light
:
mix
(
$--color-white
,
$--color-success
,
80%
)
!
default
;
$--color-warning-light
:
mix
(
$--color-white
,
$--color-warning
,
80%
)
!
default
;
...
...
@@ -49,25 +100,28 @@ $--color-warning-lighter: mix($--color-white, $--color-warning, 90%) !default;
$--color-danger-lighter
:
mix
(
$--color-white
,
$--color-danger
,
90%
)
!
default
;
$--color-info-lighter
:
mix
(
$--color-white
,
$--color-info
,
90%
)
!
default
;
/// color|1|Font Color|2
$--color-text-primary
:
#3
031
33
!
default
;
$--color-text-primary
:
#3
333
33
!
default
;
/// color|1|Font Color|2
$--color-text-regular
:
#6
062
66
!
default
;
$--color-text-regular
:
#6
666
66
!
default
;
/// color|1|Font Color|2
$--color-text-secondary
:
#9
093
99
!
default
;
$--color-text-secondary
:
#9
999
99
!
default
;
/// color|1|Font Color|2
$--color-text-placeholder
:
#C
0C4
CC
!
default
;
$--color-text-placeholder
:
#C
CCC
CC
!
default
;
/// color|1|Border Color|3
$--border-color-base
:
#
DCDFE6
!
default
;
$--border-color-base
:
#
E4E4E4
!
default
;
/// color|1|Border Color|3
$--border-color-light
:
#E
4E7ED
!
default
;
$--border-color-light
:
#E
0E0E0
!
default
;
/// color|1|Border Color|3
$--border-color-lighter
:
#EBE
EF5
!
default
;
$--border-color-lighter
:
#EBE
BEB
!
default
;
/// color|1|Border Color|3
$--border-color-extra-light
:
#F2F6FC
!
default
;
// Background
/// color|1|Background Color|4
$--background-color-base
:
#F5F7FA
!
default
;
$--background-color-base
:
#F6F6F6
!
default
;
$--background-color-light
:
#F5F6F7
!
default
;
$--background-color-lighter
:
#F8F8F8
!
default
;
/* Link
-------------------------- */
...
...
@@ -81,9 +135,9 @@ $--border-style-base: solid !default;
$--border-color-hover
:
$--color-text-placeholder
!
default
;
$--border-base
:
$--border-width-base
$--border-style-base
$--border-color-base
!
default
;
/// borderRadius|1|Radius|0
$--border-radius-base
:
4
px
!
default
;
$--border-radius-base
:
3
px
!
default
;
/// borderRadius|1|Radius|0
$--border-radius-small
:
2
px
!
default
;
$--border-radius-small
:
3
px
!
default
;
/// borderRadius|1|Radius|0
$--border-radius-circle
:
100%
!
default
;
/// borderRadius|1|Radius|0
...
...
@@ -515,48 +569,67 @@ $--button-font-weight: $--font-weight-primary !default;
/// borderRadius||Border|2
$--button-border-radius
:
$--border-radius-base
!
default
;
/// padding||Spacing|3
$--button-padding-vertical
:
1
2
px
!
default
;
$--button-padding-vertical
:
1
0
px
!
default
;
/// padding||Spacing|3
$--button-padding-horizontal
:
20
px
!
default
;
$--button-padding-horizontal
:
16
px
!
default
;
/// fontSize||Font|1
$--button-medium-font-size
:
$--font-size-base
!
default
;
/// borderRadius||Border|2
$--button-medium-border-radius
:
$--border-radius-base
!
default
;
/// padding||Spacing|3
$--button-medium-padding-vertical
:
10
px
!
default
;
$--button-medium-padding-vertical
:
9
px
!
default
;
/// padding||Spacing|3
$--button-medium-padding-horizontal
:
20
px
!
default
;
$--button-medium-padding-horizontal
:
16
px
!
default
;
/// fontSize||Font|1
$--button-small-font-size
:
12px
!
default
;
$--button-small-border-radius
:
#{
$--border-radius-base
-
1
}
!
default
;
$--button-small-border-radius
:
$--border-radius-base
!
default
;
/// padding||Spacing|3
$--button-small-padding-vertical
:
9
px
!
default
;
$--button-small-padding-vertical
:
7
px
!
default
;
/// padding||Spacing|3
$--button-small-padding-horizontal
:
1
5
px
!
default
;
$--button-small-padding-horizontal
:
1
6
px
!
default
;
/// fontSize||Font|1
$--button-mini-font-size
:
12px
!
default
;
$--button-mini-border-radius
:
#{
$--border-radius-base
-
1
}
!
default
;
$--button-mini-border-radius
:
$--border-radius-base
!
default
;
/// padding||Spacing|3
$--button-mini-padding-vertical
:
7
px
!
default
;
$--button-mini-padding-vertical
:
5
px
!
default
;
/// padding||Spacing|3
$--button-mini-padding-horizontal
:
1
5
px
!
default
;
$--button-mini-padding-horizontal
:
1
6
px
!
default
;
/// color||Color|0
$--button-default-font-color
:
$--color-
text-regular
!
default
;
$--button-default-font-color
:
$--color-
primary
!
default
;
/// color||Color|0
$--button-default-background-color
:
$--color-white
!
default
;
/// color||Color|0
$--button-default-border-color
:
$--border-color-base
!
default
;
$--button-default-border-color
:
$--color-primary
!
default
;
/// color||Color|0
$--button-default-font-color-hover
:
$--color-primary-hover
!
default
;
/// color||Color|0
$--button-default-background-color-hover
:
$--color-primary-background-plain-hover
!
default
;
/// color||Color|0
$--button-default-border-color-hover
:
$--color-primary-hover
!
default
;
/// color||Color|0
$--button-default-font-color-plain
:
$--color-default-text-plain
!
default
;
/// color||Color|0
$--button-default-background-color-plain
:
$--color-white
!
default
;
/// color||Color|0
$--button-default-border-color-plain
:
$--color-default-border-plain
!
default
;
/// color||Color|0
$--button-default-font-color-plain-hover
:
$--color-primary-text-plain-hover
!
default
;
/// color||Color|0
$--button-default-background-color-plain-hover
:
$--color-primary-background-plain-hover
!
default
;
/// color||Color|0
$--button-default-border-color-plain-hover
:
$--color-primary-border-plain-hover
!
default
;
/// color||Color|0
$--button-disabled-font-color
:
$--color-text-placeholder
!
default
;
/// color||Color|0
$--button-disabled-background-color
:
$--
color-white
!
default
;
$--button-disabled-background-color
:
$--
background-color-lighter
!
default
;
/// color||Color|0
$--button-disabled-border-color
:
$--border-color-lighter
!
default
;
////button primary
/// color||Color|0
$--button-primary-border-color
:
$--color-primary
!
default
;
/// color||Color|0
...
...
@@ -564,29 +637,127 @@ $--button-primary-font-color: $--color-white !default;
/// color||Color|0
$--button-primary-background-color
:
$--color-primary
!
default
;
/// color||Color|0
$--button-primary-border-color-hover
:
$--color-primary-hover
!
default
;
/// color||Color|0
$--button-primary-font-color-hover
:
$--color-white
!
default
;
/// color||Color|0
$--button-primary-background-color-hover
:
$--color-primary-hover
!
default
;
/// color||Color|0
$--button-primary-border-color-plain
:
$--color-primary-border-plain
!
default
;
/// color||Color|0
$--button-primary-font-color-plain
:
$--color-primary-text-plain
!
default
;
/// color||Color|0
$--button-primary-background-color-plain
:
$--color-primary-background-plain
!
default
;
/// color||Color|0
$--button-primary-border-color-plain-hover
:
$--color-primary-border-plain-hover
!
default
;
/// color||Color|0
$--button-primary-font-color-plain-hover
:
$--color-primary-text-plain-hover
!
default
;
/// color||Color|0
$--button-primary-background-color-plain-hover
:
$--color-primary-background-plain-hover
!
default
;
///button success
/// color||Color|0
$--button-success-border-color
:
$--color-success
!
default
;
/// color||Color|0
$--button-success-font-color
:
$--color-white
!
default
;
/// color||Color|0
$--button-success-background-color
:
$--color-success
!
default
;
/// color||Color|0
$--button-success-border-color-hover
:
$--color-success-hover
!
default
;
/// color||Color|0
$--button-success-font-color-hover
:
$--color-white
!
default
;
/// color||Color|0
$--button-success-background-color-hover
:
$--color-success-hover
!
default
;
/// color||Color|0
$--button-success-border-color-plain
:
$--color-success-border-plain
!
default
;
/// color||Color|0
$--button-success-font-color-plain
:
$--color-success-text-plain
!
default
;
/// color||Color|0
$--button-success-background-color-plain
:
$--color-success-background-plain
!
default
;
/// color||Color|0
$--button-success-border-color-plain-hover
:
$--color-success-border-plain-hover
!
default
;
/// color||Color|0
$--button-success-font-color-plain-hover
:
$--color-success-text-plain-hover
!
default
;
/// color||Color|0
$--button-success-background-color-plain-hover
:
$--color-success-background-plain-hover
!
default
;
///button warning
/// color||Color|0
$--button-warning-border-color
:
$--color-warning
!
default
;
/// color||Color|0
$--button-warning-font-color
:
$--color-white
!
default
;
/// color||Color|0
$--button-warning-background-color
:
$--color-warning
!
default
;
/// color||Color|0
$--button-warning-border-color-hover
:
$--color-warning-hover
!
default
;
/// color||Color|0
$--button-warning-font-color-hover
:
$--color-white
!
default
;
/// color||Color|0
$--button-warning-background-color-hover
:
$--color-warning-hover
!
default
;
/// color||Color|0
$--button-warning-border-color-plain
:
$--color-warning-border-plain
!
default
;
/// color||Color|0
$--button-warning-font-color-plain
:
$--color-warning-text-plain
!
default
;
/// color||Color|0
$--button-warning-background-color-plain
:
$--color-warning-background-plain
!
default
;
/// color||Color|0
$--button-warning-border-color-plain-hover
:
$--color-warning-border-plain-hover
!
default
;
/// color||Color|0
$--button-warning-font-color-plain-hover
:
$--color-warning-text-plain-hover
!
default
;
/// color||Color|0
$--button-warning-background-color-plain-hover
:
$--color-warning-background-plain-hover
!
default
;
///button danger
/// color||Color|0
$--button-danger-border-color
:
$--color-danger
!
default
;
/// color||Color|0
$--button-danger-font-color
:
$--color-white
!
default
;
/// color||Color|0
$--button-danger-background-color
:
$--color-danger
!
default
;
/// color||Color|0
$--button-danger-border-color-hover
:
$--color-danger-hover
!
default
;
/// color||Color|0
$--button-danger-font-color-hover
:
$--color-white
!
default
;
/// color||Color|0
$--button-danger-background-color-hover
:
$--color-danger-hover
!
default
;
/// color||Color|0
$--button-danger-border-color-plain
:
$--color-danger-border-plain
!
default
;
/// color||Color|0
$--button-danger-font-color-plain
:
$--color-danger-text-plain
!
default
;
/// color||Color|0
$--button-danger-background-color-plain
:
$--color-danger-background-plain
!
default
;
/// color||Color|0
$--button-danger-border-color-plain-hover
:
$--color-danger-text-plain-hover
!
default
;
/// color||Color|0
$--button-danger-font-color-plain-hover
:
$--color-danger-text-plain-hover
!
default
;
/// color||Color|0
$--button-danger-background-color-plain-hover
:
$--color-danger-background-plain-hover
!
default
;
///button info
/// color||Color|0
$--button-info-border-color
:
$--color-info
!
default
;
/// color||Color|0
$--button-info-font-color
:
$--color-white
!
default
;
/// color||Color|0
$--button-info-background-color
:
$--color-info
!
default
;
/// color||Color|0
$--button-info-border-color-hover
:
$--color-info-hover
!
default
;
/// color||Color|0
$--button-info-font-color-hover
:
$--color-white
!
default
;
/// color||Color|0
$--button-info-background-color-hover
:
$--color-info-hover
!
default
;
/// color||Color|0
$--button-info-border-color-plain
:
$--color-info-border-plain
!
default
;
/// color||Color|0
$--button-info-font-color-plain
:
$--color-info-text-plain
!
default
;
/// color||Color|0
$--button-info-background-color-plain
:
$--color-info-background-plain
!
default
;
/// color||Color|0
$--button-info-border-color-plain-hover
:
$--color-info-border-plain-hover
!
default
;
/// color||Color|0
$--button-info-font-color-plain-hover
:
$--color-info-text-plain-hover
!
default
;
/// color||Color|0
$--button-info-background-color-plain-hover
:
$--color-info-background-plain-hover
!
default
;
$--button-hover-tint-percent
:
20%
!
default
;
$--button-active-shade-percent
:
10%
!
default
;
...
...
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