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
8cbaae16
Commit
8cbaae16
authored
May 27, 2024
by
minseok.park
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.bwg.co.kr/swd/swlab-ui
parents
ecdc3210
7c867f6c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
63 additions
and
26 deletions
+63
-26
doc.css
src/css/doc.css
+37
-3
footer.css
src/css/footer.css
+1
-0
header.css
src/css/header.css
+1
-0
nav.css
src/css/nav.css
+1
-0
toc.css
src/css/toc.css
+2
-1
vars.css
src/css/vars.css
+17
-9
02-on-this-page.js
src/js/02-on-this-page.js
+3
-3
footer-content.hbs
src/partials/footer-content.hbs
+1
-2
header-content.hbs
src/partials/header-content.hbs
+0
-8
No files found.
src/css/doc.css
View file @
8cbaae16
...
...
@@ -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
;
}
}
...
...
@@ -25,12 +23,35 @@
.doc
h5
,
.doc
h6
{
color
:
var
(
--heading-font-color
);
font-weight
:
var
(
--heading-font-weight
);
hyphens
:
none
;
line-height
:
1.3
;
margin
:
1rem
0
0
;
}
.doc
h1
{
font-weight
:
var
(
--h1-font-weight
);
}
.doc
h2
{
font-weight
:
var
(
--h2-font-weight
);
}
.doc
h3
{
font-weight
:
var
(
--h3-font-weight
);
}
.doc
h4
{
font-weight
:
var
(
--h4-font-weight
);
}
.doc
h5
{
font-weight
:
var
(
--h5-font-weight
);
}
.doc
h6
{
font-weight
:
var
(
--h6-font-weight
);
}
.doc
>
h1
.page
:first-child
{
font-size
:
calc
(
36
/
var
(
--rem-base
)
*
1rem
);
margin
:
1.5rem
0
;
...
...
@@ -280,6 +301,14 @@
border
:
0
solid
var
(
--table-border-color
);
}
.doc
table
.tableblock
h2
{
margin
:
0
;
}
.doc
table
.tableblock
h2
+
.sectionbody
{
padding
:
0
1rem
;
}
.doc
table
.grid-all
>
*
>
tr
>
*
{
border-width
:
1px
;
}
...
...
@@ -639,6 +668,11 @@
content
:
"\274f"
;
}
.doc
.olist
li
>
.admonitionblock
,
.doc
.ulist
li
>
.admonitionblock
{
margin-left
:
1em
;
}
.doc
.dlist
.dlist
,
.doc
.dlist
.olist
,
.doc
.dlist
.ulist
,
...
...
src/css/footer.css
View file @
8cbaae16
...
...
@@ -4,6 +4,7 @@ footer.footer {
font-size
:
calc
(
15
/
var
(
--rem-base
)
*
1rem
);
line-height
:
var
(
--footer-line-height
);
padding
:
1.5rem
;
text-align
:
center
;
}
.footer
p
{
...
...
src/css/header.css
View file @
8cbaae16
...
...
@@ -39,6 +39,7 @@ body {
font-size
:
calc
(
22
/
var
(
--rem-base
)
*
1rem
);
flex-wrap
:
wrap
;
line-height
:
1
;
font-weight
:
600
;
}
.navbar-brand
.navbar-item
:first-child
a
{
...
...
src/css/nav.css
View file @
8cbaae16
...
...
@@ -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 @
8cbaae16
.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 @
8cbaae16
...
...
@@ -15,8 +15,10 @@
--color-jet-30
:
#424242
;
--color-jet-50
:
#333
;
--color-jet-70
:
#222
;
--color-jet-80
:
#1
91919
;
--color-jet-80
:
#1
2071f
;
--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 */
...
...
@@ -28,6 +30,7 @@
--body-font-weight-bold
:
600
;
--monospace-font-family
:
"Roboto Mono"
,
monospace
;
--monospace-font-weight-bold
:
600
;
--h-font-weight-bold
:
800
;
/* base */
--body-background
:
var
(
--color-white
);
--panel-background
:
var
(
--color-smoke-30
);
...
...
@@ -40,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
);
...
...
@@ -55,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
);
...
...
@@ -80,7 +83,12 @@
--doc-margin
:
0
auto
;
--doc-margin--desktop
:
0
2rem
;
--heading-font-color
:
var
(
--color-jet-80
);
--heading-font-weight
:
normal
;
--h1-font-weight
:
var
(
--h-font-weight-bold
);
--h2-font-weight
:
var
(
--h-font-weight-bold
);
--h3-font-weight
:
var
(
--h-font-weight-bold
);
--h4-font-weight
:
500
;
--h5-font-weight
:
500
;
--h6-font-weight
:
500
;
--alt-heading-font-weight
:
var
(
--body-font-weight-bold
);
--section-divider-color
:
var
(
--panel-border-color
);
--link-font-color
:
#1565c0
;
...
...
@@ -119,8 +127,8 @@
--toc-line-height
:
1.2
;
/* footer */
--footer-line-height
:
var
(
--doc-line-height
);
--footer-background
:
var
(
--color-
smoke-9
0
);
--footer-font-color
:
var
(
--color-
gray-70
);
--footer-background
:
var
(
--color-
jet-5
0
);
--footer-font-color
:
var
(
--color-
white
);
--footer-link-font-color
:
var
(
--color-jet-80
);
/* dimensions and positioning */
--navbar-height
:
calc
(
63
/
var
(
--rem-base
)
*
1rem
);
...
...
src/js/02-on-this-page.js
View file @
8cbaae16
...
...
@@ -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/footer-content.hbs
View file @
8cbaae16
<footer
class=
"footer"
>
<p>
This page was built using the Antora default UI.
</p>
<p>
The source code for this UI is licensed under the terms of the MPL-2.0 license.
</p>
<p>
Copyright© Bankwareglobal All Rights Reserved.
</p>
</footer>
src/partials/header-content.hbs
View file @
8cbaae16
...
...
@@ -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