@black: #000;
@white: #fff;
@blue: #049cdb;
@blueDark: #0064cd;
@green: #46a546;
@red: #9d261d;
@yellow: #ffc40d;
@orange: #f89406;
@pink: #c3325f;
@purple: #7a43b6;
@altFontFamily: @serifFontFamily;
@headingsColor: inherit // empty to use BS default, @textColor;
@fontSizeLarge: @baseFontSize * 1.25 // ~18px;
@fontSizeSmall: @baseFontSize * 0.85 // ~12px;
@fontSizeMini: @baseFontSize * 0.75 // ~11px;
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png"
@paddingLarge: 11px 19px // 44px;
@paddingSmall: 2px 10px // 26px;
@paddingMini: 0 6px // 22px;
@btnBackgroundHighlight: darken(@white, 10%)
@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 20%)
@btnSuccessBackgroundHighlight: #51a351;
@btnWarningBackgroundHighlight: @orange;
@btnDangerBackgroundHighlight: #bd362f;
@btnInfoBackgroundHighlight: #2f96b4;
@btnInverseBackground: #444;
@btnInverseBackgroundHighlight: @grayDarker;
@formActionsBackground: #f5f5f5;
@inputHeight: @baseLineHeight + 10px // base line-height + 8px vertical padding + 2px top/bottom border;
@dropdownDividerBottom: @white;
@gridColumnWidth: 60px;
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1))
@gridColumnWidth1200: 70px;
@gridGutterWidth1200: 30px;
@gridRowWidth1200: (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1))
@gridColumnWidth768: 42px;
@gridGutterWidth768: 20px;
@gridRowWidth768: (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1))
@fluidGridColumnWidth: percentage(@gridColumnWidth/@gridRowWidth)
@fluidGridGutterWidth: percentage(@gridGutterWidth/@gridRowWidth)
@fluidGridColumnWidth1200: percentage(@gridColumnWidth1200/@gridRowWidth1200)
@fluidGridGutterWidth1200: percentage(@gridGutterWidth1200/@gridRowWidth1200)
@fluidGridColumnWidth768: percentage(@gridColumnWidth768/@gridRowWidth768)
@fluidGridGutterWidth768: percentage(@gridGutterWidth768/@gridRowWidth768)
@navbarCollapseWidth: 480px;
@navbarCollapseDesktopWidth: @navbarCollapseWidth + 1;
@navbarBackgroundHighlight: @theme-color;
@navbarInverseBackgroundHighlight: #222222;
@heroUnitBackground: @grayLighter;
@heroUnitHeadingColor: inherit;
@heroUnitLeadColor: inherit
(left) v2.3.2 ---> (right) v3.0
@grayDarker: #222; ---> @gray-darker: lighten(#000, 13.5%); // #222
@grayDark: #333; ---> @gray-dark: lighten(#000, 20%); // #333
@gray: #555; ---> @gray: lighten(#000, 33.5%); // #555
@grayLight: #999; ---> @gray-light: lighten(#000, 60%); // #999
@grayLighter: #eee; ---> @gray-lighter: lighten(#000, 93.5%); // #eee
@bodyBackground: @white; ---> @body-bg: #fff;
@textColor: @grayDark; ---> @text-color: @gray-dark;
@linkColor: #08c; ---> @link-color: @brand-primary;
@linkColorHover: darken(@linkColor, 15%) ---> @link-hover-color: darken(@link-color, 15%);
@sansFontFamily: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif; ---> @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
@serifFontFamily: Georgia, "Times New Roman", Times, serif; ---> @font-family-serif: Georgia, "Times New Roman", Times, serif;
@monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace; ---> @font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace;
@baseFontFamily: @sansFontFamily; ---> @font-family-base: @font-family-sans-serif;
@baseFontSize: 14px; ---> @font-size-base: 14px;
@baseLineHeight: 20px; ---> @line-height-base: 1.428571429; // 20/14
@headingsFontFamily: "Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif // empty to use BS default, @baseFontFamily; ---> @headings-font-family: @font-family-base;
@headingsFontWeight: bold // instead of browser default, bold; ---> @headings-font-weight: 500;
@iconSpritePath: "../img/glyphicons-halflings.png" ---> @icon-font-path: "../fonts/";
@baseBorderRadius: 4px; ---> @border-radius-base: 4px;
@borderRadiusLarge: 6px; ---> @border-radius-large: 6px;
@borderRadiusSmall: 3px; ---> @border-radius-small: 3px;
@tableBackground: transparent // overall background-color; ---> @table-bg: transparent; // overall background-color
@tableBackgroundAccent: #f9f9f9 // for striping; ---> @table-bg-accent: #f9f9f9; // for striping
@tableBackgroundHover: #f5f5f5 // for hover; ---> @table-bg-hover: #f5f5f5;
@tableBorder: #ddd // table and cell border; ---> @table-border-color: #ddd; // table and cell border
@btnBackground: @white; ---> @btn-default-bg: #fff;
@btnBorder: #bbb; ---> @btn-default-border: #ccc;
@btnPrimaryBackground: @linkColor; ---> @btn-primary-bg: @brand-primary;
@btnSuccessBackground: #62c462; ---> @btn-success-bg: @brand-success;
@btnWarningBackground: lighten(@orange, 15%) ---> @btn-warning-bg: @brand-warning;
@btnDangerBackground: #ee5f5b; ---> @btn-danger-bg: @brand-danger;
@btnInfoBackground: #5bc0de; ---> @btn-info-bg: @brand-info;
@inputBackground: @white; ---> @input-bg: #fff;
@inputDisabledBackground: @grayLighter; ---> @input-bg-disabled: @gray-lighter;
@inputBorder: #ccc; ---> @input-border: #ccc;
@inputBorderRadius: @baseBorderRadius; ---> @input-border-radius: @border-radius-base;
@placeholderText: @grayLight; ---> @input-color-placeholder: @gray-light;
@dropdownBackground: @white; ---> @dropdown-bg: #fff;
@dropdownBorder: rgba(0,0,0,.2) ---> @dropdown-border: rgba(0,0,0,.15);
@dropdownDividerTop: #e5e5e5; ---> @dropdown-divider-bg: #e5e5e5;
@dropdownLinkColorActive: @white; ---> @dropdown-link-active-color: #fff;
@dropdownLinkBackgroundActive: @linkColor; ---> @dropdown-link-active-bg: @component-active-bg;
@dropdownLinkColor: @grayDark; ---> @dropdown-link-color: @gray-dark;
@dropdownLinkColorHover: @white; ---> @dropdown-link-hover-color: #fff;
@dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive; ---> @dropdown-link-hover-bg: @dropdown-link-active-bg;
@zindexDropdown: 1000; ---> @zindex-dropdown: 1000;
@zindexPopover: 1010; ---> @zindex-popover: 1010;
@zindexTooltip: 1030; ---> @zindex-tooltip: 1030;
@zindexFixedNavbar: 1030; ---> @zindex-navbar-fixed: 1030;
@zindexModalBackdrop: 1040; ---> @zindex-modal-background: 1040;
@zindexModal: 1050; ---> @zindex-modal: 1050;
@gridColumns: 12; ---> @grid-columns: 12;
@gridGutterWidth: 20px; ---> @grid-gutter-width: 30px;
@navbarHeight: 30px; ---> @navbar-height: 50px;
@navbarText: #fff; ---> @navbar-default-color: #777;
@navbarBackground: darken(@navbarBackgroundHighlight, 5%) ---> @navbar-default-bg: #f8f8f8;
@navbarBorder: darken(@navbarBackground, 12%) ---> @navbar-default-border: darken(@navbar-default-bg, 6.5%);
@navbarLinkColor: #fff; ---> @navbar-default-link-color: #777;
@navbarLinkColorHover: @grayDark; ---> @navbar-default-link-hover-color: #333;
@navbarLinkBackgroundHover: transparent; ---> @navbar-default-link-hover-bg: transparent;
@navbarLinkColorActive: #fff; ---> @navbar-default-link-active-color: #555;
@navbarLinkBackgroundActive: darken(@navbarBackground, 5%) ---> @navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%);
@navbarBrandColor: @navbarLinkColor; ---> @navbar-default-brand-color: @navbar-default-link-color;
@navbarInverseText: @grayLight; ---> @navbar-inverse-color: @gray-light;
@navbarInverseBackground: #111111; ---> @navbar-inverse-bg: #222;
@navbarInverseBorder: #252525; ---> @navbar-inverse-border: darken(@navbar-inverse-bg, 10%);
@navbarInverseLinkColor: @grayLight; ---> @navbar-inverse-link-color: @gray-light;
@navbarInverseLinkColorHover: @white; ---> @navbar-inverse-link-hover-color: #fff;
@navbarInverseLinkBackgroundHover: transparent; ---> @navbar-inverse-link-hover-bg: transparent;
@navbarInverseLinkColorActive: @navbarInverseLinkColorHover; ---> @navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;
@navbarInverseLinkBackgroundActive: @navbarInverseBackground; ---> @navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%);
@navbarInverseBrandColor: @navbarInverseLinkColor; ---> @navbar-inverse-brand-color: @navbar-inverse-link-color;
@navbarInverseSearchBackground: lighten(@navbarInverseBackground, 25%) ---> @navbar-inverse-search-bg: lighten(@navbar-inverse-bg, 25%);
@navbarInverseSearchBackgroundFocus: @white; ---> @navbar-inverse-search-bg-focus: #fff;
@navbarInverseSearchBorder: @navbarInverseBackground; ---> @navbar-inverse-search-border: @navbar-inverse-bg;
@navbarInverseSearchPlaceholderColor: #ccc; ---> @navbar-inverse-search-placeholder-color: #ccc;
@paginationBackground: #fff; ---> @pagination-bg: #fff;
@paginationBorder: #ddd; ---> @pagination-border: #ddd;
@paginationActiveBackground: #f5f5f5; ---> @pagination-active-bg: @brand-primary;
@warningText: #c09853; ---> @state-warning-text: #c09853;
@warningBackground: #fcf8e3; ---> @state-warning-bg: #fcf8e3;
@warningBorder: darken(spin(@warningBackground, -10), 3%) ---> @state-warning-border: darken(spin(@state-warning-bg, -10), 3%);
@errorText: #b94a48; ---> @state-danger-text: #b94a48;
@errorBackground: #f2dede; ---> @state-danger-bg: #f2dede;
@errorBorder: darken(spin(@errorBackground, -10), 3%) ---> @state-danupdatedger-border: darken(spin(@state-danger-bg, -10), 3%);
@successText: #468847; ---> @state-success-text: #468847;
@successBackground: #dff0d8; ---> @state-success-bg: #dff0d8;
@successBorder: darken(spin(@successBackground, -10), 5%) ---> @state-success-border: darken(spin(@state-success-bg, -10), 5%);
@infoText: #3a87ad; ---> @state-info-text: #3a87ad;
@infoBackground: #d9edf7; ---> @state-info-bg: #d9edf7;
@infoBorder: darken(spin(@infoBackground, -10), 7%) ---> @state-info-border: darken(spin(@state-info-bg, -10), 7%);
@tooltipColor: #fff; ---> @tooltip-color: #fff;
@tooltipBackground: #000; ---> @tooltip-bg: #000;
@tooltipArrowWidth: 5px; ---> @tooltip-arrow-width: 5px;
@tooltipArrowColor: @tooltipBackground; ---> @tooltip-arrow-color: @tooltip-bg;
@popoverBackground: #fff; ---> @popover-bg: #fff;
@popoverTitleBackground: darken(@popoverBackground, 3%) ---> @popover-title-bg: darken(@popover-bg, 3%);
@popoverArrowWidth: 10px; ---> @popover-arrow-width: 10px;
@popoverArrowColor: #fff; ---> @popover-arrow-color: #fff;
@popoverArrowOuterWidth: @popoverArrowWidth + 1; ---> @popover-arrow-outer-width: (@popover-arrow-width + 1);
@popoverArrowOuterColor: rgba(0,0,0,.25) ---> @popover-arrow-outer-color: rgba(0,0,0,.25);
@wellBackground: #f5f5f5; ---> @well-bg: #f5f5f5;
@hrBorder: @grayLighter; ---> @hr-border: @gray-lighter;
@horizontalComponentOffset: 180px; ---> @component-offset-horizontal: 180px;
@brand-primary: #428bca;
@brand-success: #5cb85c;
@brand-warning: #f0ad4e;
@brand-danger: #d9534f;
@brand-info: #5bc0de;
@font-size-large: ceil(@font-size-base * 1.25); // ~18px
@font-size-small: ceil(@font-size-base * 0.85); // ~12px
@line-height-computed: floor(@font-size-base * @line-height-base); // ~20px
@headings-line-height: 1.1;
@icon-font-name: "glyphicons-halflings-regular";
@padding-base-vertical: 6px;
@padding-base-horizontal: 12px;
@padding-large-vertical: 10px;
@padding-large-horizontal: 16px;
@padding-small-vertical: 5px;
@padding-small-horizontal: 10px;
@line-height-large: 1.33;
@line-height-small: 1.5;
@component-active-bg: @brand-primary;
@caret-width-base: 4px;
@caret-width-large: 5px;
@table-cell-padding: 8px;
@table-condensed-cell-padding: 5px;
@table-bg-active: @table-bg-hover;
@btn-font-weight: normal;
@btn-default-color: #333;
@btn-primary-color: #fff;
@btn-primary-border: darken(@btn-primary-bg, 5%);
@btn-success-color: #fff;
@btn-success-border: darken(@btn-success-bg, 5%);
@btn-warning-color: #fff;
@btn-warning-border: darken(@btn-warning-bg, 5%);
@btn-danger-color: #fff;
@btn-danger-border: darken(@btn-danger-bg, 5%);
@btn-info-color: #fff;
@btn-info-border: darken(@btn-info-bg, 5%);
@btn-link-disabled-color: @gray-light;
@input-color: @gray;
@input-border-focus: #66afe9;
@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
@input-height-large: (floor(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
@input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
@legend-color: @gray-dark;
@legend-border-color: #e5e5e5;
@input-group-addon-bg: @gray-lighter;
@input-group-addon-border-color: @input-border;
@dropdown-fallback-border: #ccc;
@dropdown-link-disabled-color: @gray-light;
@dropdown-header-color: @gray-light;
@dropdown-caret-color: #000;
@zindex-navbar: 1000;
@screen-xs: 480px;
@screen-phone: @screen-xs;
@screen-sm: 768px;
@screen-tablet: @screen-sm;
@screen-md: 992px;
@screen-desktop: @screen-md;
@screen-lg: 1200px;
@screen-lg-desktop: @screen-lg;
@screen-xs-max: (@screen-sm - 1);
@screen-sm-max: (@screen-md - 1);
@screen-md-max: (@screen-lg - 1);
@grid-float-breakpoint: @screen-tablet;
@navbar-margin-bottom: @line-height-computed;
@navbar-border-radius: @border-radius-base;
@navbar-padding-horizontal: floor(@grid-gutter-width / 2);
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
@navbar-default-link-disabled-color: #ccc;
@navbar-default-link-disabled-bg: transparent;
@navbar-default-brand-hover-color: darken(@navbar-default-link-color, 10%);
@navbar-default-brand-hover-bg: transparent;
@navbar-default-toggle-hover-bg: #ddd;
@navbar-default-toggle-icon-bar-bg: #ccc;
@navbar-default-toggle-border-color: #ddd;
@navbar-inverse-link-disabled-color: #444;
@navbar-inverse-link-disabled-bg: transparent;
@navbar-inverse-brand-hover-color: #fff;
@navbar-inverse-brand-hover-bg: transparent;
@navbar-inverse-toggle-hover-bg: #333;
@navbar-inverse-toggle-icon-bar-bg: #fff;
@navbar-inverse-toggle-border-color: #333;
@nav-link-padding: 10px 15px;
@nav-link-hover-bg: @gray-lighter;
@nav-disabled-link-color: @gray-light;
@nav-disabled-link-hover-color: @gray-light;
@nav-open-link-hover-color: #fff;
@nav-open-caret-border-color: #fff;
@nav-tabs-border-color: #ddd;
@nav-tabs-link-hover-border-color: @gray-lighter;
@nav-tabs-active-link-hover-bg: @body-bg;
@nav-tabs-active-link-hover-color: @gray;
@nav-tabs-active-link-hover-border-color: #ddd;
@nav-tabs-justified-link-border-color: #ddd;
@nav-tabs-justified-active-link-border-color: @body-bg;
@nav-pills-active-link-hover-bg: @component-active-bg;
@nav-pills-active-link-hover-color: #fff;
@pagination-hover-bg: @gray-lighter;
@pagination-active-color: #fff;
@pagination-disabled-color: @gray-light;
@pager-border-radius: 15px;
@pager-disabled-color: @gray-light;
@jumbotron-padding: 30px;
@jumbotron-color: inherit;
@jumbotron-bg: @gray-lighter;
@jumbotron-heading-color: inherit;
@tooltip-max-width: 200px;
@popover-max-width: 276px;
@popover-border-color: rgba(0,0,0,.2);
@popover-fallback-border-color: #ccc;
@popover-arrow-outer-fallback-color: #999;
@label-default-bg: @gray-light;
@label-primary-bg: @brand-primary;
@label-success-bg: @brand-success;
@label-info-bg: @brand-info;
@label-warning-bg: @brand-warning;
@label-danger-bg: @brand-danger;
@label-color: #fff;
@label-link-hover-color: #fff;
@modal-inner-padding: 20px;
@modal-title-padding: 15px;
@modal-title-line-height: @line-height-base;
@modal-content-bg: #fff;
@modal-content-border-color: rgba(0,0,0,.2);
@modal-content-fallback-border-color: #999;
@modal-backdrop-bg: #000;
@modal-header-border-color: #e5e5e5;
@modal-footer-border-color: @modal-header-border-color;
@alert-padding: 15px;
@alert-border-radius: @border-radius-base;
@alert-link-font-weight: bold;
@alert-success-bg: @state-success-bg;
@alert-success-text: @state-success-text;
@alert-success-border: @state-success-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-bg: #f5f5f5;
@progress-bar-color: #fff;
@progress-bar-bg: @brand-primary;
@progress-bar-success-bg: @brand-success;
@progress-bar-warning-bg: @brand-warning;
@progress-bar-danger-bg: @brand-danger;
@progress-bar-info-bg: @brand-info;
@list-group-bg: #fff;
@list-group-border: #ddd;
@list-group-border-radius: @border-radius-base;
@list-group-hover-bg: #f5f5f5;
@list-group-active-color: #fff;
@list-group-active-bg: @component-active-bg;
@list-group-active-border: @list-group-active-bg;
@list-group-link-color: #555;
@list-group-link-heading-color: #333;
@panel-bg: #fff;
@panel-inner-border: #ddd;
@panel-border-radius: @border-radius-base;
@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;
@panel-success-text: @state-success-text;
@panel-success-border: @state-success-border;
@panel-success-heading-bg: @state-success-bg;
@panel-warning-text: @state-warning-text;
@panel-warning-border: @state-warning-border;
@panel-warning-heading-bg: @state-warning-bg;
@panel-danger-text: @state-danger-text;
@panel-danger-border: @state-danger-border;
@panel-danger-heading-bg: @state-danger-bg;
@panel-info-text: @state-info-text;
@panel-info-border: @state-info-border;
@panel-info-heading-bg: @state-info-bg;
@thumbnail-padding: 4px;
@thumbnail-bg: @body-bg;
@thumbnail-border: #ddd;
@thumbnail-border-radius: @border-radius-base;
@thumbnail-caption-color: @text-color;
@thumbnail-caption-padding: 9px;
@badge-color: #fff;
@badge-link-hover-color: #fff;
@badge-bg: @gray-light;
@badge-active-color: @link-color;
@badge-active-bg: #fff;
@badge-font-weight: bold;
@badge-line-height: 1;
@badge-border-radius: 10px;
@breadcrumb-bg: #f5f5f5;
@breadcrumb-color: #ccc;
@breadcrumb-active-color: @gray-light;
@carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
@carousel-control-color: #fff;
@carousel-control-width: 15%;
@carousel-control-opacity: .5;
@carousel-control-font-size: 20px;
@carousel-indicator-active-bg: #fff;
@carousel-indicator-border-color: #fff;
@carousel-caption-color: #fff;
@close-color: #000;
@close-font-weight: bold;
@close-text-shadow: 0 1px 0 #fff;
@code-color: #c7254e;
@code-bg: #f9f2f4;
@pre-bg: #f5f5f5;
@pre-color: @gray-dark;
@pre-border-color: #ccc;
@pre-scrollable-max-height: 340px;
@text-muted: @gray-light;
@abbr-border-color: @gray-light;
@headings-small-color: @gray-light;
@blockquote-small-color: @gray-light;
@blockquote-border-color: @gray-lighter;
@page-header-border-color: @gray-lighter;
@container-tablet: ((720px + @grid-gutter-width));
@container-desktop: ((940px + @grid-gutter-width));
@container-lg-desktop: ((1140px + @grid-gutter-width));
Bootstrap 2 | Bootstrap 3 |
---|---|
@black: #000; | |
@grayDarker: #222; | @gray-darker: lighten(#000, 13.5%); // #222 |
@grayDark: #333; | @gray-dark: lighten(#000, 20%); // #333 |
@gray: #555; | @gray: lighten(#000, 33.5%); // #555 |
@grayLight: #999; | @gray-light: lighten(#000, 60%); // #999 |
@grayLighter: #eee; | @gray-lighter: lighten(#000, 93.5%); // #eee |
@white: #fff; | |
@blue: #049cdb; | |
@blueDark: #0064cd; | |
@green: #46a546; | |
@red: #9d261d; | |
@yellow: #ffc40d; | |
@orange: #f89406; | |
@pink: #c3325f; | |
@purple: #7a43b6; | |
@brand-primary: #428bca; | |
@brand-success: #5cb85c; | |
@brand-warning: #f0ad4e; | |
@brand-danger: #d9534f; | |
@brand-info: #5bc0de; | |
@bodyBackground: @white; | @body-bg: #fff; |
@textColor: @grayDark; | @text-color: @gray-dark; |
@linkColor: #08c; | @link-color: @brand-primary; |
@linkColorHover: darken(@linkColor, 15%) | @link-hover-color: darken(@link-color, 15%); |
@sansFontFamily: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif; | @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif; |
@serifFontFamily: Georgia, "Times New Roman", Times, serif; | @font-family-serif: Georgia, "Times New Roman", Times, serif; |
@monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace; | @font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace; |
@baseFontFamily: @sansFontFamily; | @font-family-base: @font-family-sans-serif; |
@baseFontSize: 14px; | @font-size-base: 14px; |
@font-size-large: ceil(@font-size-base * 1.25); // ~18px | |
@font-size-small: ceil(@font-size-base * 0.85); // ~12px | |
@baseLineHeight: 20px; | @line-height-base: 1.428571429; // 20/14 |
@line-height-computed: floor(@font-size-base * @line-height-base); // ~20px | |
@altFontFamily: @serifFontFamily; | |
@headingsFontFamily: "Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif // empty to use BS default, @baseFontFamily; | @headings-font-family: @font-family-base; |
@headingsFontWeight: bold // instead of browser default, bold; | @headings-font-weight: 500; |
@headings-line-height: 1.1; | |
@headingsColor: inherit // empty to use BS default, @textColor; | |
@fontSizeLarge: @baseFontSize * 1.25 // ~18px; | |
@fontSizeSmall: @baseFontSize * 0.85 // ~12px; | |
@fontSizeMini: @baseFontSize * 0.75 // ~11px; | |
@iconSpritePath: "../img/glyphicons-halflings.png" | @icon-font-path: "../fonts/"; |
@icon-font-name: "glyphicons-halflings-regular"; | |
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png" | |
@paddingLarge: 11px 19px // 44px; | |
@paddingSmall: 2px 10px // 26px; | |
@paddingMini: 0 6px // 22px; | |
@padding-base-vertical: 6px; | |
@padding-base-horizontal: 12px; | |
@padding-large-vertical: 10px; | |
@padding-large-horizontal: 16px; | |
@padding-small-vertical: 5px; | |
@padding-small-horizontal: 10px; | |
@line-height-large: 1.33; | |
@line-height-small: 1.5; | |
@baseBorderRadius: 4px; | @border-radius-base: 4px; |
@borderRadiusLarge: 6px; | @border-radius-large: 6px; |
@borderRadiusSmall: 3px; | @border-radius-small: 3px; |
@component-active-bg: @brand-primary; | |
@caret-width-base: 4px; | |
@caret-width-large: 5px; | |
@table-cell-padding: 8px; | |
@table-condensed-cell-padding: 5px; | |
@tableBackground: transparent // overall background-color; | @table-bg: transparent; // overall background-color |
@tableBackgroundAccent: #f9f9f9 // for striping; | @table-bg-accent: #f9f9f9; // for striping |
@tableBackgroundHover: #f5f5f5 // for hover; | @table-bg-hover: #f5f5f5; |
@table-bg-active: @table-bg-hover; | |
@tableBorder: #ddd // table and cell border; | @table-border-color: #ddd; // table and cell border |
@btn-font-weight: normal; | |
@btn-default-color: #333; | |
@btnBackground: @white; | @btn-default-bg: #fff; |
@btnBorder: #bbb; | @btn-default-border: #ccc; |
@btnBackgroundHighlight: darken(@white, 10%) | |
@btn-primary-color: #fff; | |
@btnPrimaryBackground: @linkColor; | @btn-primary-bg: @brand-primary; |
@btn-primary-border: darken(@btn-primary-bg, 5%); | |
@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 20%) | |
@btn-success-color: #fff; | |
@btnSuccessBackground: #62c462; | @btn-success-bg: @brand-success; |
@btn-success-border: darken(@btn-success-bg, 5%); | |
@btnSuccessBackgroundHighlight: #51a351; | |
@btn-warning-color: #fff; | |
@btnWarningBackground: lighten(@orange, 15%) | @btn-warning-bg: @brand-warning; |
@btn-warning-border: darken(@btn-warning-bg, 5%); | |
@btnWarningBackgroundHighlight: @orange; | |
@btn-danger-color: #fff; | |
@btnDangerBackground: #ee5f5b; | @btn-danger-bg: @brand-danger; |
@btn-danger-border: darken(@btn-danger-bg, 5%); | |
@btnDangerBackgroundHighlight: #bd362f; | |
@btn-info-color: #fff; | |
@btnInfoBackground: #5bc0de; | @btn-info-bg: @brand-info; |
@btn-info-border: darken(@btn-info-bg, 5%); | |
@btnInfoBackgroundHighlight: #2f96b4; | |
@btn-link-disabled-color: @gray-light; | |
@btnInverseBackground: #444; | |
@btnInverseBackgroundHighlight: @grayDarker; | |
@inputBackground: @white; | @input-bg: #fff; |
@inputDisabledBackground: @grayLighter; | @input-bg-disabled: @gray-lighter; |
@input-color: @gray; | |
@inputBorder: #ccc; | @input-border: #ccc; |
@inputBorderRadius: @baseBorderRadius; | @input-border-radius: @border-radius-base; |
@input-border-focus: #66afe9; | |
@placeholderText: @grayLight; | @input-color-placeholder: @gray-light; |
@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2); | |
@input-height-large: (floor(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2); | |
@input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2); | |
@legend-color: @gray-dark; | |
@legend-border-color: #e5e5e5; | |
@input-group-addon-bg: @gray-lighter; | |
@input-group-addon-border-color: @input-border; | |
@formActionsBackground: #f5f5f5; | |
@inputHeight: @baseLineHeight + 10px // base line-height + 8px vertical padding + 2px top/bottom border; | |
@dropdownBackground: @white; | @dropdown-bg: #fff; |
@dropdownBorder: rgba(0,0,0,.2) | @dropdown-border: rgba(0,0,0,.15); |
@dropdown-fallback-border: #ccc; | |
@dropdownDividerTop: #e5e5e5; | @dropdown-divider-bg: #e5e5e5; |
@dropdownDividerBottom: @white; | |
@dropdownLinkColorActive: @white; | @dropdown-link-active-color: #fff; |
@dropdownLinkBackgroundActive: @linkColor; | @dropdown-link-active-bg: @component-active-bg; |
@dropdownLinkColor: @grayDark; | @dropdown-link-color: @gray-dark; |
@dropdownLinkColorHover: @white; | @dropdown-link-hover-color: #fff; |
@dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive; | @dropdown-link-hover-bg: @dropdown-link-active-bg; |
@dropdown-link-disabled-color: @gray-light; | |
@dropdown-header-color: @gray-light; | |
@dropdown-caret-color: #000; | |
@zindex-navbar: 1000; | |
@zindexDropdown: 1000; | @zindex-dropdown: 1000; |
@zindexPopover: 1010; | @zindex-popover: 1010; |
@zindexTooltip: 1030; | @zindex-tooltip: 1030; |
@zindexFixedNavbar: 1030; | @zindex-navbar-fixed: 1030; |
@zindexModalBackdrop: 1040; | @zindex-modal-background: 1040; |
@zindexModal: 1050; | @zindex-modal: 1050; |
@screen-xs: 480px; | |
@screen-phone: @screen-xs; | |
@screen-sm: 768px; | |
@screen-tablet: @screen-sm; | |
@screen-md: 992px; | |
@screen-desktop: @screen-md; | |
@screen-lg: 1200px; | |
@screen-lg-desktop: @screen-lg; | |
@screen-xs-max: (@screen-sm - 1); | |
@screen-sm-max: (@screen-md - 1); | |
@screen-md-max: (@screen-lg - 1); | |
@gridColumns: 12; | @grid-columns: 12; |
@gridGutterWidth: 20px; | @grid-gutter-width: 30px; |
@grid-float-breakpoint: @screen-tablet; | |
@gridColumnWidth: 60px; | |
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1)) | |
@gridColumnWidth1200: 70px; | |
@gridGutterWidth1200: 30px; | |
@gridRowWidth1200: (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1)) | |
@gridColumnWidth768: 42px; | |
@gridGutterWidth768: 20px; | |
@gridRowWidth768: (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1)) | |
@fluidGridColumnWidth: percentage(@gridColumnWidth/@gridRowWidth) | |
@fluidGridGutterWidth: percentage(@gridGutterWidth/@gridRowWidth) | |
@fluidGridColumnWidth1200: percentage(@gridColumnWidth1200/@gridRowWidth1200) | |
@fluidGridGutterWidth1200: percentage(@gridGutterWidth1200/@gridRowWidth1200) | |
@fluidGridColumnWidth768: percentage(@gridColumnWidth768/@gridRowWidth768) | |
@fluidGridGutterWidth768: percentage(@gridGutterWidth768/@gridRowWidth768) | |
@navbarHeight: 30px; | @navbar-height: 50px; |
@navbarCollapseWidth: 480px; | |
@navbarCollapseDesktopWidth: @navbarCollapseWidth + 1; | |
@navbar-margin-bottom: @line-height-computed; | |
@navbarText: #fff; | @navbar-default-color: #777; |
@navbarBackground: darken(@navbarBackgroundHighlight, 5%) | @navbar-default-bg: #f8f8f8; |
@navbarBackgroundHighlight: @theme-color; | |
@navbarBorder: darken(@navbarBackground, 12%) | @navbar-default-border: darken(@navbar-default-bg, 6.5%); |
@navbar-border-radius: @border-radius-base; | |
@navbar-padding-horizontal: floor(@grid-gutter-width / 2); | |
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2); | |
@navbarLinkColor: #fff; | @navbar-default-link-color: #777; |
@navbarLinkColorHover: @grayDark; | @navbar-default-link-hover-color: #333; |
@navbarLinkBackgroundHover: transparent; | @navbar-default-link-hover-bg: transparent; |
@navbarLinkColorActive: #fff; | @navbar-default-link-active-color: #555; |
@navbarLinkBackgroundActive: darken(@navbarBackground, 5%) | @navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%); |
@navbar-default-link-disabled-color: #ccc; | |
@navbar-default-link-disabled-bg: transparent; | |
@navbarBrandColor: @navbarLinkColor; | @navbar-default-brand-color: @navbar-default-link-color; |
@navbar-default-brand-hover-color: darken(@navbar-default-link-color, 10%); | |
@navbar-default-brand-hover-bg: transparent; | |
@navbar-default-toggle-hover-bg: #ddd; | |
@navbar-default-toggle-icon-bar-bg: #ccc; | |
@navbar-default-toggle-border-color: #ddd; | |
@navbarInverseText: @grayLight; | @navbar-inverse-color: @gray-light; |
@navbarInverseBackground: #111111; | @navbar-inverse-bg: #222; |
@navbarInverseBackgroundHighlight: #222222; | |
@navbarInverseBorder: #252525; | @navbar-inverse-border: darken(@navbar-inverse-bg, 10%); |
@navbarInverseLinkColor: @grayLight; | @navbar-inverse-link-color: @gray-light; |
@navbarInverseLinkColorHover: @white; | @navbar-inverse-link-hover-color: #fff; |
@navbarInverseLinkBackgroundHover: transparent; | @navbar-inverse-link-hover-bg: transparent; |
@navbarInverseLinkColorActive: @navbarInverseLinkColorHover; | @navbar-inverse-link-active-color: @navbar-inverse-link-hover-color; |
@navbarInverseLinkBackgroundActive: @navbarInverseBackground; | @navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%); |
@navbar-inverse-link-disabled-color: #444; | |
@navbar-inverse-link-disabled-bg: transparent; | |
@navbarInverseBrandColor: @navbarInverseLinkColor; | @navbar-inverse-brand-color: @navbar-inverse-link-color; |
@navbar-inverse-brand-hover-color: #fff; | |
@navbar-inverse-brand-hover-bg: transparent; | |
@navbarInverseSearchBackground: lighten(@navbarInverseBackground, 25%) | @navbar-inverse-search-bg: lighten(@navbar-inverse-bg, 25%); |
@navbarInverseSearchBackgroundFocus: @white; | @navbar-inverse-search-bg-focus: #fff; |
@navbarInverseSearchBorder: @navbarInverseBackground; | @navbar-inverse-search-border: @navbar-inverse-bg; |
@navbarInverseSearchPlaceholderColor: #ccc; | @navbar-inverse-search-placeholder-color: #ccc; |
@navbar-inverse-toggle-hover-bg: #333; | |
@navbar-inverse-toggle-icon-bar-bg: #fff; | |
@navbar-inverse-toggle-border-color: #333; | |
@nav-link-padding: 10px 15px; | |
@nav-link-hover-bg: @gray-lighter; | |
@nav-disabled-link-color: @gray-light; | |
@nav-disabled-link-hover-color: @gray-light; | |
@nav-open-link-hover-color: #fff; | |
@nav-open-caret-border-color: #fff; | |
@nav-tabs-border-color: #ddd; | |
@nav-tabs-link-hover-border-color: @gray-lighter; | |
@nav-tabs-active-link-hover-bg: @body-bg; | |
@nav-tabs-active-link-hover-color: @gray; | |
@nav-tabs-active-link-hover-border-color: #ddd; | |
@nav-tabs-justified-link-border-color: #ddd; | |
@nav-tabs-justified-active-link-border-color: @body-bg; | |
@nav-pills-active-link-hover-bg: @component-active-bg; | |
@nav-pills-active-link-hover-color: #fff; | |
@paginationBackground: #fff; | @pagination-bg: #fff; |
@paginationBorder: #ddd; | @pagination-border: #ddd; |
@pagination-hover-bg: @gray-lighter; | |
@paginationActiveBackground: #f5f5f5; | @pagination-active-bg: @brand-primary; |
@pagination-active-color: #fff; | |
@pagination-disabled-color: @gray-light; | |
@pager-border-radius: 15px; | |
@pager-disabled-color: @gray-light; | |
@jumbotron-padding: 30px; | |
@jumbotron-color: inherit; | |
@jumbotron-bg: @gray-lighter; | |
@jumbotron-heading-color: inherit; | |
@heroUnitBackground: @grayLighter; | |
@heroUnitHeadingColor: inherit; | |
@heroUnitLeadColor: inherit; | |
@warningText: #c09853; | @state-warning-text: #c09853; |
@warningBackground: #fcf8e3; | @state-warning-bg: #fcf8e3; |
@warningBorder: darken(spin(@warningBackground, -10), 3%) | @state-warning-border: darken(spin(@state-warning-bg, -10), 3%); |
@errorText: #b94a48; | @state-danger-text: #b94a48; |
@errorBackground: #f2dede; | @state-danger-bg: #f2dede; |
@errorBorder: darken(spin(@errorBackground, -10), 3%) | @state-danupdatedger-border: darken(spin(@state-danger-bg, -10), 3%); |
@successText: #468847; | @state-success-text: #468847; |
@successBackground: #dff0d8; | @state-success-bg: #dff0d8; |
@successBorder: darken(spin(@successBackground, -10), 5%) | @state-success-border: darken(spin(@state-success-bg, -10), 5%); |
@infoText: #3a87ad; | @state-info-text: #3a87ad; |
@infoBackground: #d9edf7; | @state-info-bg: #d9edf7; |
@infoBorder: darken(spin(@infoBackground, -10), 7%) | @state-info-border: darken(spin(@state-info-bg, -10), 7%); |
@tooltip-max-width: 200px; | |
@tooltipColor: #fff; | @tooltip-color: #fff; |
@tooltipBackground: #000; | @tooltip-bg: #000; |
@tooltipArrowWidth: 5px; | @tooltip-arrow-width: 5px; |
@tooltipArrowColor: @tooltipBackground; | @tooltip-arrow-color: @tooltip-bg; |
@popoverBackground: #fff; | @popover-bg: #fff; |
@popover-max-width: 276px; | |
@popover-border-color: rgba(0,0,0,.2); | |
@popover-fallback-border-color: #ccc; | |
@popoverTitleBackground: darken(@popoverBackground, 3%) | @popover-title-bg: darken(@popover-bg, 3%); |
@popoverArrowWidth: 10px; | @popover-arrow-width: 10px; |
@popoverArrowColor: #fff; | @popover-arrow-color: #fff; |
@popoverArrowOuterWidth: @popoverArrowWidth + 1; | @popover-arrow-outer-width: (@popover-arrow-width + 1); |
@popoverArrowOuterColor: rgba(0,0,0,.25) | @popover-arrow-outer-color: rgba(0,0,0,.25); |
@popover-arrow-outer-fallback-color: #999; | |
@label-default-bg: @gray-light; | |
@label-primary-bg: @brand-primary; | |
@label-success-bg: @brand-success; | |
@label-info-bg: @brand-info; | |
@label-warning-bg: @brand-warning; | |
@label-danger-bg: @brand-danger; | |
@label-color: #fff; | |
@label-link-hover-color: #fff; | |
@modal-inner-padding: 20px; | |
@modal-title-padding: 15px; | |
@modal-title-line-height: @line-height-base; | |
@modal-content-bg: #fff; | |
@modal-content-border-color: rgba(0,0,0,.2); | |
@modal-content-fallback-border-color: #999; | |
@modal-backdrop-bg: #000; | |
@modal-header-border-color: #e5e5e5; | |
@modal-footer-border-color: @modal-header-border-color; | |
@alert-padding: 15px; | |
@alert-border-radius: @border-radius-base; | |
@alert-link-font-weight: bold; | |
@alert-success-bg: @state-success-bg; | |
@alert-success-text: @state-success-text; | |
@alert-success-border: @state-success-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-bg: #f5f5f5; | |
@progress-bar-color: #fff; | |
@progress-bar-bg: @brand-primary; | |
@progress-bar-success-bg: @brand-success; | |
@progress-bar-warning-bg: @brand-warning; | |
@progress-bar-danger-bg: @brand-danger; | |
@progress-bar-info-bg: @brand-info; | |
@list-group-bg: #fff; | |
@list-group-border: #ddd; | |
@list-group-border-radius: @border-radius-base; | |
@list-group-hover-bg: #f5f5f5; | |
@list-group-active-color: #fff; | |
@list-group-active-bg: @component-active-bg; | |
@list-group-active-border: @list-group-active-bg; | |
@list-group-link-color: #555; | |
@list-group-link-heading-color: #333; | |
@panel-bg: #fff; | |
@panel-inner-border: #ddd; | |
@panel-border-radius: @border-radius-base; | |
@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; | |
@panel-success-text: @state-success-text; | |
@panel-success-border: @state-success-border; | |
@panel-success-heading-bg: @state-success-bg; | |
@panel-warning-text: @state-warning-text; | |
@panel-warning-border: @state-warning-border; | |
@panel-warning-heading-bg: @state-warning-bg; | |
@panel-danger-text: @state-danger-text; | |
@panel-danger-border: @state-danger-border; | |
@panel-danger-heading-bg: @state-danger-bg; | |
@panel-info-text: @state-info-text; | |
@panel-info-border: @state-info-border; | |
@panel-info-heading-bg: @state-info-bg; | |
@thumbnail-padding: 4px; | |
@thumbnail-bg: @body-bg; | |
@thumbnail-border: #ddd; | |
@thumbnail-border-radius: @border-radius-base; | |
@thumbnail-caption-color: @text-color; | |
@thumbnail-caption-padding: 9px; | |
@wellBackground: #f5f5f5; | @well-bg: #f5f5f5; |
@badge-color: #fff; | |
@badge-link-hover-color: #fff; | |
@badge-bg: @gray-light; | |
@badge-active-color: @link-color; | |
@badge-active-bg: #fff; | |
@badge-font-weight: bold; | |
@badge-line-height: 1; | |
@badge-border-radius: 10px; | |
@breadcrumb-bg: #f5f5f5; | |
@breadcrumb-color: #ccc; | |
@breadcrumb-active-color: @gray-light; | |
@carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6); | |
@carousel-control-color: #fff; | |
@carousel-control-width: 15%; | |
@carousel-control-opacity: .5; | |
@carousel-control-font-size: 20px; | |
@carousel-indicator-active-bg: #fff; | |
@carousel-indicator-border-color: #fff; | |
@carousel-caption-color: #fff; | |
@close-color: #000; | |
@close-font-weight: bold; | |
@close-text-shadow: 0 1px 0 #fff; | |
@code-color: #c7254e; | |
@code-bg: #f9f2f4; | |
@pre-bg: #f5f5f5; | |
@pre-color: @gray-dark; | |
@pre-border-color: #ccc; | |
@pre-scrollable-max-height: 340px; | |
@text-muted: @gray-light; | |
@abbr-border-color: @gray-light; | |
@headings-small-color: @gray-light; | |
@blockquote-small-color: @gray-light; | |
@blockquote-border-color: @gray-lighter; | |
@page-header-border-color: @gray-lighter; | |
@hrBorder: @grayLighter; | @hr-border: @gray-lighter; |
@horizontalComponentOffset: 180px; | @component-offset-horizontal: 180px; |
@container-tablet: ((720px + @grid-gutter-width)); | |
@container-desktop: ((940px + @grid-gutter-width)); | |
@container-lg-desktop: ((1140px + @grid-gutter-width)); |
This huuuuuuge list is for simple search&replace task. Say that someone used a bw variable inside not-bs less file, this is the list of updated variables:
And this is the list of removed variables: