Patrick H. Lauke
05d88ca285
Fix docs horizontal scrollbar ( #24878 )
...
* Fix docs horizontal scrollbar in Components > Modal
* Add overflow to docs example class
* Drop the handleUpdate() variant
While I understand the variant covers the "get a particular plugin instance" case from http://getbootstrap.com/docs/4.0/getting-started/javascript/#programmatic-api it seems weird that we do it here but not everywhere else in the docs (randomly checking other pages, we seem to stick to the documented methods as written on those pages). As this isn't properly explained as is, and as it adds nothing (more of a preference for authors), it would be easier to just drop the variant and stick with the documented method as outlined later on in the same page (avoids having to go off on a "why should you use this instead of that" tangent here).
2017-11-27 11:23:05 -08:00
XhmikosR
544b3ee954
Remove unused CSS. ( #24872 )
2017-11-25 22:01:10 +02:00
m5o
09ae92a0a0
descriptive docs variable naming ( #24521 )
...
* use descriptive docs btn naming
* rename `btn-bd-yellow` to `btn-bd-download`
* sort state vars
* sort state vars
* info, warning, danger
* rename btn-bd-purple
* rename `.btn-bd-purple` to `.btn-bd-primary`
* align docs color variables
* generate $bd-purple-light color
* with http://razorltd.github.io/sasscolourfunctioncalculator/
* allow overide of docs variables
2017-11-06 14:21:03 -08:00
XhmikosR
0d02addc5c
Remove the now unused _data/core-team.yml and the relevant scss. ( #24593 )
2017-10-29 17:55:28 +02:00
XhmikosR
52d99a887e
Refactor a few selectors. ( #24404 )
...
1. move a couple of them before the more specific ones.
2. change nesting to be under the same parent selector
3. use the ampersand more
2017-10-23 00:17:28 +03:00
XhmikosR
29d58fb758
Enable stylelint's function-comma-space-after
. ( #24501 )
...
The option is set to `always-single-line` in stylelint-config-standard which we extend.
2017-10-23 00:00:00 +03:00
Gijs Boddeus
b21c822e50
Change max-height
to height
in documentation sidebars ( #24446 )
...
If the content of the page does not extend the full viewport height, the sidebars were shortened.
2017-10-20 10:12:38 +03:00
Mark Otto
e953d195f2
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-10-17 18:29:55 -07:00
m5o
77e975afb2
remove unused docs color variables ( #24406 )
2017-10-18 01:45:52 +03:00
Gijs Boddeus
98778164e0
Merge branch 'v4-dev' into yiq-function-update
2017-10-15 11:55:02 +02:00
XhmikosR
ebc82db8ef
Enable stylelint's no-duplicate-selectors rule.
2017-10-07 00:11:40 +03:00
Gijs Boddeus
48676f0e2b
revert a77c13c
2017-10-04 10:55:48 +02:00
Gijs Boddeus
a77c13c403
change order off properties in _colors.scss
2017-10-04 08:51:24 +02:00
Gijs Boddeus
263190305e
Merge branch 'v4-dev' into yiq-function-update
2017-10-04 08:46:03 +02:00
XhmikosR
7b766e1ad5
Switch to stylelint. ( #23572 )
2017-10-02 20:34:56 -07:00
XhmikosR
388356acdf
docs: fix syntax highlighting for shell scripts. ( #24103 )
...
Switch all instances to `sh` but keep `bash` so that things won't break either way.
2017-09-26 12:30:58 +03:00
gijsbotje
cc092272ee
modified the yiq to to an actual function
...
function only returns a value, not the attribute itself
updated every use of the former mixin to use the new function
2017-09-13 17:32:44 +02:00
Mark Otto
52310bfd69
Rearrange margins for .highlight ( #23396 )
...
Only applies the margins to .highlight instances within .bd-content, thus negating any need for #23279 .
2017-08-13 16:44:52 -07:00
Gijs Boddeus
9a03d7efc6
fix docs modal example fade out
...
the z-index was only corrected for `.modal.show` which made the modal drop behind the header and backdrop when fading out
simply dropping the `.show` from this selector will correct this issue
2017-08-12 22:08:09 +02:00
Mark Otto
0356a1417a
Merge branch 'new-home' into v4-dev
2017-08-10 20:46:25 -07:00
Mark Otto
72ddc091dd
move to div for block level
2017-08-09 08:34:28 -07:00
Mark Otto
cf3bfa04ef
replacement fix for #23257 without old history
2017-08-09 08:34:28 -07:00
Mark Otto
da3185ee0a
new homepage, new assets, clean out old stuff
2017-08-07 21:35:43 -07:00
Mark Otto
f093b90a7d
move the overflow-y to the sticky @supports
block
...
also remove the overflow-x. when you specify either overflow-y or overflow-x, the other is essentially nullified and thus ineffective anyway
2017-07-04 13:49:15 -07:00
Gijs Boddeus
bc70d19156
overflow-y auto on toc menu
...
fixes #22977
2017-07-04 13:49:15 -07:00
Mark Otto
e47cc747f6
update usage elsewhere
2017-06-30 09:01:39 -07:00
Mark Otto
964e06800a
Drop the old $gray- variables for the new color range
2017-06-29 23:15:27 -07:00
Mark Otto
2f1bcaafa2
Merge branch 'v4-dev' into colors-redux
2017-06-25 18:42:14 -07:00
Mark Otto
9bfbee3503
add border color utilities
2017-06-25 18:39:14 -07:00
Mark Otto
b4879ec40f
remove bg styles
2017-06-25 18:14:02 -07:00
Johann-S
38ddf9ec28
Fix modal overflow with our navbar documentation and fix typo ( #22864 )
...
* Fix modal overflow with our navbar documentation and fix typo
* Fix z-index backdrop and modal with popover/tooltip example
2017-06-21 11:47:14 +02:00
Mark Otto
222eddda5e
Merge branch 'v4-dev' into colors-redux
2017-06-18 18:32:42 -07:00
Mark Otto
597e9f8618
remove - vars, update docs to generate from data yml files, update mixins, and generate card, button, bg, and color classes from the sass map
2017-06-18 02:57:16 -07:00
Mark Otto
74f1d002b4
Merge branch 'v4-dev' into colors-redux
2017-06-18 02:19:34 -07:00
Mark Otto
b1d07a8e7c
follow up to 4bab8b890e
to avoid the max-height if there's no sticky
2017-06-17 22:29:54 -07:00
Mark Otto
1c3acb63b1
fixes #22846
2017-06-17 20:36:49 -07:00
Mark Otto
4bab8b890e
wrap .bd-navbar position styles in supports query, remove prefix, and update linter settings for file
2017-06-17 13:13:47 -07:00
Mark Otto
2a579e546c
use flexbox order property to change order of content for screenreaders
2017-06-17 13:13:13 -07:00
Mark Otto
516af79509
prep docs for displaying the colors
2017-06-15 11:15:28 -07:00
Mark Otto
846718e1a9
call functions file in docs css
2017-06-14 21:25:27 -07:00
Mark Otto
2259501418
tighten up sidebar
2017-06-13 22:11:52 -07:00
Johann-S
1a0a1a0600
Avoid Tooltips/Popovers overflow on documentation's navbar ( #22733 )
2017-06-07 21:33:36 +02:00
Mark Otto
cb9f181d0e
redesign search a bit more
2017-05-31 10:13:39 -07:00
Mark Otto
e9b6a064f8
redo how we do sticky sidebar because overflow-x/-y woes
2017-05-31 10:13:29 -07:00
Mark Otto
f1a7f1f56a
Merge branch 'v4-docs-streamlined' of https://github.com/twbs/bootstrap into v4-docs-streamlined
2017-05-31 09:09:55 -07:00
Mark Otto
c3323d7b2a
tighten padding on mobile for navbar so horizontal scroll nav shows more
2017-05-31 09:09:29 -07:00
Mark Otto
a78e86ae3b
more minimal sidebar nav
2017-05-30 23:48:52 -07:00
Mark Otto
67b83aa535
style our dropdown a bit
2017-05-30 13:59:42 -07:00
Mark Otto
f8d1dc4d04
no need for those custom styles when we have utils
2017-05-30 13:23:36 -07:00
Mark Otto
39a258ddfe
redo button styles
...
- rename .btn-bs to .btn-bd-purple
- abstract yellow masthead button into .btn-bd-yellow and use it the new
docs navbar
2017-05-30 12:03:34 -07:00