_typography.less 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857
  1. // /**
  2. // * Copyright © Magento, Inc. All rights reserved.
  3. // * See COPYING.txt for license details.
  4. // */
  5. // # Typography
  6. //
  7. // Magento UI library provides mixins for typography styling. To configure typography, global variables from **_variables.less** file are used.
  8. //
  9. // To apply all Magento UI library typography, use the <code>.lib-typography-all()</code> mixin. It accumulates all typography mixins and sets all typography for the theme. This mixin is included in the <code>.lib-magento-reset()</code> mixin. So, if you use this reset, you don't have to call basic typography separately. Also, you don't have to apply this mixin to any class, just call it globally.
  10. //
  11. // Additionally, Magento UI library provides number of mixins to customize typography parameters separately.
  12. //
  13. // ```html
  14. // <h1>HTML Ipsum Presents&nbsp;<small>Sub text</small></h1>
  15. // <p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em> Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. <a href="#">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p>
  16. // <h2>Header Level 2</h2>
  17. // <ol>
  18. // <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
  19. // <li>Aliquam tincidunt mauris eu risus.</li>
  20. // </ol>
  21. // <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat <kbd>Keyboard input</kbd> vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus</p>
  22. // <blockquote>
  23. // <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.</p>
  24. // <a href=#"> Aenean fermentum, elit eget tincidunt condimentum</a>
  25. // </blockquote>
  26. // <h3>Header Level 3</h3>
  27. // <ul>
  28. // <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
  29. // <li>Aliquam tincidunt mauris eu risus.</li>
  30. // </ul>
  31. // <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
  32. // <pre><code> #header h1 a {
  33. // display: block;
  34. // width: 300px;
  35. // height: 80px;
  36. // } </code></pre>
  37. // <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
  38. // <h4>Header Level 4</h4>
  39. // <ul>
  40. // <li>Morbi in sem quis dui placerat ornare. Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu. Cras consequat.</li>
  41. // <li>Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus.
  42. // <ul>
  43. // <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
  44. // <li>Aliquam tincidunt mauris eu risus.</li>
  45. // <li>Vestibulum auctor dapibus neque.</li>
  46. // </ul>
  47. // </li>
  48. // <li>Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi.
  49. // <ol>
  50. // <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
  51. // <li>Aliquam tincidunt mauris eu risus.</li>
  52. // <li>Vestibulum auctor dapibus neque.</li>
  53. // </ol>
  54. // </li>
  55. // <li>Pellentesque fermentum dolor. Aliquam quam lectus, facilisis auctor, ultrices ut, elementum vulputate, nunc.</li>
  56. // </ul>
  57. // <h5>Header Level 5</h5>
  58. // <dl><dt>Definition list</dt><dd>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</dd><dt>Lorem ipsum dolor sit amet</dt><dd>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</dd></dl>
  59. // <h6>Header Level 6</h6>
  60. // ```
  61. .lib-typography-all();
  62. // # Typography variables
  63. //
  64. // <pre>
  65. // <table>
  66. // <tr>
  67. // <th class="vars_head">Mixin variable</th>
  68. // <th class="vars_head">Default value</th>
  69. // <th class="vars_head">Comment</th>
  70. // </tr>
  71. // <tr>
  72. // <th class="vars_section" colspan="3">Predefined font family and font colors</th>
  73. // </tr>
  74. // <tr>
  75. // <th>@font-family__sans-serif</th>
  76. // <td class="vars_value">'Helvetica Neue', Helvetica, Arial, sans-serif</td>
  77. // <td>Sans-serif font family</td>
  78. // </tr>
  79. // <tr>
  80. // <th>@font-family__serif</th>
  81. // <td class="vars_value">Georgia, 'Times New Roman', Times, serif</td>
  82. // <td>Serif font family</td>
  83. // </tr>
  84. // <tr>
  85. // <th nowrap="nowrap">@font-family__monospace</th>
  86. // <td class="vars_value">Menlo, Monaco, Consolas, 'Courier New', monospace</td>
  87. // <td>Monospace font family</td>
  88. // </tr>
  89. // <tr>
  90. // <th>@font-path</th>
  91. // <td class="vars_value">&quot;../../fonts/&quot;</td>
  92. // <td>Path to custom font</td>
  93. // </tr>
  94. // <tr>
  95. // <th>@primary__color</th>
  96. // <td class="vars_value">#555</td>
  97. // <td>Primary color</td>
  98. // </tr>
  99. // <tr>
  100. // <th>@primary__color__dark</th>
  101. // <td class="vars_value">darken(@primary__color, 35%) // #000</td>
  102. // <td>Dark primary color</td>
  103. // </tr>
  104. // <tr>
  105. // <th>@primary__color__darker</th>
  106. // <td class="vars_value">darken(@primary__color, 13.5%) // #111</td>
  107. // <td>Darker primary color</td>
  108. // </tr>
  109. // <tr>
  110. // <th>@primary__color__lighter</th>
  111. // <td class="vars_value">lighten(@primary__color, 23%) // #7d7d7d</td>
  112. // <td>Lighter primary color</td>
  113. // </tr>
  114. // <tr>
  115. // <th>@primary__color__light</th>
  116. // <td class="vars_value">lighten(@primary__color, 45%) // #a6a6a6</td>
  117. // <td>Light primary color</td>
  118. // </tr>
  119. // <tr>
  120. // <th>@border-color__base</th>
  121. // <td class="vars_value">darken(@page__background-color, 18%)</td>
  122. // <td>Base border color</td>
  123. // </tr>
  124. // <tr>
  125. // <th>@border-width__base</th>
  126. // <td class="vars_value">1px</td>
  127. // <td>Base border width</td>
  128. // </tr>
  129. // <tr>
  130. // <th class="vars_section" colspan="3">Fonts settings</th>
  131. // </tr>
  132. // <tr>
  133. // <th>@font-family__base</th>
  134. // <td class="vars_value">@font-family__sans-serif</td>
  135. // <td>Basic font family</td>
  136. // </tr>
  137. // <tr>
  138. // <th>@root__font-size</th>
  139. // <td class="vars_value">62.5%</td>
  140. // <td>Setting font-size for HTML tag, use % units</td>
  141. // </tr>
  142. // <tr>
  143. // <th>@font-size-ratio__base</th>
  144. // <td class="vars_value">1.4</td>
  145. // <td>Defines ratio between root font size and base font size</td>
  146. // </tr>
  147. // <tr>
  148. // <th>@font-size__base</th>
  149. // <td class="vars_value">unit((@root__font-size / 100) * 16 * @font-size-ratio__base, px)</td>
  150. // <td>Base font size value in px</td>
  151. // </tr>
  152. // <tr>
  153. // <th>@font-size__xl</th>
  154. // <td class="vars_value">ceil(1.5 * @font-size__base) // 21</td>
  155. // <td>Extra large font size</td>
  156. // </tr>
  157. // <tr>
  158. // <th>@font-size__l</th>
  159. // <td class="vars_value">ceil(1.25 * @font-size__base) // 18</td>
  160. // <td>Large font size</td>
  161. // </tr>
  162. // <tr>
  163. // <th>@font-size__s</th>
  164. // <td class="vars_value">ceil(.85 * @font-size__base) // 12</td>
  165. // <td>Small font size</td>
  166. // </tr>
  167. // <tr>
  168. // <th>@font-size__xs</th>
  169. // <td class="vars_value">floor(.75 * @font-size__base) // 11</td>
  170. // <td>Extra small font size</td>
  171. // </tr>
  172. // <tr>
  173. // <th>@font-weight__regular</th>
  174. // <td class="vars_value">400</td>
  175. // <td>Basic font weight</td>
  176. // </tr>
  177. // <tr>
  178. // <th>@font-weight__light</th>
  179. // <td class="vars_value">200</td>
  180. // <td>Light font weight</td>
  181. // </tr>
  182. // <tr>
  183. // <th>@font-weight__semibold</th>
  184. // <td class="vars_value">600</td>
  185. // <td>Semibold font weight</td>
  186. // </tr>
  187. // <tr>
  188. // <th>@font-weight__bold</th>
  189. // <td class="vars_value">700</td>
  190. // <td>Bold font weight</td>
  191. // </tr>
  192. // <tr>
  193. // <th>@font-style__base</th>
  194. // <td class="vars_value">normal</td>
  195. // <td>Font style</td>
  196. // </tr>
  197. // <tr>
  198. // <th nowrap="nowrap">@font-style__emphasis</th>
  199. // <td class="vars_value">italic</td>
  200. // <td>Emphasis font style</td>
  201. // </tr>
  202. // <tr>
  203. // <th>@line-height__base</th>
  204. // <td class="vars_value">1.428571429</td>
  205. // <td>Base line height</td>
  206. // </tr>
  207. // <tr>
  208. // <th>@line-height__computed</th>
  209. // <td class="vars_value">floor(@font-size__base * @line-height__base)</td>
  210. // <td>Computed line height depending on base font size</td>
  211. // </tr>
  212. // <tr>
  213. // <th>@line-height__l</th>
  214. // <td class="vars_value">1.5</td>
  215. // <td>Large line height</td>
  216. // </tr>
  217. // <tr>
  218. // <th>@line-height__s</th>
  219. // <td class="vars_value">1.33</td>
  220. // <td>Small line height</td>
  221. // </tr>
  222. // <tr>
  223. // <th>@text__color</th>
  224. // <td class="vars_value">@primary__color</td>
  225. // <td>Primary text color</td>
  226. // </tr>
  227. // <tr>
  228. // <th>@text__color__intense</th>
  229. // <td class="vars_value">@primary__color__darker</td>
  230. // <td>Darker text color</td>
  231. // </tr>
  232. // <tr>
  233. // <th>@text__color__muted</th>
  234. // <td class="vars_value">@primary__color__lighter</td>
  235. // <td>Lighter text color</td>
  236. // </tr>
  237. // <tr>
  238. // <th>@indent__base</th>
  239. // <td class="vars_value">@line-height__computed // 20px</td>
  240. // <td>Base text ident (20px)</td>
  241. // </tr>
  242. // <tr>
  243. // <th>@indent__xl</th>
  244. // <td class="vars_value">@line-height__computed * 2 // 40px</td>
  245. // <td>Extra large text ident (40px)</td>
  246. // </tr>
  247. // <tr>
  248. // <th>@indent__l</th>
  249. // <td class="vars_value">@line-height__computed * 1.5 // 30px</td>
  250. // <td>Large text ident (30px)</td>
  251. // </tr>
  252. // <tr>
  253. // <th>@indent__m</th>
  254. // <td class="vars_value">@indent__base * 1.25 // 25px</td>
  255. // <td>Extra large text ident (25px)</td>
  256. // </tr>
  257. // <tr>
  258. // <th>@indent__s</th>
  259. // <td class="vars_value">@line-height__computed / 2 //10px </td>
  260. // <td>Small text ident (10px)</td>
  261. // </tr>
  262. // <tr>
  263. // <th>@indent__xs</th>
  264. // <td class="vars_value">@line-height__computed / 4 // 5px</td>
  265. // <td>Extra small text ident (5px)</td>
  266. // </tr>
  267. // <tr>
  268. // <th colspan="3" class="vars_section">Links</th>
  269. // </tr>
  270. // <tr>
  271. // <th>@link__color</th>
  272. // <td class="vars_value">#1979c3</td>
  273. // <td>Links color</td>
  274. // </tr>
  275. // <tr>
  276. // <th>@link__text-decoration</th>
  277. // <td class="vars_value">none</td>
  278. // <td>Links text decoration</td>
  279. // </tr>
  280. // <tr>
  281. // <th>@link__visited__color</th>
  282. // <td class="vars_value">#800080</td>
  283. // <td>Visited links color</td>
  284. // </tr>
  285. // <tr>
  286. // <th nowrap="nowrap">@link__visited__text-decoration</th>
  287. // <td class="vars_value">none</td>
  288. // <td>Visited links text decoration</td>
  289. // </tr>
  290. // <tr>
  291. // <th>@link__hover__color</th>
  292. // <td class="vars_value">#006bb4</td>
  293. // <td>Hovered links color</td>
  294. // </tr>
  295. // <tr>
  296. // <th>@link__hover__text-decoration</th>
  297. // <td class="vars_value">underline</td>
  298. // <td>Hovered links text decoration</td>
  299. // </tr>
  300. // <tr>
  301. // <th>@link__active__color</th>
  302. // <td class="vars_value">#ff5501</td>
  303. // <td>Active links color</td>
  304. // </tr>
  305. // <tr>
  306. // <th>@link__active__text-decoration</th>
  307. // <td class="vars_value">underline</td>
  308. // <td>Active links text decoration</td>
  309. // </tr>
  310. // <tr>
  311. // <th class="vars_section" colspan="3">Lists</th>
  312. // </tr>
  313. // <tr>
  314. // <th>@list__color__base</th>
  315. // <td class="vars_value">false</td>
  316. // <td>List text color</td>
  317. // </tr>
  318. // <tr>
  319. // <th>@list__font-size__base</th>
  320. // <td class="vars_value">@font-size__base</td>
  321. // <td>List font size</td>
  322. // </tr>
  323. // <tr>
  324. // <th>@list__margin-top</th>
  325. // <td class="vars_value">0</td>
  326. // <td>List margin top</td>
  327. // </tr>
  328. // <tr>
  329. // <th>@list__margin-bottom</th>
  330. // <td class="vars_value">@indent__m</td>
  331. // <td>List margin bottom</td>
  332. // </tr>
  333. // <tr>
  334. // <th>@list-item__margin-top</th>
  335. // <td class="vars_value">0</td>
  336. // <td>List item margin top</td>
  337. // </tr>
  338. // <tr>
  339. // <th>@list-item__margin-bottom</th>
  340. // <td class="vars_value">@indent__s</td>
  341. // <td>List item margin bottom</td>
  342. // </tr>
  343. // <tr>
  344. // <th colspan="3" class="vars_section">Definition list</th>
  345. // </tr>
  346. // <tr>
  347. // <th>@dl__margin-top</th>
  348. // <td class="vars_value">0</td>
  349. // <td>Definition list margin top</td>
  350. // </tr>
  351. // <tr>
  352. // <th>@dl__margin-bottom</th>
  353. // <td class="vars_value">@indent__base</td>
  354. // <td>Definition list margin bottom</td>
  355. // </tr>
  356. // <tr>
  357. // <th>@dt__margin-top</th>
  358. // <td class="vars_value">0</td>
  359. // <td>Description term margin top</td>
  360. // </tr>
  361. // <tr>
  362. // <th>@dt__margin-bottom</th>
  363. // <td class="vars_value">@indent__xs</td>
  364. // <td>Description term margin bottom</td>
  365. // </tr>
  366. // <tr>
  367. // <th>@dt__font-weight</th>
  368. // <td class="vars_value">@font-weight__bold</td>
  369. // <td>Description term </td>
  370. // </tr>
  371. // <tr>
  372. // <th>@dd__margin-top</th>
  373. // <td class="vars_value">0</td>
  374. // <td>Description margin top</td>
  375. // </tr>
  376. // <tr>
  377. // <th>@dd__margin-bottom</th>
  378. // <td class="vars_value">@indent__s</td>
  379. // <td>Description margin bottom</td>
  380. // </tr>
  381. // <tr>
  382. // <th colspan="3" class="vars_section">Paragraphs</th>
  383. // </tr>
  384. // <tr>
  385. // <th>@p__margin-top</th>
  386. // <td class="vars_value">0</td>
  387. // <td>Paragraph margin top</td>
  388. // </tr>
  389. // <tr>
  390. // <th>@p__margin-bottom</th>
  391. // <td class="vars_value">@indent__s</td>
  392. // <td>Paragraph margin bottom</td>
  393. // </tr>
  394. // <tr>
  395. // <th colspan="3" class="vars_section">Headings</th>
  396. // </tr>
  397. // <tr>
  398. // <th>@heading__font-family__base</th>
  399. // <td class="vars_value">false</td>
  400. // <td>Heading base font family</td>
  401. // </tr>
  402. // <tr>
  403. // <th>@heading__font-style__base</th>
  404. // <td class="vars_value">false</td>
  405. // <td>Heading base font style</td>
  406. // </tr>
  407. // <tr>
  408. // <th>@heading__font-weight__base</th>
  409. // <td class="vars_value">@font-weight__light</td>
  410. // <td>Heading base font weight</td>
  411. // </tr>
  412. // <tr>
  413. // <th>@heading__line-height__base</th>
  414. // <td class="vars_value">1.1</td>
  415. // <td>Heading base line height</td>
  416. // </tr>
  417. // <tr>
  418. // <th>@heading__color__base</th>
  419. // <td class="vars_value">false</td>
  420. // <td>Heading base color</td>
  421. // </tr>
  422. // <tr>
  423. // <th>@heading__margin-top__base</th>
  424. // <td class="vars_value">@indent__base</td>
  425. // <td>Heading base margin top</td>
  426. // </tr>
  427. // <tr>
  428. // <th>@heading__margin-bottom__base</th>
  429. // <td class="vars_value">@indent__base</td>
  430. // <td>Heading base margin bottom</td>
  431. // </tr>
  432. // <tr>
  433. // <th colspan="3" class="vars_section">H1</th>
  434. // </tr>
  435. // <tr>
  436. // <th>@h1__font-size</th>
  437. // <td class="vars_value">ceil((@font-size__base * 2.85)) // 40px</td>
  438. // <td>H1 font size</td>
  439. // </tr>
  440. // <tr>
  441. // <th>@h1__font-color</th>
  442. // <td class="vars_value">@heading__color__base</td>
  443. // <td>H1 color</td>
  444. // </tr>
  445. // <tr>
  446. // <th>@h1__font-family</th>
  447. // <td class="vars_value">@heading__font-family__base</td>
  448. // <td>H1 font family</td>
  449. // </tr>
  450. // <tr>
  451. // <th>@h1__font-weight</th>
  452. // <td class="vars_value">@heading__font-weight__base</td>
  453. // <td>H1 font weight</td>
  454. // </tr>
  455. // <tr>
  456. // <th>@h1__font-style</th>
  457. // <td class="vars_value">@heading__font-style__base</td>
  458. // <td>H1 font style</td>
  459. // </tr>
  460. // <tr>
  461. // <th>@h1__line-height</th>
  462. // <td class="vars_value">@heading__line-height__base</td>
  463. // <td>H1 line height</td>
  464. // </tr>
  465. // <tr>
  466. // <th>@h1__margin-top</th>
  467. // <td class="vars_value">0</td>
  468. // <td>H1 margin top</td>
  469. // </tr>
  470. // <tr>
  471. // <th>@h1__margin-bottom</th>
  472. // <td class="vars_value">@heading__margin-bottom__base</td>
  473. // <td>H1 margin bottom</td>
  474. // </tr>
  475. // <tr>
  476. // <th colspan="3" class="vars_section">H2</th>
  477. // </tr>
  478. // <tr>
  479. // <th>@h2__font-size</th>
  480. // <td class="vars_value">ceil((@font-size__base * 1.85)) // 26px</td>
  481. // <td>H2 font size</td>
  482. // </tr>
  483. // <tr>
  484. // <th>@h2__font-color</th>
  485. // <td class="vars_value">@heading__color__base</td>
  486. // <td>H2 color</td>
  487. // </tr>
  488. // <tr>
  489. // <th>@h2__font-family</th>
  490. // <td class="vars_value">@heading__font-family__base</td>
  491. // <td>H2 font family</td>
  492. // </tr>
  493. // <tr>
  494. // <th>@h2__font-weight</th>
  495. // <td class="vars_value">@heading__font-weight__base</td>
  496. // <td>H2 font weight</td>
  497. // </tr>
  498. // <tr>
  499. // <th>@h2__font-style</th>
  500. // <td class="vars_value">@heading__font-style__base</td>
  501. // <td>H2 font style</td>
  502. // </tr>
  503. // <tr>
  504. // <th>@h2__line-height</th>
  505. // <td class="vars_value">@heading__line-height__base</td>
  506. // <td>H2 line height</td>
  507. // </tr>
  508. // <tr>
  509. // <th>@h2__margin-top</th>
  510. // <td class="vars_value">@indent__m</td>
  511. // <td>H2 margin top</td>
  512. // </tr>
  513. // <tr>
  514. // <th>@h2__margin-bottom</th>
  515. // <td class="vars_value">@heading__margin-bottom__base</td>
  516. // <td>H2 margin bottom</td>
  517. // </tr>
  518. // <tr>
  519. // <th colspan="3" class="vars_section">H3</th>
  520. // </tr>
  521. // <tr>
  522. // <th>@h3__font-size</th>
  523. // <td class="vars_value">ceil((@font-size__base * 1.28)) // 18px</td>
  524. // <td>H3 font size</td>
  525. // </tr>
  526. // <tr>
  527. // <th>@h3__font-color</th>
  528. // <td class="vars_value">@heading__color__base</td>
  529. // <td>H3 color</td>
  530. // </tr>
  531. // <tr>
  532. // <th>@h3__font-family</th>
  533. // <td class="vars_value">@heading__font-family__base</td>
  534. // <td>H3 font family</td>
  535. // </tr>
  536. // <tr>
  537. // <th>@h3__font-weight</th>
  538. // <td class="vars_value">@heading__font-weight__base</td>
  539. // <td>H3 font weight</td>
  540. // </tr>
  541. // <tr>
  542. // <th>@h3__font-style</th>
  543. // <td class="vars_value">@heading__font-style__base</td>
  544. // <td>H3 font style</td>
  545. // </tr>
  546. // <tr>
  547. // <th>@h3__line-height</th>
  548. // <td class="vars_value">@heading__line-height__base</td>
  549. // <td>H3 line height</td>
  550. // </tr>
  551. // <tr>
  552. // <th>@h3__margin-top</th>
  553. // <td class="vars_value">@indent__base * .75</td>
  554. // <td>H3 margin top</td>
  555. // </tr>
  556. // <tr>
  557. // <th>@h3__margin-bottom</th>
  558. // <td class="vars_value">@indent__s</td>
  559. // <td>H3 margin bottom</td>
  560. // </tr>
  561. // <tr>
  562. // <th colspan="3" class="vars_section">H4</th>
  563. // </tr>
  564. // <tr>
  565. // <th>@h4__font-size</th>
  566. // <td class="vars_value">@font-size__base // 14px</td>
  567. // <td>H4 font size</td>
  568. // </tr>
  569. // <tr>
  570. // <th>@h4__font-color</th>
  571. // <td class="vars_value">@heading__color__base</td>
  572. // <td>H4 color</td>
  573. // </tr>
  574. // <tr>
  575. // <th>@h4__font-family</th>
  576. // <td class="vars_value">@heading__font-family__base</td>
  577. // <td>H4 font family</td>
  578. // </tr>
  579. // <tr>
  580. // <th>@h4__font-weight</th>
  581. // <td class="vars_value">@font-weight__bold</td>
  582. // <td>H4 font weight</td>
  583. // </tr>
  584. // <tr>
  585. // <th>@h4__font-style</th>
  586. // <td class="vars_value">@heading__font-style__base</td>
  587. // <td>H4 font style</td>
  588. // </tr>
  589. // <tr>
  590. // <th>@h4__line-height</th>
  591. // <td class="vars_value">@heading__line-height__base</td>
  592. // <td>H4 line height</td>
  593. // </tr>
  594. // <tr>
  595. // <th>@h4__margin-top</th>
  596. // <td class="vars_value">@heading__margin-top__base</td>
  597. // <td>H4 margin top</td>
  598. // </tr>
  599. // <tr>
  600. // <th>@h4__margin-bottom</th>
  601. // <td class="vars_value">@heading__margin-bottom__base</td>
  602. // <td>H4 margin bottom</td>
  603. // </tr>
  604. // <tr>
  605. // <th colspan="3" class="vars_section">H5</th>
  606. // </tr>
  607. // <tr>
  608. // <th>@h5__font-size</th>
  609. // <td class="vars_value">ceil((@font-size__base * .85)) // 12px</td>
  610. // <td>H5 font size</td>
  611. // </tr>
  612. // <tr>
  613. // <th>@h5__font-color</th>
  614. // <td class="vars_value">@heading__color__base</td>
  615. // <td>H5 color</td>
  616. // </tr>
  617. // <tr>
  618. // <th>@h5__font-family</th>
  619. // <td class="vars_value">@heading__font-family__base</td>
  620. // <td>H5 font family</td>
  621. // </tr>
  622. // <tr>
  623. // <th>@h5__font-weight</th>
  624. // <td class="vars_value">@font-weight__bold</td>
  625. // <td>H5 font weight</td>
  626. // </tr>
  627. // <tr>
  628. // <th>@h5__font-style</th>
  629. // <td class="vars_value">@heading__font-style__base</td>
  630. // <td>H5 font style</td>
  631. // </tr>
  632. // <tr>
  633. // <th>@h5__line-height</th>
  634. // <td class="vars_value">@heading__line-height__base</td>
  635. // <td>H5 line height</td>
  636. // </tr>
  637. // <tr>
  638. // <th>@h5__margin-top</th>
  639. // <td class="vars_value">@heading__margin-top__base</td>
  640. // <td>H5 margin top</td>
  641. // </tr>
  642. // <tr>
  643. // <th>@h5__margin-bottom</th>
  644. // <td class="vars_value">@heading__margin-bottom__base</td>
  645. // <td>H5 margin bottom</td>
  646. // </tr>
  647. // <tr>
  648. // <th colspan="3" class="vars_section">H6</th>
  649. // </tr>
  650. // <tr>
  651. // <th>@h6__font-size</th>
  652. // <td class="vars_value">ceil((@font-size__base * .7)) // 10px</td>
  653. // <td>H6 font size</td>
  654. // </tr>
  655. // <tr>
  656. // <th>@h6__font-color</th>
  657. // <td class="vars_value">@heading__color__base</td>
  658. // <td>H6 color</td>
  659. // </tr>
  660. // <tr>
  661. // <th>@h6__font-family</th>
  662. // <td class="vars_value">@heading__font-family__base</td>
  663. // <td>H6 font family</td>
  664. // </tr>
  665. // <tr>
  666. // <th>@h6__font-weight</th>
  667. // <td class="vars_value">@heading__font-weight__base</td>
  668. // <td>H6 font weight</td>
  669. // </tr>
  670. // <tr>
  671. // <th>@h6__font-style</th>
  672. // <td class="vars_value">@heading__font-style__base</td>
  673. // <td>H6 font style</td>
  674. // </tr>
  675. // <tr>
  676. // <th>@h6__line-height</th>
  677. // <td class="vars_value">@heading__line-height__base</td>
  678. // <td>H6 line height</td>
  679. // </tr>
  680. // <tr>
  681. // <th>@h6__margin-top</th>
  682. // <td class="vars_value">@heading__margin-top__base</td>
  683. // <td>H6 margin top</td>
  684. // </tr>
  685. // <tr>
  686. // <th>@h6__margin-bottom</th>
  687. // <td class="vars_value">@heading__margin-bottom__base</td>
  688. // <td>H6 margin bottom</td>
  689. // </tr>
  690. // <tr>
  691. // <th colspan="3" class="vars_section">&lt;small&gt; tags and tags with class .small placed in H1-H6 headings</th>
  692. // </tr>
  693. // <tr>
  694. // <th>@heading__small-color</th>
  695. // <td class="vars_value">@primary__color</td>
  696. // <td>&lt;small&gt; and .small heading element color</td>
  697. // </tr>
  698. // <tr>
  699. // <th>@heading__small-line-height</th>
  700. // <td class="vars_value">1</td>
  701. // <td>&lt;small&gt; and .small heading element line height</td>
  702. // </tr>
  703. // <tr>
  704. // <th>@heading__small-size</th>
  705. // <td class="vars_value">(@font-size__xs/@font-size__base) * 100%</td>
  706. // <td>&lt;small&gt; and .small heading element font size</td>
  707. // </tr>
  708. // <tr>
  709. // <th colspan="3" class="vars_section">Focus</th>
  710. // </tr>
  711. // <tr>
  712. // <th>@focus__box-shadow</th>
  713. // <td class="vars_value">0 0 3px 1px @focus__color</td>
  714. // <td>Focused element highlight</td>
  715. // </tr>
  716. // <tr>
  717. // <th colspan="3" class="vars_section">Code blocks</th>
  718. // </tr>
  719. // <tr>
  720. // <th>@code__background-color</th>
  721. // <td class="vars_value">@panel__background-color</td>
  722. // <td>Code block background</td>
  723. // </tr>
  724. // <tr>
  725. // <th>@code__color</th>
  726. // <td class="vars_value">@primary__color__darker</td>
  727. // <td>Code text color</td>
  728. // </tr>
  729. // <tr>
  730. // <th>@code__font-size</th>
  731. // <td class="vars_value">@font-size__s</td>
  732. // <td>Code font size</td>
  733. // </tr>
  734. // <tr>
  735. // <th>@code__padding</th>
  736. // <td class="vars_value">2px 4px</td>
  737. // <td>Code padding</td>
  738. // </tr>
  739. // <tr>
  740. // <th>@pre__background-color</th>
  741. // <td class="vars_value">@primary__color__light</td>
  742. // <td>Preformatted text background color</td>
  743. // </tr>
  744. // <tr>
  745. // <th>@pre__border-color</th>
  746. // <td class="vars_value">@border-color__base</td>
  747. // <td>Preformatted text border color</td>
  748. // </tr>
  749. // <tr>
  750. // <th>@pre__border-width</th>
  751. // <td class="vars_value">@border-width__base</td>
  752. // <td>Preformatted text border width</td>
  753. // </tr>
  754. // <tr>
  755. // <th>@pre__color</th>
  756. // <td class="vars_value">@primary__color__darker</td>
  757. // <td>Preformatted text color</td>
  758. // </tr>
  759. // <tr>
  760. // <th>@kbd__background-color</th>
  761. // <td class="vars_value">@panel__background-color</td>
  762. // <td>Keyboard input background</td>
  763. // </tr>
  764. // <tr>
  765. // <th>@kbd__color</th>
  766. // <td class="vars_value">@primary__color__darker</td>
  767. // <td>Keyboard input text color</td>
  768. // </tr>
  769. // <tr>
  770. // <th colspan="3" class="vars_section">Blockquote</th>
  771. // </tr>
  772. // <tr>
  773. // <th>@blockquote__border-color</th>
  774. // <td class="vars_value">@border-color__base</td>
  775. // <td>Blockquote border color</td>
  776. // </tr>
  777. // <tr>
  778. // <th>@blockquote__border-width</th>
  779. // <td class="vars_value">0</td>
  780. // <td>Blockquote border width</td>
  781. // </tr>
  782. // <tr>
  783. // <th>@blockquote__content-before</th>
  784. // <td class="vars_value">'\2014 \00A0'</td>
  785. // <td>&quot;-&quot; and space symbols</td>
  786. // </tr>
  787. // <tr>
  788. // <th>@blockquote__font-size</th>
  789. // <td class="vars_value">@font-size__base</td>
  790. // <td>Blockquote font size</td>
  791. // </tr>
  792. // <tr>
  793. // <th>@blockquote__font-style</th>
  794. // <td class="vars_value">@font-style__emphasis</td>
  795. // <td>Blockquote font style</td>
  796. // </tr>
  797. // <tr>
  798. // <th>@blockquote__margin</th>
  799. // <td class="vars_value"> 0 0 @indent__base @indent__xl</td>
  800. // <td>Blockquote margin</td>
  801. // </tr>
  802. // <tr>
  803. // <th>@blockquote__padding</th>
  804. // <td class="vars_value">0</td>
  805. // <td>Blockquote padding</td>
  806. // </tr>
  807. // <tr>
  808. // <th>@blockquote-small__color</th>
  809. // <td class="vars_value">@primary__color</td>
  810. // <td>Blockquote &lt;small&gt; and .small text color</td>
  811. // </tr>
  812. // <tr>
  813. // <th>@blockquote-small__font-size</th>
  814. // <td class="vars_value">@font-size__xs</td>
  815. // <td>Blockquote &lt;small&gt; and .small font size</td>
  816. // </tr>
  817. // <tr>
  818. // <th colspan="3" class="vars_section">Cite</th>
  819. // </tr>
  820. // <tr>
  821. // <th>@cite__font-style</th>
  822. // <td class="vars_value">@font-style__base</td>
  823. // <td>Cite font style</td>
  824. // </tr>
  825. // <tr>
  826. // <th colspan="3" class="vars_section">Other elements</th>
  827. // </tr>
  828. // <tr>
  829. // <th>@hr__border-color</th>
  830. // <td class="vars_value">@border-color__base</td>
  831. // <td>HR border color</td>
  832. // </tr>
  833. // <tr>
  834. // <th>@hr__border-style</th>
  835. // <td class="vars_value">solid</td>
  836. // <td>HR border style</td>
  837. // </tr>
  838. // <tr>
  839. // <th>@hr__border-width</th>
  840. // <td class="vars_value">@border-width__base</td>
  841. // <td>HR border width</td>
  842. // </tr>
  843. // <tr>
  844. // <th>@mark__color</th>
  845. // <td class="vars_value">@primary__color__dark</td>
  846. // <td>&lt;mark&gt; color</td>
  847. // </tr>
  848. // <tr>
  849. // <th>@mark__background-color</th>
  850. // <td class="vars_value">@panel__background-color</td>
  851. // <td>&lt;mark&gt; background</td>
  852. // </tr>
  853. // <tr>
  854. // <th>@abbr__border-color</th>
  855. // <td class="vars_value">@border-color__base</td>
  856. // <td>&lt;abbr&gt; border color</td>
  857. // </tr>
  858. // <tr>
  859. // <th>@disable-filters</th>
  860. // <td class="vars_value">false</td>
  861. // <td>Disable filters output in css</td>
  862. // </tr>
  863. // </table>
  864. // </pre>
  865. // # Font-size mixin
  866. //
  867. // The <code>.lib-font-size()</code> mixin calculates font-size in **rem** with fallback in **px**
  868. //
  869. // **Less code:**
  870. // ```css
  871. // .example-typography-1 {
  872. // .lib-font-size(25);
  873. // }
  874. // ```
  875. // **CSS result:**
  876. // ```css
  877. // .example-typography-1 {
  878. // font-size: 25px;
  879. // font-size: 2.5rem;
  880. // }
  881. // ```
  882. //
  883. // ```html
  884. // <p class="example">HTML Ipsum Presents</p>
  885. // ```
  886. .example {
  887. .lib-font-size(25);
  888. }
  889. // # Line-height mixin
  890. //
  891. // The <code>.lib-line-height()</code> mixin calculates line-height in **rem** with fallback in **px**
  892. //
  893. // **Less code:**
  894. // ```css
  895. // .example-line-height {
  896. // .lib-line-height(30);
  897. // }
  898. // ```
  899. // **CSS result:**
  900. // ```css
  901. // .example-line-height {
  902. // line-height: 30px;
  903. // line-height: 3rem;
  904. // }
  905. // ```
  906. //
  907. // ```html
  908. // <p class="example-line-height">HTML Ipsum Presents</p>
  909. // ```
  910. .example-line-height {
  911. .lib-line-height(30);
  912. }
  913. // # Word breaking mixin
  914. //
  915. // The <code>.lib-wrap-words()</code> mixin specifies word breaking rules. Background and block width are added to display this example.
  916. //
  917. // ```html
  918. // <p class="example-word-wrap">
  919. // Supercalifragilisticexpialidocious This paragraph contains a very long word: thisisaveryveryveryveryveryverylongword. The long word will break and wrap to the next line.
  920. // </p>
  921. // ```
  922. .example-word-wrap {
  923. .lib-wrap-words();
  924. background: #ccc;
  925. width: 120px;
  926. }
  927. // # Font face mixin
  928. //
  929. // The <code>.lib-font-face()</code> mixin is used to set up custom font.
  930. //
  931. // ```css
  932. // .lib-font-face(
  933. // @family-name,
  934. // @font-path,
  935. // @font-weight: normal,
  936. // @font-style: normal
  937. // ) {
  938. // @font-face {
  939. // font-family: @family-name;
  940. // src: url('@{font-path}.woff2') format('woff2'),
  941. // url('@{font-path}.woff') format('woff');
  942. // font-weight: @font-weight;
  943. // font-style: @font-style;
  944. // }
  945. // }
  946. // ```
  947. // &nbsp;
  948. // # Text overflow mixin
  949. //
  950. // The <code>.lib-text-overflow()</code> mixin is used to add ellipsis ("...") when a text overflows the containing element. Background and block width are added to display this example.
  951. //
  952. // ```html
  953. // <p class="example-text-overflow">
  954. // Supercalifragilisticexpialidocious
  955. // </p>
  956. // ```
  957. .example-text-overflow {
  958. .lib-text-overflow();
  959. background: #ccc;
  960. width: 120px;
  961. }
  962. // # Text hide
  963. //
  964. // The <code>.lib-text-hide()</code> mixin hides a text of the element the mixin is applied to.
  965. //
  966. // ```html
  967. // <p class="example-text-hide">
  968. // Text to hide
  969. // </p>
  970. // ```
  971. .example-text-hide {
  972. .lib-text-hide();
  973. }
  974. // # Hyphens
  975. //
  976. // The <code>.lib-hyphens()</code> mixin sets hyphens CSS property with browser prefixes. It accepts the <code>@mode</code> variable with following accessible values:
  977. //
  978. // ```css
  979. // none
  980. // manual
  981. // auto
  982. // ```
  983. //
  984. // Here are two examples with different setup:
  985. //
  986. // ```html
  987. // <p class="example-hyphens" style="width:50px;" lang="en">
  988. // An extremely long English word
  989. // </p>
  990. // <p class="example-hyphens-none" style="width:50px;" lang="en">
  991. // An extremely long English word
  992. // </p>
  993. // ```
  994. .example-hyphens {
  995. .lib-hyphens();
  996. }
  997. .example-hyphens-none {
  998. .lib-hyphens(none);
  999. }
  1000. // # Font style and color
  1001. //
  1002. // The <code>.lib-typography()</code> mixin is used to set font style and font color of the element.
  1003. //
  1004. // ```html
  1005. // <span class="example-typography">
  1006. // An example of using .lib-typography() mixin
  1007. // </span>
  1008. // ```
  1009. .example-typography {
  1010. .lib-typography(30, #fc0, @font-family__monospace, 500, 1.2, italic);
  1011. }
  1012. // # Font style mixin variables
  1013. // <pre>
  1014. // <table>
  1015. // <tr>
  1016. // <th class="vars_head">Mixin variable</th>
  1017. // <th class="vars_head">Default value</th>
  1018. // <th class="vars_head">Allowed values</th>
  1019. // <th class="vars_head">Comment</th>
  1020. // </tr>
  1021. // <tr>
  1022. // <th>@_color</th>
  1023. // <td class="vars_value">@text__color</td>
  1024. // <td class="vars_value">'' | false | value</td>
  1025. // <td>Text color</td>
  1026. // </tr>
  1027. // <tr>
  1028. // <th>@_font-size</th>
  1029. // <td class="vars_value">@font-size__base</td>
  1030. // <td class="vars_value">'' | false | value</td>
  1031. // <td>Font size</td>
  1032. // </tr>
  1033. // <tr>
  1034. // <th>@_font-family</th>
  1035. // <td class="vars_value">@font-family__base</td>
  1036. // <td class="vars_value">'' | false | value</td>
  1037. // <td>Font family</td>
  1038. // </tr>
  1039. // <tr>
  1040. // <th>@_font-weight</th>
  1041. // <td class="vars_value">@font-weight__regular</td>
  1042. // <td class="vars_value">'' | false | value</td>
  1043. // <td>Font weight</td>
  1044. // </tr>
  1045. // <tr>
  1046. // <th>@_font-style</th>
  1047. // <td class="vars_value">@font-style__base</td>
  1048. // <td class="vars_value">'' | false | value</td>
  1049. // <td>Font style</td>
  1050. // </tr>
  1051. // <tr>
  1052. // <th>@_line-height</th>
  1053. // <td class="vars_value">@line-height__base</td>
  1054. // <td class="vars_value">'' | false | value</td>
  1055. // <td>Line height</td>
  1056. // </tr>
  1057. // </table>
  1058. // </pre>
  1059. // # Reset list styles
  1060. //
  1061. // The <code>.lib-list-reset-styles()</code> mixin resets browser default list style and sets its margins and paddings.
  1062. //
  1063. // **Default list style:**
  1064. // ```html
  1065. // <ul class="example-list">
  1066. // <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
  1067. // <li>Aliquam tincidunt mauris eu risus.</li>
  1068. // <li>Vestibulum auctor dapibus neque.</li>
  1069. // </ul>
  1070. // ```
  1071. // **List with <code>.lib-list-reset-styles()</code> mixin applied:**
  1072. // ```html
  1073. // <ul class="example-list-reset-styles">
  1074. // <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
  1075. // <li>Aliquam tincidunt mauris eu risus.</li>
  1076. // <li>Vestibulum auctor dapibus neque.</li>
  1077. // </ul>
  1078. // ```
  1079. .example-list-reset-styles {
  1080. .lib-list-reset-styles();
  1081. }
  1082. // # Reset list styles variables
  1083. // <pre>
  1084. // <table>
  1085. // <tr>
  1086. // <th class="vars_head">Mixin variable</th>
  1087. // <th class="vars_head">Default value</th>
  1088. // <th class="vars_head">Allowed values</th>
  1089. // <th class="vars_head">Comment</th>
  1090. // </tr>
  1091. // <tr>
  1092. // <th>@_margin</th>
  1093. // <td class="vars_value">0</td>
  1094. // <td class="vars_value">'' | false | value</td>
  1095. // <td>List margin</td>
  1096. // </tr>
  1097. // <tr>
  1098. // <th>@_padding</th>
  1099. // <td class="vars_value">0</td>
  1100. // <td class="vars_value">'' | false | value</td>
  1101. // <td>List padding</td>
  1102. // </tr>
  1103. // </table>
  1104. // </pre>
  1105. // # Inline-block list item styling
  1106. //
  1107. // The <code>.lib-list-inline()</code> mixin resets browser default list style and sets its list items display property to <code>display: inline-block</code>.
  1108. //
  1109. // **Default list style:**
  1110. // ```html
  1111. // <ul class="example-list">
  1112. // <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
  1113. // <li>Aliquam tincidunt mauris eu risus.</li>
  1114. // <li>Vestibulum auctor dapibus neque.</li>
  1115. // </ul>
  1116. // ```
  1117. // **List with <code>.lib-list-inline()</code> mixin applied:**
  1118. // ```html
  1119. // <ul class="example-list-inline">
  1120. // <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
  1121. // <li>Aliquam tincidunt mauris eu risus.</li>
  1122. // <li>Vestibulum auctor dapibus neque.</li>
  1123. // </ul>
  1124. // ```
  1125. .example-list-inline {
  1126. .lib-list-inline();
  1127. }
  1128. // # Link styling mixin
  1129. //
  1130. // The <code>.lib-link()</code> mixin is used to set styles for all links states.
  1131. //
  1132. // ```html
  1133. // <a href="#" class="example-link-default">Link with global variables customization</a>
  1134. // ```
  1135. // ```html
  1136. // <a href="#" class="example-link">Link with custom styles</a>
  1137. // ```
  1138. .example-link-default {
  1139. .lib-link();
  1140. }
  1141. .example-link {
  1142. .lib-link(@_link-color: green, @_link-color-hover: orange, @_link-text-decoration-hover: none );
  1143. }
  1144. // # Link styling mixin variables
  1145. // <pre>
  1146. // <table>
  1147. // <tr>
  1148. // <th class="vars_head">Mixin variable</th>
  1149. // <th class="vars_head">Default value</th>
  1150. // <th class="vars_head">Allowed values</th>
  1151. // <th class="vars_head">Comment</th>
  1152. // </tr>
  1153. // <tr>
  1154. // <th>@_link-color</th>
  1155. // <td class="vars_value">#1979c3</td>
  1156. // <td class="vars_value">'' | false | value</td>
  1157. // <td>Default link color</td>
  1158. // </tr>
  1159. // <tr>
  1160. // <th>@_link-text-decoration</th>
  1161. // <td class="vars_value">underline</td>
  1162. // <td class="vars_value">'' | false | value</td>
  1163. // <td>Default link text decoration</td>
  1164. // </tr>
  1165. // <tr>
  1166. // <th>@_link-color-visited</th>
  1167. // <td class="vars_value">#800080</td>
  1168. // <td class="vars_value">'' | false | value</td>
  1169. // <td>Visited link color</td>
  1170. // </tr>
  1171. // <tr>
  1172. // <th nowrap="nowrap">@_link-text-decoration-visited</th>
  1173. // <td class="vars_value">underline</td>
  1174. // <td class="vars_value">'' | false | value</td>
  1175. // <td>Visited link text decoration</td>
  1176. // </tr>
  1177. // <tr>
  1178. // <th>@_link-color-hover</th>
  1179. // <td class="vars_value">#006bb4</td>
  1180. // <td class="vars_value">'' | false | value</td>
  1181. // <td>Hovered link color</td>
  1182. // </tr>
  1183. // <tr>
  1184. // <th>@_link-text-decoration-hover</th>
  1185. // <td class="vars_value">underline</td>
  1186. // <td class="vars_value">'' | false | value</td>
  1187. // <td>Hovered link text decoration</td>
  1188. // </tr>
  1189. // <tr>
  1190. // <th>@_link-color-active</th>
  1191. // <td class="vars_value">#ff5501</td>
  1192. // <td class="vars_value">'' | false | value</td>
  1193. // <td>Active link color</td>
  1194. // </tr>
  1195. // <tr>
  1196. // <th>@_link-text-decoration-active</th>
  1197. // <td class="vars_value">underline</td>
  1198. // <td class="vars_value">'' | false | value</td>
  1199. // <td>Active link text decoration</td>
  1200. // </tr>
  1201. // </table>
  1202. // </pre>
  1203. // # Heading styling mixin
  1204. //
  1205. // The <code>.lib-heading()</code> mixin is used to set heading styles to an element. To use this mixin, set the type of heading that you want to inherit styles from. The mixin uses global heading variables.
  1206. //
  1207. // ```html
  1208. // <h1 class="example-heading">Example heading</h1>
  1209. // <h2 class="example-heading-2">Example heading</h2>
  1210. // ```
  1211. .example-heading {
  1212. .lib-heading(h1);
  1213. }
  1214. .example-heading-2 {
  1215. .lib-heading(h2);
  1216. }
  1217. // # Base typography mixins
  1218. //
  1219. // Magento UI library offers mixins to styles elements sets.
  1220. //
  1221. // The <code>.lib-typography__base()</code> mixin applyes basic styles from <code>_variables.less</code> to the following elements:
  1222. //
  1223. // ```css
  1224. // html
  1225. // body
  1226. // p
  1227. // abbr
  1228. // b
  1229. // strong
  1230. // em
  1231. // i
  1232. // mark
  1233. // small
  1234. // .small
  1235. // hr
  1236. // sub,
  1237. // sup
  1238. // dfn
  1239. // ```
  1240. //
  1241. // ```html
  1242. // <p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac <small>turpis</small> egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, <em>tempor</em> sit amet, ante. Donec <sub>eu</sub> libero sit amet quam egestas semper. <code>Aenean ultricies</code> mi vitae <sup>est</sup>. Mauris placerat eleifend leo. <abbr>Quisque</abbr> sit amet est et sapien <mark>ullamcorper</mark> pharetra.</p>
  1243. // <hr>
  1244. // <p><dfn>Pellentesque</dfn> habitant <i>morbi</i> tristique <b>senectus</b> et netus et malesuada fames ac turpis egestas.</p>
  1245. // ```
  1246. .lib-typography__base();
  1247. // # Base typography mixin variables
  1248. // <pre>
  1249. // <table>
  1250. // <tr>
  1251. // <th class="vars_head">Mixin variable</th>
  1252. // <th class="vars_head">Global variable</th>
  1253. // <th class="vars_head">Default value</th>
  1254. // <th class="vars_head">Allowed values</th>
  1255. // <th class="vars_head">Comment</th>
  1256. // </tr>
  1257. // <tr>
  1258. // <th>@_abbr-border-color</th>
  1259. // <td class="vars_value">@abbr__border-color</td>
  1260. // <td class="vars_value">@border-color__base</td>
  1261. // <td class="vars_value">'' | false | value</td>
  1262. // <td>&lt;abbr&gt; border color</td>
  1263. // </tr>
  1264. // <tr>
  1265. // <th>@_dfn-font-style</th>
  1266. // <td class="vars_value">@font-style__emphasis</td>
  1267. // <td class="vars_value">italic</td>
  1268. // <td class="vars_value">'' | false | value</td>
  1269. // <td>&lt;dfn&gt; font style</td>
  1270. // </tr>
  1271. // <tr>
  1272. // <th nowrap="nowrap">@_emphasis-font-style</th>
  1273. // <td class="vars_value">@font-style__emphasis</td>
  1274. // <td class="vars_value">italic</td>
  1275. // <td class="vars_value">'' | false | value</td>
  1276. // <td>&lt;em&gt; font style</td>
  1277. // </tr>
  1278. // <tr>
  1279. // <th>@_hr-border-color</th>
  1280. // <td class="vars_value">@hr__border-color</td>
  1281. // <td class="vars_value">@border-color__base</td>
  1282. // <td class="vars_value">'' | false | value</td>
  1283. // <td>HR border color</td>
  1284. // </tr>
  1285. // <tr>
  1286. // <th>@_hr-border-style</th>
  1287. // <td class="vars_value">@hr__border-style</td>
  1288. // <td class="vars_value">solid</td>
  1289. // <td class="vars_value">'' | false | value</td>
  1290. // <td>HR border style</td>
  1291. // </tr>
  1292. // <tr>
  1293. // <th>@_hr-border-width</th>
  1294. // <td class="vars_value">@hr__border-width</td>
  1295. // <td class="vars_value">@border-width__base</td>
  1296. // <td class="vars_value">'' | false | value</td>
  1297. // <td>HR border width</td>
  1298. // </tr>
  1299. // <tr>
  1300. // <th>@_hr-margin-bottom</th>
  1301. // <td class="vars_value">@line-height__computed</td>
  1302. // <td class="vars_value">floor(@font-size__base * @line-height__base)</td>
  1303. // <td class="vars_value">'' | false | value</td>
  1304. // <td>HR margin bottom</td>
  1305. // </tr>
  1306. // <tr>
  1307. // <th>@_hr-margin-top</th>
  1308. // <td class="vars_value">@line-height__computed</td>
  1309. // <td class="vars_value">floor(@font-size__base * @line-height__base)</td>
  1310. // <td class="vars_value">'' | false | value</td>
  1311. // <td>HR margin top</td>
  1312. // </tr>
  1313. // <tr>
  1314. // <th>@_mark-background-color</th>
  1315. // <td class="vars_value">@mark__background-color</td>
  1316. // <td class="vars_value">@panel__background-color</td>
  1317. // <td class="vars_value">'' | false | value</td>
  1318. // <td>&lt;mark&gt; background color</td>
  1319. // </tr>
  1320. // <tr>
  1321. // <th>@_mark-color</th>
  1322. // <td class="vars_value">@mark__color</td>
  1323. // <td class="vars_value">@primary__color__dark</td>
  1324. // <td class="vars_value">'' | false | value</td>
  1325. // <td>&lt;mark&gt; color</td>
  1326. // </tr>
  1327. // <tr>
  1328. // <th>@_p-margin-bottom</th>
  1329. // <td class="vars_value">@p__margin-bottom</td>
  1330. // <td class="vars_value">@indent__s</td>
  1331. // <td class="vars_value">'' | false | value</td>
  1332. // <td>Paragraph margin bottom</td>
  1333. // </tr>
  1334. // <tr>
  1335. // <th>@_p-margin-top</th>
  1336. // <td class="vars_value">@p__margin-top</td>
  1337. // <td class="vars_value">0</td>
  1338. // <td class="vars_value">'' | false | value</td>
  1339. // <td>Paragraph margin top</td>
  1340. // </tr>
  1341. // <tr>
  1342. // <th>@_root-font-size</th>
  1343. // <td class="vars_value">@root__font-size</td>
  1344. // <td class="vars_value">62.5%</td>
  1345. // <td class="vars_value">'' | false | value</td>
  1346. // <td>Setting font-size for HTML tag</td>
  1347. // </tr>
  1348. // <tr>
  1349. // <th>@_small-font-size</th>
  1350. // <td class="vars_value">@font-size__s</td>
  1351. // <td class="vars_value">ceil(.85 * @font-size__base) // 12</td>
  1352. // <td class="vars_value">'' | false | value</td>
  1353. // <td>&lt;small&gt; tag font size</td>
  1354. // </tr>
  1355. // <tr>
  1356. // <th>@_strong-font-weight</th>
  1357. // <td class="vars_value">@font-weight__bold</td>
  1358. // <td class="vars_value">700</td>
  1359. // <td class="vars_value">'' | false | value</td>
  1360. // <td>&lt;strong&gt; tag font weight</td>
  1361. // </tr>
  1362. // <tr>
  1363. // <th>@_sub-sup-font-size</th>
  1364. // <td class="vars_value">-</td>
  1365. // <td class="vars_value">(@font-size__xs / @font-size__base) * 100%</td>
  1366. // <td class="vars_value">'' | false | value</td>
  1367. // <td>&lt;sup&gt; an &lt;sup&gt; tags font size</td>
  1368. // </tr>
  1369. // </table>
  1370. // </pre>
  1371. // # Headings typography mixin
  1372. //
  1373. // The <code>.lib-typography-headings()</code> mixin is used to style all H1-H6 headings. This mixin uses settings from global variables list.
  1374. //
  1375. // ```html
  1376. // <h1>Header Level 1</h1>
  1377. // <h2>Header Level 2</h2>
  1378. // <h3>Header Level 3</h3>
  1379. // <h4>Header Level 4</h4>
  1380. // <h5>Header Level 5</h5>
  1381. // <h6>Header Level 2</h6>
  1382. // ```
  1383. .lib-typography-headings();
  1384. // # Headings typography mixin variables
  1385. // <pre>
  1386. // <table>
  1387. // <tr>
  1388. // <th class="vars_head">Mixin variable</th>
  1389. // <th class="vars_head">Global variable</th>
  1390. // <th class="vars_head">Default value</th>
  1391. // <th class="vars_head">Allowed values</th>
  1392. // <th class="vars_head">Comment</th>
  1393. // </tr>
  1394. // <tr>
  1395. // <th>@_heading-small-size</th>
  1396. // <td class="vars_value">@heading__small-size</td>
  1397. // <td class="vars_value">(@font-size__xs/@font-size__base) * 100%</td>
  1398. // <td class="vars_value">'' | false | value</td>
  1399. // <td>&lt;small&gt; and .small heading element font-size</td>
  1400. // </tr>
  1401. // <tr>
  1402. // <th>@_heading-small-color</th>
  1403. // <td class="vars_value">@heading__small-color</td>
  1404. // <td class="vars_value">@primary__color</td>
  1405. // <td class="vars_value">'' | false | value</td>
  1406. // <td>&lt;small&gt; and .small heading element color</td>
  1407. // </tr>
  1408. // <tr>
  1409. // <th nowrap="nowrap">@_heading-small-line-height</th>
  1410. // <td class="vars_value">@heading__small-line-height</td>
  1411. // <td class="vars_value">1</td>
  1412. // <td class="vars_value">'' | false | value</td>
  1413. // <td>&lt;small&gt; and .small heading element line height</td>
  1414. // </tr>
  1415. // </table>
  1416. // </pre>
  1417. // # Typography links mixin
  1418. //
  1419. // The <code>.lib-typography-links()</code> mixin is used to apply default styles to all <code>&lt;a&gt;</code> elements and elements with <code>class="alink"</code>. This mixin uses settings from global variables list.
  1420. //
  1421. // ```html
  1422. // <a href="#">Link with global variables customization</a>
  1423. // ```
  1424. // ```html
  1425. // <span class="alink">Span styled as a link</span>
  1426. // ```
  1427. .lib-typography-links();
  1428. // # Typography lists mixin
  1429. //
  1430. // The <code>.lib-typography-lists()</code> mixin is used to apply styles to all ordered, unordered, and definition lists. This mixin uses settings from global variables list.
  1431. //
  1432. // ```html
  1433. // <ul>
  1434. // <li>Morbi in sem quis dui placerat ornare. Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu. Cras consequat.</li>
  1435. // <li>Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus.
  1436. // <ul>
  1437. // <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
  1438. // <li>Aliquam tincidunt mauris eu risus.</li>
  1439. // <li>Vestibulum auctor dapibus neque.</li>
  1440. // </ul>
  1441. // </li>
  1442. // <li>Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus.
  1443. // Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi.
  1444. // <ol>
  1445. // <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
  1446. // <li>Aliquam tincidunt mauris eu risus.</li>
  1447. // <li>Vestibulum auctor dapibus neque.</li>
  1448. // </ol>
  1449. // </li>
  1450. // <li>Pellentesque fermentum dolor. Aliquam quam lectus, facilisis auctor, ultrices ut, elementum vulputate, nunc.</li>
  1451. // </ul>
  1452. // <dl>
  1453. // <dt>Definition list</dt>
  1454. // <dd>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</dd>
  1455. // <dt>Lorem ipsum dolor sit amet</dt>
  1456. // <dd>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</dd>
  1457. // </dl>
  1458. // ```
  1459. .lib-typography-lists();
  1460. // # Typography lists mixin variables
  1461. // <pre>
  1462. // <table>
  1463. // <tr>
  1464. // <th class="vars_head">Mixin variable</th>
  1465. // <th class="vars_head">Global variable</th>
  1466. // <th class="vars_head">Default value</th>
  1467. // <th class="vars_head">Allowed values</th>
  1468. // <th class="vars_head">Comment</th>
  1469. // </tr>
  1470. // <tr>
  1471. // <th>@_list-margin-top</th>
  1472. // <td class="vars_value">@list__margin-top</td>
  1473. // <td class="vars_value">0</td>
  1474. // <td class="vars_value">'' | false | value</td>
  1475. // <td>List margin top</td>
  1476. // </tr>
  1477. // <tr>
  1478. // <th>@_list-margin-bottom</th>
  1479. // <td class="vars_value">@list__margin-bottom</td>
  1480. // <td class="vars_value">@indent__m</td>
  1481. // <td class="vars_value">'' | false | value</td>
  1482. // <td>List margin bottom</td>
  1483. // </tr>
  1484. // <tr>
  1485. // <th nowrap="nowrap">@_list-item-margin-top</th>
  1486. // <td class="vars_value">@list-item__margin-top</td>
  1487. // <td class="vars_value">0</td>
  1488. // <td class="vars_value">'' | false | value</td>
  1489. // <td>List item margin top</td>
  1490. // </tr>
  1491. // <tr>
  1492. // <th nowrap="nowrap">@_list-item-margin-bottom</th>
  1493. // <td class="vars_value">@list-item__margin-bottom</td>
  1494. // <td class="vars_value">@indent__s</td>
  1495. // <td class="vars_value">'' | false | value</td>
  1496. // <td>List item margin bottom</td>
  1497. // </tr>
  1498. // <tr>
  1499. // <th nowrap="nowrap">@_dl-margin-bottom</th>
  1500. // <td class="vars_value">@dl__margin-bottom</td>
  1501. // <td class="vars_value">@indent__base</td>
  1502. // <td class="vars_value">'' | false | value</td>
  1503. // <td>Definition list margin bottom</td>
  1504. // </tr>
  1505. // <tr>
  1506. // <th nowrap="nowrap">@_dl-margin-top</th>
  1507. // <td class="vars_value">@dl__margin-top</td>
  1508. // <td class="vars_value">0</td>
  1509. // <td class="vars_value">'' | false | value</td>
  1510. // <td>Definition list margin top</td>
  1511. // </tr>
  1512. // <tr>
  1513. // <th nowrap="nowrap">@_dt-font-weight</th>
  1514. // <td class="vars_value">@dt__font-weight</td>
  1515. // <td class="vars_value">@font-weight__bold</td>
  1516. // <td class="vars_value">'' | false | value</td>
  1517. // <td>Description term font weight</td>
  1518. // </tr>
  1519. // <tr>
  1520. // <th nowrap="nowrap">@_dt-margin-bottom</th>
  1521. // <td class="vars_value">@dt__margin-bottom</td>
  1522. // <td class="vars_value">@indent__xs</td>
  1523. // <td class="vars_value">'' | false | value</td>
  1524. // <td>Description term margin bottom</td>
  1525. // </tr>
  1526. // <tr>
  1527. // <th nowrap="nowrap">@_dt-margin-top</th>
  1528. // <td class="vars_value">@dt__margin-top</td>
  1529. // <td class="vars_value">0</td>
  1530. // <td class="vars_value">'' | false | value</td>
  1531. // <td>Description term margin top</td>
  1532. // </tr>
  1533. // <tr>
  1534. // <th nowrap="nowrap">@_dd-margin-bottom</th>
  1535. // <td class="vars_value">@dd__margin-bottom</td>
  1536. // <td class="vars_value">@indent__s</td>
  1537. // <td class="vars_value">'' | false | value</td>
  1538. // <td>Description margin bottom</td>
  1539. // </tr>
  1540. // <tr>
  1541. // <th nowrap="nowrap">@_dd-margin-top</th>
  1542. // <td class="vars_value">@dd__margin-top</td>
  1543. // <td class="vars_value">0</td>
  1544. // <td class="vars_value">'' | false | value</td>
  1545. // <td>Description margin top</td>
  1546. // </tr>
  1547. // </table>
  1548. // </pre>
  1549. // # Typography code elements mixin
  1550. //
  1551. // <code>.lib-typography-code()</code> mixin is used to apply styles to the following code elements:
  1552. //
  1553. // ```css
  1554. // code
  1555. // kbd
  1556. // pre
  1557. // samp
  1558. // ```
  1559. //
  1560. // This mixin uses settings from global variables list.
  1561. //
  1562. // ```html
  1563. // <p>Lorem ipsum dolor sit amet, <samp>consectetur adipiscing elit<samp>. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida.</p>
  1564. // <pre><code> #header h1 a {
  1565. // display: block;
  1566. // width: 300px;
  1567. // height: 80px;
  1568. // } </code></pre>
  1569. // <p>Vestibulum tortor quam, feugiat <kbd>Keyboard input</kbd> vitae, ultricies eget, tempor sit amet, ante.</p>
  1570. // ```
  1571. .lib-typography-code();
  1572. // # Typography code mixin variables
  1573. // <pre>
  1574. // <table>
  1575. // <tr>
  1576. // <th class="vars_head">Mixin variable</th>
  1577. // <th class="vars_head">Global variable</th>
  1578. // <th class="vars_head">Default value</th>
  1579. // <th class="vars_head">Allowed values</th>
  1580. // <th class="vars_head">Comment</th>
  1581. // </tr>
  1582. // <tr>
  1583. // <th>@_font-family-monospace</th>
  1584. // <td class="vars_value">@font-family__monospace</td>
  1585. // <td class="vars_value">Menlo, Monaco, Consolas, 'Courier New', monospace</td>
  1586. // <td class="vars_value">'' | false | value</td>
  1587. // <td>Monospace font family</td>
  1588. // </tr>
  1589. // <tr>
  1590. // <th>@_code-background-color</th>
  1591. // <td class="vars_value">@code__background-color</td>
  1592. // <td class="vars_value">@panel__background-color</td>
  1593. // <td class="vars_value">'' | false | value</td>
  1594. // <td>Code block background</td>
  1595. // </tr>
  1596. // <tr>
  1597. // <th nowrap="nowrap">@_code-color</th>
  1598. // <td class="vars_value">@code__color</td>
  1599. // <td class="vars_value">@primary__color__darker</td>
  1600. // <td class="vars_value">'' | false | value</td>
  1601. // <td>Code text color</td>
  1602. // </tr>
  1603. // <tr>
  1604. // <th nowrap="nowrap">@_code-padding</th>
  1605. // <td class="vars_value">@code__padding</td>
  1606. // <td class="vars_value">2px 4px</td>
  1607. // <td class="vars_value">'' | false | value</td>
  1608. // <td>Code block padding</td>
  1609. // </tr>
  1610. // <tr>
  1611. // <th nowrap="nowrap">@_code-font-size</th>
  1612. // <td class="vars_value">@code__font-size</td>
  1613. // <td class="vars_value">@font-size__s</td>
  1614. // <td class="vars_value">'' | false | value</td>
  1615. // <td>Code block font size</td>
  1616. // </tr>
  1617. // <tr>
  1618. // <th nowrap="nowrap">@_kbd-background-color</th>
  1619. // <td class="vars_value">@kbd__background-color</td>
  1620. // <td class="vars_value">@panel__background-color</td>
  1621. // <td class="vars_value">'' | false | value</td>
  1622. // <td>Keyboard input background</td>
  1623. // </tr>
  1624. // <tr>
  1625. // <th nowrap="nowrap">@_kbd-color</th>
  1626. // <td class="vars_value">@kbd__color</td>
  1627. // <td class="vars_value">@primary__color__darker</td>
  1628. // <td class="vars_value">'' | false | value</td>
  1629. // <td>Keyboard input text color</td>
  1630. // </tr>
  1631. // <tr>
  1632. // <th nowrap="nowrap">@_kbd-padding</th>
  1633. // <td class="vars_value">@code__padding</td>
  1634. // <td class="vars_value">2px 4px</td>
  1635. // <td class="vars_value">'' | false | value</td>
  1636. // <td>Keyboard input padding</td>
  1637. // </tr>
  1638. // <tr>
  1639. // <th nowrap="nowrap">@_kbd-font-size</th>
  1640. // <td class="vars_value">@code__font-size</td>
  1641. // <td class="vars_value">@font-size__s</td>
  1642. // <td class="vars_value">'' | false | value</td>
  1643. // <td>Keyboard input font size</td>
  1644. // </tr>
  1645. // <tr>
  1646. // <th nowrap="nowrap">@_pre-background-color</th>
  1647. // <td class="vars_value">@pre__background-color</td>
  1648. // <td class="vars_value">@primary__color__light</td>
  1649. // <td class="vars_value">'' | false | value</td>
  1650. // <td>Preformatted text background color</td>
  1651. // </tr>
  1652. // <tr>
  1653. // <th nowrap="nowrap">@_pre-border-width</th>
  1654. // <td class="vars_value">@pre__border-width</td>
  1655. // <td class="vars_value">@border-width__base</td>
  1656. // <td class="vars_value">'' | false | value</td>
  1657. // <td>Preformatted text border width</td>
  1658. // </tr>
  1659. // <tr>
  1660. // <th nowrap="nowrap">@_pre-border-color</th>
  1661. // <td class="vars_value">@pre__border-color</td>
  1662. // <td class="vars_value">@border-color__base</td>
  1663. // <td class="vars_value">'' | false | value</td>
  1664. // <td>Preformatted text border color</td>
  1665. // </tr>
  1666. // <tr>
  1667. // <th nowrap="nowrap">@_pre-color</th>
  1668. // <td class="vars_value">@pre__color</td>
  1669. // <td class="vars_value">@primary__color__darker</td>
  1670. // <td class="vars_value">'' | false | value</td>
  1671. // <td>Text color of preformatted text</td>
  1672. // </tr>
  1673. // <tr>
  1674. // <th nowrap="nowrap">@_pre-line-height</th>
  1675. // <td class="vars_value">@line-height__base</td>
  1676. // <td class="vars_value">1.428571429</td>
  1677. // <td class="vars_value">'' | false | value</td>
  1678. // <td>Preformatted text line height</td>
  1679. // </tr>
  1680. // <tr>
  1681. // <th nowrap="nowrap">@_pre-margin</th>
  1682. // <td class="vars_value">-</td>
  1683. // <td class="vars_value">0 0 @indent__s</td>
  1684. // <td class="vars_value">'' | false | value</td>
  1685. // <td>Preformatted text margin</td>
  1686. // </tr>
  1687. // <tr>
  1688. // <th nowrap="nowrap">@_pre-padding</th>
  1689. // <td class="vars_value">-</td>
  1690. // <td class="vars_value">@indent__s</td>
  1691. // <td class="vars_value">'' | false | value</td>
  1692. // <td>Preformatted text padding</td>
  1693. // </tr>
  1694. // <tr>
  1695. // <th nowrap="nowrap">@_pre-font-size</th>
  1696. // <td class="vars_value">@code__font-size</td>
  1697. // <td class="vars_value">@font-size__s</td>
  1698. // <td class="vars_value">'' | false | value</td>
  1699. // <td>Preformatted text font size</td>
  1700. // </tr>
  1701. // </table>
  1702. // </pre>
  1703. // # Typography blockquote
  1704. //
  1705. // The <code>.lib-typography-blockquote()</code> mixin is used to apply styles to blockquote elements. This mixin uses settings from global variables list.
  1706. //
  1707. // ```html
  1708. // <blockquote>
  1709. // <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.</p>
  1710. // <a href="#">Author quotes</a>
  1711. // </blockquote>
  1712. // ```
  1713. .lib-typography-blockquote();
  1714. // # Typography blockquote mixin variables
  1715. // <pre>
  1716. // <table>
  1717. // <tr>
  1718. // <th class="vars_head">Mixin variable</th>
  1719. // <th class="vars_head">Global variable</th>
  1720. // <th class="vars_head">Default value</th>
  1721. // <th class="vars_head">Allowed values</th>
  1722. // <th class="vars_head">Comment</th>
  1723. // </tr>
  1724. // <tr>
  1725. // <th nowrap="nowrap">@_blockquote-border-width</th>
  1726. // <td class="vars_value">@blockquote__border-width</td>
  1727. // <td class="vars_value">0</td>
  1728. // <td class="vars_value">'' | false | value</td>
  1729. // <td>Blockquote border width</td>
  1730. // </tr>
  1731. // <tr>
  1732. // <th nowrap="nowrap">@_blockquote-border-color</th>
  1733. // <td class="vars_value">@blockquote__border-color</td>
  1734. // <td class="vars_value">@border-color__base</td>
  1735. // <td class="vars_value">'' | false | value</td>
  1736. // <td>Blockquote border color</td>
  1737. // </tr>
  1738. // <tr>
  1739. // <th nowrap="nowrap">@_blockquote-margin</th>
  1740. // <td class="vars_value">@blockquote__margin</td>
  1741. // <td class="vars_value">0 0 @indent__base @indent__xl</td>
  1742. // <td class="vars_value">'' | false | value</td>
  1743. // <td>Blockquote margin</td>
  1744. // </tr>
  1745. // <tr>
  1746. // <th nowrap="nowrap">@_blockquote-padding</th>
  1747. // <td class="vars_value">@blockquote__padding</td>
  1748. // <td class="vars_value">0</td>
  1749. // <td class="vars_value">'' | false | value</td>
  1750. // <td>Blockquote padding</td>
  1751. // </tr>
  1752. // <tr>
  1753. // <th nowrap="nowrap">@_blockquote-font-size</th>
  1754. // <td class="vars_value">@blockquote__font-size</td>
  1755. // <td class="vars_value">@font-size__base</td>
  1756. // <td class="vars_value">'' | false | value</td>
  1757. // <td>Blockquote font size</td>
  1758. // </tr>
  1759. // <tr>
  1760. // <th nowrap="nowrap">@_blockquote-font-style</th>
  1761. // <td class="vars_value">@blockquote__font-style</td>
  1762. // <td class="vars_value">@font-style__emphasis</td>
  1763. // <td class="vars_value">'' | false | value</td>
  1764. // <td>Blockquote font style</td>
  1765. // </tr>
  1766. // <tr>
  1767. // <th nowrap="nowrap">@_blockquote-small-color</th>
  1768. // <td class="vars_value">@blockquote-small__color</td>
  1769. // <td class="vars_value">@primary__color</td>
  1770. // <td class="vars_value">'' | false | value</td>
  1771. // <td>Blockquote &lt;small&gt; and .small text color</td>
  1772. // </tr>
  1773. // <tr>
  1774. // <th nowrap="nowrap">@_blockquote-small-line-height</th>
  1775. // <td class="vars_value">@line-height__base</td>
  1776. // <td class="vars_value">1.428571429</td>
  1777. // <td class="vars_value">'' | false | value</td>
  1778. // <td>Blockquote &lt;small&gt; and .small line height</td>
  1779. // </tr>
  1780. // <tr>
  1781. // <th nowrap="nowrap">@_blockquote-small-font-size</th>
  1782. // <td class="vars_value">@blockquote-small__font-size</td>
  1783. // <td class="vars_value">@font-size__xs</td>
  1784. // <td class="vars_value">'' | false | value</td>
  1785. // <td>Blockquote &lt;small&gt; and .small text font size</td>
  1786. // </tr>
  1787. // <tr>
  1788. // <th nowrap="nowrap">@_blockquote-small-before-content</th>
  1789. // <td class="vars_value">@blockquote__content-before</td>
  1790. // <td class="vars_value">'\2014 \00A0'</td>
  1791. // <td class="vars_value">'' | false | value</td>
  1792. // <td>Blockquote &lt;small&gt; and .small before pseudo element content</td>
  1793. // </tr>
  1794. // <tr>
  1795. // <th nowrap="nowrap">@_blockquote-cite</th>
  1796. // <td class="vars_value">@cite__font-style</td>
  1797. // <td class="vars_value">@font-style__base</td>
  1798. // <td class="vars_value">'' | false | value</td>
  1799. // <td>Blockquote cite font style</td>
  1800. // </tr>
  1801. // <tr>
  1802. // <th nowrap="nowrap">@_cite</th>
  1803. // <td class="vars_value">@cite__font-style</td>
  1804. // <td class="vars_value">@font-style__base</td>
  1805. // <td class="vars_value">'' | false | value</td>
  1806. // <td>Cite font style</td>
  1807. // </tr>
  1808. // </table>
  1809. // </pre>