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
f708fac4
Commit
f708fac4
authored
May 25, 2020
by
刘安琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改menu item高度
parent
ea052215
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
19 deletions
+19
-19
menu.scss
node_module/element-theme-chalk/src/menu.scss
+5
-5
index.css
theme/index.css
+7
-7
menu.css
theme/menu.css
+7
-7
No files found.
node_module/element-theme-chalk/src/menu.scss
View file @
f708fac4
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
@import
"common/transition"
;
@import
"common/transition"
;
@mixin
menu-item
{
@mixin
menu-item
{
height
:
5
6
px
;
height
:
5
0
px
;
line-height
:
56
px
;
line-height
:
48
px
;
font-size
:
$--menu-item-font-size
;
font-size
:
$--menu-item-font-size
;
color
:
$--menu-item-font-color
;
color
:
$--menu-item-font-color
;
padding
:
0
20px
;
padding
:
0
20px
;
...
@@ -231,8 +231,8 @@
...
@@ -231,8 +231,8 @@
border
:
none
;
border
:
none
;
}
}
&
.el-menu-item
{
&
.el-menu-item
{
height
:
5
0px
;
height
:
4
0px
;
line-height
:
5
0px
;
line-height
:
4
0px
;
padding
:
0
45px
;
padding
:
0
45px
;
min-width
:
200px
;
min-width
:
200px
;
}
}
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
position
:
absolute
;
position
:
absolute
;
top
:
50%
;
top
:
50%
;
right
:
20px
;
right
:
20px
;
margin-top
:
-
7
px
;
margin-top
:
-
5
px
;
transition
:
transform
.3s
;
transition
:
transform
.3s
;
font-size
:
12px
;
font-size
:
12px
;
}
}
...
...
theme/index.css
View file @
f708fac4
...
@@ -9044,8 +9044,8 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -9044,8 +9044,8 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
margin-right: 5px; }
margin-right: 5px; }
.el-menu-item {
.el-menu-item {
height: 5
6
px;
height: 5
0
px;
line-height:
56
px;
line-height:
48
px;
font-size: 14px;
font-size: 14px;
color: #333333;
color: #333333;
padding: 0 20px;
padding: 0 20px;
...
@@ -9084,8 +9084,8 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -9084,8 +9084,8 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
margin: 0;
margin: 0;
padding-left: 0; }
padding-left: 0; }
.el-submenu__title {
.el-submenu__title {
height: 5
6
px;
height: 5
0
px;
line-height:
56
px;
line-height:
48
px;
font-size: 14px;
font-size: 14px;
color: #333333;
color: #333333;
padding: 0 20px;
padding: 0 20px;
...
@@ -9113,15 +9113,15 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -9113,15 +9113,15 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
.el-submenu .el-menu {
.el-submenu .el-menu {
border: none; }
border: none; }
.el-submenu .el-menu-item {
.el-submenu .el-menu-item {
height:
5
0px;
height:
4
0px;
line-height:
5
0px;
line-height:
4
0px;
padding: 0 45px;
padding: 0 45px;
min-width: 200px; }
min-width: 200px; }
.el-submenu__icon-arrow {
.el-submenu__icon-arrow {
position: absolute;
position: absolute;
top: 50%;
top: 50%;
right: 20px;
right: 20px;
margin-top: -
7
px;
margin-top: -
5
px;
-webkit-transition: -webkit-transform .3s;
-webkit-transition: -webkit-transform .3s;
transition: -webkit-transform .3s;
transition: -webkit-transform .3s;
transition: transform .3s;
transition: transform .3s;
theme/menu.css
View file @
f708fac4
...
@@ -625,8 +625,8 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -625,8 +625,8 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
margin-right
:
5px
;
}
margin-right
:
5px
;
}
.el-menu-item
{
.el-menu-item
{
height
:
5
6
px
;
height
:
5
0
px
;
line-height
:
56
px
;
line-height
:
48
px
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#333333
;
color
:
#333333
;
padding
:
0
20px
;
padding
:
0
20px
;
...
@@ -665,8 +665,8 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -665,8 +665,8 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
margin
:
0
;
margin
:
0
;
padding-left
:
0
;
}
padding-left
:
0
;
}
.el-submenu__title
{
.el-submenu__title
{
height
:
5
6
px
;
height
:
5
0
px
;
line-height
:
56
px
;
line-height
:
48
px
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#333333
;
color
:
#333333
;
padding
:
0
20px
;
padding
:
0
20px
;
...
@@ -694,15 +694,15 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
...
@@ -694,15 +694,15 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
.el-submenu
.el-menu
{
.el-submenu
.el-menu
{
border
:
none
;
}
border
:
none
;
}
.el-submenu
.el-menu-item
{
.el-submenu
.el-menu-item
{
height
:
5
0px
;
height
:
4
0px
;
line-height
:
5
0px
;
line-height
:
4
0px
;
padding
:
0
45px
;
padding
:
0
45px
;
min-width
:
200px
;
}
min-width
:
200px
;
}
.el-submenu__icon-arrow
{
.el-submenu__icon-arrow
{
position
:
absolute
;
position
:
absolute
;
top
:
50%
;
top
:
50%
;
right
:
20px
;
right
:
20px
;
margin-top
:
-
7
px
;
margin-top
:
-
5
px
;
-webkit-transition
:
-webkit-transform
.3s
;
-webkit-transition
:
-webkit-transform
.3s
;
transition
:
-webkit-transform
.3s
;
transition
:
-webkit-transform
.3s
;
transition
:
transform
.3s
;
transition
:
transform
.3s
;
...
...
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