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
4cb9be33
Commit
4cb9be33
authored
Apr 15, 2020
by
cyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
标签页和面包屑样式调整
parent
a575c94e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
20 deletions
+31
-20
breadcrumb.scss
node_module/element-theme-chalk/src/breadcrumb.scss
+11
-4
tabs.scss
node_module/element-theme-chalk/src/tabs.scss
+20
-16
No files found.
node_module/element-theme-chalk/src/breadcrumb.scss
View file @
4cb9be33
...
...
@@ -6,12 +6,18 @@
font-size
:
14px
;
line-height
:
1
;
@include
utils-clearfix
;
&
i
.el-icon-location
{
font-size
:
20px
;
color
:
#1A56a8
;
float
:left
;
margin-top
:
-3px
;
margin-right
:
12px
;
}
@include
e
(
separator
)
{
margin
:
0
9px
;
font-weight
:
bold
;
color
:
$--color-text-placeholder
;
&
[
class
*=
icon
]
{
margin
:
0
6px
;
font-weight
:
normal
;
...
...
@@ -25,14 +31,15 @@
color
:
$--color-text-regular
;
&
.is-link
,
&
a
{
font-weight
:
bold
;
font-weight
:
normal
;
text-decoration
:
none
;
transition
:
$--color-transition-base
;
color
:
$--color-text-primary
;
&
:hover
{
color
:
$--color-primary
;
color
:
$--color-primary
-hover
;
cursor
:
pointer
;
text-decoration
:
underline
;
}
}
}
...
...
node_module/element-theme-chalk/src/tabs.scss
View file @
4cb9be33
...
...
@@ -2,6 +2,10 @@
@import
"common/var"
;
@include
b
(
tabs
)
{
border
:
1px
solid
$--border-color-base
;
>
.el-tabs__content
{
padding
:
0
8px
8px
8px
;
}
@include
e
(
header
)
{
padding
:
0
;
position
:
relative
;
...
...
@@ -10,12 +14,13 @@
@include
e
(
active-bar
)
{
position
:
absolute
;
bottom
:
0
;
left
:
0
;
left
:
-16px
;
height
:
2px
;
background-color
:
$--color-primary
;
z-index
:
1
;
transition
:
transform
.3s
cubic-bezier
(
.645
,.
045
,.
355
,
1
);
list-style
:
none
;
padding
:
0
16px
;
}
@include
e
(
new-tab
)
{
float
:
right
;
...
...
@@ -50,7 +55,7 @@
left
:
0
;
bottom
:
0
;
width
:
100%
;
height
:
2
px
;
height
:
1
px
;
background-color
:
$--border-color-light
;
z-index
:
$--index-normal
;
}
...
...
@@ -93,17 +98,16 @@
}
}
@include
e
(
item
)
{
padding
:
0
2
0
px
;
height
:
4
0
px
;
padding
:
0
2
4
px
;
height
:
4
8
px
;
box-sizing
:
border-box
;
line-height
:
4
0
px
;
line-height
:
4
8
px
;
display
:
inline-block
;
list-style
:
none
;
font-size
:
1
4
px
;
font-size
:
1
6
px
;
font-weight
:
500
;
color
:
$--color-text-
primary
;
color
:
$--color-text-
regular
;
position
:
relative
;
&
:focus
,
&
:focus:active
{
outline
:
none
;
}
...
...
@@ -255,14 +259,14 @@
}
}
@include
m
((
top
,
bottom
))
{
.el-tabs__item.is-top
:nth-child
(
2
),
.el-tabs__item.is-bottom
:nth-child
(
2
)
{
padding-left
:
0
;
}
.el-tabs__item.is-top
:last-child
,
.el-tabs__item.is-bottom
:last-child
{
padding-right
:
0
;
}
//
.el-tabs__item.is-top:nth-child(2),
//
.el-tabs__item.is-bottom:nth-child(2) {
//
padding-left: 0;
//
}
//
.el-tabs__item.is-top:last-child,
//
.el-tabs__item.is-bottom:last-child {
//
padding-right: 0;
//
}
&
.el-tabs--border-card
,
&
.el-tabs--card
,
.el-tabs--left
,
.el-tabs--right
{
...
...
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