Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Theme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osuny
Theme
Commits
ddea63a6
Commit
ddea63a6
authored
1 year ago
by
Olivia206
Browse files
Options
Downloads
Patches
Plain Diff
fixed searchbar
parent
520728f8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
assets/sass/_theme/_utils.sass
+1
-1
1 addition, 1 deletion
assets/sass/_theme/_utils.sass
assets/sass/_theme/design-system/search.sass
+33
-15
33 additions, 15 deletions
assets/sass/_theme/design-system/search.sass
with
34 additions
and
16 deletions
assets/sass/_theme/_utils.sass
+
1
−
1
View file @
ddea63a6
...
...
@@ -267,7 +267,7 @@
appearance
:
none
background
:
transparent
border
:
none
border-radius
:
none
border-radius
:
0
cursor
:
pointer
user-select
:
none
&
:active
,
...
...
This diff is collapsed.
Click to expand it.
assets/sass/_theme/design-system/search.sass
+
33
−
15
View file @
ddea63a6
.pagefind-ui__toggle
,
.pagefind-ui__button
,
.search__close
@include
button-reset
@include
meta
...
...
@@ -13,8 +14,9 @@
width
:
100%
.search__close
@include
icon-block
(
close
,
after
)
position
:
absolute
position
:
fixed
right
:
$spacing3
z-index
:
9
@include
media-breakpoint-down
(
md
)
right
:
0
top
:
half
(
$spacing0
)
...
...
@@ -37,35 +39,45 @@
&
[
aria-hidden
=
true
]
display
:
none
.pagefind-ui
&
::before
content
:
""
background
:
$color-background
height
:
calc
(
#{
$spacing3
}
+
#{
$spacing1
}
+
#{
$spacing4
}
)
width
:
100%
position
:
fixed
top
:
0
left
:
0
z-index
:
5
@include
media-breakpoint-down
(
md
)
height
:
calc
(
#{
$spacing3
}
+
#{
half
(
$spacing0
)
}
+
#{
$spacing4
}
)
&
__search-input
border-left
:
0
border-right
:
0
border-radius
:
0
border-top
:
0
padding-right
:
$spacing1
!
important
position
:
relative
position
:
fixed
z-index
:
6
@include
media-breakpoint-down
(
md
)
width
:
100%
margin-bottom
:
$spacing1
&
__button
[
type
=
"button"
]
background
:
$color-text
border-radius
:
0
color
:
$color-background
display
:
block
margin
:
$spacing4
auto
0
@include
media-breakpoint-down
(
md
)
margin-top
:
$spacing2
@include
button-reset
@include
link
(
$color-text
)
margin-top
:
$spacing2
padding
:
0
&
__message
@include
meta
color
:
$color-text-alt
text-align
:
right
z-index
:
11
position
:
fixed
top
:
calc
(
#{
$spacing2
}
+
#{
$spacing4
}
)
&
__search-clear
,
&
__suppressed
display
:
none
pointer-events
:
none
&
__drawer
position
:
relative
z-index
:
99
&
__result
list-style
:
none
position
:
relative
...
...
@@ -90,13 +102,19 @@
@include
stretched-link
@include
media-breakpoint-up
(
md
)
&
__form
position
:
relative
position
:
relative
width
:
col
(
8
)
&
__search-input
,
&
__message
width
:
col
(
8
,
8
)
&
__results-area
padding-top
:
$spacing4
&
__search-input
,
&
__message
width
:
col
(
8
)
@include
media-breakpoint-down
(
md
)
&
__search-input
,
&
__message
position
:
absolute
top
:
$spacing0
width
:
calc
(
100%
-
#{
$spacing2
}
)
&
__results-area
padding-top
:
$spacing3
\ No newline at end of file
padding-top
:
calc
(
#{
$spacing3
}
+
#{
half
(
$spacing0
)
}
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment