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
6f4360c4
Commit
6f4360c4
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
cleanup docs css more
parent
c31a4e51
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
gh-pages
gh-pages-530-alpha2
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
v3-dev
v4-dev
v4-dev-dropdown-hide-method
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
v4.6.2
v4.6.1
v4.6.0
v4.5.3
v4.5.2
v4.5.1
v4.5.0
v4.4.1
v4.4.0
v4.3.1
v4.3.0
v4.2.1
v4.2.0
v4.1.3
v4.1.2
v4.1.1
v4.1.0
v4.0.0
v4.0.0-beta.3
v4.0.0-beta.2
v4.0.0-beta
v4.0.0-alpha.6
v4.0.0-alpha.5
v4.0.0-alpha.4
v4.0.0-alpha.3
v4.0.0-alpha.2
v4.0.0-alpha
v3.4.1
v3.4.0
v3.3.7
v3.3.6
v3.3.5
v3.3.4
v3.3.2
v3.3.1
v3.3.0
v3.2.0
v3.1.1
v3.1.0
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v3.0.0-rc.2
v3.0.0-rc1
v2.3.2
v2.3.1
v2.3.0
v2.2.2
v2.2.1
v2.2.0
v2.1.1
v2.1.0
7 merge requests
!4427
Use variable for desktop media query
,
!4258
Aria
,
!4248
Amended mentions of 'javascript' to the correct 'JavaScript'
,
!4235
Patch 1
,
!4232
Fixing the modal z-index issue + make modal stacking possible
,
!4213
2.1.0 wip
,
!4165
Patch 2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/assets/css/docs.css
+94
-145
docs/assets/css/docs.css
with
94 additions
and
145 deletions
+94
-145
docs/assets/css/docs.css
+
94
-
145
View file @
6f4360c4
...
...
@@ -51,6 +51,8 @@ h3 code {
.navbar
{
font-size
:
13px
;
}
/* Change the docs' brand */
body
>
.navbar-fixed-top
.brand
{
padding-right
:
0
;
padding-left
:
0
;
...
...
@@ -93,6 +95,7 @@ hr.soften {
}
/* Jumbotrons
-------------------------------------------------- */
...
...
@@ -149,7 +152,7 @@ hr.soften {
font-size
:
60px
;
}
/* Quick links
/* Quick links
on Home
------------------------- */
.bs-links
{
margin
:
40px
0
0
;
...
...
@@ -178,8 +181,10 @@ hr.soften {
}
/* Marketing section of Overview
-------------------------------------------------- */
.marketing
.row
{
margin-bottom
:
9px
;
}
...
...
@@ -189,8 +194,7 @@ hr.soften {
font-weight
:
300
;
text-align
:
center
;
}
.marketing
h2
,
.marketing
h3
{
.marketing
h2
{
font-weight
:
300
;
}
.marketing
p
{
...
...
@@ -201,10 +205,6 @@ hr.soften {
margin
:
7px
10px
0
0
;
opacity
:
.8
;
}
.marketing
.small-bs-icon
{
float
:
left
;
margin
:
4px
5px
0
0
;
}
.marketing
.marketing-byline
{
margin-bottom
:
30px
;
font-size
:
20px
;
...
...
@@ -215,8 +215,10 @@ hr.soften {
}
/* Footer
-------------------------------------------------- */
.footer
{
padding
:
40px
0
;
margin-top
:
49px
;
...
...
@@ -231,6 +233,7 @@ hr.soften {
/* Special grid styles
-------------------------------------------------- */
.show-grid
{
margin-top
:
10px
;
margin-bottom
:
20px
;
...
...
@@ -256,7 +259,8 @@ hr.soften {
}
/* Render mini layout previews
/* Mini layout previews
-------------------------------------------------- */
.mini-layout
{
border
:
1px
solid
#ddd
;
...
...
@@ -301,32 +305,10 @@ hr.soften {
}
/* Popover docs
-------------------------------------------------- */
.popover-well
{
min-height
:
160px
;
}
.popover-well
.popover
{
display
:
block
;
}
.popover-well
.popover-wrapper
{
width
:
50%
;
height
:
160px
;
float
:
left
;
margin-left
:
55px
;
position
:
relative
;
}
.popover-well
.popover-menu-wrapper
{
height
:
80px
;
}
.large-bird
{
margin
:
5px
0
0
310px
;
opacity
:
.1
;
}
/* Download page
-------------------------------------------------- */
.download
.page-header
{
margin-top
:
36px
;
}
...
...
@@ -410,30 +392,6 @@ hr.soften {
/* Color swatches on LESS docs page
-------------------------------------------------- */
/* Sets the width of the td */
.swatch-col
{
width
:
30px
;
}
/* Le swatch */
.swatch
{
display
:
inline-block
;
width
:
30px
;
height
:
20px
;
margin
:
-6px
0
;
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;
}
/* For white swatches, give a border */
.swatch-bordered
{
width
:
28px
;
height
:
18px
;
border
:
1px
solid
#eee
;
}
/* Misc
-------------------------------------------------- */
...
...
@@ -460,15 +418,6 @@ h2 + .row {
position
:
relative
;
}
/* Remove bottom margin on example forms in wells */
form
.well
{
padding
:
14px
;
}
/* Tighten up spacing */
.well
hr
{
margin
:
18px
0
;
}
/* Fake the :focus state to demo it */
.focused
{
...
...
@@ -507,8 +456,12 @@ form.well {
background-color
:
#fff
;
}
/* Docs examples
------------------------- */
/* Bootstrap code examples
-------------------------------------------------- */
/* Base class */
.bs-docs-example
{
position
:
relative
;
margin
:
15px
0
;
...
...
@@ -519,6 +472,8 @@ form.well {
-moz-border-radius
:
4px
;
border-radius
:
4px
;
}
/* Echo out a label for the example */
.bs-docs-example
:after
{
content
:
"Example"
;
position
:
absolute
;
...
...
@@ -534,10 +489,15 @@ form.well {
-moz-border-radius
:
4px
0
4px
0
;
border-radius
:
4px
0
4px
0
;
}
/* Remove spacing between an example and it's code */
.bs-docs-example
+
.prettyprint
{
margin-top
:
-20px
;
padding-top
:
15px
;
}
/* Tweak examples
------------------------- */
.bs-docs-example
,
.bs-docs-example
>
p
{
font-size
:
13px
;
...
...
@@ -614,7 +574,11 @@ form.bs-docs-example {
}
/* Responsive table
/* Responsive docs
-------------------------------------------------- */
/* Utility classes table
------------------------- */
.responsive-utilities
th
small
{
display
:
block
;
...
...
@@ -680,10 +644,71 @@ form.bs-docs-example {
/* Responsive
Docs
/* Responsive
-------------------------------------------------- */
@media
(
max-width
:
480px
)
{
/* Desktop large
------------------------- */
@media
(
min-width
:
1210px
)
{
.bs-docs-container
{
max-width
:
970px
;
}
}
/* Desktop
------------------------- */
@media
(
max-width
:
980px
)
{
/* Unfloat brand */
body
>
.navbar-fixed-top
.brand
{
float
:
left
;
margin-left
:
0
;
padding-left
:
10px
;
padding-right
:
10px
;
}
/* Inline-block quick links for more spacing */
.quick-links
li
{
display
:
inline-block
;
margin
:
5px
;
}
}
/* Tablet to desktop
------------------------- */
@media
(
min-width
:
768px
)
and
(
max-width
:
980px
)
{
/* Remove any padding from the body */
body
{
padding-top
:
0
;
}
}
/* Tablet
------------------------- */
@media
(
max-width
:
768px
)
{
/* Remove any padding from the body */
body
{
padding-top
:
0
;
}
/* Jumbotron buttons */
.jumbotron
.btn
{
margin-bottom
:
10px
;
}
/* Space out the show-grid examples */
.show-grid
[
class
*=
"span"
]
{
margin-bottom
:
5px
;
}
/* Unfloat the back to top link in footer */
.footer
p
{
margin-bottom
:
9px
;
}
}
/* Landscape phones
------------------------- */
@media
(
max-width
:
480px
)
{
/* Reduce padding above jumbotron */
body
{
padding-top
:
70px
;
...
...
@@ -749,80 +774,4 @@ form.bs-docs-example {
.footer
.pull-right
{
float
:
none
;
}
}
@media
(
max-width
:
768px
)
{
/* Remove any padding from the body */
body
{
padding-top
:
0
;
}
/* Jumbotron buttons */
.jumbotron
.btn
{
margin-bottom
:
10px
;
}
/* Space out the show-grid examples */
.show-grid
[
class
*=
"span"
]
{
margin-bottom
:
5px
;
}
/* Unfloat the back to top link in footer */
.footer
p
{
margin-bottom
:
9px
;
}
}
@media
(
min-width
:
480px
)
and
(
max-width
:
768px
)
{
}
@media
(
min-width
:
768px
)
and
(
max-width
:
980px
)
{
/* Remove any padding from the body */
body
{
padding-top
:
0
;
}
}
@media
(
max-width
:
980px
)
{
/* Unfloat brand */
body
>
.navbar-fixed-top
.brand
{
float
:
left
;
margin-left
:
0
;
padding-left
:
10px
;
padding-right
:
10px
;
}
/* Inline-block quick links for more spacing */
.quick-links
li
{
display
:
inline-block
;
margin
:
5px
;
}
}
/* LARGE DESKTOP SCREENS */
@media
(
min-width
:
1210px
)
{
.bs-docs-container
{
max-width
:
970px
;
}
/* Update subnav container */
.subnav-fixed
.nav
{
max-width
:
970px
;
/* 2px less to account for left/right borders being removed when in fixed mode */
}
}
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