Commit Graph

18831 Commits

Author SHA1 Message Date
XhmikosR b65a5cb2c9
Move Icons in data. (#29087) 2019-07-23 09:41:14 +03:00
Mark Otto cd4768aa81 fix broken classes 2019-07-22 10:38:28 -07:00
XhmikosR 025f69cb20 Fix subnavbar active style. 2019-07-22 17:13:44 +03:00
XhmikosR 3521947611 Disable the `!default` rule for our docs variables. 2019-07-22 17:13:44 +03:00
XhmikosR 8780d9360a Use the background shorthand. 2019-07-22 17:13:44 +03:00
XhmikosR 3f27053c44 docs: use the `escape_svg` function. 2019-07-22 17:13:44 +03:00
Christian Oliff 6bebd2938a Simplify code for 'cover' example by using utility classes. (#28986) 2019-07-22 17:02:03 +03:00
XhmikosR deac34d7df Add bootstrap-utilities in bundlesize.config.json. 2019-07-22 16:51:45 +03:00
XhmikosR 1cfe18571f Fix license header. 2019-07-22 16:51:45 +03:00
Martijn Cuppens 2f08484be9 Add utilities documentation 2019-07-22 16:51:45 +03:00
Martijn Cuppens 3b06769c2f Add bootstrap-utilities in the css-minify-main script. 2019-07-22 16:51:45 +03:00
julian-hecker c69326dd6b Add bootstrap-utilities.scss 2019-07-22 16:51:45 +03:00
Martijn Cuppens 65446dc7de Simplify `css-compile-main` script (#29102) 2019-07-22 16:31:25 +03:00
XhmikosR 4ba4cc2e79 Simplify code. 2019-07-22 16:08:58 +03:00
XhmikosR 967f1ab37a Use sha384. 2019-07-22 16:08:58 +03:00
XhmikosR 262a24b627 Manually escape script. 2019-07-22 16:08:58 +03:00
XhmikosR 8b59b73a2b Remove useless script. 2019-07-22 16:08:58 +03:00
Mark Otto 88065dfe71 Use .html like every other example, change the layout, simplify some things for now 2019-07-22 16:08:58 +03:00
Martijn Cuppens b4c4223409 Remove card columns in favor of masonry grid 2019-07-22 16:08:58 +03:00
Martijn Cuppens 3b73dfc44b Allow to pass integrity & async attribute to extra js 2019-07-22 16:08:58 +03:00
XhmikosR ae0baff087
Update svgo.yml. (#29089) 2019-07-22 11:00:09 +03:00
Mark Otto e7890d1562 Move search styles, prep for responsive containers in docs 2019-07-21 21:44:32 -07:00
Mark Otto 0fcb0af131 no need for checks or conditions 2019-07-21 21:44:32 -07:00
Mark Otto 39e4615763 remove subnav from home and examples 2019-07-21 21:44:32 -07:00
Mark Otto 5a0be01e3e Make subnav and sidebar work on mobile too 2019-07-21 21:44:32 -07:00
Mark Otto 956cbbc6b7 make docs navbar more usable on mobile 2019-07-21 21:44:32 -07:00
Mark Otto 5027a8086a Move subnav to partial, take first pass at conditionalizing breadcrumb links 2019-07-21 21:44:32 -07:00
Mark Otto b08d2b6adc Add :focus to all new :hover selectors 2019-07-21 21:44:32 -07:00
Mark Otto af9d6c3dd3 Update remaining tables to Bootstrap tables in docs by adding .table class 2019-07-21 21:44:32 -07:00
Mark Otto 14e0ef57db Document changes to tables 2019-07-21 21:44:32 -07:00
Mark Otto 5912fdc916 Clarify form control visual updates in migration guide 2019-07-21 21:44:32 -07:00
Mark Otto fe71808494 Update Migration docs to mention new icons 2019-07-21 21:44:32 -07:00
Mark Otto 1cdba95c50 Revert padding-right on ol and ul in Reboot, update migration doc 2019-07-21 21:44:32 -07:00
Mark Otto 634344c003
v4/v5: Add responsive containers (#29095)
* create responsive containers

provide more flexibility and allow the user to determine when containers switch from fluid to fixed width.

* fix the base container code

this commit fixes the non-media portion of the generated CSS. I learned about the `@extends` directive and was able to put it to good use.

I create a new temporary map that contains all the main `$container-max-widths` and join it to our 2 special cases of 'xs' and 'fluid'.  Then we loop through that and, with the appropriate infixes, extend our placeholder

* formatting for style

forgot to run my tests before the last push, i think these are better.

* finish incomplete comment

* fix the responsive containers

using the `@extend` directive I was able to clean up this code

* fix responsive containers in the navbar

mostly we just look through all of our breakpoints so we can include all of the responsive container classes in the tweaks we have to do for the navbar (redeclaring flex properties, don't double up on padding, etc)

* Simplify container extends

* Simplify navbar containers

* Rearrange, add comments, ensure everything is nested in $enable-grid-classes

* Reduce new CSS by using attribute selector

We avoid using `@extend` whenever possible, and this is more readable

* Update _grid.scss

* Update _navbar.scss

* Add docs for responsive containers, redesign the container layout page

* Add to the Grid example
2019-07-21 17:38:36 -07:00
XhmikosR 57154a6562
Optimize the embedded SVGs. (#29075) 2019-07-22 00:23:54 +03:00
Kitten King 37703a6fc9 Fix Typos across Bootstrap repository (#29082) 2019-07-20 12:53:02 +03:00
Martijn Cuppens f6694b7440 Use escape-svg() function (#29077)
* Use escape-svg() function

* Update theming.md
2019-07-19 18:57:12 -07:00
XhmikosR 28dfa54083
Remove iconic and add feather icons. (#29079) 2019-07-19 18:25:03 +03:00
XhmikosR 2c5e41a95b Optimize a few SVGs. 2019-07-19 09:19:56 +03:00
XhmikosR c0a1cfa075 SVGs: lowercase hex values. 2019-07-19 09:19:56 +03:00
XhmikosR fc38f25287 Remove trailing spaces. 2019-07-19 09:19:56 +03:00
XhmikosR 73c2bfc7a0 docs-navbar.html: reindent and use our classes. 2019-07-19 09:19:56 +03:00
XhmikosR 38557b2fa1 Remove unneeded div.
This is a link.
2019-07-19 09:19:56 +03:00
Martijn Cuppens 62b8e84970 Make it possible to change default alignment & allow to inherit alignment from table (#29039) 2019-07-18 08:49:39 +03:00
Mark Otto 99676c7809 Use :focus-within for .form-file focus state (#29036)
Fixes #26563, closes #26576, closes #29021.
2019-07-17 16:56:54 +03:00
Martijn Cuppens 4634fd7c1a Fix ads alignment 2019-07-17 16:21:47 +03:00
XhmikosR e09f306b6b Use `has-children`. 2019-07-17 16:21:47 +03:00
XhmikosR 67bea95df5 It's `viewBox`. 2019-07-17 16:21:47 +03:00
XhmikosR cc2d55b8f2 Fix inline SVG. 2019-07-17 16:21:47 +03:00
Mark Otto ebcc3ff9af Move sidebar icon to CSS 2019-07-17 16:21:47 +03:00