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 945a2ec8
authored
Sep 27, 2021
by
ym
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
theme.scss
1 parent
0af48f56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
1 deletions
src/packages/index.js
src/theme/common.css → src/theme/theme.scss
src/packages/index.js
View file @
945a2ec
...
@@ -4,7 +4,7 @@ import GLButton from './Button'
...
@@ -4,7 +4,7 @@ import GLButton from './Button'
import
GLDialog
from
'./Dialog'
import
GLDialog
from
'./Dialog'
import
GLTable
from
'./Table'
import
GLTable
from
'./Table'
import
'@/theme/index.css'
import
'@/theme/index.css'
import
'@/theme/
common.
css'
import
'@/theme/
theme.s
css'
import
'@/plugins/element.js'
import
'@/plugins/element.js'
// 存储组件列表
// 存储组件列表
const
components
=
[
GLExternal
,
GLButton
,
GLDialog
,
GLTable
]
const
components
=
[
GLExternal
,
GLButton
,
GLDialog
,
GLTable
]
...
...
src/theme/
common.
css
→
src/theme/
theme.s
css
View file @
945a2ec
...
@@ -6,10 +6,43 @@
...
@@ -6,10 +6,43 @@
border-radius
:
4px
border-radius
:
4px
}
}
.el-button
:hover
,
.el-button
:focus
{
color
:
#5850FF
;
border-color
:
#cdcbff
;
background-color
:
#eef
;
}
.el-button
:active
{
color
:
#4f48e6
;
border-color
:
#4f48e6
;
outline
:
none
;
}
.el-button.is-round
{
.el-button.is-round
{
padding
:
12px
20px
padding
:
12px
20px
}
}
.el-button--primary
{
color
:
#fff
;
background-color
:
#5850ff
;
border-color
:
#5850ff
;
}
.el-button--primary
:focus
,
.el-button--primary
:hover
{
background
:
#7973ff
;
border-color
:
#7973ff
;
color
:
#fff
;
}
.el-button--primary.is-active
,
.el-button--primary
:active
{
background
:
#4f48e6
;
border-color
:
#4f48e6
;
color
:
#fff
;
}
.el-button--small
{
.el-button--small
{
padding
:
9px
20px
;
padding
:
9px
20px
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -37,6 +70,42 @@
...
@@ -37,6 +70,42 @@
line-height
:
28px
;
line-height
:
28px
;
}
}
.el-input__inner
:focus
{
outline
:
none
;
border-color
:
#5850FF
;
}
.el-date-table
td
.today
span
{
color
:
#5850FF
;
font-weight
:
bold
;
}
.el-date-table
td
.current
:not
(
.disabled
)
span
{
color
:
#fff
;
background-color
:
#5850FF
;
}
.el-date-table
td
.available
:hover
{
color
:
#5850FF
;
}
.el-select
.el-input.is-focus
.el-input__inner
{
border-color
:
#5850FF
;
}
.el-pager
li
.active
{
color
:
#5850FF
;
cursor
:
default
;
}
.el-pager
li
:hover
{
color
:
#5850FF
;
}
.el-pagination
button
:hover
{
color
:
#5850FF
;
}
.el-form-item__label
{
.el-form-item__label
{
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
...
...
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