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
1dcd72c3
Unverified
Commit
1dcd72c3
authored
1 year ago
by
Olivia Simonet
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #288 from noesya/6.0-search-cleanup
6.0 search cleanup
parents
78e1bfa1
ed9769a6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assets/sass/_theme/design-system/search.sass
+23
-22
23 additions, 22 deletions
assets/sass/_theme/design-system/search.sass
with
23 additions
and
22 deletions
assets/sass/_theme/design-system/search.sass
+
23
−
22
View file @
1dcd72c3
...
...
@@ -55,8 +55,8 @@
height
:
100vh
left
:
0
padding-bottom
:
$spacing-5
padding-left
:
$spacing-3
padding-right
:
$spacing-3
padding-left
:
var
(
--
grid-gutter
)
padding-right
:
var
(
--
grid-gutter
)
padding-top
:
$spacing-6
position
:
fixed
overflow
:
auto
...
...
@@ -64,9 +64,7 @@
width
:
100vw
z-index
:
80
@include
media-breakpoint-up
(
desktop
)
padding-right
:
$spacing-5
padding-left
:
$spacing-5
padding-top
:
space
(
7
)
padding-top
:
$spacing-4
&
[
aria-hidden
=
true
]
display
:
none
a
...
...
@@ -75,26 +73,25 @@
&
::before
content
:
""
background
:
$color-background
height
:
space
(
27
)
height
:
space
(
34
)
left
:
0
position
:
fixed
top
:
0
width
:
100%
z-index
:
5
@include
media-breakpoint-down
(
desktop
)
height
:
space
(
5
0
)
height
:
space
(
5
2
)
&
__form
@include
icon
(
search-inline
,
after
)
&
::after
color
:
transparentize
(
$color-text-alt
,
.4
)
padding-right
:
pxToRem
(
2
)
position
:
fixed
pointer-events
:
none
transform
:
translate
(
-6px
,
20%
)
z-index
:
9
font-size
:
$h2-size
@include
media-breakpoint-down
(
desktop
)
right
:
$spacing-3
top
:
space
(
3
3
)
top
:
space
(
3
5
)
&
__search-input
border-left
:
0
border-right
:
0
...
...
@@ -104,8 +101,6 @@
padding-right
:
$spacing-3
!
important
position
:
fixed
z-index
:
6
@include
media-breakpoint-down
(
desktop
)
margin-bottom
:
$spacing-3
&
:focus
,
&
:focus-visible
border-bottom
:
2px
solid
$color-text
...
...
@@ -121,13 +116,15 @@
text-align
:
right
z-index
:
11
position
:
fixed
top
:
space
(
2
0
)
top
:
space
(
2
7
)
&
__search-clear
,
&
__suppressed
display
:
none
pointer-events
:
none
&
__drawer
position
:
relative
@include
media-breakpoint-down
(
desktop
)
padding-top
:
$spacing-2
&
__result
list-style
:
none
position
:
relative
...
...
@@ -155,19 +152,21 @@
position
:
relative
width
:
columns
(
8
)
&
::after
left
:
calc
(
#{
columns
(
8
)
}
-
#{
space
(
8
)
}
)
top
:
space
(
9
)
left
:
calc
(
#{
columns
(
8
)
}
+
#{
var
(
--
grid-gutter
)
}
)
top
:
space
(
16
)
transform
:
translateX
(
-100%
)
&
__search-input
,
&
__message
width
:
calc
(
#{
columns
(
8
)
}
-
#{
space
(
21
.5
)
}
)
width
:
columns
(
8
)
&
__results-area
padding-top
:
spac
e
(
26
)
padding-top
:
$
spac
ing-6
@include
media-breakpoint-down
(
desktop
)
&
__search-input
,
&
__message
width
:
calc
(
100%
-
#{
$spacing-4
}
)
left
:
var
(
--
grid-gutter
)
right
:
var
(
--
grid-gutter
)
&
__message
top
:
space
(
4
4
)
top
:
space
(
4
6
)
&
__results-area
padding-top
:
space
(
17
)
...
...
@@ -182,12 +181,12 @@
color
:
$color-text
display
:
flex
justify-content
:
space-between
left
:
$spacing-5
left
:
var
(
--
grid-gutter
)
position
:
fixed
z-index
:
10
@include
media-breakpoint-up
(
desktop
)
&
:not
(
.toggle-icon
)
min-width
:
c
alc
(
#{
$spacing-5
}
*
3
)
min-width
:
c
olumns
(
2
)
&
.toggle-icon
:not
(
:hover
)
padding-left
:
0
padding-right
:
0
...
...
@@ -195,9 +194,11 @@
&
.toggle-icon
min-height
:
pxToRem
(
37
)
width
:
pxToRem
(
50
)
span
display
:
none
&
:hover
,
&
:focus
width
:
c
alc
(
#{
$spacing-5
}
*
3
)
min-
width
:
c
olumns
(
2
)
span
display
:
inline
@include
media-breakpoint-down
(
desktop
)
...
...
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