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
4ed81b48
Commit
4ed81b48
authored
Jul 01, 2024
by
minseok.park
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove -- fontawesome cdn & add search svg
parent
204fe4f0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
7 deletions
+11
-7
header.css
src/css/header.css
+8
-5
ico-search-active.svg
src/img/ico-search-active.svg
+1
-0
ico-search.svg
src/img/ico-search.svg
+1
-0
head.hbs
src/partials/head.hbs
+0
-1
header-content.hbs
src/partials/header-content.hbs
+1
-1
No files found.
src/css/header.css
View file @
4ed81b48
...
@@ -100,10 +100,13 @@ body {
...
@@ -100,10 +100,13 @@ body {
}
}
#search-field
>
i
{
#search-field
>
i
{
background
:
url(../img/ico-search.svg)
no-repeat
center
;
position
:
absolute
;
position
:
absolute
;
top
:
1
5
px
;
top
:
1
4
px
;
right
:
20px
;
right
:
20px
;
color
:
#dbdbdb
;
display
:
inline-block
;
width
:
16px
;
height
:
16px
;
}
}
#search-input
{
#search-input
{
...
@@ -111,12 +114,12 @@ body {
...
@@ -111,12 +114,12 @@ body {
color
:
#333
;
color
:
#333
;
font-family
:
inherit
;
font-family
:
inherit
;
font-size
:
0.95rem
;
font-size
:
0.95rem
;
width
:
1
5
0px
;
width
:
1
2
0px
;
height
:
45px
;
height
:
45px
;
border
:
1px
solid
#dbdbdb
;
border
:
1px
solid
#dbdbdb
;
border-radius
:
28px
;
border-radius
:
28px
;
line-height
:
1.5
;
line-height
:
1.5
;
padding
:
0
1rem
!important
;
padding
:
0
2.15rem
0
1rem
!important
;
}
}
#search-input
:disabled
{
#search-input
:disabled
{
...
@@ -136,7 +139,7 @@ body {
...
@@ -136,7 +139,7 @@ body {
}
}
#search-input
:focus
+
i
{
#search-input
:focus
+
i
{
color
:
var
(
--color-bwg-main
)
;
background
:
url(../img/ico-search-active.svg)
no-repeat
center
;
}
}
.navbar-burger
{
.navbar-burger
{
...
...
src/img/ico-search-active.svg
0 → 100644
View file @
4ed81b48
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 512 512"
>
<!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
<path
fill=
"#0072ce"
d=
"M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"
/></svg>
\ No newline at end of file
src/img/ico-search.svg
0 → 100644
View file @
4ed81b48
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 512 512"
>
<!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
<path
fill=
"#dbdbdb"
d=
"M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"
/></svg>
\ No newline at end of file
src/partials/head.hbs
View file @
4ed81b48
<link
rel=
"stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css"
/>
{{>
head-prelude
}}
{{>
head-prelude
}}
{{>
head-title
}}
{{>
head-title
}}
{{>
head-info
}}
{{>
head-info
}}
...
...
src/partials/header-content.hbs
View file @
4ed81b48
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<div
id=
"search-field"
class=
"field"
>
<div
id=
"search-field"
class=
"field"
>
{{!-- <input id="search-input" type="text" placeholder="Search the docs"{{#if page.home}} autofocus{{/if}}> --}}
{{!-- <input id="search-input" type="text" placeholder="Search the docs"{{#if page.home}} autofocus{{/if}}> --}}
<input
id=
"search-input"
type=
"text"
>
<input
id=
"search-input"
type=
"text"
>
<i
class=
"fas fa-search"
></i
>
<i
/
>
</div>
</div>
</div>
</div>
{{/if}}
{{/if}}
...
...
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