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
2a9858cc
Commit
2a9858cc
authored
May 16, 2024
by
hyeryung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update layout
parent
3864eb44
Pipeline
#18969
canceled with stages
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
19 deletions
+13
-19
doc.css
src/css/doc.css
+0
-2
nav.css
src/css/nav.css
+1
-0
toc.css
src/css/toc.css
+2
-1
vars.css
src/css/vars.css
+7
-5
02-on-this-page.js
src/js/02-on-this-page.js
+3
-3
header-content.hbs
src/partials/header-content.hbs
+0
-8
No files found.
src/css/doc.css
View file @
2a9858cc
...
...
@@ -4,7 +4,6 @@
hyphens
:
auto
;
line-height
:
var
(
--doc-line-height
);
margin
:
var
(
--doc-margin
);
max-width
:
var
(
--doc-max-width
);
padding
:
0
1rem
4rem
;
}
...
...
@@ -13,7 +12,6 @@
flex
:
auto
;
font-size
:
var
(
--doc-font-size--desktop
);
margin
:
var
(
--doc-margin--desktop
);
max-width
:
var
(
--doc-max-width--desktop
);
min-width
:
0
;
}
}
...
...
src/css/nav.css
View file @
2a9858cc
...
...
@@ -39,6 +39,7 @@
position
:
relative
;
top
:
var
(
--toolbar-height
);
height
:
var
(
--nav-height
);
border-right
:
1px
solid
var
(
--color-blue-30
);
}
@media
screen
and
(
min-width
:
769px
)
{
...
...
src/css/toc.css
View file @
2a9858cc
.toc-menu
{
color
:
var
(
--toc-font-color
);
margin-top
:
2.5rem
;
}
.toc.sidebar
.toc-menu
{
...
...
@@ -73,7 +74,7 @@
.toc
.toc-menu
a
{
color
:
inherit
;
border-left
:
2
px
solid
var
(
--toc-border-color
);
border-left
:
4
px
solid
var
(
--toc-border-color
);
display
:
inline-block
;
padding
:
0.25rem
0
0.25rem
0.5rem
;
text-decoration
:
none
;
...
...
src/css/vars.css
View file @
2a9858cc
...
...
@@ -17,6 +17,8 @@
--color-jet-70
:
#222
;
--color-jet-80
:
#12071f
;
--color-black
:
#000
;
--color-blue-10
:
#f8f9fd
;
--color-blue-30
:
#dee2e6
;
/* fonts */
--rem-base
:
18
;
/* used to compute rem value from desired pixel value (e.g., calc(18 / var(--rem-base) * 1rem) = 18px) */
--body-font-size
:
1.0625em
;
/* 17px */
...
...
@@ -41,14 +43,14 @@
--navbar-font-color
:
var
(
--color-white
);
--navbar_hover-background
:
var
(
--color-black
);
--navbar-button-background
:
var
(
--color-white
);
--navbar-button-border-color
:
var
(
--
panel-border-color
);
--navbar-button-border-color
:
var
(
--
color-blue-30
);
--navbar-button-font-color
:
var
(
--body-font-color
);
--navbar-menu-border-color
:
var
(
--
panel-border-color
);
--navbar-menu-border-color
:
var
(
--
color-blue-30
);
--navbar-menu-background
:
var
(
--color-white
);
--navbar-menu-font-color
:
var
(
--body-font-color
);
--navbar-menu_hover-background
:
var
(
--color-smoke-50
);
/* nav */
--nav-background
:
var
(
--
panel-background
);
--nav-background
:
var
(
--
color-blue-10
);
--nav-border-color
:
var
(
--color-gray-10
);
--nav-line-height
:
1.35
;
--nav-heading-font-color
:
var
(
--color-jet-30
);
...
...
@@ -56,8 +58,8 @@
--nav-panel-divider-color
:
var
(
--color-smoke-90
);
--nav-secondary-background
:
var
(
--color-smoke-70
);
/* toolbar */
--toolbar-background
:
var
(
--
panel-background
);
--toolbar-border-color
:
var
(
--
panel-border-color
);
--toolbar-background
:
var
(
--
color-blue-10
);
--toolbar-border-color
:
var
(
--
color-blue-30
);
--toolbar-font-color
:
var
(
--color-gray-70
);
--toolbar-muted-color
:
var
(
--color-gray-40
);
--page-version-menu-background
:
var
(
--color-smoke-70
);
...
...
src/js/02-on-this-page.js
View file @
2a9858cc
...
...
@@ -40,9 +40,9 @@
var
menu
=
sidebar
.
querySelector
(
'.toc-menu'
)
if
(
!
menu
)
(
menu
=
document
.
createElement
(
'div'
)).
className
=
'toc-menu'
var
title
=
document
.
createElement
(
'h3'
)
title
.
textContent
=
sidebar
.
dataset
.
title
||
'Contents'
menu
.
appendChild
(
title
)
//
var title = document.createElement('h3')
//
title.textContent = sidebar.dataset.title || 'Contents'
//
menu.appendChild(title)
menu
.
appendChild
(
list
)
var
startOfContent
=
!
document
.
getElementById
(
'toc'
)
&&
article
.
querySelector
(
'h1.page ~ :not(.is-before-toc)'
)
...
...
src/partials/header-content.hbs
View file @
2a9858cc
...
...
@@ -26,14 +26,6 @@
<a
class=
"navbar-item"
href=
"#"
>
Product C
</a>
</div>
</div>
<div
class=
"navbar-item has-dropdown is-hoverable"
>
<a
class=
"navbar-link"
href=
"#"
>
Services
</a>
<div
class=
"navbar-dropdown"
>
<a
class=
"navbar-item"
href=
"#"
>
Service A
</a>
<a
class=
"navbar-item"
href=
"#"
>
Service B
</a>
<a
class=
"navbar-item"
href=
"#"
>
Service C
</a>
</div>
</div>
<div
class=
"navbar-item"
>
<span
class=
"control"
>
<a
class=
"button is-primary"
href=
"#"
>
Download
</a>
...
...
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