Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SWLab UI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
hyeryung
SWLab UI
Commits
788696e9
Commit
788696e9
authored
Jun 11, 2024
by
minseok.park
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update toc style
parent
eb18b045
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
20 deletions
+5
-20
toc.css
src/css/toc.css
+5
-20
No files found.
src/css/toc.css
View file @
788696e9
...
@@ -65,21 +65,6 @@
...
@@ -65,21 +65,6 @@
margin
:
0
;
margin
:
0
;
}
}
.toc
.toc-menu
li
::after
{
content
:
''
;
position
:
absolute
;
left
:
0
;
bottom
:
0
;
width
:
100%
;
height
:
1px
;
background-color
:
transparent
;
transition
:
background-color
0.3s
;
}
.toc
.toc-menu
li
:hover::after
{
background-color
:
var
(
--color-bwg-main
);
}
.toc
.toc-menu
li
[
data-level
=
"2"
]
a
{
.toc
.toc-menu
li
[
data-level
=
"2"
]
a
{
padding-left
:
1.25rem
;
padding-left
:
1.25rem
;
}
}
...
@@ -90,9 +75,9 @@
...
@@ -90,9 +75,9 @@
.toc
.toc-menu
a
{
.toc
.toc-menu
a
{
color
:
inherit
;
color
:
inherit
;
border-left
:
3
px
solid
var
(
--toc-border-color
);
border-left
:
2
px
solid
var
(
--toc-border-color
);
display
:
inline-block
;
display
:
inline-block
;
padding
:
0.
25rem
0
0.2
5rem
0.5rem
;
padding
:
0.
5rem
0
0.
5rem
0.5rem
;
text-decoration
:
none
;
text-decoration
:
none
;
}
}
...
@@ -106,11 +91,11 @@
...
@@ -106,11 +91,11 @@
} */
} */
.toc
.toc-menu
a
.is-active
{
.toc
.toc-menu
a
.is-active
{
border-left
-color
:
var
(
--color-bwg-main
);
border-left
:
3px
solid
var
(
--color-bwg-main
);
color
:
var
(
--color-bwg-main
);
color
:
var
(
--color-bwg-main
);
font-weight
:
600
;
font-weight
:
600
;
}
}
.sidebar.toc
.toc-menu
a
:
focus
{
.sidebar.toc
.toc-menu
a
:
hover
{
background
:
var
(
--
panel-background
);
background
:
var
(
--
color-blue-10
);
}
}
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