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
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
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
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
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
XhmikosR
bf57274fb5
Dist ( #29263 )
2019-08-27 16:03:21 +03:00
Mark Otto
cd4dc92dd8
mention new variable in our docs
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
19ee63ad25
Link helpers & use utility API for all utilities
2019-08-26 08:21:24 +02:00
Mark Otto
b02bae769e
Document example of datalists with form controls ( #29058 )
...
- Add example to the new form control docs
- Reset the [list] selector in Reboot to hide the random dropdown arrow in Chrome
2019-08-24 02:59:57 +03:00
Martijn Cuppens
d9abb8e20d
Documentation tweak
2019-08-24 02:26:28 +03:00
Mark Otto
57e17706a9
Add support and docs for color input
2019-08-24 02:26:28 +03:00
tracyjordan
a5e725fa2e
fixed minor typo ( #29291 )
2019-08-22 10:58:08 +03:00
Martijn Cuppens
0aabaa209d
Drop nav divider mixin
2019-08-22 08:10:44 +02:00
XhmikosR
9cee3c2808
Minor wording tweaks
2019-08-18 17:19:36 +03:00
Johann-S
f03c10a189
allow to pass popper.js configuration for tooltip/popover and dropdown
2019-08-18 17:19:36 +03:00
XhmikosR
294fcddeac
docs css: minor cleanup ( #29266 )
2019-08-18 16:57:25 +03:00
Martijn Cuppens
8e26010d06
docs: fix tap targets ( #29272 )
2019-08-18 16:29:23 +03:00
XhmikosR
dd383ff27b
Move favicon.ico and apple-touch-icon.png in hugo mounts.
2019-08-17 13:17:59 +03:00
XhmikosR
6335fbe224
Use US locale consistently. ( #29255 )
2019-08-16 13:20:26 +03:00
Martijn Cuppens
361ab8063d
Clarify order documentation ( #29252 )
2019-08-16 11:23:51 +03:00
XhmikosR
4b243de2c0
Fix redirects. ( #29254 )
2019-08-14 22:40:46 +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
ecaefed920
Remove unneeded Stylelint suppressions. ( #29222 )
2019-08-07 17:26:04 +03:00
XhmikosR
6fc9108a86
browser-devices.md: Fix Android version ( #29224 )
2019-08-07 17:13:14 +03: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
9c75a63bfc
Update form-control.md ( #29203 )
...
Fix Readonly plain text form alignment
2019-08-04 20:20:00 +03:00
XhmikosR
d2b79d97e7
Update javascript.md
2019-08-04 13:22:47 +02:00
Johann-S
83058fb34c
explain how to use bootstrap 5 with jQuery
2019-08-04 13:22:47 +02:00
Johann-S
8468f4a37e
remove jquery references from list group
2019-08-04 13:22:47 +02:00
joseigor
2be5f03bfc
v5: Docs Utilities API updates ( #29126 )
...
Improvement to better understand how utilities class name are generated by the (_api.scss) base in the line of code below:
`$property-class: if($property-class, $property-class, nth($properties, 1));`
fc02932946/scss/mixins/_utilities.scss (L21)
2019-08-04 08:42:23 +03:00
XhmikosR
b316235e63
docs: Fix badges after #28458 . ( #29199 )
2019-08-04 08:23:25 +03:00
Mark Otto
7bce809a63
Mention pagination margin change in migration docs ( #29196 )
...
From #28948 .
2019-08-03 17:27:33 +03:00
Martijn Cuppens
81af1bf9cc
Change SVG dimensions to px values ( #29195 )
2019-08-03 16:58:25 +03:00
XhmikosR
a0f3fd2342
Update javascript.md
2019-08-02 16:50:05 +02:00
Johann-S
8b2b490f9b
add a way to disable jQuery detection
2019-08-02 16:50:05 +02: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
96ed9f7bf0
Update javascript.md
2019-08-01 10:37:27 +02:00
XhmikosR
09c3a8f893
Update javascript.md
2019-08-01 10:37:27 +02:00
Johann-S
b7a079d808
add callout about jquery events
2019-08-01 10:37:27 +02:00
Johann-S
291bbac519
remove jquery in scrollspy docs
2019-08-01 10:37:27 +02:00
Johann-S
cd21ca074e
remove jquery in tab docs
2019-08-01 10:37:27 +02:00
Herst
3100dd3dab
Add missing role="document" ( #29172 )
2019-07-31 09:52:52 +03:00
Patrick H. Lauke
749622f43d
Fix minor typo ( #29168 )
2019-07-30 09:42:55 +03:00
XhmikosR
6cdfcdf658
Update migration.md
2019-07-29 11:34:12 +02:00
Johann-S
dcba526775
remove underscore for static methods
2019-07-29 11:34:12 +02:00
Patrick H. Lauke
144220f0c5
Minor: fix sentence ( #29160 )
...
"Popovers whose both title..."
2019-07-29 11:23:44 +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
Brian Juul Andersen
420efb0bac
Update scrollspy.md ( #29156 )
...
Fixed minor grammatical error:
"... the best method get scroll ..."
=>
"... the best method to get scroll ..."
2019-07-28 14:02:23 +03:00
Martijn Cuppens
d95d08249c
Remove $enable-hover-media-query
2019-07-26 22:37:10 +02:00
XhmikosR
756d4ec91e
config.yml: add OpenCollective. ( #29143 )
...
This was missing since the Hugo switch (d95d300
).
2019-07-26 19:05:51 +03:00
XhmikosR
d39aa6f676
Update docs vendor libs ( #29134 )
...
* Update bs-custom-file-input.min.js to v1.3.2.
* Update anchor.min.js to v4.2.0.
2019-07-26 10:17:51 +03:00
ysds
c0a64e989a
Remove outdated documentation
...
* Remove about generated button of file form
* Remove and merge layout examples of custom forms
* Clarify id/for
* Change some spacing classes for consistency
2019-07-25 10:58:06 -07:00
Martijn Cuppens
ea34b6c5be
Merge code page with reboot
2019-07-25 19:26:27 +02: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
39b88d4293
Mention dropped .pre-scrollable
class in migration guide.
2019-07-25 18:42:45 +02:00
Martijn Cuppens
97e9214edd
Drop .pre-scrollable
class
2019-07-25 18:42:45 +02:00
Martijn Cuppens
1c05c1dbf1
Drop color()
, theme-color()
& gray()
functions ( #29083 )
...
Drop `color()`, `theme-color()` & `gray()` functions in favor of variables. The functions just called a `map-get()` of a map where just the variables were defined.
Also the `theme-color-level()` now accepts any color you want instead of only `$theme-colors` colors. The first value now is a variable instead of the `$theme-colors` key.
2019-07-25 10:41:13 +03:00
Mark Otto
172d580db3
Fix busted hover/focus on sidebar
2019-07-25 10:25:39 +03:00
Mark Otto
3adcf3a954
Restore 7rem
so that the sidebar is balanced on top and bottom
2019-07-25 10:25:39 +03:00
Martijn Cuppens
2f4f15c018
Sidebar theming tweaks
2019-07-25 10:25:39 +03:00
Mark Otto
0d1e259ecf
Increase navbar link brightness for slightly better color contrast
2019-07-25 10:25:39 +03:00
Mark Otto
94693f899c
Split up docs _nav.scss
...
- _navbar.scss for all main navbar code
- new _subnav.scss to move all subnav styles into
2019-07-25 10:25:39 +03:00
Mark Otto
2494140689
Restore height and overflow on docs sidebar
2019-07-25 10:25:39 +03:00
Ben Boyter
f4dbffe93a
Remove https://glyph.smarticons.co/ from list of suggestions as the ( #29121 )
...
domain is now for sale and is triggers warnings in Firefox and Chrome
2019-07-24 11:12:44 +03:00
Martijn Cuppens
b2ae6a6a94
Apply at-mixin-argumentless-call-parentheses: always
stylelint rule
2019-07-24 10:31:49 +03:00
Mark Otto
114a0ee193
Rebuild the dist to pickup new utilities file ( #29105 )
...
Dist after adding new utils file
2019-07-24 09:13:50 +03:00
XhmikosR
d7a62b505c
Don't add the crossorigin attribute unless we pass integrity. ( #29112 )
2019-07-23 17:47:33 +03:00
Johann-S
a76c13589d
fix docs bad use of private methods to change title of our tooltips ( #29111 )
2019-07-23 16:18:41 +03:00
XhmikosR
b65a5cb2c9
Move Icons in data. ( #29087 )
2019-07-23 09:41:14 +03: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