Commit Graph

18653 Commits

Author SHA1 Message Date
Martijn Cuppens 09c99fe6e7 Reboot & Type cleanup (#28698)
- Line height & font family from html were directly overridden by body, so they were redundant thus removed
- The remaining properties are moved to body
- Shim for IE10 tags removed
- hr cleanup
  - Combined styles from reboot & type
  - Changed from borders to background
    - This allows us to keep the color inherited.
    - Opacity can be used to change the intensity
    - Size attribute will not change the height instead of making the hr look like an input field
  - Better variable names
- headings cleanup
  - Moved all element styling to reboot
  - Type will now extend the element styling. This way we will save some redundant code
- small & mark are also moved to reboot. type does not contain any element styling anymore
- font weight removed from small, this did not really made sense
2019-04-30 11:00:33 +03:00
Martijn Cuppens f36890d1cd Add truncated example of custom file browser 2019-04-30 10:45:05 +03:00
ysds a454ea7cf7 Change custom file markup 2019-04-30 10:45:05 +03:00
Martijn Cuppens 99eff2f58f Remove top margin 2019-04-30 10:31:37 +03:00
XhmikosR 312f54fa66 Show the other navbar items on small screens too. 2019-04-30 10:31:37 +03:00
Martijn Cuppens 0ed44cab2d
Remove IE leftover (#28699)
Removed leftover from #27789
2019-04-30 08:52:04 +02:00
XhmikosR 344dfbb302
Travis CI: add Node.js 12 and use `cache: npm`. (#28705) 2019-04-29 18:03:25 +03:00
XhmikosR 280f45c55e
Update devDependencies. (#28655) 2019-04-29 17:47:53 +03:00
XhmikosR 952c3d3677
docs SVGs: Allow passing a custom title. (#28660) 2019-04-29 17:11:40 +03:00
XhmikosR 38a4e4bb10
README.md: remove unneeded query params from badges. (#28704) 2019-04-29 16:47:22 +03:00
Mark Otto 60d826a305 Prevent form validation mixin from generating invalid CSS (#28447)
Extrapolates the previously used selector into a new mixin that only generates valid CSS by creating psuedo-classes for `valid` and `invalid`, and nothing else.

Fixes #28380.
2019-04-25 17:01:50 +03:00
Shohei Yoshida 2d0f2feb10 Sync plain text font-size with `$input-font-size` (#28464) 2019-04-25 16:45:59 +03:00
GeoSot 275cd7f91e Separate `$btn-link` colors from `$link-color` (#28681) 2019-04-23 16:12:51 +03:00
Martijn Cuppens 4ee2ae4ce0 Remove redundant slashes (#28677) 2019-04-21 18:45:53 +03:00
XhmikosR 091aa1e9fd
v5 dist (#28657) 2019-04-18 14:47:52 +03:00
XhmikosR 5c5b15a077
update-deps: remove `jquery` exclude. (#28659) 2019-04-15 17:48:18 +03:00
Johann-S 07e21dbf31 add esm files in our readme (#28654) 2019-04-15 15:01:44 +03:00
Johann-S 14f53d9baa fix unit tests for chrome mobile 2019-04-15 13:48:27 +02:00
XhmikosR 80dfee9dc1
Update hugo-bin to v0.43.1 (Hugo 0.55.1). (#28631) 2019-04-15 11:49:24 +03:00
Johann-S 09a70e3717 remove custom browserlist for our esm build (#28642) 2019-04-15 11:40:48 +03:00
Johann-S bff1c3a53d change how bootstrap can be imported in bundlers 2019-04-15 10:09:21 +02:00
Shohei Yoshida b1b5e87d65 Add `$custom-control-label-color` variable (#28633) 2019-04-13 15:06:32 +03:00
XhmikosR a86598e4ff clean-css: the option is named `breakWith` 2019-04-10 15:18:57 +03:00
XhmikosR afc63ec887 Fix xo error: use `for...of`. 2019-04-10 15:18:57 +03:00
XhmikosR 105687ac4a Update eslint config for the new xo rules. 2019-04-10 15:18:57 +03:00
XhmikosR 0b12f61e3c Update devDependencies. 2019-04-10 15:18:57 +03:00
ysds f4877dbf03 Remove _close() and marge with _hide() 2019-04-09 13:59:41 +02:00
ysds 91ebb4b3b2 Call hide() after `delay` time 2019-04-09 13:59:41 +02:00
Ted Kesgar 51b0c42778 Change toast border radius to use `$border-radius` (#28621)
Currently, `$toast-border-radius` uses the value of `.25rem`. This is inconsistent with other variables such as `$btn-border-radius` and `$input-border-radius`, which uses the "global" `$border-radius` variable.
2019-04-08 15:06:48 +03:00
Matěj Kříž e0738f8207 Fix buttons :focus state styles (#27890)
* Fix buttons :focus state styles

Buttons :hover and :focus state shares styles.
Buttons :focus text color on 'a.btn' is now consistent with others '.btn'.

* `:focus` styles should be in sync with `.focus`.

So shared styles with hover were copy to focus definition. Rather then using
`hover-focus` mixin which do not contain `.focus`.
2019-04-05 11:51:20 +03:00
XhmikosR c6c9e322f7
_sidebar.scss: change ID to a class and type selector. (#28610) 2019-04-04 11:56:06 +03:00
XhmikosR efb9a7749f
karma.conf.js: switch to `CI === true`. (#28588) 2019-04-01 17:26:43 +03:00
Loïc Goyet f2d33cd86b Remove scss variable defined twice (#28567) 2019-03-29 21:31:23 +02:00
Johann-S 1752addadf Reset carousel touch delta x to prevent click transformation in swipe (#28558) 2019-03-27 14:37:04 +02:00
XhmikosR 3c3ed3ff05
Add a `netlify` npm script. (#28552) 2019-03-26 15:20:33 +02:00
XhmikosR 6672aea5a9
Remove `http` from docs search. (#28557)
We use only `https` for a few months now.
2019-03-26 12:49:45 +02:00
XhmikosR d7ecff24d1 Simplify npm docs script a bit. 2019-03-24 10:34:41 +02:00
XhmikosR 940b8da7a9 Add the css-copy and js-copy tasks before the build script. 2019-03-24 10:34:41 +02:00
XhmikosR aa3b4d33f8
Update devDependencies. (#28538) 2019-03-23 12:52:32 +02:00
Patrick H. Lauke b4a2beb3c2 Check prefers-reduced-motion variable before adding reduced motion media query for animated progress bars (#28530) 2019-03-21 15:59:02 +02:00
XhmikosR 1f7f876810
Fix `css-prefix-docs` script to be more restrictive. (#28525) 2019-03-19 14:29:52 +02:00
XhmikosR b0f918982f Revert back to the old snippet and just add anonymize IP.
We don't need the extra bloat of gtag.
2019-03-18 12:26:50 +02:00
Mark Otto 2017eb9aed Update GA to latest script & anonymize IPs 2019-03-18 12:26:50 +02:00
Shohei Yoshida 5e459e9b52 Workaround for MS edge bug (#28275) 2019-03-18 01:27:59 +02:00
Johann-S ad0f5f153c fix remove files in our visual tests 2019-03-18 01:11:05 +02:00
XhmikosR c2fa74b652 Revert "Remove Internet Explorer leftovers."
This reverts commit 089e3334a7.
2019-03-18 01:11:05 +02:00
XhmikosR 8060528281 .browserslistrc: add IE 11. 2019-03-18 01:11:05 +02:00
XhmikosR 42c21e50fc Revert "remove IE from our browserlist"
This reverts commit 5e068eeda9.
2019-03-18 01:11:05 +02:00
XhmikosR dd75ac6c25 Revert "remove `--compress typeofs=false` from terser."
This reverts commit 25bba7bd68.
2019-03-18 01:11:05 +02:00
XhmikosR bcf76ef5f0 Revert "Add information about IE 11 compatibility."
This reverts commit 1da5b9f76a.
2019-03-18 01:11:05 +02:00