Commit Graph

19016 Commits

Author SHA1 Message Date
ysds e2a93ec094 Fix incorrect aspect ratio on IE11 2019-09-15 13:38:04 +02:00
Martijn Cuppens 6e63868500 Remove redundant properties 2019-09-15 13:38:04 +02:00
jahanzaibsuleman07 d99ff902f8 Responsive sticky top (#29158) 2019-09-13 21:15:20 +03:00
XhmikosR 49469ca0dc
Update devDependencies. (#29381) 2019-09-13 12:13:08 +03:00
Martijn Cuppens 2f549ecda8 Typo fix (#29382) 2019-09-07 22:16:48 +03:00
ysds 713dd82403 Remove unnecessary z-index 2019-09-06 18:06:13 +03:00
Martijn Cuppens 9066f9495c Make sure the content doesn't cover the navbar dropdown
See https://github.com/twbs/bootstrap/pull/29368#issuecomment-528725686
2019-09-06 18:06:13 +03:00
XhmikosR c5e80ff2af about/brand.md: Remove unused class. 2019-09-06 18:06:13 +03:00
XhmikosR c6ac6365e5 Use the `$white` variable. 2019-09-06 18:06:13 +03:00
Martijn Cuppens b6b96c174b Docs tweaks
- Simplify display headings example markup
- Simplify footer styles
- Remove z-indices hacks in the docs
- Remove redundant modal styling in docs
- Use `escape-svg()` to escape docs sidebar chevron
- Simplify sidebar chevron code
- Cleanup masthead css & fix column width between `md` & `lg`
- Easier to download logo's with the `download` attribute.
- Changed some color codes into variables
- Cleanup brands css
2019-09-06 18:06:13 +03:00
XhmikosR d6945d5e8f Move shortcodes used only once where they are needed. 2019-09-06 11:57:50 +03:00
XhmikosR 2c9e22ef88 getting-started/theming.md: throw an error if the regex doesn't succeed. 2019-09-06 11:57:50 +03:00
XhmikosR cf4ae75eff Break a couple of long lines. 2019-09-06 11:57:50 +03:00
XhmikosR f7fe5d5bca
homepage: remove redundant class (#29357)
This broke IE11.
2019-09-06 08:51:46 +03:00
Mark Otto eb49bd11c9 Update subnav to remove breadcrumb and just keep versions and search (#29368) 2019-09-05 21:43:31 +03:00
XhmikosR c6a82fcc6f
Update devDependencies. (#29349) 2019-09-05 11:23:34 +03:00
XhmikosR db002902da
Tweak form validation snippet. (#29359)
* remove load event
* use `forEach` and `querySelectorAll`
* simplify check
2019-09-03 18:04:11 +03:00
XhmikosR d0affaa2ec
Examples: use our utilities more. (#29358) 2019-09-02 19:19:25 +03:00
XhmikosR 88d7d8b822
Use the example shortcode in more places. (#29346) 2019-09-02 12:52:26 +03:00
XhmikosR 6cb4ebc048
ESLint: specify `--report-unused-disable-directives` (#29350) 2019-09-02 12:44:19 +03:00
XhmikosR 6f1eb110e7
Docs: simplify a few Hugo `range`s. (#29333) 2019-09-02 12:31:02 +03:00
XhmikosR edf7923c8f
Fix a few redirected links. (#29352) 2019-09-02 12:21:42 +03:00
XhmikosR 919b526f17
Fix shortcodes/example.html class bug. (#29344)
It always used the first placeholder's class before.
2019-08-31 08:11:16 +03:00
ysds b1f4909287 Add responsive example 2019-08-30 13:07:27 -07:00
ysds ebfeaa4ad1 Allow override default col width 2019-08-30 13:07:27 -07:00
Mark Otto cc248791b0 Cleanup
- Rename and move the variable to variables file
- Move code to the grid file
- Use the mixin to generate our own classes
- Wrap in a grid classes enabled conditional
- Document the mixin
2019-08-30 13:07:27 -07:00
Mark Otto db692d02d5 Move margins, and equal height via utility example 2019-08-30 13:07:27 -07:00
Mark Otto e2252e0230 First pass at .row-cols classes
Trying to find a new way to do responsive card decks while not locking ourselves into the cards themselves. My thinking here is we can easily control the column (.col) width by the parent, but I don't know how many we need (have 0-5 now) across each breakpoint. This works for cards so far, and I think could get us equal height, too.
2019-08-30 13:07:27 -07:00
XhmikosR 4041d70eb5
card.md remove empty `class` placeholder argument (#29345) 2019-08-30 17:35:12 +03:00
XhmikosR aa3b4c41a4
carousel.md: Remove duplicate bd-example div. (#29341)
The example shortcode already adds this.
2019-08-30 17:21:47 +03:00
XhmikosR a6460d9727
Merge lint scripts (#29329)
* Merge js-lint scripts into one script.

* Merge stylelint scripts into one.
2019-08-30 11:52:22 +03:00
Martijn Cuppens 007ea0d8d0 Clean up line heights & add line height utilities (#29271) 2019-08-30 10:42:41 +03:00
XhmikosR ae249e8f55
docs-sidebar.html: reindent. (#29337) 2019-08-30 08:01:21 +03:00
Mark Otto 8360edc57b
Clean up instances of old .form-group (#29321) 2019-08-29 14:07:55 -06:00
XhmikosR d06eec372a
Minor lint tweaks. (#29328) 2019-08-29 16:20:49 +03:00
XhmikosR e99625c088
docs: remove swatches for theme colors. (#29327)
Use the built-in utilities instead.
2019-08-29 15:18:47 +03:00
XhmikosR ee01dc2340
theming.md: automate _root.scss. (#29326) 2019-08-29 15:09:24 +03:00
XhmikosR 84cba07246
theming.md: bring `:root` up to par with Scss. (#29323)
Also, add a warning in _root.scss so that we don't miss it again.
2019-08-29 11:10:06 +03:00
XhmikosR 1d69e6ccfd blog example: remove unused CSS. (#29316) 2019-08-28 17:29:15 +02:00
XhmikosR 4ce8eab10c
Homepage: add missing link to the versions page. (#29308) 2019-08-27 23:19:52 +03:00
Martijn Cuppens 12442a68a4 Switch percentage `font-size`s to `em` and change some font sizes for consistency in docs 2019-08-27 23:11:06 +03:00
Martijn Cuppens bed2a5edab Switch percentage `font-size`s to `em` and change some font sizes for consistency 2019-08-27 23:11:06 +03:00
Martijn Cuppens 4db520bedb Don't bind validation to form controls 2019-08-27 19:28:28 +02:00
XhmikosR bf57274fb5
Dist (#29263) 2019-08-27 16:03:21 +03:00
XhmikosR cad3d1098a
Update devDependencies. (#29305) 2019-08-27 14:39:53 +03:00
Mark Otto cd4dc92dd8 mention new variable in our docs 2019-08-27 11:10:56 +03:00
Martijn Cuppens 18cfe34585 Allow modification of the value of rem 2019-08-27 11:10:56 +03:00
XhmikosR c463c261ed
Remove "Wall of browser bugs" page. (#29297)
While important in the past, it has become obsolete, so removing it seems the best solution.
2019-08-27 08:44:35 +03:00
Martijn Cuppens 2ad135ebb4 Update z-indices (#29292)
- `.carousel-caption` doesn't need a z-index. There are no non-static element in its containing block (`.carousel-item`)
- The `z-index` of `.carousel-indicators` is way higher than it needs to be (`15`), the highest sibling `z-index` is `1`, so it can be set to `2` to be the top layer.
2019-08-26 09:42:44 +03:00
Martijn Cuppens 19ee63ad25 Link helpers & use utility API for all utilities 2019-08-26 08:21:24 +02:00