Commit Graph

26 Commits

Author SHA1 Message Date
Mark Otto be17444756
Replace `/` division with multiplication and custom `divide()` function (#34245)
* Convert bulk of division to multiplication

* Use custom divide() function instead of Dart Sass math module for greater compatibility

* Apply suggestions from code review

* Fix functions
2021-06-14 09:35:30 -07:00
Martijn Cuppens b2ae6a6a94 Apply `at-mixin-argumentless-call-parentheses: always` stylelint rule 2019-07-24 10:31:49 +03:00
Martijn Cuppens 51375abca5
Responsive font size implementation (#23816) 2019-02-07 23:32:05 +01:00
Martijn Cuppens 502b6c8ed6
Remove redundant brackets (#27768) 2018-12-14 17:54:44 +01:00
XhmikosR dc39082ad7 Remove `thumbnail-transition` from `.img-thumbnail`.
We don't change anything so the transition is basically unused.
2017-10-22 12:23:40 -07:00
Mark Otto ed1de86794 Update spacer utilities (#22123)
* Drop -x and -y as they're all the same
- Also move -width to elsewhere in the vars because it makes no sense by spacers.
- Update values of -x and -y across main Sass and docs Sass.
* Update docs to reflect changes; link to spacing utils from options page
2017-03-05 12:20:44 -08:00
Tom Lutzenberger e1653edb95 Add variables for transitions (#21345)
* Add variables for transitions

* Add variables for transitions
2016-12-19 20:33:17 -08:00
Starsam80 b226766b62 Remove lots of duplication + minor cleanup (#21238)
* Remove comment that duplicated some code
* Use transition mixin whenever possible
* Create a new function to reduce duplication
* Use the new `breakpoint-infix` method
2016-11-28 13:23:59 -08:00
Mark Otto 864343a3cc Merge branch 'v4-dev' of https://github.com/HMUDesign/bootstrap into HMUDesign-v4-dev 2016-10-30 13:38:44 -07:00
Mark Otto 88bf5af896 Remove display from the .img-fluid utility
Creating max-width images is not dependent on the display, so setting it is redundant. Cleans up the comments and implementation of the mixin as well.

Fixes #20767
2016-10-09 14:14:39 -07:00
Mark Otto 91992ac70a Add new border utils
- Move and rename .img-rounded to .rounded, .img-circle to .rounded-circle
- Add new .rounded-{direction} utils
- New docs pages for border utils with TBD comments for the border property
- Removes most image examples for rounding from the content/images docs in favor of new docs page
2016-09-08 23:21:40 -07:00
judetucker 25b718e5fd resolves #20266 2016-09-08 22:42:54 -07:00
Christopher Baker bae54aa8fc remove references to -* outside _variables.scss 2016-04-17 18:56:09 -07:00
vsn4ik fdf92b1528 Use @border-radius and add $nav-tabs-border-radius variable 2016-04-03 01:47:12 +03:00
Chris Rebert 3a4dbd9b3a Add $figure-caption-font-size variable
[skip sauce]
[skip validator]
2016-02-16 22:31:40 -08:00
Mark Otto ba37c37615 Redo line-height globally
- Rename -height to -height-base to match other vars
- Drop use of -height across the board and rely on it to be inherited
- Adjust padding of .dropdown-header to account for different line-height of h6 heading element (this needs refactoring for variables and rems also)
2016-02-03 19:45:13 -08:00
Chris Rebert bbd449994a Extract $thumbnail-box-shadow variable 2016-01-16 20:23:37 -08:00
Chris Rebert e3eaeb96e8 Add $thumbnail-border-width; refs #18150 2015-11-14 22:56:20 -08:00
Chris Rebert 13ac07a862 $thumbnail-border => $thumbnail-border-color 2015-11-14 22:54:53 -08:00
Bass Jobsen 0d34169e1f Refactor figure image styles to use CSS class instead of child selector
Refactoring according the comments on https://github.com/twbs/bootstrap/pull/18104.
Closes #18131
2015-11-14 15:00:08 -08:00
O'meid 677b7bd1c0 scss: move Figures from _type to _images 2015-11-12 22:13:13 -08:00
Chris Rebert be1232c580 Add comments explaining why we don't make `<img>`s responsive by default
Refs #18178

[ci skip]
2015-11-05 13:18:42 -08:00
Kevin Kirsche 54fba7cbe5 Rename .img-responsive class to .img-fluid
Fix #17166
2015-09-01 21:12:28 -07:00
Mark Otto ed42fc9b76 line-height-base to line-height var 2015-06-22 23:24:32 -07:00
Mark Otto efd28a5e78 unnecessary comment 2015-04-26 00:14:27 -07:00
Mark Otto 36e4cd0287 Move .img- classes to new _images.scss; move hr to _type.scss 2015-04-16 17:10:47 -07:00