_vars.less 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  1. // /**
  2. // * Copyright © Magento, Inc. All rights reserved.
  3. // * See COPYING.txt for license details.
  4. // */
  5. // Primary colors
  6. @primary1: #676056;
  7. @primary2: #ed4f2e;
  8. @primary3: #026294;
  9. @primary4: #fff;
  10. @primary5: #007dbd;
  11. @primary6: #e22626;
  12. @primary7: #f2ebde;
  13. @primary8: #31302b;
  14. @primary9: #ef672f;
  15. // Buttons
  16. // Default Buttons
  17. @defaultButton1: #f2ebde;
  18. @defaultButton2: #ada89e;
  19. @defaultButton3: #676056;
  20. @defaultButton4: #cac3b4;
  21. @defaultButton5: #989287;
  22. // Primary Buttons
  23. @primaryButton1: #007dbd;
  24. @primaryButton2: #0574ad;
  25. @primaryButton3: #026294;
  26. @primaryButton4: #004c74;
  27. // Links
  28. @linkColor: @primary3;
  29. @linkColor2: @primary4;
  30. // Base font
  31. @font-family-name__base: 'Open Sans';
  32. @baseFont: 'Open Sans', sans-serif;
  33. @baseFontSize: 14px;
  34. @baseFontWeight: 400;
  35. @baseFontWeightSemibold: 600;
  36. @baseFontWeightBold: 700;
  37. @baseLineHeight: 1.33;
  38. @baseColor: @primary1;
  39. // Headings
  40. // H1
  41. @h1color: @primary1;
  42. @h1font: 400 28px/1.2 @baseFont;
  43. // H2
  44. @h2color: @primary1;
  45. @h2font: 400 20px/1.2 @baseFont;
  46. // H3
  47. @h3color: @primary1;
  48. @h3font: 600 16px/1.2 @baseFont;
  49. // H4
  50. @h4color: @primary1;
  51. @h4font: 600 14px/1.2 @baseFont;
  52. // H5
  53. @h5color: @primary1;
  54. @h5font: 600 13px/1.2 @baseFont;
  55. // H6
  56. @h6color: @primary1;
  57. @h6font: 600 12px/1.2 @baseFont;
  58. .actionLink() {
  59. display: inline;
  60. color: @linkColor;
  61. text-decoration: none;
  62. &:visited,
  63. &:active {
  64. color: @linkColor;
  65. }
  66. &:focus,
  67. &:hover {
  68. color: @linkColor;
  69. text-decoration: underline;
  70. }
  71. }
  72. .actionLinkI() {
  73. display: inline;
  74. color: @linkColor2;
  75. text-decoration: underline;
  76. &:visited,
  77. &:active {
  78. color: @linkColor2;
  79. }
  80. &:focus,
  81. &:hover {
  82. color: @linkColor2;
  83. text-decoration: underline;
  84. }
  85. }
  86. .style1() { // absent in design
  87. }
  88. .style2() {
  89. color: @primary1;
  90. font-size: 13px;
  91. font-weight: @baseFontWeightSemibold;
  92. }
  93. .style3() {
  94. color: @primary5;
  95. font-size: 14px;
  96. font-weight: @baseFontWeight;
  97. &:focus,
  98. &:hover {
  99. text-decoration: underline;
  100. }
  101. }
  102. .style4() { // absent in design
  103. }
  104. .style5() { // absent in design
  105. }
  106. .style6() {
  107. color: @primary1;
  108. font-size: 13px;
  109. font-weight: @baseFontWeight;
  110. &:focus,
  111. &:hover {
  112. text-decoration: underline;
  113. }
  114. }
  115. .style7() {
  116. color: @primary1;
  117. font-size: 16px;
  118. font-weight: @baseFontWeight;
  119. }
  120. .style8() {
  121. color: @primary6;
  122. font-size: 13px;
  123. font-weight: @baseFontWeight;
  124. }
  125. .style9() {
  126. color: @primary1;
  127. font-size: 14px;
  128. font-weight: @baseFontWeight;
  129. }
  130. .style10() {
  131. color: @primary1;
  132. font-size: 20px;
  133. font-weight: @baseFontWeight;
  134. }
  135. .style11() { // absent in design
  136. }
  137. .style12() { // absent in design
  138. }
  139. .style13() { // absent in design
  140. }
  141. .style14() {
  142. color: @primary1;
  143. font-size: 11px;
  144. font-weight: @baseFontWeight;
  145. }
  146. .style15() {
  147. color: @primary7;
  148. font-size: 13px;
  149. font-weight: @baseFontWeightSemibold;
  150. }
  151. .style15I() {
  152. color: @primary1;
  153. font-size: 13px;
  154. font-weight: @baseFontWeightSemibold;
  155. }
  156. .style16() {
  157. color: @primary4;
  158. font-size: 12px;
  159. font-weight: @baseFontWeightSemibold;
  160. }
  161. .style17() { // absent in design
  162. }
  163. .style18() {
  164. color: @primary1;
  165. font-size: 13px;
  166. font-weight: @baseFontWeight;
  167. }
  168. .style19() {
  169. color: @primary1;
  170. font-size: 12px;
  171. font-weight: @baseFontWeight;
  172. }
  173. .style20() { // absent in design
  174. color: @primary2;
  175. font-size: 12px;
  176. font-weight: @baseFontWeightSemibold;
  177. }
  178. .style21() { // absent in design
  179. color: @primary1;
  180. font-size: 11px;
  181. font-weight: @baseFontWeight;
  182. }
  183. .style22() {
  184. color: @primary5;
  185. font-size: 12px;
  186. font-weight: @baseFontWeight;
  187. &:focus,
  188. &:hover {
  189. text-decoration: underline;
  190. }
  191. }
  192. .style23() {
  193. color: @primary1;
  194. font-size: 28px;
  195. font-weight: @baseFontWeight;
  196. }
  197. .style24() { // absent in design
  198. color: @primary1;
  199. font-size: 12px;
  200. font-weight: @baseFontWeight;
  201. }
  202. .style25() { // absent in design
  203. color: @primary8;
  204. font-size: 14px;
  205. font-weight: @baseFontWeight;
  206. &:focus,
  207. &:hover {
  208. text-decoration: underline;
  209. }
  210. }
  211. .style26() { // absent in design
  212. color: @primary4;
  213. font-size: 30px;
  214. font-weight: @baseFontWeightBold;
  215. }
  216. .style27() { // absent in design
  217. color: @primary9;
  218. font-size: 20px;
  219. font-weight: @baseFontWeightBold;
  220. }
  221. .style28() {
  222. color: @primary1;
  223. font-size: 14px;
  224. font-weight: @baseFontWeightBold;
  225. }
  226. .style29() {
  227. color: @primary4;
  228. font-size: 13px;
  229. font-weight: @baseFontWeightBold;
  230. }
  231. .style30() {
  232. color: @primary1;
  233. font-size: 14px;
  234. font-weight: @baseFontWeightBold;
  235. }
  236. .style31() {
  237. color: @primary1;
  238. font-size: 20px;
  239. font-style: italic;
  240. font-weight: @baseFontWeight;
  241. }
  242. .style32() {
  243. color: @primary6;
  244. font-size: 14px;
  245. font-weight: @baseFontWeightBold;
  246. }
  247. .style33() {
  248. color: @primary2;
  249. font-size: 12px;
  250. font-weight: @baseFontWeightSemibold;
  251. }
  252. .style34() { // no such html yet
  253. color: @primary2;
  254. font-size: 12px;
  255. font-weight: @baseFontWeight;
  256. &:focus,
  257. &:hover {
  258. text-decoration: underline;
  259. }
  260. }
  261. /* ==========================================================================
  262. theme.less (begin)
  263. ========================================================================== */
  264. //
  265. // Blank theme overrides
  266. // _____________________________________________
  267. // Theme file should contain declarations (overrides) ONLY OF EXISTING variables
  268. // Otherwise this theme won't be available for parent nesting
  269. // All new variables should be placed in local theme lib or local theme files
  270. //
  271. // Typography
  272. // ---------------------------------------------
  273. // Fonts
  274. @color-dark: #31302b;
  275. //
  276. // Layout
  277. // ---------------------------------------------
  278. @responsive: false;
  279. @layout__max-width: 1300px;
  280. @layout-indent__width: 15px;
  281. //
  282. // Dropdowns
  283. // ---------------------------------------------
  284. @dropdown-split-actions__padding: '';
  285. @dropdown-split-toggle__actions__padding: 6px 5px;
  286. @dropdown-split-toggle-icon__font-line-height: 14px;
  287. //
  288. // Buttons
  289. // ---------------------------------------------
  290. // Default = secondary button
  291. @button__padding: 6px 13px;
  292. @button__font-weight: 500;
  293. @button__font-size: 13px;
  294. @button__line-height: @button__font-size + 1;
  295. @button__color: #645d53;
  296. @button__background: #f2ebde;
  297. @button__border: 1px solid #ada89e;
  298. @button__hover__background: #cac3b4;
  299. @button__hover__color: '';
  300. @button__hover__border: '';
  301. @button__active__background: @button__hover__background;
  302. @button__active__color: '';
  303. @button__active__border: 1px solid #989287;
  304. // Primary button
  305. @button-primary__background: #007dbd;
  306. @button-primary__border: 1px solid #0a6c9f;
  307. @button-primary__color: @color-white;
  308. @button-primary__hover__background: #026294;
  309. @button-primary__hover__border: 1px solid #026294;
  310. @button-primary__hover__color: '';
  311. @button-primary__active__background: @button-primary__hover__background;
  312. @button-primary__active__border: 1px solid #004c74;
  313. /* ==========================================================================
  314. theme.less (end)
  315. ========================================================================== */
  316. /* ==========================================================================
  317. variables.less (begin)
  318. ========================================================================== */
  319. //
  320. // Admin theme variables
  321. // _____________________________________________
  322. //
  323. // Typography
  324. // ---------------------------------------------
  325. // Fonts
  326. @font-family-name__base: 'Open Sans';
  327. @font-family__base: @font-family-name__base, @font-family__sans-serif;
  328. // Colors
  329. @col-layout-background-color: #f6f3eb;
  330. @color-middle: #676056;
  331. @color-light: #e0dacf;
  332. @color-general: #f3ebde;
  333. @link__color: #026294;
  334. @page-main-action-color: #645d53;
  335. //
  336. // Layout
  337. // ---------------------------------------------
  338. @layout__min-width: 960px;
  339. //
  340. // Forms
  341. // ---------------------------------------------
  342. @form-element-background-color: @color-white;
  343. // Validation
  344. @validation__color: #e22626;
  345. @validation__color-rgba: rgba(226, 38, 38, .6);
  346. @validation-background-color: #f9d4d4;
  347. @validation-border: 1px dashed @validation__color;
  348. @validation__color-light: #f9d4d4; // For asterisk on <th> elements of grid tables
  349. //
  350. // Tables
  351. // ---------------------------------------------
  352. // Data-table
  353. @data-table-th-border-color: #c9c2b8;
  354. @data-table-td-border-color: #eae8e4;
  355. @data-table-td-background-color: @grid-td-light;
  356. @data-table-td-background-color-odd: #fbfaf6;
  357. @data-table-td-background-color-hover: #f7f3eb;
  358. //
  359. // Grid
  360. // ---------------------------------------------
  361. @grid-frame-background-color: @color-white;
  362. @grid-controls-border: #989287;
  363. @grid-headings-color: #f7f3eb;
  364. @grid-headings-color-darker: darken(@grid-headings-color, 20%);
  365. @grid-headings-background-color: #807a6e;
  366. @grid-headings-border: #cac3b4;
  367. @grid-filters-color: #f7f3eb;
  368. @grid-filters-background-color: @color-middle;
  369. @grid-filters-border: @grid-filters-background-color;
  370. @grid-filters-placeholder-color: #989287;
  371. @grid-massaction-border: 1px solid #f2ebde;
  372. @grid-td-color: @color-middle;
  373. @grid-td-light: @color-white;
  374. @grid-td-dark: #f7f3eb;
  375. @grid-td-border: @grid-headings-border;
  376. @grid-td-background-color-hover: #f2ebde;
  377. @grid-tfoot-color: @grid-td-color;
  378. @grid-tfoot-background-color: #f2ebde;
  379. @grid-severity-critical-color: #e22626;
  380. @grid-severity-critical-background-color: #f9d4d4;
  381. @grid-severity-critical-border: @grid-severity-critical-color;
  382. @grid-severity-notice-color: #185b00;
  383. @grid-severity-notice-background-color: #d0e5a9;
  384. @grid-severity-notice-border: #5b8116;
  385. @grid-severity-minor-color: #ed4f2e;
  386. @grid-severity-minor-background-color: #feeee1;
  387. @grid-severity-minor-border: @grid-severity-minor-color;
  388. //
  389. // Pager
  390. // ---------------------------------------------
  391. @pager-actions__color: @primary3;
  392. @pager-actions__color-hover: @primary5;
  393. /* ==========================================================================
  394. variables.less (end)
  395. ========================================================================== */