diff options
| author | Mark Otto <[email protected]> | 2012-09-18 21:16:08 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-09-18 21:16:08 -0700 |
| commit | 2d90c816accea106cbf70c988ddd866268851595 (patch) | |
| tree | 633113028b4e2bae4ad55374ea48738d45310d9d /less/variables.less | |
| parent | 2769241aeb5e9eba4a34ddbd9d495f7f8271e360 (diff) | |
| download | bootstrap-2d90c816accea106cbf70c988ddd866268851595.tar.xz bootstrap-2d90c816accea106cbf70c988ddd866268851595.zip | |
add new vars for common border-radius, upping border-radius of inputs to 4px; add border-radius changes to -large, -small, -mini for buttons and paginations
Diffstat (limited to 'less/variables.less')
| -rw-r--r-- | less/variables.less | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/less/variables.less b/less/variables.less index 5fb685377..fcb85c009 100644 --- a/less/variables.less +++ b/less/variables.less @@ -58,6 +58,23 @@ @headingsColor: inherit; // empty to use BS default, @textColor +// Component sizing +// ------------------------- +// Based on 14px font-size and 20px line-height + +@fontSizeLarge: @baseFontSize * 1.25; // ~18px +@fontSizeSmall: @baseFontSize * 0.85; // ~12px +@fontSizeMini: @baseFontSize * 0.75; // ~11px + +@paddingLarge: 11px 19px; // 44px +@paddingSmall: 2px 10px; // 26px +@paddingMini: 1px 6px; // 24px + +@baseBorderRadius: 4px; +@borderRadiusLarge: 5px; +@borderRadiusSmall: 3px; + + // Tables // ------------------------- @tableBackground: transparent; // overall background-color @@ -94,7 +111,7 @@ // ------------------------- @inputBackground: @white; @inputBorder: #ccc; -@inputBorderRadius: 3px; +@inputBorderRadius: @baseBorderRadius; @inputDisabledBackground: @grayLighter; @formActionsBackground: #f5f5f5; @@ -131,17 +148,6 @@ @zindexModal: 1050; -// Component size variations -// ------------------------- -@fontSizeLarge: @baseFontSize * 1.25; // ~18px -@fontSizeSmall: @baseFontSize * 0.85; // ~12px -@fontSizeMini: @baseFontSize * 0.75; // ~11px - -@paddingLarge: 10px 19px; -@paddingSmall: 6px 10px; -@paddingMini: 5px 6px; - - // Sprite icons path // ------------------------- @iconSpritePath: "../img/glyphicons-halflings.png"; |
