Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
cb9f181d
Commit
cb9f181d
authored
7 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
redesign search a bit more
parent
e9b6a064
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assets/scss/_algolia.scss
+26
-16
assets/scss/_algolia.scss
with
26 additions
and
16 deletions
+26
-16
assets/scss/_algolia.scss
+
26
-
16
View file @
cb9f181d
...
...
@@ -10,12 +10,16 @@
width
:
100%
;
min-width
:
0
!
important
;
max-width
:
none
!
important
;
padding
:
8px
0
!
important
;
padding
:
.75rem
0
!
important
;
background-color
:
#fff
;
background-clip
:
padding-box
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,.
1
);
box-shadow
:
0
.5rem
1rem
rgba
(
0
,
0
,
0
,.
175
);
@include
media-breakpoint-up
(
md
)
{
width
:
175%
;
}
// Caret
&
::before
{
display
:
none
!
important
;
...
...
@@ -39,11 +43,11 @@
}
.algolia-docsearch-suggestion--category-header
{
padding
:
.125rem
1
5px
!
important
;
padding
:
.125rem
1
rem
!
important
;
margin-top
:
0
!
important
;
font-size
:
.75rem
!
important
;
font-size
:
.
8
75rem
!
important
;
font-weight
:
500
!
important
;
color
:
#767676
!
important
;
color
:
$bd-purple-bright
!
important
;
border-bottom
:
0
!
important
;
}
...
...
@@ -74,7 +78,9 @@
.ds-suggestion
{
&
:not
(
:first-child
)
{
.algolia-docsearch-suggestion--category-header
{
margin-top
:
.5rem
!
important
;
padding-top
:
.75rem
!
important
;
margin-top
:
.75rem
!
important
;
border-top
:
1px
solid
rgba
(
0
,
0
,
0
,.
1
);
}
}
...
...
@@ -85,19 +91,29 @@
.algolia-docsearch-suggestion--title
{
display
:
block
;
padding
:
0
15px
!
important
;
padding
:
.25rem
1rem
!
important
;
margin-bottom
:
0
!
important
;
font-size
:
.875rem
!
important
;
font-weight
:
400
!
important
;
}
.algolia-docsearch-suggestion--text
{
padding
:
0
1rem
.5rem
!
important
;
margin-top
:
-.25rem
;
font-size
:
.875rem
!
important
;
font-weight
:
normal
;
line-height
:
1
.25
!
important
;
}
.algolia-docsearch-footer
{
float
:
none
!
important
;
width
:
auto
!
important
;
height
:
auto
!
important
;
padding
:
10px
15px
;
font-size
:
.
8
75rem
!
important
;
padding
:
.75rem
1rem
0
;
font-size
:
.75rem
!
important
;
line-height
:
1
!
important
;
color
:
#767676
!
important
;
border-top
:
1px
solid
rgba
(
0
,
0
,
0
,.
1
);
}
.algolia-docsearch-footer--logo
{
...
...
@@ -108,22 +124,16 @@
background
:
none
!
important
;
}
.algolia-docsearch-suggestion--text
{
padding-top
:
.5rem
;
padding-bottom
:
.5rem
;
font-weight
:
normal
;
}
.algolia-docsearch-suggestion--highlight
{
color
:
#5f2dab
;
background-color
:
rgba
(
154
,
132
,
187
,
.12
);
}
.algolia-docsearch-suggestion--text
.algolia-docsearch-suggestion--highlight
{
box-shadow
:
inset
0
-2px
0
0
rgba
(
95
,
45
,
171
,
.8
)
!
important
;
box-shadow
:
inset
0
-2px
0
0
rgba
(
95
,
45
,
171
,
.
5
)
!
important
;
}
.ds-suggestion.ds-cursor
.algolia-docsearch-suggestion--content
{
background-color
:
rgba
(
208
,
189
,
236
,
.1
2
)
!
important
;
background-color
:
rgba
(
208
,
189
,
236
,.
1
5
)
!
important
;
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment