0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

67 Commits

Author SHA1 Message Date
Mark Otto
1fa337cc20 Add link to Icons site in our docs (#29544) 2019-10-18 10:28:16 +03:00
XhmikosR
129bb08fc4
Use Hugo for our docs Sass and JS. (#29280)
Now there's only one command needed to run the docs: `npm run docs-serve`.

Also, simplify the npm scripts.
2019-09-17 00:22:49 +03:00
XhmikosR
fbeed6f1d9 Darken footer color. 2019-09-16 23:41:57 +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
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
6f1eb110e7
Docs: simplify a few Hugo ranges. (#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
XhmikosR
ae249e8f55
docs-sidebar.html: reindent. (#29337) 2019-08-30 08:01:21 +03:00
XhmikosR
4ce8eab10c
Homepage: add missing link to the versions page. (#29308) 2019-08-27 23:19:52 +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
8e26010d06 docs: fix tap targets (#29272) 2019-08-18 16:29:23 +03:00
XhmikosR
34afe84424
Use absURL so that we get consistent URLs. (#29226) 2019-08-08 18:30:43 +03:00
XhmikosR
3d8c5b9640
docs: minor simplification. (#29227) 2019-08-08 17:54:59 +03:00
XhmikosR
b316235e63
docs: Fix badges after #28458. (#29199) 2019-08-04 08:23:25 +03:00
Martijn Cuppens
81af1bf9cc Change SVG dimensions to px values (#29195) 2019-08-03 16:58:25 +03:00
XhmikosR
1ebb8e7d9b
robots.txt: adapt for Netlify. (#29192)
Since we build with `HUGO_ENV` set to `production` on Netlify, use another variable to prevent crawling.
2019-08-02 17:26:25 +03:00
XhmikosR
8570d86d79 Rename site/data/nav.yml to sidebar.yml. 2019-07-29 10:59:56 +03:00
XhmikosR
9131e3e401 docs: Move trailing URL slashes to the variables. 2019-07-29 10:59:56 +03:00
XhmikosR
756d4ec91e
config.yml: add OpenCollective. (#29143)
This was missing since the Hugo switch (d95d300).
2019-07-26 19:05:51 +03:00
Martijn Cuppens
855d763ae5 Reboot updates
- Remove unsupported browsers fixes
- More consistent comment blocks
- Reorganise order of some blocks
- Add height fix for date/month/week/time inputs (#18842)
- Remove redundant type selectors
- Additional resets and theming options for `legend`
- Add date & color inputs to reboot page
- Use the same borders for text search, text inputs, textareas and date inputs
- Move code styling to reboot
2019-07-25 19:26:27 +02:00
Martijn Cuppens
2f4f15c018 Sidebar theming tweaks 2019-07-25 10:25:39 +03:00
XhmikosR
d7a62b505c
Don't add the crossorigin attribute unless we pass integrity. (#29112) 2019-07-23 17:47:33 +03:00
XhmikosR
4ba4cc2e79 Simplify code. 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
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
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
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
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
Mark Otto
ebcc3ff9af Move sidebar icon to CSS 2019-07-17 16:21:47 +03:00
XhmikosR
8bc6692082 Move the icon to a partial and optimize it. 2019-07-17 16:21:47 +03:00
XhmikosR
3898df1f5a Add width/height in the SVG arrow.
Fixes IE.
2019-07-17 16:21:47 +03:00
XhmikosR
5e6f5d8f38 Remove display none code. 2019-07-17 16:21:47 +03:00
XhmikosR
506282fb9e Use the responsive themes image. 2019-07-17 16:21:47 +03:00
XhmikosR
e864f65789
Fix docs search. (#29067) 2019-07-17 16:05:56 +03:00
XhmikosR
9745790514 Use the direct link to migrations page. 2019-07-17 15:27:01 +03:00
Mark Otto
aaf03bdc9e
v5: Forms update (#28450)
* Initial spike of consolidated form checks

* Stub out forms rearrangement

- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS

* Move input group Sass file to forms subdir

* Start to split and move the docs around

* Simpler imports

* Copyediting

* delete overview file

* Remove commented out code

* remove the custom-forms import

* rewrite flex-check as form-check, replace all custom properties

* Remove old forms doc

* stub out new subpage link section

* update migration guide

* Update nav, forms overview in page nav, and descriptions

* fix check bg position

* fix margin-top calculation

* rename .custom-select to .form-select

* Update validation styles for new checks

* add some vertical margin, fix inline checks

* fix docs examples

* better way to do this contents stuff, redo the toc while i'm at it

* page restyle for docs while here

* un-callout that, edit text

* redo padding on toc

* fix toc

* start to cleanup checks docs

* Rewrite Markdown tables into HTML

* Redesign tables, redo their docs

* Replace Open Iconic icons with custom Bootstrap icons

* Redesign the docs navbar, add a subheader, redo the sidebar

* Redesign docs homepage a bit

* Simplify table style overrides for docs tables

* Simplify docs typography for page titles and reading line length

* Stub out icons page

* Part of sidebar update, remove migration from nav.yml

* Move toc CSS to separate partial

* Change appearance of overview page

* fix sidebar arrow direction

* Add footer to docs layout

* Update descriptions

* Drop the .form-group class for margin utilities

* Remove lingering form-group-margin-bottom var

* improve footer spacing

* add headings to range page

* uncomment form range css

* Rename .custom-range to .form-range

* Drop unused docs var

* Uncomment the comment

* Remove unused variable

* Fix radio image sizing

* Reboot update: reset horizontal ul and ol padding

* de-dupe IDs

* tweak toc styles

* nvm, fix dropdown versions stuff

* remove sidebar nav toggle for now

* broken html

* fix more broken html, move css

* scss linting

* comment out broken helper docs

* scope styles

* scope styles

* Fixes #25540 and fixes #26407 for v5 only

* Update sidebar once more

* Match new sidenav order

* fix syntax error

* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696

* rename back

* fix size and alignment

* rename that back too
2019-07-12 16:52:33 -05:00
Bardi Harborow
08bddb8743 Add ARIA search landmark to documentation. (#28983) 2019-07-02 21:17:42 +03:00
Martijn Cuppens
a4a04cd9ec
.sr-only & .sr-only-focusable tweaks (#28720)
* Prevent .sr-only-focusable overriding properties when being focused

* Typo
2019-05-20 10:03:51 +02:00
Martijn Cuppens
a827934f13 Documentation tweaks (#28679)
* Documentation tweaks

* Remove redundant col-12 classes
2019-05-08 19:58:29 +03:00