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 1a7e4fcc
authored
Dec 30, 2021
by
yangming
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
弹框
1 parent
ceb3c567
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
106 deletions
src/theme/theme.scss
src/theme/theme.scss
View file @
1a7e4fc
@import
"utils.scss"
;
$defaultColor
:
#5850ff
;
$lightColor
:
#7973ff
;
$dackColor
:
#4f48e6
;
/* 按钮 */
.el-button
{
padding
:
12px
20px
;
font-size
:
14px
;
border-radius
:
4px
;
}
.el-button
:hover
,
.el-button
:focus
{
color
:
$defaultColor
;
border-color
:
#cdcbff
;
background-color
:
#eef
;
}
.el-button
:active
{
color
:
$dackColor
;
border-color
:
$dackColor
;
outline
:
none
;
}
.el-button.is-round
{
padding
:
12px
20px
;
}
.el-button--primary
{
color
:
#fff
;
background-color
:
$defaultColor
;
border-color
:
$defaultColor
;
}
.el-button--primary
:focus
,
.el-button--primary
:hover
{
background
:
$lightColor
;
border-color
:
$lightColor
;
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
:active
{
background
:
$dackColor
;
border-color
:
$dackColor
;
color
:
#fff
;
}
.el-select
.el-input__inner
:focus
{
border-color
:
$dackColor
;
}
.el-button--small
{
padding
:
8px
16px
;
font-size
:
14px
;
border-radius
:
4px
;
}
.el-button--small.is-round
{
padding
:
8px
16px
;
}
.el-button--mini
{
padding
:
5px
10px
;
font-size
:
14px
;
border-radius
:
4px
;
}
.el-button--mini.is-round
{
padding
:
5px
10px
;
}
.el-dialog__title
{
font-size
:
20px
;
font-weight
:
500
;
color
:
#333333
;
line-height
:
28px
;
}
/* 输入框 下拉框 选择器 开关 单选 多选*/
.el-input__inner
:focus
{
outline
:
none
;
border-color
:
$defaultColor
;
}
.el-date-table
td
.today
span
{
color
:
$defaultColor
;
font-weight
:
bold
;
}
.el-date-table
td
.current
:not
(
.disabled
)
span
{
color
:
#fff
;
background-color
:
$defaultColor
;
}
.el-date-table
td
.available
:hover
{
color
:
$defaultColor
;
}
.el-time-panel__btn.confirm
{
font-weight
:
800
;
color
:
$defaultColor
;
}
.el-date-picker__header-label.active
,
.el-date-picker__header-label
:hover
{
color
:
$defaultColor
;
}
.el-year-table
td
.today
.cell
{
color
:
$defaultColor
;
font-weight
:
700
;
}
.el-month-table
td
.cell
:hover
{
color
:
$defaultColor
;
}
.el-picker-panel__icon-btn
:hover
{
color
:
$defaultColor
;
}
.el-date-table
td
.end-date
span
,
.el-date-table
td
.start-date
span
{
background-color
:
$defaultColor
;
}
.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
;
}
.el-button--text
{
color
:
$defaultColor
;
padding
:
0px
;
}
.el-select-dropdown__item.selected
{
color
:
$defaultColor
;
font-weight
:
bold
;
}
.el-textarea__inner
:focus
{
border-color
:
$dackColor
;
}
.el-switch.is-checked
.el-switch__core
{
border-color
:
$defaultColor
;
background-color
:
$defaultColor
;
}
.el-radio__input.is-checked
.el-radio__inner
{
border-color
:
$defaultColor
;
background
:
#fff
;
}
.el-radio-button__orig-radio
:checked
+
.el-radio-button__inner
{
background-color
:
$defaultColor
;
border-color
:
$defaultColor
;
-webkit-box-shadow
:
-1px
0
0
0
$defaultColor
;
box-shadow
:
-1px
0
0
0
$defaultColor
;
}
.el-radio__inner
:after
{
background-color
:
$defaultColor
;
width
:
10px
;
height
:
10px
;
}
.el-radio__inner
:hover
{
border-color
:
$defaultColor
;
}
.el-radio__input.is-checked
+
.el-radio__label
{
color
:
$defaultColor
;
}
.el-radio-button__inner
:hover
{
color
:
$defaultColor
;
}
.el-checkbox__input.is-checked
.el-checkbox__inner
{
background-color
:
$defaultColor
;
border-color
:
$defaultColor
;
}
.el-checkbox__inner
:hover
{
border-color
:
$defaultColor
;
}
.el-checkbox__input.is-checked
+
.el-checkbox__label
{
color
:
$defaultColor
;
}
.el-checkbox__input.is-checked
.el-checkbox__inner
,
.el-checkbox__input.is-indeterminate
.el-checkbox__inner
{
background-color
:
$defaultColor
;
border-color
:
$defaultColor
;
}
.el-checkbox__input.is-focus
.el-checkbox__inner
{
border-color
:
$defaultColor
;
}
.el-cascader
.el-input.is-focus
.el-input__inner
{
border-color
:
$defaultColor
;
}
.el-cascader-node.in-active-path
,
.el-cascader-node.is-active
,
.el-cascader-node.is-selectable.in-checked-path
{
color
:
$defaultColor
;
}
/* 标签*/
.el-tag
{
color
:
$lightColor
;
background
:
#e6e9ff
;
border
:
1px
solid
#5850ff
;
}
.el-tag
.el-tag__close
{
color
:
$lightColor
;
}
.el-tag
.el-tag__close
:hover
{
background-color
:
$lightColor
;
}
/* 面包屑*/
.el-breadcrumb__inner
a
,
.el-breadcrumb__inner.is-link
{
font-weight
:
400
;
color
:
#999999
;
}
.el-breadcrumb__inner
a
:hover
,
.el-breadcrumb__inner.is-link
:hover
{
color
:
$defaultColor
;
}
.el-breadcrumb__inner
{
font-weight
:
700
;
color
:
#3a3a3a
;
}
.el-breadcrumb__item
:last-child
.el-breadcrumb__inner
,
.el-breadcrumb__item
:last-child
.el-breadcrumb__inner
a
,
.el-breadcrumb__item
:last-child
.el-breadcrumb__inner
a
:hover
,
...
...
@@ -273,51 +220,38 @@ $dackColor: #4f48e6;
font-weight
:
700
;
color
:
#3a3a3a
;
}
/* 树形 */
.el-tree--highlight-current
.el-tree-node.is-current
>
.el-tree-node__content
{
color
:
$defaultColor
;
background-color
:
#f2f5fa
;
height
:
34px
;
}
.el-tree-node__content
{
height
:
34px
;
}
/* 选项卡 */
.el-tabs__item.is-active
{
color
:
$defaultColor
;
}
.el-tabs__item
:hover
{
color
:
$defaultColor
;
}
.el-tabs--border-card
>
.el-tabs__header
.el-tabs__item.is-active
{
color
:
$defaultColor
;
}
.el-tabs--border-card
>
.el-tabs__header
.el-tabs__item
:not
(
.is-disabled
)
:hover
{
color
:
$defaultColor
;
}
.el-tabs__active-bar
{
background-color
:
$defaultColor
;
}
/* 表格 */
.el-table--medium
.el-table__cell
{
padding
:
16px
0px
;
}
.el-table
.cell
{
line-height
:
20px
;
}
.el-table
.el-table__header
tr
{
background
:
#f4f6fc
;
font-size
:
14px
;
...
...
@@ -325,7 +259,6 @@ $dackColor: #4f48e6;
color
:
#333333
;
line-height
:
20px
;
}
.el-table
th
.el-table__cell
{
background
:
#f4f6fc
;
font-size
:
14px
;
...
...
@@ -333,82 +266,65 @@ $dackColor: #4f48e6;
color
:
#333333
;
line-height
:
20px
;
}
.el-table__body
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#666666
;
line-height
:
14px
;
}
.el-table--striped
.el-table__body
tr
.el-table__row--striped.current-row
td
.el-table__cell
{
background-color
:
#f4f
3ff
;
background-color
:
#f4f
4fc
;
}
.el-table__body
tr
.current-row
>
td
.el-table__cell
{
background-color
:
#f4f
3ff
;
background-color
:
#f4f
4fc
;
}
.el-table--striped
.el-table__body
tr
.el-table__row--striped
td
.el-table__cell
{
background
:
#fff
;
}
.el-table__body
tr
.hover-row.current-row
>
td
.el-table__cell
,
.el-table__body
tr
.hover-row.el-table__row--striped.current-row
>
td
.el-table__cell
,
.el-table__body
tr
.hover-row.el-table__row--striped
>
td
.el-table__cell
,
.el-table__body
tr
.hover-row
>
td
.el-table__cell
{
background-color
:
#f4f
3ff
;
background-color
:
#f4f
4fc
;
}
/* 分页 */
.el-pager
li
.active
{
color
:
$defaultColor
;
cursor
:
default
;
}
.el-pager
li
:hover
{
color
:
$defaultColor
;
}
.el-pagination
{
display
:
flex
;
margin-top
:
10px
;
align-items
:
center
;
}
.el-pagination
button
:hover
{
color
:
$defaultColor
;
}
.el-pagination.is-background
.el-pager
li
:not
(
.disabled
)
:hover
{
color
:
$defaultColor
;
}
.el-pagination.is-background
.el-pager
li
:not
(
.disabled
)
.active
{
background-color
:
$defaultColor
;
color
:
#ffffff
;
}
.el-pagination__sizes
.el-input
.el-input__inner
:hover
{
border-color
:
$defaultColor
;
}
.el-pagination__jump
{
margin-left
:
5px
;
}
.el-pagination
.el-select
.el-input
{
margin-left
:
10px
;
}
.el-drawer__header
{
font-size
:
22px
;
font-weight
:
600
;
color
:
#333333
;
line-height
:
30px
;
}
.el-form-item__label
{
font-size
:
14px
;
font-weight
:
400
;
...
...
@@ -419,22 +335,18 @@ $dackColor: #4f48e6;
color
:
$defaultColor
;
}
/*选择-批量选择样式*/
.el-select-dropdown.is-multiple
.el-select-dropdown__item.selected
{
color
:
$defaultColor
;
}
/*下拉菜单*/
.el-dropdown-menu__item
:focus
,
.el-dropdown-menu__item
:not
(
.is-disabled
)
:hover
{
color
:
$defaultColor
;
}
.el-message-box__headerbtn
:focus
.el-message-box__close
,
.el-message-box__headerbtn
:hover
.el-message-box__close
{
color
:
$defaultColor
;
}
.el-button--primary.is-disabled
,
.el-button--primary.is-disabled
:active
,
.el-button--primary.is-disabled
:focus
,
...
...
@@ -469,21 +381,20 @@ $dackColor: #4f48e6;
display
:
block
;
}
.el-table--enable-row-hover
.el-table__body
tr
:hover
{
background
:
#f4f
3ff
!
important
;
background
:
#f4f
4fc
!
important
;
}
.el-table
tbody
tr
:hover
>
td
{
background
:
#f4f
3ff
!
important
;
background
:
#f4f
4fc
!
important
;
}
.el-button--primary.is-disabled
,
.el-button--primary.is-disabled
:active
,
.el-button--primary.is-disabled
:focus
,
.el-button--primary.is-disabled
:hover
{
color
:
#fff
;
background-color
:
#afaffd
;
border-color
:
#afaffd
;
.el-table
.el-table__header
tr
th
{
background
:
#f4f6fc
!
important
;
}
.el-table__body
tr
.hover-row
>
td
{
background
:
#f4f4fc
;
}
.el-message-box
.el-message-box__title
,
.el-message-box
.el-message-box__headerbtn
{
.el-message-box
.el-message-box__title
,
.el-message-box
.el-message-box__headerbtn
{
display
:
none
;
}
.el-message-box__content
{
...
...
@@ -496,11 +407,11 @@ $dackColor: #4f48e6;
.el-message-box__btns
{
text-align
:
center
;
padding
:
20px
0px
10px
;
border-top
:
1px
solid
#
E6E6E
6
;
border-top
:
1px
solid
#
e6e6e
6
;
}
.el-message-box__btns
button
:nth-child
(
2
)
{
margin-left
:
40px
;
}
.el-message-box__status
+
.el-message-box__message
{
.el-message-box__status
+
.el-message-box__message
{
padding
:
0px
10px
;
}
\ 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