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
1ebc0e1d
Commit
1ebc0e1d
authored
1 year ago
by
Olivia206
Browse files
Options
Downloads
Patches
Plain Diff
fixed search icon
parent
5603dd33
No related branches found
Branches containing commit
No related tags found
Tags containing commit
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
+16
-17
16 additions, 17 deletions
assets/sass/_theme/design-system/search.sass
with
16 additions
and
17 deletions
assets/sass/_theme/design-system/search.sass
+
16
−
17
View file @
1ebc0e1d
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
justify-content
:
center
justify-content
:
center
margin-left
:
$spacing0
margin-left
:
$spacing0
width
:
px2rem
(
15
)
width
:
px2rem
(
15
)
@include
media-breakpoint-down
(
m
d
)
@include
media-breakpoint-down
(
d
esktop
)
right
:
$spacing1
right
:
$spacing1
top
:
half
(
$spacing0
)
top
:
half
(
$spacing0
)
#search
#search
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
top
:
0
top
:
0
width
:
100vw
width
:
100vw
z-index
:
80
z-index
:
80
@include
media-breakpoint-up
(
m
d
)
@include
media-breakpoint-up
(
d
esktop
)
padding-right
:
$spacing3
padding-right
:
$spacing3
padding-left
:
$spacing3
padding-left
:
$spacing3
padding-top
:
calc
(
#{
half
(
$spacing3
)
}
-
#{
half
(
$spacing0
)
}
+
#{
px2rem
(
2
)
}
)
padding-top
:
calc
(
#{
half
(
$spacing3
)
}
-
#{
half
(
$spacing0
)
}
+
#{
px2rem
(
2
)
}
)
...
@@ -61,23 +61,19 @@
...
@@ -61,23 +61,19 @@
top
:
0
top
:
0
width
:
100%
width
:
100%
z-index
:
5
z-index
:
5
@include
media-breakpoint-down
(
m
d
)
@include
media-breakpoint-down
(
d
esktop
)
height
:
calc
(
#{
$spacing3
}
+
#{
half
(
$spacing0
)
}
+
#{
$spacing4
}
)
height
:
calc
(
#{
$spacing3
}
+
#{
half
(
$spacing0
)
}
+
#{
$spacing4
}
)
&
__form
&
__form
@include
icon
(
search
,
after
)
@include
icon
(
search
,
after
)
&
::after
&
::after
align-items
:
center
display
:
flex
padding-right
:
px2rem
(
2
)
padding-right
:
px2rem
(
2
)
position
:
absolute
position
:
fixed
pointer-events
:
none
pointer-events
:
none
right
:
0
top
:
half
(
$spacing0
)
transform
:
translate
(
0
,
20%
)
transform
:
translate
(
0
,
20%
)
z-index
:
7
z-index
:
9
@include
media-breakpoint-down
(
m
d
)
@include
media-breakpoint-down
(
d
esktop
)
right
:
$spacing1
right
:
$spacing1
top
:
$spacing4
top
:
calc
(
#{
$spacing4
}
+
#{
half
(
$spacing0
)
}
)
&
__search-input
&
__search-input
border-left
:
0
border-left
:
0
border-right
:
0
border-right
:
0
...
@@ -87,7 +83,7 @@
...
@@ -87,7 +83,7 @@
padding-right
:
half
(
$spacing1
)
!
important
padding-right
:
half
(
$spacing1
)
!
important
position
:
fixed
position
:
fixed
z-index
:
6
z-index
:
6
@include
media-breakpoint-down
(
m
d
)
@include
media-breakpoint-down
(
d
esktop
)
margin-bottom
:
$spacing1
margin-bottom
:
$spacing1
&
__button
[
type
=
"button"
]
&
__button
[
type
=
"button"
]
@include
button-reset
@include
button-reset
...
@@ -115,11 +111,11 @@
...
@@ -115,11 +111,11 @@
>
*
>
*
aspect-ratio
:
3
/
2
aspect-ratio
:
3
/
2
object-fit
:
cover
object-fit
:
cover
@include
media-breakpoint-down
(
m
d
)
@include
media-breakpoint-down
(
d
esktop
)
display
:
none
display
:
none
+
li
+
li
margin-top
:
half
(
$spacing3
)
margin-top
:
half
(
$spacing3
)
@include
media-breakpoint-up
(
m
d
)
@include
media-breakpoint-up
(
d
esktop
)
@include
grid
@include
grid
&
-inner
&
-inner
grid-column
:
4
/
13
grid-column
:
4
/
13
...
@@ -129,16 +125,19 @@
...
@@ -129,16 +125,19 @@
&
__result-title
a
&
__result-title
a
@include
h4
@include
h4
@include
stretched-link
@include
stretched-link
@include
media-breakpoint-up
(
m
d
)
@include
media-breakpoint-up
(
d
esktop
)
&
__form
&
__form
position
:
relative
position
:
relative
width
:
col
(
8
)
width
:
col
(
8
)
&
::after
left
:
calc
(
#{
col
(
8
)
}
-
#{
$spacing2
}
+
#{
$spacing0
}
)
top
:
calc
(
#{
$spacing2
}
-
#{
$spacing0
}
)
&
__search-input
,
&
__search-input
,
&
__message
&
__message
width
:
calc
(
#{
col
(
8
,
12
)
}
-
#{
$spacing3
}
-
#{
$spacing1
}
)
width
:
calc
(
#{
col
(
8
,
12
)
}
-
#{
$spacing3
}
-
#{
$spacing1
}
)
&
__results-area
&
__results-area
padding-top
:
calc
(
#{
$spacing4
}
-
#{
$spacing1
}
)
padding-top
:
calc
(
#{
$spacing4
}
-
#{
$spacing1
}
)
@include
media-breakpoint-down
(
m
d
)
@include
media-breakpoint-down
(
d
esktop
)
&
__search-input
,
&
__search-input
,
&
__message
&
__message
width
:
calc
(
100%
-
#{
$spacing2
}
)
width
:
calc
(
100%
-
#{
$spacing2
}
)
...
@@ -157,7 +156,7 @@
...
@@ -157,7 +156,7 @@
&
::after
&
::after
position
:
absolute
position
:
absolute
right
:
$spacing0
right
:
$spacing0
@include
media-breakpoint-down
(
m
d
)
@include
media-breakpoint-down
(
d
esktop
)
left
:
0
left
:
0
width
:
100vw
width
:
100vw
&
.in-page-with-toc
&
.in-page-with-toc
...
...
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