diff options
author | Mark Otto <otto@github.com> | 2013-05-15 10:21:30 +0400 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2013-05-15 10:21:30 +0400 |
commit | 28a081cb20d4e9544967e7c6d5ab31ff4ad68862 (patch) | |
tree | 41d1af55e2055a91e79620b50594261a0eeda813 /less/pagination.less | |
parent | a41d566d5e38dd3227a0f5921f7be92969ff63f1 (diff) |
Overhaul form control and button sizing, and some type styles
* New padding approach with separate horizontal and vertical padding
variables
* Improved sizing in large and small buttons and form controls
* Dropped the `.btn-mini` (since we have no `.input-mini` to match, and
holy fuck those were small buttons)
* Dropped the `.pagination-mini` as well because once again, to hell
with such small components
* Changed `@line-height-headings` to `@headings-line-height`
* Removed the `@headings-font-family` because it was honestly kind of
useless
Diffstat (limited to 'less/pagination.less')
-rw-r--r-- | less/pagination.less | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/less/pagination.less b/less/pagination.less index ec1eef27f9..73c063be04 100644 --- a/less/pagination.less +++ b/less/pagination.less @@ -56,7 +56,7 @@ .pagination-large { > li > a, > li > span { - padding: @padding-large; + padding: @padding-large-vertical @padding-large-horizontal; font-size: @font-size-large; } > li:first-child > a, @@ -69,9 +69,13 @@ } } -// Small and mini -.pagination-mini, +// Small .pagination-small { + > li > a, + > li > span { + padding: @padding-small-vertical @padding-small-horizontal; + font-size: @font-size-small; + } > li:first-child > a, > li:first-child > span { .border-left-radius(@border-radius-small); @@ -81,20 +85,3 @@ .border-right-radius(@border-radius-small); } } - -// Small -.pagination-small { - > li > a, - > li > span { - padding: @padding-small; - font-size: @font-size-small; - } -} -// Mini -.pagination-mini { - > li > a, - > li > span { - padding: @padding-mini; - font-size: @font-size-mini; - } -} |