Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
b39f7049
Unverified
Commit
b39f7049
authored
5 years ago
by
Martijn Cuppens
Committed by
GitHub
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Cleanup algolia theming (#29888)
parent
31e69475
main
cleanup-floating-forms
cssvar-function
dependabot/npm_and_yarn/stylelint-and-stylelint-config-twbs-bootstrap-15.3.0
extend-snippets
feat/data-target
floating-always-visible
floating-labels-icons
fod-main-banner
form-controls-with-icons
github/fork/719media/patch-13
github/fork/719media/patch-14
github/fork/719media/patch-9
github/fork/ChellyAhmed/fix-typo-reboot.md
github/fork/ChellyAhmed/offcanvas-scroll-back
github/fork/CtrlAltLilith/main
github/fork/Elysiome/offcanvas-optional-window-resizing
github/fork/JanSargsyan/main
github/fork/LunicLynx/support-different-line-height-for-buttons
github/fork/Psixodelik/main
github/fork/Ronid1/ronid1/offcanvas_static_backdrop
github/fork/RyanBerliner/tooltip-accessibility
github/fork/SantiagoPVazquez/Feature-default-border-bottom-to-dropdown-item
github/fork/Sir-Genius/utils
github/fork/Sumit-Singh-8/main
github/fork/Viktor-VERA2020/offcanvas-slide
github/fork/Zivangu9/input-group-for-form-control-plaintext
github/fork/alpadev/alpadev/call-dispose-on-component-reinstantiation
github/fork/astagi/fix/tree-shake-modules
github/fork/compnerd/dark-accordion-icon
github/fork/derSascha/dropdown-dont-close-on-input-click
github/fork/dev-ph1l/main
github/fork/donquixote/issue-33861-utl-mixin
github/fork/florianlacreuse/mixin-make-row-gutter-y
github/fork/gregorw/main
github/fork/iteggmbh/transitionend-dispose-race
github/fork/jdelStrother/patch-1
github/fork/jonnysp/form-floating
github/fork/jonnysp/independent-offcanvas
github/fork/jonnysp/theme-dark-on-card-and-modal-fix
github/fork/josefdlange/floating-label-placeholder-opacity
github/fork/julien-deramond/enhance-change-version.js
github/fork/julien-deramond/main-jd-fix-offset-content
github/fork/julien-deramond/main-jd-issue-with-utitlies
github/fork/julien-deramond/main-xmr-pa11y-ci-jd-add-hideElements
github/fork/kyletsang/fix-tooltip-padding
github/fork/lacutah/CheckboxCenteringDocumentation
github/fork/lekoala/patch-3
github/fork/louismaximepiton/main-kld-lmp-collapse-proposal
github/fork/louismaximepiton/main-lmp-card-inner-border-radius-fix
github/fork/louismaximepiton/main-lmp-carousel-multiple-images
github/fork/louismaximepiton/main-lmp-css-var-init
github/fork/louismaximepiton/main-lmp-disabled-floating-label-fix
github/fork/louismaximepiton/main-lmp-input-range-fix
github/fork/louismaximepiton/main-lmp-shift-color
github/fork/louismaximepiton/main-lmp-table-active-tr-fix
github/fork/maciek-szn/switch
github/fork/michael-roth/feature/19964-multiple-tab-targets
github/fork/mistic100/dom-utils
github/fork/nkdas91/accordion
github/fork/nstungcom/fix-missing-modal-open-class
github/fork/oraliahdz/animation-utilities
github/fork/pine3ree/patch-7
github/fork/pouwerkerk/unindent-scss-docs-shortcode
github/fork/smares/smares-no-scolling-on-modal-close
github/fork/tgm-git/patch-1
gs-forms
gs-toasts-with-animated-progress-bar
gs/add-history-helper
gs/change-version-dir-on-docs
gs/data-must-set-onlu-one-instance
gs/docs/fix-drop-down-error
gs/event-handler-2
gs/make-docs-js-build
gs/make-simple-attribute-toggler
gs/popover-fix-doc
gs/provide-steConfig-method
gs/scrollspy-smoothscroll-option-use-browser-history
gs/streamline-jqueryInterface
gs/support-drop-down-in-navbar
gs/test-js-generic-trigger
gs/try-web-components
gs/tweak-collapse-js-selector
gs/use-event-handler-in-cocmponent
gs/use-rollup-replace-for-version
jo-docs-thanks-page
jo-ssr-friendly
logical-props-spacing-utils
main-fod-disabled-form-check-label
main-fod-nested-accordion
main-fod-simpler-table-structure
main-fod-table-separator
main-fod-utilities-contrast
main-jd-abbr-title
main-jd-add-chips
main-jd-add-doc-for-sass-custom-colors
main-jd-add-enable-host-to-handle-web-components
main-jd-browserstack-fine-tune
main-jd-browserstack-updates
main-jd-docs-consistent-usage-of-css-sections-step-2
main-jd-fix-docs-headers-in-white
main-jd-fix-highlight-docs-border-radius
main-jd-fix-placeholder-color-background-params-for-img-markup
main-jd-glossary-experiment
main-jd-postcss-drop-empty-css-vars
main-jd-proto-doc-astro
main-jd-skip-navigation-component
main-jd-stackblitz-for-examples
main-jd-upgrade-browserlistrc
main-jd-use-host
main-lmp-dark-theme-customization
main-lmp-handle-scroll-target
main-lmp-tab-fix
main-mc-opensearch
main-xmr-bundlewatch-action
main-xmr-eslint-plugin-compat
main-xmr-hugo-docs-vendor
main-xmr-hugo-rm-ver
main-xmr-linkinator-prod
main-xmr-min-mangle
main-xmr-pa11y-ci
more-darkmode-examples
nested-dropdowns
patrickhlauke-issue37428
patrickhlauke-use-of-color-tweaks
pr/34102
pr/37590
previous-next-docs-links
sticky-thead
utilities-functions-mixin
v530-dev
v6-postcss-custom-media
v6-spinner-dots
v6/gs/use-floating-ui-in-place-of-popper
xmr/dev
xmr/docs-png
xmr/docs-svgs
xmr/hugo-reorg-files
xmr/js-2
xmr/markdownlint
xmr/prepare-530-alpha2
xmr/xo
v5.3.0-alpha1
v5.2.3
v5.2.2
v5.2.1
v5.2.0
v5.2.0-beta1
v5.1.3
v5.1.2
v5.1.1
v5.1.0
v5.0.2
v5.0.1
v5.0.0
v5.0.0-beta3
v5.0.0-beta2
v5.0.0-beta1
v5.0.0-alpha3
v5.0.0-alpha2
v5.0.0-alpha1
2 merge requests
!31948
Examples/Floating-labels: fix bad behavior with autofill
,
!30064
test
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
site/assets/scss/_algolia.scss
+75
-131
site/assets/scss/_algolia.scss
site/layouts/partials/stylesheet.html
+0
-5
site/layouts/partials/stylesheet.html
with
75 additions
and
136 deletions
+75
-136
site/assets/scss/_algolia.scss
+
75
-
131
View file @
b39f7049
//
stylelint-disable declaration-no-important
//
Docsearch theming
// Docsearch overrides
//
// `!important` indicates overridden properties.
.algolia-autocomplete
{
display
:
block
!
important
;
flex
:
1
;
// Menu container
.ds-dropdown-menu
{
width
:
100%
;
min-width
:
0
!
important
;
max-width
:
none
!
important
;
padding
:
.75rem
0
!
important
;
background-color
:
$white
;
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
;
}
[
class
^=
"ds-dataset-"
]
{
padding
:
0
!
important
;
overflow
:
visible
!
important
;
background-color
:
transparent
!
important
;
border
:
0
!
important
;
}
.ds-suggestions
{
margin-top
:
0
!
important
;
}
}
width
:
100%
;
}
.algolia-docsearch-suggestion
{
padding
:
0
!
important
;
overflow
:
visible
!
important
;
.ds-dropdown-menu
{
width
:
100%
;
padding
:
$dropdown-padding-y
0
;
margin
:
$dropdown-spacer
0
0
;
@include
font-size
(
.875rem
);
background-color
:
$dropdown-bg
;
border
:
$dropdown-border-width
solid
$dropdown-border-color
;
@include
border-radius
(
$dropdown-border-radius
);
@include
box-shadow
(
$dropdown-box-shadow
);
@include
media-breakpoint-up
(
md
)
{
// stylelint-disable declaration-no-important
right
:
0
!
important
;
// Override inline style
left
:
auto
!
important
;
// Override inline style
// stylelint-enable declaration-no-important
width
:
400px
;
}
}
.algolia-docsearch-suggestion--category-header
{
padding
:
.125rem
1rem
!
important
;
margin-top
:
0
!
important
;
@include
font-size
(
.875rem
!
important
);
font-weight
:
600
!
important
;
color
:
$bd-purple-bright
!
important
;
border-bottom
:
0
!
important
;
}
.algolia-docsearch-suggestion--category-header
{
padding
:
.125rem
1rem
;
font-weight
:
600
;
color
:
$bd-purple-bright
;
.algolia-docsearch-suggestion--wrapper
{
float
:
none
!
important
;
padding-top
:
0
!
important
;
// stylelint-disable-next-line selector-class-pattern
:not
(
.algolia-docsearch-suggestion__main
)
>
&
{
display
:
none
;
}
// Section header
.algolia-docsearch-suggestion--subcategory-column
{
float
:
none
!
important
;
width
:
auto
!
important
;
padding
:
0
!
important
;
text-align
:
left
!
important
;
.ds-suggestion
:not
(
:first-child
)
&
{
padding-top
:
.75rem
;
margin-top
:
.75rem
;
border-top
:
1px
solid
rgba
(
0
,
0
,
0
,
.1
);
}
}
.algolia-docsearch-suggestion--subcategory-inline
{
display
:
block
!
important
;
@include
font-size
(
.875rem
);
color
:
$gray-700
;
.algolia-docsearch-suggestion--content
{
padding
:
.25rem
1rem
;
&
::after
{
padding
:
0
.25rem
;
content
:
"/"
;
}
.ds-cursor
&
{
background-color
:
rgba
(
$bd-purple-light
,
.2
);
}
}
.algolia-docsearch-suggestion--content
{
display
:
flex
;
flex-wrap
:
wrap
;
float
:
none
!
important
;
width
:
100%
!
important
;
padding
:
.25rem
1rem
!
important
;
// Vertical divider between column header and content
&
::before
{
display
:
none
!
important
;
}
}
.algolia-docsearch-suggestion
{
display
:
block
;
.ds-suggestion
{
&
:not
(
:first-child
)
{
.algolia-docsearch-suggestion--category-header
{
padding-top
:
.75rem
!
important
;
margin-top
:
.75rem
!
important
;
border-top
:
1px
solid
rgba
(
0
,
0
,
0
,
.1
);
}
}
.algolia-docsearch-suggestion--subcategory-column
{
display
:
none
!
important
;
}
&
:hover
{
text-decoration
:
none
;
}
}
.algolia-docsearch-suggestion--title
{
display
:
block
;
margin-bottom
:
0
!
important
;
@include
font-size
(
.875rem
!
important
);
font-weight
:
400
!
important
;
}
.algolia-docsearch-suggestion--subcategory-column
{
display
:
none
;
}
.algolia-docsearch-suggestion--text
{
flex
:
0
0
100%
;
max-width
:
100%
;
padding
:
.2rem
0
;
@include
font-size
(
.8125rem
!
important
);
font-weight
:
400
;
line-height
:
1
.25
!
important
;
color
:
$gray-600
;
}
.algolia-docsearch-suggestion--subcategory-inline
{
display
:
inline
;
color
:
$gray-700
;
.algolia-docsearch-footer
{
float
:
none
!
important
;
width
:
auto
!
important
;
height
:
auto
!
important
;
padding
:
.75rem
1rem
0
;
@include
font-size
(
.75rem
!
important
);
line-height
:
1
!
important
;
color
:
$gray-600
!
important
;
border-top
:
1px
solid
rgba
(
0
,
0
,
0
,
.1
);
&
::after
{
padding
:
0
.25rem
;
content
:
"/"
;
}
}
.algolia-docsearch-footer--logo
{
display
:
inline
!
important
;
overflow
:
visible
!
important
;
color
:
inherit
!
important
;
text-indent
:
0
!
important
;
background
:
none
!
important
;
}
.algolia-docsearch-suggestion--title
{
display
:
inline
;
font-weight
:
500
;
color
:
$gray-800
;
}
.algolia-docsearch-suggestion--
highligh
t
{
color
:
#5f2dab
;
background-color
:
rgba
(
154
,
132
,
187
,
.12
);
}
.algolia-docsearch-suggestion--
tex
t
{
color
:
$gray-800
;
@include
font-size
(
.75rem
);
}
.algolia-docsearch-suggestion--text
.algolia-docsearch-suggestion--highlight
{
box-shadow
:
inset
0
-2px
0
0
rgba
(
95
,
45
,
171
,
.5
)
!
important
;
}
.algolia-docsearch-suggestion--highlight
{
color
:
$purple
;
background-color
:
rgba
(
$purple
,
.1
);
}
.ds-suggestion.ds-cursor
.algolia-docsearch-suggestion--content
{
background-color
:
rgba
(
208
,
189
,
236
,
.15
)
!
important
;
}
.algolia-docsearch-footer
{
padding
:
.5rem
1rem
0
;
margin-top
:
.625rem
;
@include
font-size
(
.75rem
);
color
:
$gray-600
;
border-top
:
1px
solid
rgba
(
0
,
0
,
0
,
.1
);
}
.algolia-docsearch-footer--logo
{
color
:
inherit
;
}
This diff is collapsed.
Click to expand it.
site/layouts/partials/stylesheet.html
+
0
-
5
View file @
b39f7049
...
...
@@ -5,11 +5,6 @@
<link
href=
"/docs/{{ .Site.Params.docs_version }}/dist/css/bootstrap.css"
rel=
"stylesheet"
>
{{- end }}
{{ if (or (eq .Page.Layout "docs") (eq .Page.Layout "single")) -}}
{{- "
<!-- Documentation extras -->
" | safeHTML }}
<link
href=
"https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"
rel=
"stylesheet"
>
{{- end -}}
{{- if (ne .Page.Layout "examples") }}
{{- $targetDocsCssPath := printf "/docs/%s/assets/css/docs.css" .Site.Params.docs_version -}}
{{- $sassOptions := dict "targetPath" $targetDocsCssPath "precision" 6 -}}
...
...
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
Menu
Explore
Projects
Groups
Snippets