2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00
Commit Graph

47 Commits

Author SHA1 Message Date
Martijn Cuppens c48d89cb70 Use unordered lists in dropdown-menus 2020-03-31 22:52:57 +02:00
Martijn Cuppens df707cd727 Require .form-label classes on form labels (#30476) 2020-03-31 20:02:57 +02:00
XhmikosR 74afe149c4 Dist (#29924) 2020-03-28 12:29:08 +02:00
Patrick H. Lauke 00ff5b83f9 Add explicit aria-label to unlabeled controls
- in particular, controls that just relied on `placeholder`, as this is still not officially/consistently supported as a valid way to provide an accessible name (though some browsers do use it as a fallback)
2020-03-24 15:02:58 +02:00
Martijn Cuppens 85b12549ec Simplify input groups by dropping .input-group-prepend and .input-group-append 2020-03-23 15:35:07 +01:00
Martijn Cuppens 25d2eac45b Use a link helper instead of the text color utility 2020-03-23 14:11:29 +01:00
XhmikosR 018a94c9c1 Remove Internet Explorer leftovers 2020-03-18 20:59:27 +02:00
XhmikosR 0ca2cf4cca Dashboard example: use the core .position-sticky class. (#30408) 2020-03-18 09:35:39 +02:00
Martijn Cuppens 973876eda6 fix indention
Co-Authored-By: Shohei Yoshida <ysds.code@gmail.com>
2020-03-10 20:30:29 +01:00
Martijn Cuppens df8f64d195 Update examples to the Bootstrap 5 grid 2020-03-10 20:30:29 +01:00
XhmikosR 7eaf7528fc Add loading="lazy" in images (#30199) 2020-03-05 10:12:59 +02:00
Martijn Cuppens 0cfd8dfddf CSS & alignment tweaks 2020-03-04 16:17:01 +02:00
Minobi a99c531aa7 Example dashboard: fix menu disappearing on small viewport 2020-03-04 16:17:01 +02:00
Gaël Poupard 96ac6068b3 Use aria-current where appropriate (#30079) 2020-02-07 13:18:30 +02:00
XhmikosR 7f999ff588 Blog example: add display=swap for the Google Font (#30013) 2020-01-13 22:48:23 +02:00
XhmikosR e7ed63a693 Dashboard example: update Chart.js to v2.9.3. (#30014) 2020-01-13 22:43:18 +02:00
Martijn Cuppens e2f7fe6cf1 Remove redundant classes 2019-12-25 21:00:21 +02:00
XhmikosR 3ac97a1e85 Update index.html 2019-12-25 21:00:21 +02:00
XhmikosR 1f7cbc2212 Examples: adapt after the container requirement. 2019-12-25 21:00:21 +02:00
XhmikosR 94e20317d0 Fix offcanvas example. (#29909) 2019-12-25 14:28:26 +02:00
Martijn Cuppens 31038b03ba examples: Fix checkout page (#29886) 2019-12-20 09:00:49 +02:00
XhmikosR c3fa502d32 dashboard/index.html: update feather-icons to v4.24.1 (#29651) 2019-11-07 11:20:12 +02:00
Mark Otto 9c7bc1a111 v5: Simplify navbars by requiring containers (#29339)
* v5: Simplify navbars by requiring containers

* Update migration docs for navbar
2019-10-27 20:26:52 -07:00
XhmikosR a9c05ab798 examples: darken gray a little bit. 2019-09-16 23:41:57 +03:00
XhmikosR d6945d5e8f Move shortcodes used only once where they are needed. 2019-09-06 11:57:50 +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 1d69e6ccfd blog example: remove unused CSS. (#29316) 2019-08-28 17:29:15 +02:00
Mark Otto d94148bf50 Responsive containers (follow-up to #29095) (#29118)
* Follow-up to #29095

This PR fixes the responsive containers that were added in #29095, originally stubbed out in #25631. Apologies to @browner12 for getting that wrong.

Fixes #25631.

* update navbar as well because we cannot reset all containers uniformly

* Update navbars example to include container-xl example to ensure containers match

* rewrite responsive containers docs, add table of max-widths

* Update container docs
- Move table up to the intro
- Remove the container example because it's actually hella confusing
- Update and link to grid example as a demo instead
2019-08-05 12:12:16 -07:00
XhmikosR b316235e63 docs: Fix badges after #28458. (#29199) 2019-08-04 08:23:25 +03:00
Christian Oliff 6bebd2938a Simplify code for 'cover' example by using utility classes. (#28986) 2019-07-22 17:02:03 +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
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
Mark Otto 39c4ca3970 dist v5 2019-07-12 16:56:26 -05:00
Martijn Cuppens 2ac2a5a91e Removal of one of the most iconic components of Bootstrap: the jumbotron (#28876) 2019-06-07 14:44:25 +03:00
XhmikosR cafbbdc3b6 Update site/content/docs/4.3/examples/sticky-footer-navbar/index.html
Co-Authored-By: Shohei Yoshida <fellows3@gmail.com>
2019-06-06 19:15:18 +03:00
XhmikosR 1835004b96 Update site/content/docs/4.3/examples/sticky-footer-navbar/index.html
Co-Authored-By: Shohei Yoshida <fellows3@gmail.com>
2019-06-06 19:15:18 +03:00
XhmikosR 8c61254919 Examples: make use of core utils in more places. 2019-06-06 19:15:18 +03:00
Martijn Cuppens a827934f13 Documentation tweaks (#28679)
* Documentation tweaks

* Remove redundant col-12 classes
2019-05-08 19:58:29 +03:00
Patrick H. Lauke d102363c9f Album example: remove misleading jumbotron-heading classname (#28741) 2019-05-08 15:53:08 +03:00
XhmikosR 5d6e896ebb Add a docsref shortcode.
This allows for the build to fail if a reference isn't found.
2019-03-13 19:22:59 +02:00
XhmikosR d95d30029f Switch to Hugo.
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
2019-03-13 19:22:59 +02:00