0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-28 00:54:30 +01:00

re-org variables

This commit is contained in:
Mark Otto 2012-01-18 00:12:58 -08:00
parent dd4140319a
commit a920fa2993

View File

@ -3,16 +3,15 @@
// ----------------------------------------------------- // -----------------------------------------------------
// LINK COLORS
// -----------
// GLOBAL VALUES
// --------------------------------------------------
// Links
@linkColor: #08c; @linkColor: #08c;
@linkColorHover: darken(@linkColor, 15); @linkColorHover: darken(@linkColor, 15);
// Grays
// GRAYS
// -----
@black: #000; @black: #000;
@grayDark: #333; @grayDark: #333;
@gray: #555; @gray: #555;
@ -20,10 +19,7 @@
@grayLighter: #eee; @grayLighter: #eee;
@white: #fff; @white: #fff;
// Accent colors
// ACCENT COLORS
// -------------
@blue: #049CDB; @blue: #049CDB;
@blueDark: #0064CD; @blueDark: #0064CD;
@green: #46a546; @green: #46a546;
@ -33,23 +29,30 @@
@pink: #c3325f; @pink: #c3325f;
@purple: #7a43b6; @purple: #7a43b6;
// Grid system
// GRID
// ----
// Modify the grid styles in mixins.less // Modify the grid styles in mixins.less
@gridColumns: 12; @gridColumns: 12;
@gridColumnWidth: 60px; @gridColumnWidth: 60px;
@gridGutterWidth: 20px; @gridGutterWidth: 20px;
@siteWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1)); @siteWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
// Fluid width sidebar // Fluid width sidebar
@fluidSidebarWidth: 220px; @fluidSidebarWidth: 220px;
// Typography
@baseFontSize: 13px;
@baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
@baseLineHeight: 18px;
// Z-INDEX // Buttons
// ------- @primaryButtonColor: @blue;
// COMPONENT VARIABLES
// --------------------------------------------------
// Z-index master list
// Used for a bird's eye view of components dependent on the z-axis
@zindexDropdown: 1000; @zindexDropdown: 1000;
@zindexPopover: 1010; @zindexPopover: 1010;
@zindexTooltip: 1020; @zindexTooltip: 1020;
@ -57,18 +60,5 @@
@zindexModalBackdrop: 1040; @zindexModalBackdrop: 1040;
@zindexModal: 1050; @zindexModal: 1050;
// Input placeholder text color
// THEME VARIABLES
// ---------------
// Typography
@baseFontSize: 13px;
@baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
@baseLineHeight: 18px;
// Visuals
@primaryButtonColor: @blue;
@placeHolderText: @grayLight; @placeHolderText: @grayLight;