Mark Otto
585516db95
Add max-width 100% and max-height 100% utilities ( #21221 )
2016-11-27 16:31:31 -08:00
Starsam80
8d031090d0
Rename .flex-xs-*
and .flex-items-xs-*
to .flex-*
and .flex-items-*
( #21218 )
...
* Clean up _flex.scss a little
This commit just cleans up the formating of _flex.scss by changing
it so that it uses a single `@include media-breakpoint-up` instead
of multiple. It also aligns all of the CSS properties so it looks
a bit nicer.
* Remove `-xs` from flex classes
2016-11-27 15:19:27 -08:00
Starsam80
94be2d2254
Remove redundant media queries ( #21220 )
2016-11-27 15:18:46 -08:00
Starsam80
b1e8d60348
Remove 'xs' from text utilities ( #21217 )
2016-11-26 20:33:46 -08:00
Ken Dale
dc52029bea
Add .rounded-0 utility class ( #21214 )
...
* Add rounded-0 class
2016-11-26 16:47:53 -08:00
Mark Otto
095ea0b795
Border utilities ( #21213 )
...
* grunt
* add border utilities for removing borders
* clean up comments
* add basic border docs
* docs styles for border utils
2016-11-26 16:44:16 -08:00
Mark Otto
ffaad0a819
Responsive display utilities ( #20934 )
...
* Explore responsive display utils, but with a twist: lowest breakpoint has no breakpoint modifier in the class name
* make floats use the same format, add float-none mixin
2016-10-31 21:27:56 -07:00
Mark Otto
f734814f6b
Make spacer utils responsive ( #20926 )
...
* make spacer utils responsive by grid tier
* update scale to add two levels, document them
* change responsive spacing utils to avoid the xs abbreviation in the class name for that tier
* update code snippet to match source
* update usage in our docs
* linter
* docs updates
2016-10-31 21:13:05 -07: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
8f0429973d
Merge pull request #20441 from cortopy/visibility-mixin
...
Visibility mixin
2016-10-27 22:06:47 -07:00
Simon Bächler
8402d2321f
Use a variable for the default font weights. Fixes #20741
...
Websites might use different weights such as medium or thin or use light as default weight instead of normal.
Also referenced: #18605 and #16170 .
2016-10-19 21:41:27 +02:00
Mark Otto
62a129184d
Add vertical-align utilities
...
- Adds six new utils for vertical-align property
- Documents the additional classes in the utils docs
2016-10-18 19:15:58 -07:00
Mark Otto
4bc154b8f9
Merge branch 'patch-10' of https://github.com/zalog/bootstrap into zalog-patch-10
2016-10-09 17:35:44 -07:00
Mark Otto
6c867667a1
Merge branch 'v4-dev' into v4-utils
2016-10-09 14:36:43 -07:00
Mark Otto
3dc4b3647c
Rename pull-*-{left|right} classes to .float-*-left and .float-*-right
2016-09-26 00:54:10 -07:00
Edd Yerburgh
fe722c2453
added text-gray-dark class ( #19847 )
2016-09-11 23:03:12 -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
Mark Otto
a96038b50a
Revamp background utilities and add new .text-white utility
...
- Rather than mix multiple properties in our color utilities, this splits all color and all background utils into separate classes.
- Adds new .text-white class to help lighten text color for darker backgrounds
2016-09-08 22:18:40 -07:00
Mark Otto
ae784c9521
Rename margin and padding utilities from .{property}-{side} to .{property}{side} without the extra dash
2016-09-08 22:15:34 -07:00
Mark Otto
dc5c1421c6
Disable important flag on Sass linter ( #20627 )
2016-09-04 17:58:20 -07:00
Juan J. Jimenez-Anca
676e00d63e
Update _visibility.scss
2016-08-02 17:00:58 +01:00
Jerad Rutnam
26731b3378
Contextual background-inverse text color fix
2016-06-16 22:44:39 +05:30
Catalin Zalog
50e2225bd5
Update _flex.scss
2016-05-28 03:25:24 +03:00
Catalin Zalog
88f02007e0
Update _spacing.scss
2016-05-17 16:26:22 +03:00
Mark Otto
64e7230d33
Fixes #19563 : Add variable for setting background-color on .bg-inverse
2016-05-11 23:26:39 -07:00
Christopher Baker
84f801833d
add $inverse-bg and $inverse-color
2016-04-27 19:37:44 -07:00
Christopher Baker
bae54aa8fc
remove references to -* outside _variables.scss
2016-04-17 18:56:09 -07:00
Teo Dell'Amico
1b35105852
Add display
utility classes (.d-{inline,block,inline-block}); fixes #19343
...
Refs #19665
[skip sauce]
2016-04-06 15:49:08 -07:00
Mark Otto
cde26a5234
Fixes #19221 : Add .w-100 as width: 100% utility class
2016-04-06 14:59:04 -07:00
Chris Rebert
472e0e1259
Flex utility classes shouldn't depend on $enable-grid-classes
...
[skip sauce]
[skip validator]
2016-02-08 04:25:45 -08:00
Mark Otto
b03684d04c
Merge pull request #19102 from twbs/v4-center-utils
...
v4: Drop .center-block for new-ish .m-x-auto
2016-02-06 16:45:57 -08:00
Mark Otto
1285ec34fa
Merge pull request #18488 from vsn4ik/v4-use-mixin-for-text-muted
...
Use text-emphasis mixin for .text-muted
2016-02-06 16:30:07 -08:00
Mark Otto
c59dbe56fe
Drop .center-block for .m-x-auto
...
- Both classes do about the same thing, but with different names
- Clarifies docs for .m-x-auto requiring a fixed width block element for it to work
- Add missing heading for clearfix section in docs (unrelated)
2016-02-06 15:40:25 -08:00
Mark Otto
3743f279c1
linting
2016-02-06 12:32:43 -08:00
Mark Otto
f127bc68a3
Merge branch 'v4-dev' into v4-grid-redux
2016-02-06 12:29:06 -08:00
Mark Otto
03ec195974
linter overhaul
2016-02-06 12:28:18 -08:00
Mark Otto
9e3214051d
add horizontal flex utils
2016-02-06 01:47:04 -08:00
Mark Otto
5e41887c3c
rename vertical align flex utils to middle to avoid clash with horizontal center
2016-02-06 01:46:42 -08:00
Mark Otto
82b98e72a4
more accurate comments
2016-02-06 01:46:14 -08:00
Mark Otto
7b7cf221cd
Move the conditional statement back to the file because nested imports aren't supported in Sass
2016-02-06 01:29:51 -08:00
Mark Otto
0de7321bbb
rename .flex-all-* to .flex-items-* to match flexbox nomenclature
2016-02-06 00:59:43 -08:00
Mark Otto
044716ed4a
Conditionally include the flex utils in the import stack and reduce to a single query
2016-02-06 00:58:19 -08:00
Mark Otto
f50dedaaaf
Move grid flex classes to utils instead maybe?
2016-02-06 00:52:53 -08:00
vsn4ik
e543565d78
Use text-emphasis-variant mixin for .text-muted
2016-01-06 16:47:44 +03:00
Chris Rebert
7aabd49364
Reorganize utilities into more separate files under a /scss/utilities/
directory
...
[skip sauce]
[skip validator]
2015-12-23 21:01:17 -07:00