diff options
author | Thomas Park <thomas@thomaspark.me> | 2013-08-20 00:20:18 -0400 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2013-08-20 00:20:18 -0400 |
commit | 2532ecb878bd686b9cbb3959d2a2723d1b220c76 (patch) | |
tree | 46534bb161dc6040bf87c2e2b54d9dc5cf3ac0a9 /readable/variables.less | |
parent | 424dd8bc118b36c9173dbdc05661086c8566fd17 (diff) |
update bootswatch to 3.0.0 final
Diffstat (limited to 'readable/variables.less')
-rw-r--r-- | readable/variables.less | 99 |
1 files changed, 55 insertions, 44 deletions
diff --git a/readable/variables.less b/readable/variables.less index 21c42fe3..2952c04b 100644 --- a/readable/variables.less +++ b/readable/variables.less @@ -55,6 +55,12 @@ @headings-font-weight: 500; @headings-line-height: 1.1; +// Iconography +// ------------------------- + +@icon-font-path: "../fonts/"; +@icon-font-name: "glyphicons-halflings-regular"; + // Components // ------------------------- @@ -98,7 +104,7 @@ // Buttons // ------------------------- -@btn-font-weight: bold; +@btn-font-weight: normal; @btn-default-color: #fff; @btn-default-bg: @text-color; @@ -182,6 +188,7 @@ // Used for a bird's eye view of components dependent on the z-axis // Try to avoid customizing these :) +@zindex-navbar: 1000; @zindex-dropdown: 1000; @zindex-popover: 1010; @zindex-tooltip: 1030; @@ -193,26 +200,25 @@ // -------------------------------------------------- // Extra small screen / phone -@screen-xsmall: 480px; -@screen-phone: @screen-xsmall; +@screen-xs: 480px; +@screen-phone: @screen-xs; // Small screen / tablet -@screen-small: 768px; -@screen-tablet: @screen-small; +@screen-sm: 768px; +@screen-tablet: @screen-sm; // Medium screen / desktop -@screen-medium: 992px; -@screen-desktop: @screen-medium; +@screen-md: 992px; +@screen-desktop: @screen-md; // Large screen / wide desktop -@screen-large: 1200px; -@screen-large-desktop: @screen-large; +@screen-lg: 1200px; +@screen-lg-desktop: @screen-lg; // So media queries don't overlap when required, provide a maximum -@screen-phone-max: (@screen-small - 1); -@screen-small-max: (@screen-medium - 1); -@screen-tablet-max: (@screen-desktop - 1); -@screen-desktop-max: (@screen-large-desktop - 1); +@screen-xs-max: (@screen-sm - 1); +@screen-sm-max: (@screen-md - 1); +@screen-md-max: (@screen-lg - 1); // Grid system @@ -232,31 +238,31 @@ // Basics of a navbar @navbar-height: 50px; @navbar-margin-bottom: @line-height-computed; -@navbar-color: @gray; -@navbar-bg: @body-bg; -@navbar-border: darken(@navbar-bg, 6.5%); +@navbar-default-color: @gray; +@navbar-default-bg: @body-bg; +@navbar-default-border: darken(@navbar-default-bg, 6.5%); @navbar-border-radius: @border-radius-base; -@navbar-padding-horizontal: floor(@grid-gutter-width / 2); // ~15px +@navbar-padding-horizontal: floor(@grid-gutter-width / 2); @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2); // Navbar links -@navbar-link-color: @navbar-color; -@navbar-link-hover-color: @gray-dark; -@navbar-link-hover-bg: transparent; -@navbar-link-active-color: @navbar-link-hover-color; -@navbar-link-active-bg: darken(@navbar-bg, 10%); -@navbar-link-disabled-color: #333; -@navbar-link-disabled-bg: transparent; +@navbar-default-link-color: @navbar-default-color; +@navbar-default-link-hover-color: @gray-dark; +@navbar-default-link-hover-bg: transparent; +@navbar-default-link-active-color: @navbar-default-link-hover-color; +@navbar-default-link-active-bg: darken(@navbar-default-bg, 10%); +@navbar-default-link-disabled-color: #333; +@navbar-default-link-disabled-bg: transparent; // Navbar brand label -@navbar-brand-color: @navbar-link-color; -@navbar-brand-hover-color: @navbar-link-hover-color; -@navbar-brand-hover-bg: transparent; +@navbar-default-brand-color: @navbar-default-link-color; +@navbar-default-brand-hover-color: @navbar-default-link-hover-color; +@navbar-default-brand-hover-bg: transparent; // Navbar toggle -@navbar-toggle-hover-bg: #ddd; -@navbar-toggle-icon-bar-bg: #ccc; -@navbar-toggle-border-color: #ddd; +@navbar-default-toggle-hover-bg: #ddd; +@navbar-default-toggle-icon-bar-bg: #ccc; +@navbar-default-toggle-border-color: #ddd; // Inverted navbar @@ -346,9 +352,11 @@ // Jumbotron // ------------------------- +@jumbotron-padding: 30px; +@jumbotron-color: inherit; @jumbotron-bg: darken(@body-bg, 3%); + @jumbotron-heading-color: inherit; -@jumbotron-lead-color: inherit; // Form states and alerts @@ -434,22 +442,22 @@ @alert-border-radius: @border-radius-base; @alert-link-font-weight: bold; -@alert-bg: @state-warning-bg; -@alert-text: @state-warning-text; -@alert-border: @state-warning-border; - @alert-success-bg: @state-success-bg; @alert-success-text: @state-success-text; @alert-success-border: @state-success-border; -@alert-danger-bg: @state-danger-bg; -@alert-danger-text: @state-danger-text; -@alert-danger-border: @state-danger-border; - @alert-info-bg: @state-info-bg; @alert-info-text: @state-info-text; @alert-info-border: @state-info-border; +@alert-warning-bg: @state-warning-bg; +@alert-warning-text: @state-warning-text; +@alert-warning-border: @state-warning-border; + +@alert-danger-bg: @state-danger-bg; +@alert-danger-text: @state-danger-text; +@alert-danger-border: @state-danger-border; + // Progress bars // ------------------------- @@ -481,11 +489,14 @@ // Panels // ------------------------- @panel-bg: #fff; -@panel-border: #ddd; +@panel-inner-border: #ddd; @panel-border-radius: @border-radius-base; -@panel-heading-bg: #f5f5f5; @panel-footer-bg: #f5f5f5; +@panel-default-text: @gray-dark; +@panel-default-border: #ddd; +@panel-default-heading-bg: #f5f5f5; + @panel-primary-text: #fff; @panel-primary-border: @brand-primary; @panel-primary-heading-bg: @brand-primary; @@ -600,10 +611,10 @@ // -------------------------------------------------- // Small screen / tablet -@container-tablet: 728px; +@container-tablet: ((720px + @grid-gutter-width)); // Medium screen / desktop -@container-desktop: 940px; +@container-desktop: ((940px + @grid-gutter-width)); // Large screen / wide desktop -@container-large-desktop: 1170px; +@container-lg-desktop: ((1140px + @grid-gutter-width)); |