variables.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. // Variables.less
  2. // Variables to customize the look and feel of Bootstrap
  3. // -----------------------------------------------------
  4. // GLOBAL VALUES
  5. // --------------------------------------------------
  6. // Links
  7. @linkColor: #08c;
  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: 13px;
  28. @baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
  29. @baseLineHeight: 18px;
  30. @textColor: @grayDark;
  31. // Buttons
  32. @primaryButtonBackground: @linkColor;
  33. // COMPONENT VARIABLES
  34. // --------------------------------------------------
  35. // Z-index master list
  36. // Used for a bird's eye view of components dependent on the z-axis
  37. // Try to avoid customizing these :)
  38. @zindexDropdown: 1000;
  39. @zindexPopover: 1010;
  40. @zindexTooltip: 1020;
  41. @zindexFixedNavbar: 1030;
  42. @zindexModalBackdrop: 1040;
  43. @zindexModal: 1050;
  44. // Sprite icons path
  45. @iconSpritePath: "../img/glyphicons-halflings.png";
  46. @iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
  47. // Input placeholder text color
  48. @placeholderText: @grayLight;
  49. // Hr border color
  50. @hrBorder: @grayLighter;
  51. // Navbar
  52. @navbarHeight: 40px;
  53. @navbarBackground: @grayDarker;
  54. @navbarBackgroundHighlight: @grayDark;
  55. @navbarLinkBackgroundHover: transparent;
  56. @navbarText: @grayLight;
  57. @navbarLinkColor: @grayLight;
  58. @navbarLinkColorHover: @white;
  59. // Form states and alerts
  60. @warningText: #c09853;
  61. @warningBackground: #fcf8e3;
  62. @warningBorder: darken(spin(@warningBackground, -10), 3%);
  63. @errorText: #b94a48;
  64. @errorBackground: #f2dede;
  65. @errorBorder: darken(spin(@errorBackground, -10), 3%);
  66. @successText: #468847;
  67. @successBackground: #dff0d8;
  68. @successBorder: darken(spin(@successBackground, -10), 5%);
  69. @infoText: #3a87ad;
  70. @infoBackground: #d9edf7;
  71. @infoBorder: darken(spin(@infoBackground, -10), 7%);
  72. // GRID
  73. // --------------------------------------------------
  74. // Default 940px grid
  75. @gridColumns: 12;
  76. @gridColumnWidth: 60px;
  77. @gridGutterWidth: 20px;
  78. @gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
  79. // Fluid grid
  80. @fluidGridColumnWidth: 6.382978723%;
  81. @fluidGridGutterWidth: 2.127659574%;