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
6d678b69
Commit
6d678b69
authored
Apr 10, 2020
by
刘安琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改radio、checkbox
parent
e5259cbd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
16 deletions
+21
-16
checkbox.scss
node_module/element-theme-chalk/src/checkbox.scss
+4
-4
radio.scss
node_module/element-theme-chalk/src/radio.scss
+17
-12
No files found.
node_module/element-theme-chalk/src/checkbox.scss
View file @
6d678b69
...
...
@@ -142,7 +142,7 @@
}
&
+
span
.el-checkbox__label
{
color
:
$--
disabled-color-base
;
color
:
$--
color-text-primary
;
cursor
:
not
-
allowed
;
}
}
...
...
@@ -213,9 +213,9 @@
border-left
:
0
;
border-top
:
0
;
height
:
7px
;
left
:
4
px
;
left
:
5
px
;
position
:
absolute
;
top
:
1
px
;
top
:
2
px
;
transform
:
rotate
(
45deg
)
scaleY
(
0
);
width
:
3px
;
transition
:
transform
.15s
ease-in
.05s
;
...
...
@@ -235,7 +235,7 @@
@include
e
(
label
)
{
display
:
inline-block
;
padding-left
:
10
px
;
padding-left
:
8
px
;
line-height
:
19px
;
font-size
:
$--checkbox-font-size
;
}
...
...
node_module/element-theme-chalk/src/radio.scss
View file @
6d678b69
...
...
@@ -114,12 +114,13 @@
border-color
:
$--radio-disabled-checked-input-border-color
;
&
:
:
after
{
background-color
:
$--radio-disabled-checked-icon-color
;
border-color
:
$--radio-disabled-checked-icon-color
;
background-color
:
$--background-color-lighter
;
}
}
}
&
+
span
.el-radio__label
{
color
:
$--color-text-p
laceholder
;
color
:
$--color-text-p
rimary
;
cursor
:
not
-
allowed
;
}
}
...
...
@@ -130,7 +131,8 @@
background
:
$--radio-checked-icon-color
;
&
:
:
after
{
transform
:
translate
(
-50%
,
-50%
)
scale
(
1
);
// transform: translate(-50%, -50%) scale(1);
transform
:
rotate
(
45deg
)
scaleY
(
1
);
}
}
...
...
@@ -161,16 +163,19 @@
}
&
:
:
after
{
width
:
4px
;
height
:
4px
;
border-radius
:
$--radio-input-border-radius
;
background-color
:
$--color-white
;
box-sizing
:
content-box
;
content
:
""
;
border
:
1px
solid
$--checkbox-checked-icon-color
;
border-left
:
0
;
border-top
:
0
;
height
:
7px
;
left
:
5px
;
position
:
absolute
;
left
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
)
scale
(
0
);
transition
:
transform
.15s
ease-in
;
top
:
2px
;
transform
:
rotate
(
45deg
)
scaleY
(
0
);
width
:
3px
;
transition
:
transform
.15s
ease-in
.05s
;
transform-origin
:
center
;
}
}
...
...
@@ -194,6 +199,6 @@
@include
e
(
label
)
{
font-size
:
$--radio-font-size
;
padding-left
:
10
px
;
padding-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