Mark Otto
ddd13dc100
Merge pull request #9373 from ggam/button-sizes
...
Added button-size mixin
2013-08-12 10:40:56 -07:00
Mark Otto
3d11e6dedf
Merge pull request #9371 from ggam/buttons-consistency
...
Renamed btn-pseudo-states mixin to btn-variant for consistency
2013-08-12 10:06:34 -07:00
Mark Otto
55cfa8d38f
Drop background-clip and background-size mixins since they have no prefixes anyway
2013-08-12 10:01:13 -07:00
ggam
6993db1840
Added button-size mixin
2013-08-12 14:07:19 +02:00
ggam
83293516b6
Renamed btn-pseudo-states mixin to btn-variant for consistency
2013-08-12 13:55:09 +02:00
Mark Otto
efe62a7ef4
rename and refactor a smidge to add medium grid mixins
2013-08-12 00:36:22 -07:00
Mark Otto
f50aea30c4
Merge branch 'patch-12' of https://github.com/ggam/bootstrap into ggam-patch-12
2013-08-12 00:31:28 -07:00
Guillermo González de Agüero
001e5d3da9
Added missing grid make-column mixins and fixed some inconsistencies
...
make-column() was still been use to generate "medium size" columns (col-sm), while make-small-column was creating the default columns (col).
I also changed @grid-float-breakpoint to @screen-small, as it was used in make-row() and I think it makes more sense here than the other.
2013-08-07 21:15:01 +02:00
Guillermo González de Agüero
a24bc28de8
Added panel-variant mixin
2013-08-07 20:15:12 +02:00
Mark Otto
d1e712d848
fixes #8959 : only negative indent rows within .container (prevents horizontal scroll on full-width pages)
2013-08-06 21:11:16 -07:00
Mark Otto
18a4082553
fixes #8935 : add gutter width param to grid mixins
2013-08-06 21:00:12 -07:00
Mark Otto
076ec90d0b
Merge branch '3.0.0-wip' of https://github.com/archanl/bootstrap into archanl-3.0.0-wip
...
Conflicts:
less/mixins.less
2013-08-06 18:05:24 -07:00
Mark Otto
41eef69e6f
Fixes #8786 (part 2): new default button styles
...
Also relevant: http://www.youtube.com/watch?v=Ldyx3KHOFXw
2013-08-05 09:02:59 -07:00
Mark Otto
2ee9bea890
Fixes #8786 (part 1): darken hover states on buttons
2013-08-05 08:52:22 -07:00
Mark Otto
e85b8f315f
Fixes #9049 : switch order of gradient mixin params to avoid problems for upgraders
2013-08-05 08:45:51 -07:00
Mark Otto
d6ed590e83
Clean up mixins, fix #9100 (no ms-keyframes)
...
- Spacing tweaks in the general mixins
- Add comments to transform mixins about IE support
- Remove `-ms-keyframes` because only IE10+ supports it, and without
prefix
2013-08-05 08:11:13 -07:00
Mark Otto
f62ea2afe2
fixes #8793 : remove padding-right from inputs with state changes
2013-08-04 23:20:55 -07:00
Mark Otto
73c048578d
Enable input focus state customization
...
- Add new mixin to generate and customize focus state as needed
- Adds variable to set default color
- Include clear disclaimer about customizing this—it's about users', so
don't go making everything bright red and expect them not to be
confused or alarmed.
Relevant issues: #2742 , #4185 , #7942 , #8171 , #8610 , #9044
2013-08-04 23:05:54 -07:00
Jon Schlinkert
c017e19ed2
Resolves https://github.com/twbs/bootstrap/issues/9014 . updates mixins to consistently use semicolons as argument separator. Rebuild to confirm, no diff in compiled CSS.
2013-08-02 15:33:03 -04:00
leonardovcid
15b98a0bb1
Correct comment which is showing a wrong mixin call example (mixins.less)
...
I was copy-pasting the example and it wasn't working. Then I found that the example in the comment was a typo.
Thanks
2013-08-01 14:39:28 +01:00
Cesidio Di Landa
3696530aaf
Removed trailing whitespaces
...
Changed hard tabs to soft tabs
2013-07-31 18:11:11 +02:00
Archan Luhar
b9f59428f9
Removed background color from #gradient mixins to support transparent gradients
2013-07-30 19:30:24 -07:00
fat
2cf1851d9f
use transforms to make the dialog smooooth
2013-07-26 22:09:31 -07:00
Fred Delrieu
06980ae5a1
Small typo
2013-07-26 10:10:35 +02:00
Mark Otto
27cedf71d5
Update form validation states
...
* Once again no longer applies to single inputs (this is a bit simpler,
but I'm open to new ideas) but the entire set of inputs, labels, and
help text within a particular element. However, the styles are not too
dependent on markup or layout, so they're super flexible.
* Simplified the markup in the validation docs examples to match latest
changes.
* Renamed `.form-state-validation` mixin to `.form-control-validation`
to match naming of prev commit.
2013-07-25 19:45:14 -07:00
Chris Rebert
90fb40b707
twbs ALL the links
2013-07-25 12:24:13 -07:00
Mark Otto
398038c798
Update dropdown vars
...
* Update `.nav-divider` mixin to simplify to a 1px line (one value
instead of two in parametric mixin)
* Rename and consolidate dropdown caret vars
* Add vars to Customizer
2013-07-23 23:18:53 -07:00
Mark Otto
d87431a29e
spacing and local var rename
2013-07-18 00:56:36 -07:00
Mark Otto
0c45458fcc
Merge branch 'patch-1' of https://github.com/bassjobsen/bootstrap into bassjobsen-patch-1
2013-07-18 00:55:36 -07:00
Mark Otto
02bddac091
Merge pull request #8380 from joeybaker/patch-1
...
Remove unneeded prefixes from some mixins
2013-07-18 00:50:15 -07:00
Chris Rebert
76063ea739
Add missing backtick in comment
2013-07-16 10:49:59 -07:00
Chris Rebert
a41fd16da2
rename .retina-image => .img-retina
2013-07-11 12:07:35 -07:00
Mark Otto
084291aac7
Merge pull request #8408 from cvrebert/progress-bar-variant-mixin
...
extract .progress-bar-variant mix-in
2013-07-07 18:27:43 -07:00
Mark Otto
906d04a4aa
Merge pull request #8407 from cvrebert/label-variant-mixin
...
extract .label-variant mix-in
2013-07-07 18:26:54 -07:00
Chris Rebert
d2fb35d546
extract .progress-bar-variant mix-in
2013-07-07 15:44:18 -07:00
Chris Rebert
a7dd1088d2
extract .label-variant mix-in
2013-07-07 15:38:43 -07:00
Chris Rebert
e757ddd60f
extract .alert-variant mix-in
2013-07-07 15:21:40 -07:00
Joey Baker
2d56997c61
Remove unneeded prefixes
...
Per caniuse, prefixes for transitions and transforms can be reduced to just `-webkit` and `-ms`. http://caniuse.com/#search=transform
http://caniuse.com/#search=transition
2013-07-03 08:11:28 -07:00
Mark Otto
a049dcb7f6
Merge branch '3.0.0-responsive-tables' of https://github.com/juthilo/bootstrap-wip into juthilo-3.0.0-responsive-tables
...
Conflicts:
less/mixins.less
2013-07-01 20:06:16 -07:00
Mark Otto
9ed9fba460
Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wip
2013-07-01 19:49:49 -07:00
Mark Otto
526d1399c5
Merge pull request #8348 from Rowno/compiled-font-shorthand
...
Prevent the font shorthand from getting compiled as division
2013-07-01 19:43:15 -07:00
Mark Otto
08b3515fd7
fixes #8345 : use inline-block on .img-responsive
2013-07-01 19:42:43 -07:00
Mark Otto
9da90adb4c
fixes #8068 : add .help-block to form field state mixin
2013-07-01 18:21:19 -07:00
Julian Thilo
fea69df80c
Fix responsive utilities for table elements
...
This change prevents situations where specificity causes some rules to
be overridden by the ones intended for mobile.
* Added mixin `responsive-invisibility()`
* Swapped out `display: none !important;` for new mixin
2013-07-01 21:13:57 +02:00
Roland Warmerdam
2e8752b26f
Prevent the font shorthand from getting compiled as division
2013-07-01 10:51:08 +12:00
Mark Otto
0682068929
Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wip
2013-06-27 20:17:59 -07:00
Mark Otto
69b7c5a2af
Merge pull request #7995 from hrach/patch-3
...
Fixed mixin btn-pseudo-state background for [disabled] buttons
2013-06-27 20:17:48 -07:00
Mark Otto
5156234c23
update grid col mixin to use latest css from grid cols
2013-06-27 19:54:30 -07:00
Bass Jobsen
321190535f
Update mixins.less
...
Add a the function .make-small-column. See also http://stackoverflow.com/a/17308128/1596547
2013-06-26 01:05:45 +02:00
Mark Otto
327a951ca3
Move mixin to mixins.less
2013-06-25 13:32:21 -07:00
William Ghelfi
df5ddeb7cc
Set validation states also for addons
2013-06-06 21:00:32 -04:00
Mark Otto
19d0726609
Grid updates
...
- Removed mixins for generating grid classes
- Thus, we manually declare every grid class, from 1-11 (12th unit is
excluded as that's the same as no grid columns)
- No more need for `.col` base class (yay!)
- Negative indent the rows at tablets and above once again (ugh, still
working through this part)
- Add support for `.col-md` for tablet-specific grid columns
- Still need to figure out offsets, pushes, and pulls on other
devices—right now only available on desktop
2013-06-02 13:38:45 -07:00
Jan Škrášek
33b5c32c8c
Fixed mixin btn-pseudo-state background for [disabled] buttons
2013-05-26 18:14:25 +02:00
Mark Otto
60575dfb46
Gradients refactor
...
* Add start and end support to the horizontal gradient as well
* Change all variables from camelCase to use-dashes
* Better comments in the gradients mixins area
* Update current uses of gradients in dropdowns and carousel to specify only two values by direct assignment of variables
2013-05-25 13:16:15 -07:00
Chad Smith
c47d9932cb
Found editor spacing issues with tabs instead of spaces, formatting to fit the entrance criteria
2013-05-21 16:29:35 -04:00
Chad Smith
230d6de88a
Vertical gradients now can have percentages passed in as arguments to allow finer control over the backgrounds it produces
2013-05-21 16:25:59 -04:00
Mark Otto
5dd6dbd624
Nuke rem font-size mixin
2013-05-16 20:18:03 -07:00
Mark Otto
1983ca03ec
Form validation and horizontal row update
...
* changed .row-label to .control-label as used elsewhere already
* changed .formFieldState mixin to .form-field-validation
2013-05-16 20:17:42 -07:00
Mark Otto
76ecfdfdc1
Font-size and line-height tweaks
...
* Use 1.428 for line-height instead of 1.5
* Use function for full pixel values instead of decimals
2013-05-10 10:33:35 -07:00
Aaron
94cc333553
Fix component margin and padding values to use @line-height-computed
2013-05-10 09:21:27 -06:00
Mark Otto
d7f84d1220
Require .btn-default for regular buttons
...
* Instead of , use for standard, gray button
* Improves ability to customize buttons by encouraging folks to not override .btn and thus overriding all button modifier classes
* Updates docs to reflect the change
* Reorganize buttons CSS
2013-05-07 18:07:06 -07:00
Mark Otto
0f17f9b7f7
Fixes #7744 : update grid mixin to use latest grid styles
2013-04-30 13:03:10 -07:00
Mark Otto
efd3b0c171
Back to two grid classes, .col and .col-lg-*
2013-04-26 23:59:51 -07:00
Chris Rebert
269b8aa761
Fixes #7661
2013-04-22 16:11:11 -07:00
Mark Otto
4b3a43e381
Fixes #7591 : add .make-small-column() mixin
2013-04-20 15:54:44 -07:00
Mark Otto
a8391da414
Update mixins to remove Opera prefixes on gradients; reorder rules for consistency
2013-04-18 12:46:31 -07:00
Mark Otto
c2a35f1ec8
Merge pull request #7148 from retlehs/3.0.0-wip
...
Remove -webkit-backface-visibility on skew mixin
2013-04-07 23:01:28 -07:00
Mark Otto
eadfa59d92
Add small grid for phones and tablets
2013-04-02 19:40:43 -07:00
Mark Otto
2cd34a1a85
Fixes #7462 : add radial-gradient spec to mixin
2013-04-02 14:48:45 -07:00
Mark Otto
eac987c0d2
only negative indent nested grid rows; add new grid example
2013-04-01 12:55:48 -07:00
Mark Otto
c5042e050e
fix nav divider
2013-03-31 17:17:10 -07:00
Mark Otto
aee25786a7
fuck everything about .clear_float() -- restore .clearfix() as mixin
2013-03-30 13:23:18 -07:00
Mark Otto
8d8f4e0cdd
Merge pull request #7375 from thomas-mcdonald/fix-filter-gradient
...
Fix horizontal-three-colors to a horizontal filter gradient
2013-03-30 13:17:45 -07:00
Mark Otto
ca31f060a8
New grid classes
2013-03-26 17:12:17 -07:00
Thomas McDonald
f8b9e428f0
Give horizontal-three-colors a horizontal filter gradient
...
Previously the filter had GradientType=0, which would render a vertical
gradient rather than the horizontal one implied by name
2013-03-23 19:21:37 +00:00
Mark Otto
4aba489cfd
Remove all #font mixins; replace single instance of its use in Bootstrap with the @font-family-monospace variable
2013-03-17 11:34:27 -07:00
Mark Otto
6012d8221b
Exploring rems as font-size unit
...
* Added a new mixin to calculate rems and pixels for IE fallback
* Updated the body, p, and .lead elements to use the new .font-size() mixin
* New mixin has default value of 14px or 1.4rem
* Still needs exploration, and change this means lots of work rejiggering margins and line-heights
* Related, started to reorganize the mixins a bit to call out mixins that are used by the framework and not utilities or snippets
2013-03-17 11:33:07 -07:00
Mark Otto
ef4898990f
convert to preboot's retina mixin
2013-03-16 17:19:05 -07:00
Mark Otto
71d4b5b6e7
Merge branch '3.0.0-wip' of https://github.com/dannykeane/bootstrap into dannykeane-3.0.0-wip
2013-03-16 17:06:20 -07:00
Mark Otto
efbf8373a5
Use form elements in checkbox and radio button groups
...
* Uses .btn on label elements with nested checkbox and radio controls within
* Updated examples to reflect change in HTML and CSS
* Had to add .active all buttons for proper state highlighting (mimicing the :active pseudo state)
* Still needs JavaScript plugin updated by @fat
2013-03-16 12:34:07 -07:00
Mark Otto
bb38fa5286
Overhaul the grid system and its docs
...
* Add new grid mixins adapted from Preboot (http://github.com/mdo/preboot )
* Drop the @grid-row-width and @grid-column-width variables
* Add the @grid-float-breakpoint variable, as used in Preboot
* Add support for .push* and .pull* classes for column ordering manipulation
* Document all the things
2013-03-15 23:21:10 -07:00
Luke Page
5054c17ab8
make less files compile with strict maths in 1.4.0
2013-03-06 16:38:20 +00:00
Ben Word
ee5c7d7ece
Remove -webkit-backface-visibility on skew mixin
...
Ref #5319 - This rule is causing pixelated edges on iOS. Removing
it makes everything smooth across all OS's, browsers, and devices.
2013-03-04 13:03:05 -06:00
Mark Otto
b19eb88b5a
Fixes #6935 : Use standard decimal points for .opacity() mixin
2013-02-28 19:46:49 -08:00
Danny Keane
e8dc036d25
Added retina image support mixin
2013-02-11 18:23:21 -08:00
Mark Otto
1b2b049ef8
Fixes #6841 : Add new Firefox placeholder, comments
2013-02-08 08:32:29 -08:00
Mark Otto
421f9f67c4
Merge branch '2.3.0-wip' into 3.0.0-wip
...
Conflicts:
docs/assets/css/bootstrap-responsive.css
docs/assets/js/bootstrap-popover.js
docs/assets/js/bootstrap.js
docs/css.html
docs/templates/pages/base-css.mustache
js/bootstrap-popover.js
less/mixins.less
less/tooltip.less
2013-02-05 22:42:54 -08:00
fat-kun
042bb9b515
Merge pull request #6780 from agatronic/2.3.0-wip
...
less: Move to new selector interpolation, supported from 1.3.1
2013-02-05 21:29:59 -08:00
Mark Otto
28e1702052
nuke rogue conflict comment and remake
2013-02-05 19:59:02 -08:00
Mark Otto
43da258bd9
Merge branch '2.3.0-wip' into 3.0.0-wip
...
Conflicts:
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap.css
docs/examples/hero.html
less/buttons.less
less/carousel.less
less/close.less
less/dropdowns.less
less/labels-badges.less
less/mixins.less
less/navbar.less
less/navs.less
less/pagination.less
less/responsive-navbar.less
less/scaffolding.less
less/sprites.less
less/thumbnails.less
less/type.less
2013-02-05 19:53:44 -08:00
Mark Otto
15c7e73abd
Merge branch '2.3.0-wip' of https://github.com/patrickhlauke/bootstrap into patrickhlauke-2.3.0-wip
...
Conflicts:
docs/assets/css/bootstrap.css
less/navbar.less
2013-02-05 19:39:49 -08:00
Mark Otto
0a3e3a50fe
Merge branch '2.3.0-wip' into 3.0.0-wip
...
Conflicts:
docs/assets/css/bootstrap.css
less/type.less
2013-02-04 11:12:09 -08:00
Mark Otto
9480eb89cb
Revamp button mixins and pseudo states
...
* Remove .darken-button-states and .buttonBackground mixins (latter wasn't being used anyway)
* Create new .btn-pseudo-states mixin for setting button background and border colors for default and pseudo states
2013-02-02 19:16:15 -08:00
Luke Page
6b9bb547bf
Move to new selector interpolation, supported from 1.3.1
2013-02-02 07:58:27 +00:00
Mark Otto
94e256c016
Refactor navbar dividers
...
* Instead of .divider-vertical, use .divider
* Makes use of .nav-divider mixin
* Dividers are horizontal to start, matching the default state of navbar nav links
* Dividers become vertical above 768px via media queries
2013-02-01 22:56:09 -08:00
Mark Otto
8f0bc9e79b
Merge branch 'dospuntocero-master' into 2.3.0-wip
2013-02-01 21:41:13 -08:00
Francisco arenas
2428904b4b
Update less/mixins.less
...
horizontal three color gradient added
2013-01-24 03:37:52 -02:00
Mark Otto
01b32f472d
Simplify and bring back the grid mixin for generating spans and offsets
2013-01-17 10:49:10 -08:00
Mark Otto
9ba14cfb7c
More navbar derping
2013-01-16 16:14:41 -08:00
Mark Otto
85db846b65
mobile-first navs, navbar, grids, and type
2013-01-15 17:55:14 -08:00