Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
npm
/
glsx-components
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c0e35413
authored
Sep 27, 2021
by
ym
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
theme.scss
1 parent
945a2ec8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
158 additions
and
94 deletions
src/theme/theme.scss
src/theme/theme.scss
View file @
c0e3541
/* element */
$defaultColor
:
#5850FF
;
$lightColor
:
#7973ff
;
$dackColor
:
#4f48e6
;
/* 按钮 */
.el-button
{
.el-button
{
padding
:
10px
20px
;
padding
:
10px
20px
;
...
@@ -8,14 +12,14 @@
...
@@ -8,14 +12,14 @@
.el-button
:hover
,
.el-button
:hover
,
.el-button
:focus
{
.el-button
:focus
{
color
:
#5850FF
;
color
:
$defaultColor
;
border-color
:
#cdcbff
;
border-color
:
#cdcbff
;
background-color
:
#eef
;
background-color
:
#eef
;
}
}
.el-button
:active
{
.el-button
:active
{
color
:
#4f48e6
;
color
:
$dackColor
;
border-color
:
#4f48e6
;
border-color
:
$dackColor
;
outline
:
none
;
outline
:
none
;
}
}
...
@@ -25,24 +29,42 @@
...
@@ -25,24 +29,42 @@
.el-button--primary
{
.el-button--primary
{
color
:
#fff
;
color
:
#fff
;
background-color
:
#5850ff
;
background-color
:
$defaultColor
;
border-color
:
#5850ff
;
border-color
:
$defaultColor
;
}
}
.el-button--primary
:focus
,
.el-button--primary
:focus
,
.el-button--primary
:hover
{
.el-button--primary
:hover
{
background
:
#7973ff
;
background
:
$lightColor
;
border-color
:
#7973ff
;
border-color
:
$lightColor
;
color
:
#fff
;
color
:
#fff
;
}
}
.el-button--text
:focus
,
.el-button--text
:hover
{
color
:
$lightColor
;
border-color
:
transparent
;
background-color
:
transparent
;
}
.el-button.is-plain
:focus
,
.el-button.is-plain
:hover
{
background
:
#FFF
;
border-color
:
$lightColor
;
color
:
$lightColor
;
}
.el-button--primary.is-active
,
.el-button--primary.is-active
,
.el-button--primary
:active
{
.el-button--primary
:active
{
background
:
#4f48e6
;
background
:
$dackColor
;
border-color
:
#4f48e6
;
border-color
:
$dackColor
;
color
:
#fff
;
color
:
#fff
;
}
}
.el-select
.el-input__inner
:focus
{
border-color
:
$dackColor
;
}
.el-button--small
{
.el-button--small
{
padding
:
9px
20px
;
padding
:
9px
20px
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -70,163 +92,205 @@
...
@@ -70,163 +92,205 @@
line-height
:
28px
;
line-height
:
28px
;
}
}
/* 输入框 下拉框 选择器 开关 单选 多选*/
.el-input__inner
:focus
{
.el-input__inner
:focus
{
outline
:
none
;
outline
:
none
;
border-color
:
#5850FF
;
border-color
:
$defaultColor
;
}
}
.el-date-table
td
.today
span
{
.el-date-table
td
.today
span
{
color
:
#5850FF
;
color
:
$defaultColor
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.el-date-table
td
.current
:not
(
.disabled
)
span
{
.el-date-table
td
.current
:not
(
.disabled
)
span
{
color
:
#fff
;
color
:
#fff
;
background-color
:
#5850FF
;
background-color
:
$defaultColor
;
}
}
.el-date-table
td
.available
:hover
{
.el-date-table
td
.available
:hover
{
color
:
#5850FF
;
color
:
$defaultColor
;
}
}
.el-select
.el-input.is-focus
.el-input__inner
{
.el-time-panel__btn.confirm
{
border-color
:
#5850FF
;
font-weight
:
800
;
color
:
$defaultColor
;
}
}
.el-
pager
li
.active
{
.el-
date-picker__header-label.active
,
color
:
#5850FF
;
.el-date-picker__header-label
:hover
{
c
ursor
:
default
;
c
olor
:
$defaultColor
;
}
}
.el-pager
li
:hover
{
.el-year-table
td
.today
.cell
{
color
:
#5850FF
;
color
:
$defaultColor
;
font-weight
:
700
;
}
}
.el-
pagination
button
:hover
{
.el-
month-table
td
.cell
:hover
{
color
:
#5850FF
;
color
:
$defaultColor
;
}
}
.el-form-item__label
{
.el-picker-panel__icon-btn
:hover
{
font-size
:
14px
;
color
:
$defaultColor
;
font-weight
:
400
;
color
:
#666666
;
}
}
.el-date-table
td
.end-date
span
,
.el-date-table
td
.start-date
span
{
background-color
:
$defaultColor
;
}
/* common.css */
.el-year-table
td
.cell
:hover
,
.el-year-table
td
.current
:not
(
.disabled
)
.cell
{
color
:
$defaultColor
;
}
.el-select
.el-input.is-focus
.el-input__inner
{
border-color
:
$defaultColor
;
}
/* img {
.el-button--text
{
width: 100%;
color
:
$defaultColor
;
height: 100%;
}
vertical-align: top;
} */
.text-hide
{
.el-select-dropdown__item.selected
{
white-space
:
nowrap
;
color
:
$defaultColor
;
overflow
:
hidden
;
font-weight
:
bold
;
text-overflow
:
ellipsis
;
}
}
.text-hide-2
{
.el-switch.is-checked
.el-switch__core
{
overflow
:
hidden
;
border-color
:
$defaultColor
;
text-overflow
:
ellipsis
;
background-color
:
$defaultColor
;
display
:
-
webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
}
}
.scrm-textRight
{
.el-radio__input.is-checked
.el-radio__inner
{
text-align
:
right
;
border-color
:
$defaultColor
;
background
:
$defaultColor
;
}
}
.
scrm-textCent
er
{
.
el-radio__inner
:hov
er
{
text-align
:
cente
r
;
border-color
:
$defaultColo
r
;
}
}
.
scrm-f12
{
.
el-radio__input.is-checked
+
.el-radio__label
{
font-size
:
12px
;
color
:
$defaultColor
;
}
}
.scrm-f13
{
.el-checkbox__input.is-checked
.el-checkbox__inner
{
font-size
:
13px
;
background-color
:
$defaultColor
;
border-color
:
$defaultColor
;
}
}
.
scrm-f14
{
.
el-checkbox__inner
:hover
{
font-size
:
14px
;
border-color
:
$defaultColor
;
}
}
.
scrm-f15
{
.
el-checkbox__input.is-checked
+
.el-checkbox__label
{
font-size
:
15px
;
color
:
$defaultColor
;
}
}
.scrm-f16
{
.el-checkbox__input.is-checked
.el-checkbox__inner
,
font-size
:
16px
;
.el-checkbox__input.is-indeterminate
.el-checkbox__inner
{
background-color
:
$defaultColor
;
border-color
:
$defaultColor
;
}
}
.
scrm-f18
{
.
el-checkbox__input.is-focus
.el-checkbox__inner
{
font-size
:
18px
;
border-color
:
$defaultColor
;
}
}
.scrm-f20
{
font-size
:
20px
;
/* 标签*/
.el-tag
{
color
:
$lightColor
;
background
:
#E6E9FF
;
border
:
1px
solid
#5850FF
;
}
}
.
scrm-f22
{
.
el-tag
.el-tag__close
{
font-size
:
22px
;
color
:
$lightColor
;
}
}
.
scrm-f24
{
.
el-tag
.el-tag__close
:hover
{
font-size
:
24px
;
background-color
:
$lightColor
;
}
}
.scrm-m10
{
margin
:
10px
;
/* 树形 */
.el-tree--highlight-current
.el-tree-node.is-current
>
.el-tree-node__content
{
color
:
$defaultColor
;
background-color
:
#F2F5FA
;
height
:
34px
;
}
}
.
scrm-m20
{
.
el-tree-node__content
{
margin
:
20
px
;
height
:
34
px
;
}
}
.scrm-ml10
{
margin-left
:
10px
;
/* 表格 */
.el-table
.el-table__header
tr
{
background
:
#F4F6FC
;
font-size
:
14px
;
font-weight
:
500
;
color
:
#333333
;
line-height
:
20px
;
}
}
.scrm-ml20
{
.el-table
th
.el-table__cell
{
margin-left
:
20px
;
background
:
#F4F6FC
;
font-size
:
14px
;
font-weight
:
600
;
color
:
#333333
;
line-height
:
20px
;
}
}
.scrm-mr10
{
.el-table__body
{
margin-right
:
10px
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#666666
;
line-height
:
14px
;
}
}
.
scrm-mr20
{
.
el-table--striped
.el-table__body
tr
.el-table__row--striped.current-row
td
.el-table__cell
{
margin-right
:
20px
;
background-color
:
#F4F6FC
;
}
}
.
scrm-p10
{
.
el-table__body
tr
.current-row
>
td
.el-table__cell
{
padding
:
10px
;
background-color
:
#F4F6FC
;
}
}
.scrm-p20
{
padding
:
20px
;
/* 分页 */
.el-pager
li
.active
{
color
:
$defaultColor
;
cursor
:
default
;
}
}
.scrm-box-background
{
.el-pager
li
:hover
{
background
:
#FFFFFF
;
color
:
$defaultColor
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.10
);
}
}
.scrm-h1-title
{
.el-pagination
button
:hover
{
font-size
:
20px
;
color
:
$defaultColor
;
font-weight
:
600
;
color
:
#424242
;
line-height
:
20px
;
}
}
.scrm-h2-title
{
.el-pagination.is-background
.el-pager
li
:not
(
.disabled
)
.active
{
font-size
:
16px
;
background-color
:
$defaultColor
;
font-weight
:
600
;
}
color
:
#333333
;
line-height
:
28px
;
.el-pagination__sizes
.el-input
.el-input__inner
:hover
{
border-color
:
$defaultColor
;
}
.el-form-item__label
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#666666
;
}
}
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment