mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-28 02:21:06 +08:00
143 lines
3.8 KiB
Text
143 lines
3.8 KiB
Text
//
|
|
// Variables
|
|
// --------------------------------------------------
|
|
|
|
|
|
// Global values
|
|
// --------------------------------------------------
|
|
|
|
|
|
// Grays
|
|
// -------------------------
|
|
@black: #000;
|
|
@grayDark: #333;
|
|
@gray: #555;
|
|
@grayLight: #999;
|
|
@grayLighter: #eee;
|
|
@white: #fff;
|
|
|
|
|
|
// Scaffolding
|
|
// -------------------------
|
|
@textColor: @grayDark;
|
|
|
|
|
|
// Links
|
|
// -------------------------
|
|
@linkColor: #08c;
|
|
@linkColorHover: darken(@linkColor, 15%);
|
|
|
|
|
|
// Typography
|
|
// -------------------------
|
|
@baseFontSize: 14px;
|
|
@baseLineHeight: 1.43em;
|
|
|
|
// Tables
|
|
// -------------------------
|
|
@tableBackground: transparent; // overall background-color
|
|
@tableBackgroundAccent: #f9f9f9; // for striping
|
|
@tableBackgroundHover: #f5f5f5; // for hover
|
|
@tableBorder: #ddd; // table and cell border
|
|
|
|
|
|
// Buttons
|
|
// -------------------------
|
|
@btnBackground: @white;
|
|
@btnBackgroundHighlight: darken(@white, 10%);
|
|
@btnBorder: #bbb;
|
|
|
|
@btnPrimaryBackground: @linkColor;
|
|
@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 20%);
|
|
|
|
@btnInfoBackground: #5bc0de;
|
|
@btnInfoBackgroundHighlight: #2f96b4;
|
|
|
|
@btnSuccessBackground: #84AB04;
|
|
@btnSuccessBackgroundHighlight: #51a351;
|
|
|
|
@btnWarningBackground: lighten(#f89406, 15%);
|
|
@btnWarningBackgroundHighlight: #f89406;
|
|
|
|
@btnDangerBackground: #ee5f5b;
|
|
@btnDangerBackgroundHighlight: #bd362f;
|
|
|
|
|
|
// Forms
|
|
// -------------------------
|
|
@inputBackground: @white;
|
|
@inputBorder: #ccc;
|
|
@inputBorderRadius: 3px;
|
|
@inputDisabledBackground: @grayLighter;
|
|
@formActionsBackground: #f5f5f5;
|
|
|
|
// Dropdowns
|
|
// -------------------------
|
|
@dropdownBackground: @white;
|
|
@dropdownBorder: rgba(0,0,0,.2);
|
|
@dropdownDividerTop: #e5e5e5;
|
|
@dropdownDividerBottom: @white;
|
|
|
|
@dropdownLinkColor: @grayDark;
|
|
|
|
@dropdownLinkColorHover: @white;
|
|
@dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive;
|
|
|
|
@dropdownLinkColorActive: @dropdownLinkColor;
|
|
@dropdownLinkBackgroundActive: @linkColor;
|
|
|
|
|
|
|
|
// COMPONENT VARIABLES
|
|
// --------------------------------------------------
|
|
|
|
// 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: 1030;
|
|
@zindexFixedNavbar: 1030;
|
|
@zindexModal: 1101;
|
|
|
|
|
|
// Hr border color
|
|
// -------------------------
|
|
@hrBorder: @grayLighter;
|
|
|
|
|
|
// Wells
|
|
// -------------------------
|
|
@wellBackground: #f5f5f5;
|
|
|
|
|
|
// Form states and alerts
|
|
// -------------------------
|
|
@warningText: #c09853;
|
|
@warningBackground: #fcf8e3;
|
|
@warningBorder: darken(spin(@warningBackground, -10), 3%);
|
|
|
|
@errorText: #b94a48;
|
|
@errorBackground: #f2dede;
|
|
@errorBorder: darken(spin(@errorBackground, -10), 3%);
|
|
|
|
@successText: #468847;
|
|
@successBackground: #dff0d8;
|
|
@successBorder: darken(spin(@successBackground, -10), 5%);
|
|
|
|
@infoText: #3a87ad;
|
|
@infoBackground: #d9edf7;
|
|
@infoBorder: darken(spin(@infoBackground, -10), 7%);
|
|
|
|
|
|
// GRID
|
|
// --------------------------------------------------
|
|
|
|
|
|
// Default 940px grid
|
|
// -------------------------
|
|
@gridColumns: 12;
|
|
@gridColumnWidth: 60px;
|
|
@gridGutterWidth: 20px;
|
|
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|