From 2db7032ebf61d82fed5c14b08c34a35346ee3ced Mon Sep 17 00:00:00 2001 From: Kevin Ross Date: Mon, 28 Mar 2016 12:23:04 -0500 Subject: [PATCH] gulp copy:bs-docs --- .hound.yml | 8 ++++++++ .travis.yml | 1 - CONTRIBUTING.md | 4 ++++ docs/assets/scss/_nav.scss | 5 ++--- docs/components/modal.md | 2 +- docs/content/tables.md | 10 ++++++++++ 6 files changed, 25 insertions(+), 5 deletions(-) diff --git a/.hound.yml b/.hound.yml index 66bc1ae7..5aa05b01 100644 --- a/.hound.yml +++ b/.hound.yml @@ -6,5 +6,13 @@ scss: javascript: enabled: false +eslint: + enabled: true + config_file: .eslintrc + +jscs: + enabled: true + config_file: js/.jscsrc + ruby: enabled: false diff --git a/.travis.yml b/.travis.yml index 724d6db7..2f2e8a25 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,6 @@ before_install: - rvm install 2.2.2 - rvm use 2.2.2 --fuzzy - - export GEMDIR=$(rvm gemdir) - npm install -g npm - "export TRAVIS_COMMIT_MSG=\"$(git log --format=%B --no-merges -n 1)\"" - echo "$TRAVIS_COMMIT_MSG" | grep '\[skip validator\]'; export BMD_DO_VALIDATOR=$?; true diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3e8b5b57..bb73f16a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,6 +25,10 @@ restrictions: * Please **do not** derail or troll issues. Keep the discussion on topic and respect the opinions of others. + +* Please **do not** post comments consisting solely of "+1" or ":thumbsup:". + Use [GitHub's "reactions" feature](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments) + instead. We reserve the right to delete comments which violate this rule. * Please **do not** open issues or pull requests regarding the code in dependencies such as: [`Bootstrap`](https://github.com/twbs/bootstrap) (open them in their respective repositories). diff --git a/docs/assets/scss/_nav.scss b/docs/assets/scss/_nav.scss index 721438eb..e986a595 100644 --- a/docs/assets/scss/_nav.scss +++ b/docs/assets/scss/_nav.scss @@ -5,8 +5,6 @@ // .bd-navbar { - font-size: 87.5%; // 14px - .navbar-nav { .nav-link { color: $bd-graphite-light; @@ -19,7 +17,8 @@ } &.active { - color: darken($gray-dark, 25%); + font-weight: 500; + color: darken($gray-dark, 15%); } } } diff --git a/docs/components/modal.md b/docs/components/modal.md index 9cd2648a..b0f85d8b 100644 --- a/docs/components/modal.md +++ b/docs/components/modal.md @@ -46,7 +46,7 @@ Always try to place a modal's HTML code in a top-level position in your document {% callout warning %} #### Mobile device caveats -There are some caveats regarding using modals on mobile devices. [See our browser support docs]({{ site.baseurl }}/getting-started/browsers-devices/#modals-navbars-and-virtual-keyboards) for details. +There are some caveats regarding using modals on mobile devices. [See our browser support docs]({{ site.baseurl }}/getting-started/browsers-devices/#modals-and-dropdowns-on-mobile) for details. {% endcallout %} ### Static example diff --git a/docs/content/tables.md b/docs/content/tables.md index a6bfd637..476e7357 100644 --- a/docs/content/tables.md +++ b/docs/content/tables.md @@ -579,6 +579,16 @@ For more information, read [this Stack Overflow answer](https://stackoverflow.co ### Reflow +Turn traditional tables on their side by using `table-reflow`. When using reflow, the table header becomes the first column of the table, the first row within the table body becomes the second column, the second row becomes the third column, etc. + +{% callout warning %} +#### Content order and complex tables + +Beware that the `table-reflow` style changes the visual order of content. Make sure that you only apply this style to well-formed and simple data tables (and in particular, don't use this for layout tables) with appropriate `` table header cells for each row and column. + +In addition, this class will not work correctly for tables with cells that span multiple rows or columns (using `rowspan` or `colspan` attributes). + +{% endcallout %} {% example html %}