diff options
Diffstat (limited to 'united/variables.less')
-rwxr-xr-x | united/variables.less | 129 |
1 files changed, 111 insertions, 18 deletions
diff --git a/united/variables.less b/united/variables.less index d323366a..b2ea7c71 100755 --- a/united/variables.less +++ b/united/variables.less @@ -1,6 +1,7 @@ // Variables.less // Variables to customize the look and feel of Bootstrap // Swatch: United +// Version: 2.0.2 // ----------------------------------------------------- @@ -8,11 +9,9 @@ // GLOBAL VALUES // -------------------------------------------------- -// Links -@linkColor: #DD4814; -@linkColorHover: darken(@linkColor, 15%); // Grays +// ------------------------- @black: #000; @grayDarker: #222; @grayDark: #333; @@ -21,7 +20,9 @@ @grayLighter: #eee; @white: #fff; + // Accent colors +// ------------------------- @blue: #19B6EE; @blueDark: #0064cd; @green: #38B44A; @@ -31,14 +32,79 @@ @pink: #c3325f; @purple: #772953; + +// Scaffolding +// ------------------------- +@bodyBackground: @white; +@textColor: @grayDark; + + +// Links +// ------------------------- +@linkColor: @orange; +@linkColorHover: darken(@linkColor, 15%); + + // Typography +// ------------------------- @baseFontSize: 13px; @baseFontFamily: 'Ubuntu', Tahoma, sans-serif; @baseLineHeight: 18px; -@textColor: @grayDark; +@altFontFamily: Georgia, "Times New Roman", Times, serif; + +@headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily +@headingsFontWeight: bold; // instead of browser default, bold +@headingsColor: inherit; // empty to use BS default, @textColor + + +// Tables +// ------------------------- +@tableBackground: transparent; // overall background-color +@tableBackgroundAccent: #f9f9f9; // for striping +@tableBackgroundHover: #f5f5f5; // for hover +@tableBorder: #ddd; // table and cell border + // Buttons -@primaryButtonBackground: @linkColor; +// ------------------------- +@btnBackground: @white; +@btnBackgroundHighlight: darken(@white, 10%); +@btnBorder: darken(@white, 20%); + +@btnPrimaryBackground: @linkColor; +@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%); + +@btnInfoBackground: lighten(@purple, 15%); +@btnInfoBackgroundHighlight: @purple; + +@btnSuccessBackground: #62c462; +@btnSuccessBackgroundHighlight: #51a351; + +@btnWarningBackground: lighten(@orange, 15%); +@btnWarningBackgroundHighlight: @orange; + +@btnDangerBackground: #ee5f5b; +@btnDangerBackgroundHighlight: #bd362f; + +@btnInverseBackground: @gray; +@btnInverseBackgroundHighlight: @grayDarker; + + +// Forms +// ------------------------- +@inputBackground: @white; +@inputBorder: #ccc; +@inputDisabledBackground: @grayLighter; + + +// Dropdowns +// ------------------------- +@dropdownBackground: @white; +@dropdownBorder: rgba(0,0,0,.2); +@dropdownLinkColor: @linkColor; +@dropdownLinkColorHover: @white; +@dropdownLinkBackgroundHover: @linkColor; + @@ -46,36 +112,61 @@ // -------------------------------------------------- // Z-index master list +// ------------------------- // Used for a bird's eye view of components dependent on the z-axis // Try to avoid customizing these :) -@zindexDropdown: 1000; -@zindexPopover: 1010; -@zindexTooltip: 1020; -@zindexFixedNavbar: 1030; -@zindexModalBackdrop: 1040; -@zindexModal: 1050; +@zindexDropdown: 1000; +@zindexPopover: 1010; +@zindexTooltip: 1020; +@zindexFixedNavbar: 1030; +@zindexModalBackdrop: 1040; +@zindexModal: 1050; + // Sprite icons path +// ------------------------- @iconSpritePath: "../img/glyphicons-halflings.png"; @iconWhiteSpritePath: "../img/glyphicons-halflings-white.png"; + // Input placeholder text color -@placeholderText: @grayLight; +// ------------------------- +@placeholderText: @grayLight; + // Hr border color +// ------------------------- @hrBorder: @grayLighter; + // Navbar +// ------------------------- @navbarHeight: 40px; -@navbarBackground: #DD4814; +@navbarBackground: @orange; @navbarBackgroundHighlight: #CE4213; -@navbarLinkBackgroundHover: transparent; @navbarText: @white; @navbarLinkColor: @white; @navbarLinkColorHover: @white; +@navbarLinkColorActive: @navbarLinkColorHover; +@navbarLinkBackgroundHover: transparent; +@navbarLinkBackgroundActive: @navbarBackground; + +@navbarSearchBackground: lighten(@navbarBackground, 25%); +@navbarSearchBackgroundFocus: @white; +@navbarSearchBorder: darken(@navbarSearchBackground, 30%); +@navbarSearchPlaceholderColor: #ccc; + + +// Hero unit +// ------------------------- +@heroUnitBackground: lighten(@purple, 20%); +@heroUnitHeadingColor: inherit; +@heroUnitLeadColor: inherit; + // Form states and alerts +// ------------------------- @warningText: #ECA918; @warningBackground: lighten(@warningText, 40%); @warningBorder: darken(spin(@warningBackground, -10), 3%); @@ -88,23 +179,25 @@ @successBackground: lighten(@successText, 40%); @successBorder: darken(spin(@successBackground, -10), 5%); -@infoText: #19B6EE; -@infoBackground: lighten(@infoText, 40%); +@infoText: @purple; +@infoBackground: lighten(@purple, 50%); @infoBorder: darken(spin(@infoBackground, -10), 7%); + // GRID // -------------------------------------------------- // Default 940px grid +// ------------------------- @gridColumns: 12; @gridColumnWidth: 60px; @gridGutterWidth: 20px; @gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1)); + // Fluid grid +// ------------------------- @fluidGridColumnWidth: 6.382978723%; @fluidGridGutterWidth: 2.127659574%; - - |