variables.less 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750
  1. //
  2. // Variables
  3. // --------------------------------------------------
  4. // == Colors
  5. //
  6. //##
  7. // Color swatches
  8. @turquoise: #1abc9c;
  9. @green-sea: #16a085;
  10. @emerald: #2ecc71;
  11. @nephritis: #27ae60;
  12. @peter-river: #3498db;
  13. @belize-hole: #2980b9;
  14. @amethyst: #9b59b6;
  15. @wisteria: #8e44ad;
  16. @wet-asphalt: #34495e;
  17. @midnight-blue: #2c3e50;
  18. @sun-flower: #f1c40f;
  19. @orange: #f39c12;
  20. @carrot: #e67e22;
  21. @pumpkin: #d35400;
  22. @alizarin: #e74c3c;
  23. @pomegranate: #c0392b;
  24. @clouds: #ecf0f1;
  25. @silver: #bdc3c7;
  26. @concrete: #95a5a6;
  27. @asbestos: #7f8c8d;
  28. // Grays
  29. @gray: @concrete;
  30. @gray-light: @silver;
  31. @inverse: white;
  32. // Brand colors
  33. @brand-primary: @wet-asphalt;
  34. @brand-secondary: @turquoise;
  35. @brand-success: @emerald;
  36. @brand-warning: @sun-flower;
  37. @brand-danger: @alizarin;
  38. @brand-info: @peter-river;
  39. // Social colors
  40. @social-pinterest: #cb2028;
  41. @social-linkedin: #0072b5;
  42. @social-stumbleupon: #ed4a13;
  43. @social-googleplus: #2d2d2d;
  44. @social-facebook: #2f4b93;
  45. @social-twitter: #00bdef;
  46. //== Scaffolding
  47. //
  48. //## Settings for some of the most global styles.
  49. @body-bg: #fff;
  50. @text-color: @brand-primary;
  51. //** Global textual link color.
  52. @link-color: @green-sea;
  53. @link-hover-color: @turquoise;
  54. //** Link hover decoration.
  55. @link-hover-decoration: none;
  56. //== Typography
  57. //
  58. //## Font, line-height for body text, headings, and more.
  59. @font-family-base: "Lato", Helvetica, Arial, sans-serif;
  60. @font-family-demo: "Helvetica Neue", Helvetica, Arial, sans-serif;
  61. @font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace;
  62. @font-size-base: 18px;
  63. @local-font-path: "../fonts/lato/";
  64. @local-font-name: "lato-regular";
  65. @local-font-svg-id: "latoregular";
  66. @local-font-name-light: "lato-light";
  67. @local-font-svg-id-light: "latolight";
  68. @local-font-name-black: "lato-black";
  69. @local-font-svg-id-black: "latoblack";
  70. @local-font-name-bold: "lato-bold";
  71. @local-font-svg-id-bold: "latobold";
  72. @local-font-name-italic: "lato-italic";
  73. @local-font-svg-id-italic: "latoitalic";
  74. @local-font-name-bold-italic: "lato-bolditalic";
  75. @local-font-svg-id-bold-italic: "latobold-italic";
  76. @font-size-h1: floor((@font-size-base * 3.444)); // ~62px
  77. @font-size-h2: ceil((@font-size-base * 2.889)); // ~52px
  78. @font-size-h3: ceil((@font-size-base * 2.222)); // ~40px
  79. @font-size-h4: ceil((@font-size-base * 1.611)); // ~29px
  80. @font-size-h5: floor((@font-size-base * 1.556)); // ~28px
  81. @font-size-h6: ceil((@font-size-base * 1.333)); // ~24px
  82. @line-height-base: 1.72222; // 31/18
  83. @line-height-computed: floor((@font-size-base * @line-height-base)); // ~31px
  84. @headings-font-family: inherit;
  85. @headings-font-weight: 700;
  86. @headings-line-height: 1.1;
  87. @headings-color: inherit;
  88. //== Iconography
  89. //
  90. //## Specify custom locations of the include Glyphicons icon font.
  91. @icon-font-path: "../fonts/glyphicons/";
  92. @icon-font-name: "flat-ui-icons-regular";
  93. @icon-font-svg-id: "flat-ui-icons-regular";
  94. //** Icon sizes for use in components
  95. @icon-normal: 16px;
  96. @icon-medium: 18px;
  97. @icon-large: 32px;
  98. //== Components
  99. //
  100. //## Define common padding and border radius sizes and more.
  101. //** Default font-size in components
  102. @component-font-size-base: ceil((@font-size-base * 0.833)); // ~15px
  103. // Border-radius
  104. @border-radius-base: 4px;
  105. @border-radius-large: 6px;
  106. @border-radius-small: 3px;
  107. //** Width of the `border` for generating carets that indicator dropdowns.
  108. @caret-width-base: 6px;
  109. @caret-width-base-vertical: (@caret-width-base + 2);
  110. @caret-width-xs: 4px;
  111. @caret-width-xs-vertical: (@caret-width-xs + 2);
  112. //== Buttons
  113. //
  114. //## For each of Flat UI's buttons, define text, background, font size and height.
  115. @btn-font-size-base: @component-font-size-base;
  116. @btn-font-size-xs: ceil((@component-font-size-base * 0.8)); // ~12px
  117. @btn-font-size-sm: floor((@component-font-size-base * 0.867)); // ~13px
  118. @btn-font-size-lg: ceil((@component-font-size-base * 1.133)); // ~17px
  119. @btn-font-size-hg: floor((@component-font-size-base * 1.467)); // ~22px
  120. @btn-line-height-base: 1.4; // ~21px
  121. @btn-line-height-hg: 1.227; // ~27px
  122. @btn-line-height-lg: 1.471; // ~25px
  123. @btn-line-height-sm: 1.385; // ~16px
  124. @btn-line-height-xs: 1.083; // ~13px
  125. @btn-social-font-size-base: floor((@component-font-size-base * 0.867)); // ~13px
  126. @btn-social-line-height-base: 1.077; // ~14px
  127. @btn-font-weight: normal;
  128. @btn-default-color: @inverse;
  129. @btn-default-bg: @gray-light;
  130. @btn-hover-bg: mix(@gray-light, white, 80%);
  131. @btn-active-bg: mix(@gray-light, black, 85%);
  132. @btn-primary-hover-bg: mix(@brand-secondary, white, 80%);
  133. @btn-primary-active-bg: mix(@brand-secondary, black, 85%);
  134. @btn-info-hover-bg: mix(@brand-info, white, 80%);
  135. @btn-info-active-bg: mix(@brand-info, black, 85%);
  136. @btn-success-hover-bg: mix(@brand-success, white, 80%);
  137. @btn-success-active-bg: mix(@brand-success, black, 85%);
  138. @btn-danger-hover-bg: mix(@brand-danger, white, 80%);
  139. @btn-danger-active-bg: mix(@brand-danger, black, 85%);
  140. @btn-warning-hover-bg: overlay(@brand-warning, darken(white, 37.5%));
  141. @btn-warning-active-bg: mix(@brand-warning, black, 85%);
  142. @btn-inverse-hover-bg: overlay(@brand-primary, darken(white, 37.5%));
  143. @btn-inverse-active-bg: mix(@brand-primary, black, 85%);
  144. @btn-link-disabled-color: @gray-light;
  145. //== Forms
  146. //
  147. //##
  148. @input-font-size-base: @component-font-size-base;
  149. @input-font-size-sm: floor((@component-font-size-base * 0.867)); // ~13px
  150. @input-font-size-lg: ceil((@component-font-size-base * 1.133)); // ~17px
  151. @input-font-size-hg: floor((@component-font-size-base * 1.467)); // ~22px
  152. @input-line-height-base: 1.467; // ~22px
  153. @input-line-height-sm: 1.462; // ~19px
  154. @input-line-height-lg: 1.235; // ~21px
  155. @input-line-height-hg: 1.318; // ~29px
  156. @input-icon-font-size: ceil((@component-font-size-base * 1.067)); // ~16px
  157. @input-icon-font-size-lg: ceil((@component-font-size-base * 1.2)); // ~18px
  158. @input-icon-font-size-hg: ceil((@component-font-size-base * 1.333)); // ~20px
  159. @input-bg: @inverse;
  160. @input-bg-disabled: mix(@gray, white, 10%);
  161. @input-height-sm: 35px;
  162. @input-height-base: 41px;
  163. @input-height-lg: 45px;
  164. @input-height-hg: 53px;
  165. @input-border-radius: @border-radius-large;
  166. //** Disabled cursor for form controls and buttons.
  167. @cursor-disabled: not-allowed;
  168. @legend-color: inherit;
  169. //== Tags Input
  170. //
  171. //##
  172. @tagsinput-container-bg: @inverse;
  173. @tagsinput-container-border-color: mix(@inverse, @brand-primary, 90%);
  174. @tagsinput-container-border-radius: @border-radius-large;
  175. @tagsinput-input-color: @brand-primary;
  176. @tagsinput-tag-bg: mix(@inverse, @brand-primary, 90%);
  177. @tagsinput-tag-color: mix(@brand-primary, @inverse, 65%);
  178. @tagsinput-tag-hover-bg: mix(@brand-secondary, black, 85%);
  179. @tagsinput-tag-hover-color: @inverse;
  180. @tagsinput-tag-icon-color: @inverse;
  181. @tagsinput-tag-border-radius: @border-radius-base;
  182. @tagsinput-primary-container-border-color: @brand-secondary;
  183. @tagsinput-primary-tag-bg: @brand-secondary;
  184. @tagsinput-primary-tag-color: @inverse;
  185. @tagsinput-primary-tag-hover-bg: mix(@brand-secondary, black, 85%);
  186. @tagsinput-primary-tag-hover-color: @inverse;
  187. //== Selects
  188. //
  189. //## For each of Flat UI's selects, define text, background, font size and height.
  190. @select-font-size-base: @btn-font-size-base;
  191. @select-font-size-sm: @btn-font-size-sm;
  192. @select-font-size-lg: @btn-font-size-lg;
  193. @select-font-size-hg: @btn-font-size-hg;
  194. @select-line-height-base: @btn-line-height-base;
  195. @select-line-height-hg: @btn-line-height-hg;
  196. @select-line-height-lg: @btn-line-height-lg;
  197. @select-line-height-sm: @btn-line-height-sm;
  198. @select-font-weight: @btn-font-weight;
  199. @select-disabled-opacity: 0.7;
  200. @select-default-color: @btn-default-color;
  201. @select-default-bg: @btn-default-bg;
  202. @select-default-hover-bg: @btn-hover-bg;
  203. @select-default-active-bg: @btn-active-bg;
  204. @select-primary-hover-bg: @btn-primary-hover-bg;
  205. @select-primary-active-bg: @btn-primary-active-bg;
  206. @select-info-hover-bg: @btn-info-hover-bg;
  207. @select-info-active-bg: @btn-info-active-bg;
  208. @select-success-hover-bg: @btn-success-hover-bg;
  209. @select-success-active-bg: @btn-success-active-bg;
  210. @select-danger-hover-bg: @btn-danger-hover-bg;
  211. @select-danger-active-bg: @btn-danger-active-bg;
  212. @select-warning-hover-bg: @btn-warning-hover-bg;
  213. @select-warning-active-bg: @btn-warning-active-bg;
  214. @select-inverse-hover-bg: @btn-inverse-hover-bg;
  215. @select-inverse-active-bg: @btn-inverse-active-bg;
  216. @select-link-disabled-color: @btn-link-disabled-color;
  217. @select-arrow-color: @brand-primary;
  218. // Select dropdowns
  219. @select-dropdown-border-radius: @border-radius-base;
  220. @select-dropdown-item-color: fade(@brand-primary, 85%);
  221. @select-dropdown-item-hover-color: inherit;
  222. @select-dropdown-item-hover-bg: mix(@inverse, @brand-primary, 85%);
  223. @select-dropdown-disabled-item-color: fade(@brand-primary, 95%);
  224. @select-dropdown-disabled-item-opacity: 0.4;
  225. @select-dropdown-highlighted-item-bg: @brand-secondary;
  226. @select-dropdown-highlighted-item-color: @inverse;
  227. @select-dropdown-optgroup-color: fade(@brand-primary, 60%);
  228. // Multiselect
  229. @multiselect-container-bg: @tagsinput-container-bg;
  230. @multiselect-container-border-color: @tagsinput-container-border-color;
  231. @multiselect-container-border-radius: @tagsinput-container-border-radius;
  232. @multiselect-tag-border-radius: @tagsinput-tag-border-radius;
  233. @multiselect-tag-color: @inverse;
  234. @multiselect-tag-hover-color: @tagsinput-tag-hover-color;
  235. @multiselect-tag-icon-color: @tagsinput-tag-icon-color;
  236. @multiselect-dropdown-border-radius: @border-radius-large;
  237. @multiselect-dropdown-item-border-radius: @border-radius-base;
  238. @multiselect-input-color: @tagsinput-input-color;
  239. //== Pagination
  240. //
  241. //##
  242. @pagination-bg: mix(@brand-primary, white, 20%);
  243. @pagination-hover-bg: @brand-secondary;
  244. @pagination-color: @inverse;
  245. @pagination-border-radius: @border-radius-large;
  246. //== Pager
  247. //
  248. //##
  249. @pager-padding: 9px 15px 10px;
  250. @pager-bg: @brand-primary;
  251. @pager-hover-bg: mix(@brand-primary, black, 85%);
  252. @pager-active-bg: @pager-hover-bg;
  253. @pager-border-radius: @border-radius-large;
  254. @pager-color: @inverse;
  255. //== Navbar
  256. //
  257. //##
  258. // Basics of a navbar
  259. @zindex-navbar: 1000;
  260. @zindex-navbar-fixed: 1030;
  261. @navbar-height-base: 53px;
  262. @navbar-height-large: 76px;
  263. @navbar-input-line-height: 1.4; // ~21px
  264. @navbar-margin-bottom: @line-height-computed;
  265. @navbar-border-radius: @border-radius-large;
  266. @navbar-default-bg: saturate(spin(tint(@brand-primary, 91%), -18), 2%);
  267. // Navbar links
  268. @navbar-default-link-color: @brand-primary;
  269. @navbar-default-link-hover-color: @brand-secondary;
  270. @navbar-default-link-hover-bg: transparent;
  271. @navbar-default-link-active-color: @brand-secondary;
  272. @navbar-default-link-active-bg: transparent;
  273. @navbar-default-link-disabled-color: #ccc;
  274. @navbar-default-link-disabled-bg: transparent;
  275. // Navbar nav carets
  276. @navbar-default-caret-color: @navbar-default-link-color;
  277. @navbar-default-caret-hover-color: @navbar-default-link-hover-color;
  278. @navbar-default-caret-active-color: @navbar-default-link-active-color;
  279. // Navbar brand label
  280. @navbar-default-brand-color: @navbar-default-link-color;
  281. @navbar-default-brand-hover-color: @navbar-default-link-hover-color;
  282. @navbar-default-brand-hover-bg: transparent;
  283. // Navbar toggle
  284. @navbar-default-toggle-color: @navbar-default-link-color;
  285. @navbar-default-toggle-hover-color: @navbar-default-link-hover-color;
  286. // Navbar form
  287. @navbar-default-form-placeholder: spin(tint(@brand-primary, 60%), 2);
  288. @navbar-default-form-icon: desaturate(tint(@brand-primary, 45%), 2%);
  289. @navbar-default-form-border: shade(@navbar-default-bg, 3%);
  290. // Inverted navbar
  291. // Reset inverted navbar basics
  292. @navbar-inverse-divider: darken(@brand-primary, 3%);
  293. // Reset inverted navbar basics
  294. @navbar-inverse-color: @inverse;
  295. @navbar-inverse-bg: @brand-primary;
  296. @navbar-inverse-border: darken(@navbar-inverse-bg, 10%);
  297. // Inverted navbar links
  298. @navbar-inverse-link-color: @inverse;
  299. @navbar-inverse-link-hover-color: @brand-secondary;
  300. @navbar-inverse-link-hover-bg: transparent;
  301. @navbar-inverse-link-active-color: @navbar-inverse-link-color;
  302. @navbar-inverse-link-active-bg: @brand-secondary;
  303. @navbar-inverse-link-disabled-color: #444;
  304. @navbar-inverse-link-disabled-bg: transparent;
  305. // Navbar nav carets
  306. @navbar-inverse-caret-color: lighten(desaturate(@brand-primary, 7%), 9%);
  307. @navbar-inverse-caret-hover-color: @navbar-inverse-link-hover-color;
  308. @navbar-inverse-caret-active-color: @navbar-inverse-link-active-color;
  309. // Inverted navbar brand label
  310. @navbar-inverse-brand-color: @navbar-inverse-link-color;
  311. @navbar-inverse-brand-hover-color: @navbar-inverse-link-hover-color;
  312. @navbar-inverse-brand-hover-bg: transparent;
  313. // Inverted navbar toggle
  314. @navbar-inverse-toggle-color: @navbar-inverse-link-color;
  315. @navbar-inverse-toggle-hover-color: @navbar-inverse-link-hover-color;
  316. // Navbar form
  317. @navbar-inverse-form-bg: darken(@brand-primary, 6%);
  318. @navbar-inverse-form-placeholder: desaturate(lighten(@brand-primary, 13%), 7%);
  319. @navbar-inverse-form-icon: desaturate(lighten(@brand-primary, 13%), 6%);
  320. @navbar-inverse-form-border: @navbar-inverse-divider;
  321. // Navbar dropdowns
  322. @navbar-inverse-dropdown-bg: @navbar-inverse-bg;
  323. @navbar-inverse-dropdown-link-color: mix(@navbar-inverse-bg, @navbar-inverse-color, 15%);
  324. @navbar-inverse-dropdown-link-hover-color: @inverse;
  325. @navbar-inverse-dropdown-link-hover-bg: @brand-secondary;
  326. //== Dropdowns
  327. //
  328. //## Dropdown menu container and contents.
  329. @zindex-dropdown: 1000;
  330. @dropdown-border-radius: @border-radius-base;
  331. //** Background for the dropdown menu.
  332. @dropdown-bg: desaturate(lighten(@brand-primary, 67%), 20%);
  333. //** Dropdown link text color.
  334. @dropdown-link-color: mix(darken(@brand-primary, 5%), @inverse, 75%);
  335. //** Hover color for dropdown links.
  336. @dropdown-link-hover-color: darken(@dropdown-link-color, 5%);
  337. //** Hover background for dropdown links.
  338. @dropdown-link-hover-bg: fade(desaturate(lighten(@brand-primary, 52%), 21%), 50%);
  339. //** Active dropdown menu item text color.
  340. @dropdown-link-active-color: @inverse;
  341. //** Active dropdown menu item background color.
  342. @dropdown-link-active-bg: @brand-secondary;
  343. //** Disabled dropdown menu item background color.
  344. @dropdown-link-disabled-color: @gray-light;
  345. //** Divider color for between dropdown items.
  346. @dropdown-divider-bg: fade(@dropdown-link-hover-bg, 50%);
  347. //** Text color for headers within dropdown menus.
  348. @dropdown-header-color: fade(@brand-primary, 60%);
  349. // Inverted dropdown
  350. //
  351. @dropdown-inverse-bg: @brand-primary;
  352. //** Dropdown link text color.
  353. @dropdown-inverse-link-color: fade(@inverse, 85%);
  354. //** Hover color for dropdown links.
  355. @dropdown-inverse-link-hover-color: fade(@inverse, 85%);
  356. //** Hover background for dropdown links.
  357. @dropdown-inverse-link-hover-bg: fade(darken(@brand-primary, 5%), 50%);
  358. //** Active dropdown menu item text color.
  359. @dropdown-inverse-link-active-color: fade(@inverse, 85%);
  360. //** Active dropdown menu item background color.
  361. @dropdown-inverse-link-active-bg: @brand-secondary;
  362. //** Disabled dropdown menu item background color.
  363. @dropdown-inverse-link-disabled-color: fade(@dropdown-inverse-link-color, 50%);
  364. //** Divider color for between dropdown items.
  365. @dropdown-inverse-divider-bg: @dropdown-inverse-link-hover-bg;
  366. //** Text color for headers within dropdown menus.
  367. @dropdown-inverse-header-color: fade(@inverse, 40%);
  368. //== Progress bars
  369. //
  370. //##
  371. @progress-height: 12px;
  372. //== Slider
  373. //
  374. //##
  375. @slider-height: 12px;
  376. @slider-value-font-size: floor((@component-font-size-base * 0.867)); // ~13px;
  377. @slider-handle-bg: mix(@brand-secondary, black, 85%);
  378. @slider-handle-hover-bg: mix(@brand-secondary, white, 80%);
  379. @slider-handle-active-bg: mix(@brand-secondary, black, 85%);
  380. @slider-range-bg: @brand-secondary;
  381. @slider-segment-bg: mix(desaturate(@brand-primary, 15%), white, 20%);
  382. //== Switch
  383. //
  384. //##
  385. @switch-name: bootstrap-switch;
  386. @switch-border-radius: 30px;
  387. @switch-width: 80px;
  388. @switch-height: 29px;
  389. //== Video player
  390. //
  391. //##
  392. @vplayer-border-radius: @border-radius-large;
  393. @vplayer-fullscreen-bg: #000;
  394. @vplayer-fullscreen-zindex: 10000;
  395. @vplayer-control-bar-color: @inverse;
  396. @vplayer-control-bar-bg: @midnight-blue;
  397. @vplayer-preloader-primary-bg: #e74c3c;
  398. @vplayer-preloader-secondary-bg: #ebedee;
  399. @vplayer-text-track-bg: rgba(0,0,0,.5);
  400. @vplaver-play-control-color: @brand-secondary;
  401. @vplaver-play-control-hover-color: mix(@brand-secondary, black, 85%);
  402. @vplaver-second-controls-color: desaturate(lighten(@midnight-blue, 12%), 6%);
  403. @vplaver-second-controls-hover-color: desaturate(lighten(@midnight-blue, 20%), 6%);
  404. @vplaver-progress-bg: mix(@brand-primary, @inverse, 93%);
  405. @vplaver-play-progress-bg: @brand-secondary;
  406. @vplaver-load-progress-bg: mix(@brand-primary, @inverse, 20%);
  407. @vplayer-seek-handle-bg: mix(@brand-secondary, black, 85%);
  408. @vplayer-seek-handle-hover-bg: mix(@brand-secondary, black, 75%);
  409. @vplayer-seek-handle-active-bg: mix(@brand-secondary, black, 65%);
  410. @vplayer-time-divider-color: mix(@brand-primary, @inverse, 80%);
  411. @vplayer-duration-color: mix(@brand-primary, @inverse, 80%);
  412. //== Todo list
  413. //
  414. //##
  415. @todo-bg: @brand-primary;
  416. @todo-bg-active: mix(@brand-primary, black, 85%);
  417. @todo-search-bg: @brand-secondary;
  418. @todo-search-color: @brand-primary;
  419. @todo-color: mix(@brand-primary, @inverse, 66%);
  420. @todo-name-color: @inverse;
  421. @todo-color-active: @brand-secondary;
  422. @todo-border-radius: @border-radius-large;
  423. //== Thumbnails
  424. //
  425. //##
  426. //** Padding around the thumbnail image
  427. @thumbnail-padding: 4px;
  428. //** Thumbnail background color
  429. @thumbnail-bg: @body-bg;
  430. //** Thumbnail border color
  431. @thumbnail-border: @gray-light;
  432. //** Thumbnail border radius
  433. @thumbnail-border-radius: @border-radius-large;
  434. //** Custom text color for thumbnail captions
  435. @thumbnail-caption-color: @text-color;
  436. //** Padding around the thumbnail caption
  437. @thumbnail-caption-padding: 9px;
  438. //== Tiles
  439. //
  440. //##
  441. @tiles-bg: mix(@brand-primary, @inverse, 8%);
  442. @tiles-border-radius: @border-radius-large;
  443. //== Media queries breakpoints
  444. //
  445. //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
  446. // Extra small screen / phone
  447. @screen-xs-min: 480px;
  448. // Small screen / tablet
  449. @screen-sm-min: 768px;
  450. // Medium screen / desktop
  451. @screen-md-min: 992px;
  452. // Large screen / wide desktop
  453. @screen-lg-min: 1200px;
  454. // So media queries don't overlap when required, provide a maximum
  455. @screen-xs-max: (@screen-sm-min - 1);
  456. @screen-sm-max: (@screen-md-min - 1);
  457. @screen-md-max: (@screen-lg-min - 1);
  458. //== Grid system
  459. //
  460. //## Define your custom responsive grid.
  461. //** Number of columns in the grid.
  462. @grid-columns: 12;
  463. //** Padding between columns. Gets divided in half for the left and right.
  464. @grid-gutter-width: 30px;
  465. // Navbar collapse
  466. //** Point at which the navbar becomes uncollapsed.
  467. @grid-float-breakpoint: @screen-sm-min;
  468. //** Point at which the navbar begins collapsing.
  469. @grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
  470. //== Form states and alerts
  471. //
  472. //## Define colors for form feedback states and, by default, alerts.
  473. @state-success-text: @brand-success;
  474. @state-success-bg: #dff0d8;
  475. @state-success-border: darken(spin(@state-success-bg, -10), 5%);
  476. @state-info-text: @brand-info;
  477. @state-info-bg: #d9edf7;
  478. @state-info-border: darken(spin(@state-info-bg, -10), 7%);
  479. @state-warning-text: @brand-warning;
  480. @state-warning-bg: #fcf8e3;
  481. @state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
  482. @state-danger-text: @brand-danger;
  483. @state-danger-bg: #f2dede;
  484. @state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
  485. //== Tooltips
  486. //
  487. //##
  488. //** Tooltip max width
  489. @tooltip-max-width: 183px;
  490. //** Tooltip text color
  491. @tooltip-color: @inverse;
  492. //** Tooltip background color
  493. @tooltip-bg: @brand-primary;
  494. @tooltip-opacity: 1;
  495. //** Tooltip zIndex
  496. @zindex-tooltip: 1070;
  497. //** Tooltip inverse text color
  498. @tooltip-inverse-color: @brand-primary;
  499. //** Tooltip inverse background color
  500. @tooltip-inverse-bg: mix(@brand-primary, white, 9%);
  501. //** Tooltip arrow width
  502. @tooltip-arrow-width: 9px;
  503. //** Tooltip arrow color
  504. @tooltip-arrow-color: @tooltip-bg;
  505. //** Tooltip inverse arrow color
  506. @tooltip-inverse-arrow-color: @tooltip-inverse-bg;
  507. //== Code
  508. //
  509. //##
  510. @code-color: #c7254e;
  511. @code-bg: #f9f2f4;
  512. @kbd-color: @inverse;
  513. @kbd-bg: @brand-primary;
  514. @pre-bg: @inverse;
  515. @pre-color: inherit;
  516. @pre-border-color: mix(@brand-primary, @inverse, 12%);
  517. @pre-scrollable-max-height: 340px;
  518. @pre-border-radius: @border-radius-large;
  519. //== Form states and alerts
  520. //
  521. //##
  522. //** Text muted color
  523. @text-muted: @gray-light;
  524. //** Abbreviations and acronyms border color
  525. @abbr-border-color: @gray-light;
  526. //** Headings small color
  527. @headings-small-color: mix(@brand-primary, @inverse, 12%);
  528. //** Blockquote small color
  529. @blockquote-small-color: inherit;
  530. //** Blockquote border color
  531. @blockquote-border-color: mix(@brand-primary, @inverse, 12%);
  532. //** Page header border color
  533. @page-header-border-color: mix(@brand-primary, @inverse, 12%);
  534. //** Width of horizontal description list titles
  535. @dl-horizontal-offset: @component-offset-horizontal;
  536. //== Miscellaneous
  537. //
  538. //##
  539. //** Hr border color
  540. @hr-border: mix(@brand-primary, @inverse, 63%);
  541. //** Horizontal forms & lists
  542. @component-offset-horizontal: 180px;