variables.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. // Variables.less
  2. // Variables to customize the look and feel of Bootstrap
  3. // -----------------------------------------------------
  4. // GLOBAL VALUES
  5. // --------------------------------------------------
  6. // Links
  7. @linkColor: @red;
  8. @linkColorHover: darken(@linkColor, 15%);
  9. // Grays
  10. @black: #000;
  11. @grayDarker: #222;
  12. @grayDark: #333;
  13. @gray: #555;
  14. @grayLight: #999;
  15. @grayLighter: #eee;
  16. @white: #fff;
  17. // Accent colors
  18. @blue: #049cdb;
  19. @blueDark: #0064cd;
  20. @green: #46a546;
  21. @red: #9d261d;
  22. @yellow: #ffc40d;
  23. @orange: #f89406;
  24. @pink: #c3325f;
  25. @purple: #7a43b6;
  26. // Typography
  27. @baseFontSize: 14px;
  28. //@baseFontFamily: MuseoSans, "Helvetica Neue", Helvetica, Arial, sans-serif;
  29. @baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
  30. @baseLineHeight: 21px;
  31. @textColor: @grayDark;
  32. @baseHeaderFontFamily: MuseoSlab, "Helvetica Neue", Helvetica, Arial, sans-serif;
  33. // Buttons
  34. @primaryButtonBackground: @linkColor;
  35. // COMPONENT VARIABLES
  36. // --------------------------------------------------
  37. // Z-index master list
  38. // Used for a bird's eye view of components dependent on the z-axis
  39. // Try to avoid customizing these :)
  40. @zindexDropdown: 1000;
  41. @zindexPopover: 1010;
  42. @zindexTooltip: 1020;
  43. @zindexFixedNavbar: 1030;
  44. @zindexModalBackdrop: 1040;
  45. @zindexModal: 1050;
  46. // Sprite icons path
  47. @iconSpritePath: "../img/glyphicons-halflings.png";
  48. @iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
  49. // Input placeholder text color
  50. @placeholderText: @grayLight;
  51. // Hr border color
  52. @hrBorder: @grayLighter;
  53. // Navbar
  54. @navbarHeight: 40px;
  55. @navbarBackground: @grayDarker;
  56. @navbarBackgroundHighlight: @grayDark;
  57. @navbarLinkBackgroundHover: transparent;
  58. @navbarText: @grayLight;
  59. @navbarLinkColor: @grayLight;
  60. @navbarLinkColorHover: @white;
  61. // Form states and alerts
  62. @warningText: #c09853;
  63. @warningBackground: #fcf8e3;
  64. @warningBorder: darken(spin(@warningBackground, -10), 3%);
  65. @errorText: #b94a48;
  66. @errorBackground: #f2dede;
  67. @errorBorder: darken(spin(@errorBackground, -10), 3%);
  68. @successText: #468847;
  69. @successBackground: #dff0d8;
  70. @successBorder: darken(spin(@successBackground, -10), 5%);
  71. @infoText: #3a87ad;
  72. @infoBackground: #d9edf7;
  73. @infoBorder: darken(spin(@infoBackground, -10), 7%);
  74. // GRID
  75. // --------------------------------------------------
  76. // Default 940px grid
  77. @gridColumns: 12;
  78. @gridColumnWidth: 60px;
  79. @gridGutterWidth: 20px;
  80. @gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
  81. // Fluid grid
  82. @fluidGridColumnWidth: 6.382978723%;
  83. @fluidGridGutterWidth: 2.127659574%;