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
c2fc2f9d
Unverified
Commit
c2fc2f9d
authored
1 year ago
by
Olivia Simonet
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #228 from noesya/front/clean-calculations
front/clean-calculations
parents
7904d13f
6bf7d43b
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
+12
-12
12 additions, 12 deletions
assets/sass/_theme/design-system/search.sass
with
12 additions
and
12 deletions
assets/sass/_theme/design-system/search.sass
+
12
−
12
View file @
c2fc2f9d
...
...
@@ -66,7 +66,7 @@
@include
media-breakpoint-up
(
desktop
)
padding-right
:
$spacing3
padding-left
:
$spacing3
padding-top
:
calc
(
#{
half
(
$spacing3
)
}
-
#{
half
(
$spacing0
)
}
+
#{
px2rem
(
2
)
}
)
padding-top
:
space
(
7
)
&
[
aria-hidden
=
true
]
display
:
none
a
...
...
@@ -75,14 +75,14 @@
&
::before
content
:
""
background
:
$color-background
height
:
calc
(
#{
$spacing3
}
+
#{
$spacing1
}
+
#{
$spacing1
}
)
height
:
space
(
27
)
left
:
0
position
:
fixed
top
:
0
width
:
100%
z-index
:
5
@include
media-breakpoint-down
(
desktop
)
height
:
calc
(
#{
$spacing3
}
+
#{
half
(
$spacing0
)
}
+
#{
$spacing4
}
)
height
:
space
(
50
)
&
__form
@include
icon
(
search-inline
,
after
)
&
::after
...
...
@@ -94,14 +94,14 @@
z-index
:
9
@include
media-breakpoint-down
(
desktop
)
right
:
$spacing1
top
:
calc
(
#{
$spacing4
}
+
#{
half
(
$spacing0
)
}
)
top
:
space
(
33
)
&
__search-input
border-left
:
0
border-right
:
0
border-radius
:
0
border-top
:
0
padding-left
:
0
padding-right
:
half
(
$spacing1
)
!
important
padding-right
:
$spacing1
!
important
position
:
fixed
z-index
:
6
@include
media-breakpoint-down
(
desktop
)
...
...
@@ -121,7 +121,7 @@
text-align
:
right
z-index
:
11
position
:
fixed
top
:
calc
(
#{
half
(
$spacing4
)
}
+
#{
half
(
$spacing1
)
}
)
top
:
space
(
20
)
&
__search-clear
,
&
__suppressed
display
:
none
...
...
@@ -155,21 +155,21 @@
position
:
relative
width
:
col
(
8
)
&
::after
left
:
calc
(
#{
col
(
8
)
}
-
#{
$
spac
ing2
}
+
#{
$spacing0
}
)
top
:
calc
(
#{
$spacing2
}
-
#{
$spacing0
}
)
left
:
calc
(
#{
col
(
8
)
}
-
#{
spac
e
(
8
)
}
)
top
:
space
(
9
)
&
__search-input
,
&
__message
width
:
calc
(
#{
col
(
8
,
12
)
}
-
#{
$
spac
ing3
}
-
#{
$spacing1
}
)
width
:
calc
(
#{
col
(
8
,
12
)
}
-
#{
spac
e
(
21
.5
)
}
)
&
__results-area
padding-top
:
calc
(
#{
$spacing4
}
-
#{
$spacing1
}
)
padding-top
:
space
(
26
)
@include
media-breakpoint-down
(
desktop
)
&
__search-input
,
&
__message
width
:
calc
(
100%
-
#{
$spacing2
}
)
&
__message
top
:
calc
(
#{
$spacing4
}
+
#{
$spacing2
}
)
top
:
space
(
44
)
&
__results-area
padding-top
:
calc
(
#{
$spacing3
}
+
#{
half
(
$spacing0
)
}
)
padding-top
:
space
(
17
)
.
menu
.
nav-level-1
>
li
.
pagefind-ui__toggle
:
not
(
.
toggle-icon
)
::
after
margin-left
:
0
...
...
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