@eeacms/volto-marine-policy 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/.coverage.babel.config.js +9 -0
  2. package/.eslintrc.js +65 -0
  3. package/.husky/pre-commit +2 -0
  4. package/.release-it.json +17 -0
  5. package/CHANGELOG.md +5 -0
  6. package/DEVELOP.md +53 -0
  7. package/LICENSE.md +9 -0
  8. package/README.md +172 -0
  9. package/RELEASE.md +74 -0
  10. package/babel.config.js +17 -0
  11. package/bootstrap +41 -0
  12. package/cypress.config.js +24 -0
  13. package/docker-compose.yml +32 -0
  14. package/jest-addon.config.js +50 -0
  15. package/jest.setup.js +65 -0
  16. package/locales/de/LC_MESSAGES/volto.po +14 -0
  17. package/locales/en/LC_MESSAGES/volto.po +14 -0
  18. package/locales/it/LC_MESSAGES/volto.po +14 -0
  19. package/locales/ro/LC_MESSAGES/volto.po +14 -0
  20. package/locales/volto.pot +16 -0
  21. package/package.json +69 -0
  22. package/razzle.extend.js +29 -0
  23. package/src/components/Blocks/CustomBlockTemplates/customBlockTemplates.js +25 -0
  24. package/src/components/Blocks/MsfdDataExplorerBlock/Edit.jsx +29 -0
  25. package/src/components/Blocks/MsfdDataExplorerBlock/View.jsx +105 -0
  26. package/src/components/Blocks/MsfdDataExplorerBlock/index.js +23 -0
  27. package/src/components/Blocks/MsfdDataExplorerBlock/schema.jsx +30 -0
  28. package/src/components/Result/MarineMeasureItem.jsx +83 -0
  29. package/src/components/Widgets/MeasureViewWidget.jsx +233 -0
  30. package/src/components/Widgets/String.jsx +15 -0
  31. package/src/components/Widgets/TextAlign.jsx +41 -0
  32. package/src/components/Widgets/measure.css +101 -0
  33. package/src/components/index.js +15 -0
  34. package/src/components/theme/AppExtras/PrintPage/PrintPage.jsx +61 -0
  35. package/src/components/theme/AppExtras/PrintPage/css/printpage.less +29 -0
  36. package/src/components/theme/AppExtras/PrintPage/index.js +3 -0
  37. package/src/components/theme/AppExtras/ScrollToTop/ScrollToTop.jsx +61 -0
  38. package/src/components/theme/AppExtras/ScrollToTop/css/scrolltop.less +19 -0
  39. package/src/components/theme/AppExtras/ScrollToTop/index.js +3 -0
  40. package/src/components/theme/AppExtras/index.js +18 -0
  41. package/src/components/theme/DatabaseItemView/DatabaseItemView.jsx +39 -0
  42. package/src/components/theme/DatabaseItemView/style.less +87 -0
  43. package/src/components/theme/Header/HeroSection.jsx +45 -0
  44. package/src/components/theme/Header/StickyHeader.jsx +51 -0
  45. package/src/components/theme/Header/less/globals.less +18 -0
  46. package/src/components/theme/Header/less/herosection.less +64 -0
  47. package/src/components/theme/Header/less/herosection.variables +18 -0
  48. package/src/components/theme/ItemMetadata/ItemMetadata.jsx +217 -0
  49. package/src/components/theme/ItemMetadata/ItemMetadataSnippet.jsx +69 -0
  50. package/src/components/theme/ItemMetadata/ItemTitle.jsx +29 -0
  51. package/src/components/theme/MetadataListingView/MapPreview.jsx +105 -0
  52. package/src/components/theme/MetadataListingView/MetadataHeader.jsx +66 -0
  53. package/src/components/theme/MetadataListingView/MetadataListingView.jsx +36 -0
  54. package/src/components/theme/MetadataListingView/style.less +219 -0
  55. package/src/components/theme/SimpleListingView/SimpleListingView.jsx +97 -0
  56. package/src/components/theme/SimpleListingView/style.less +33 -0
  57. package/src/components/theme/Tableau/TableauDownload.jsx +86 -0
  58. package/src/components/theme/Tableau/TableauFullscreen.jsx +78 -0
  59. package/src/components/theme/Tableau/TableauShare.jsx +128 -0
  60. package/src/components/theme/View/FullwidthView.jsx +102 -0
  61. package/src/components/theme/View/HeroSectionView.jsx +125 -0
  62. package/src/constants/ActionTypes.js +12 -0
  63. package/src/constants/measureFields.js +56 -0
  64. package/src/customizations/@eeacms/volto-block-style/StyleWrapper/schema.js +217 -0
  65. package/src/customizations/@eeacms/volto-eea-design-system/ui/Header/Header.jsx +358 -0
  66. package/src/customizations/@eeacms/volto-eea-design-system/ui/Header/HeaderMenuPopUp.js +403 -0
  67. package/src/customizations/@eeacms/volto-eea-design-system/ui/Header/HeaderSearchPopUp.js +131 -0
  68. package/src/customizations/@eeacms/volto-eea-design-system/ui/Logo/Logo.jsx +32 -0
  69. package/src/customizations/@eeacms/volto-eea-design-system/ui/Logo/marine_logo.svg +63 -0
  70. package/src/customizations/volto/components/manage/Contents/ContentsBreadcrumbs.jsx +81 -0
  71. package/src/customizations/volto/components/manage/Contents/README.md +1 -0
  72. package/src/customizations/volto/components/manage/Toolbar/PersonalTools.jsx +205 -0
  73. package/src/customizations/volto/components/manage/Toolbar/Toolbar.jsx +624 -0
  74. package/src/customizations/volto/components/theme/Breadcrumbs/Breadcrumbs.jsx +49 -0
  75. package/src/customizations/volto/components/theme/Breadcrumbs/README.md +1 -0
  76. package/src/customizations/volto/components/theme/Header/Header.jsx +272 -0
  77. package/src/helpers/index.js +2 -0
  78. package/src/helpers/useCopyToClipboard.js +25 -0
  79. package/src/helpers/useOutsideClick.js +20 -0
  80. package/src/icons/arrow.svg +3 -0
  81. package/src/icons/basket.svg +3 -0
  82. package/src/icons/newspaper.svg +3 -0
  83. package/src/icons/popup.svg +3 -0
  84. package/src/icons/search.svg +3 -0
  85. package/src/icons/star-full.svg +3 -0
  86. package/src/icons/user.svg +3 -0
  87. package/src/index.js +467 -0
  88. package/src/reducers/breadcrumb/breadcrumb.js +59 -0
  89. package/src/reducers/index.js +2 -0
  90. package/src/reducers/localnavigation/localnavigation.js +69 -0
  91. package/src/search/config.js +93 -0
  92. package/src/search/facets.js +85 -0
  93. package/src/search/index.js +48 -0
  94. package/src/search/views.js +15 -0
  95. package/src/slate-styles.less +43 -0
  96. package/src/static/bise_logo.svg +1 -0
  97. package/src/static/cca_logo.svg +20 -0
  98. package/src/static/ec_logo.svg +343 -0
  99. package/src/static/ec_logo_white.svg +10 -0
  100. package/src/static/eea_logo.svg +14 -0
  101. package/src/static/footer-fishes.svg +21 -0
  102. package/src/static/forest_logo.svg +30 -0
  103. package/src/static/freshwater_logo.svg +12 -0
  104. package/src/static/marine_logo.svg +63 -0
  105. package/src/static/marine_logo_white.svg +44 -0
  106. package/src/utils.js +38 -0
  107. package/theme/assets/fonts/Poppins/Poppins-Bold.ttf +0 -0
  108. package/theme/assets/fonts/Poppins/Poppins-Bold.woff +0 -0
  109. package/theme/assets/fonts/Poppins/Poppins-Bold.woff2 +0 -0
  110. package/theme/assets/fonts/Poppins/Poppins-ExtraBold.ttf +0 -0
  111. package/theme/assets/fonts/Poppins/Poppins-Light.ttf +0 -0
  112. package/theme/assets/fonts/Poppins/Poppins-Light.woff +0 -0
  113. package/theme/assets/fonts/Poppins/Poppins-Light.woff2 +0 -0
  114. package/theme/assets/fonts/Poppins/Poppins-Regular.ttf +0 -0
  115. package/theme/assets/fonts/Poppins/Poppins-Regular.woff +0 -0
  116. package/theme/assets/fonts/Poppins/Poppins-Regular.woff2 +0 -0
  117. package/theme/assets/fonts/Poppins/Poppins-SemiBold.ttf +0 -0
  118. package/theme/assets/fonts/Poppins/Poppins-SemiBold.woff +0 -0
  119. package/theme/assets/fonts/Poppins/Poppins-SemiBold.woff2 +0 -0
  120. package/theme/assets/fonts/Roboto/Roboto-Light.ttf +0 -0
  121. package/theme/assets/fonts/Roboto/Roboto-Light.woff +0 -0
  122. package/theme/assets/fonts/Roboto/Roboto-Light.woff2 +0 -0
  123. package/theme/assets/fonts/Roboto/Roboto-Medium.ttf +0 -0
  124. package/theme/assets/fonts/Roboto/Roboto-Medium.woff +0 -0
  125. package/theme/assets/fonts/Roboto/Roboto-Medium.woff2 +0 -0
  126. package/theme/assets/fonts/Roboto/Roboto-Regular.ttf +0 -0
  127. package/theme/assets/fonts/Roboto/Roboto-Regular.woff +0 -0
  128. package/theme/assets/fonts/Roboto/Roboto-Regular.woff2 +0 -0
  129. package/theme/assets/images/Footer/ec_logo.svg +10 -0
  130. package/theme/assets/images/Header/climate-adapt-logo-1.svg +20 -0
  131. package/theme/assets/images/Header/climate-adapt-logo.svg +22 -0
  132. package/theme/assets/images/Header/wise-marine-logo-white.svg +143 -0
  133. package/theme/assets/images/Header/wise-marine-logo.svg +143 -0
  134. package/theme/assets/images/spinner.svg +1 -0
  135. package/theme/collections/table.variables +17 -0
  136. package/theme/elements/button.overrides +22 -0
  137. package/theme/extras/banner.variables +5 -0
  138. package/theme/extras/contextNavigation.overrides +60 -0
  139. package/theme/extras/contextNavigation.variables +32 -0
  140. package/theme/extras/footer.variables +6 -0
  141. package/theme/extras/header.overrides +20 -0
  142. package/theme/extras/header.variables +7 -0
  143. package/theme/extras/hero.overrides +4 -0
  144. package/theme/extras/inpageNavigation.variables +5 -0
  145. package/theme/extras/mixins.less +8 -0
  146. package/theme/globals/site.overrides +349 -0
  147. package/theme/globals/site.variables +997 -0
  148. package/theme/theme.config +136 -0
  149. package/theme/tokens/colors.less +9 -0
  150. package/theme/tokens/tokens.less +1 -0
@@ -0,0 +1,997 @@
1
+ /*******************************
2
+ Site Settings
3
+ *******************************/
4
+ @import '../extras/mixins';
5
+
6
+ /*-------------------
7
+ Fonts
8
+ --------------------*/
9
+
10
+ @fontName : 'Roboto';
11
+ @headerFontName : 'Roboto';
12
+ @themeFontPath : "../assets/fonts";
13
+ @headerFont : @headerFontName, 'Helvetica Neue', Arial, Helvetica, sans-serif;
14
+ @pageFont : @fontName, 'Helvetica Neue', Arial, Helvetica, sans-serif;
15
+ // @fontWeight : 300;
16
+ @googleFontSizes : '300,400,500,700,400italic,700italic';
17
+ @importGoogleFonts : true;
18
+
19
+
20
+ @bold : bold;
21
+ @normal : normal;
22
+
23
+ /*-------------------
24
+ Base Sizes
25
+ --------------------*/
26
+ @largeMonitorWidth : 1120px;
27
+ @containerWidth: var(--container-text-width, @largeMonitorWidth);
28
+
29
+ /* This is the single variable that controls them all */
30
+ @emSize : 16px;
31
+
32
+ /* The size of page text */
33
+ @fontSize : 16px;
34
+
35
+ @fullSizeIcon : 36px;
36
+
37
+ @toolbarWidth : 80px;
38
+ @collapsedToolbarWidth : 20px;
39
+ @mobileToolbarHeight : 100px;
40
+ @mobileCollapsedToolbarHeight : 20px;
41
+ @sidebarWidth : 375px;
42
+
43
+ @mobileMenuBreakpoint : 1000px;
44
+
45
+
46
+ /*-------------------
47
+ Border Radius
48
+ --------------------*/
49
+
50
+ /* See Power-user section below
51
+ for explanation of @px variables
52
+ */
53
+ @relativeBorderRadius: @relative4px;
54
+ @absoluteBorderRadius: @4px;
55
+
56
+ @defaultBorderRadius: @absoluteBorderRadius;
57
+
58
+ /*-------------------
59
+ Brand Colors
60
+ --------------------*/
61
+ // @contentAreaColor : #003159;
62
+ // @primaryColor : #002d54;
63
+ // @secondaryColor : #59d3ff;
64
+ @contentAreaColor : #3D5265;
65
+
66
+ @primaryColor : #004B7F;
67
+ @darkPrimaryColor : #003052;
68
+ @lightPrimaryColor : #0A99FF;
69
+
70
+ @secondaryColor : #0079CF;
71
+ @darkSecondaryColor : #006BB8;
72
+ @lightSecondaryColor : #47B3FF;
73
+ @lightestColor: #A0D7FF;
74
+
75
+ /*--------------
76
+ Page Heading
77
+ ---------------*/
78
+
79
+ @headerFontWeight : 600;
80
+ @headerLineHeight : 1.4em;
81
+
82
+ @h1 : unit((32 / 14), rem);
83
+ @h2 : unit((28 / 14), rem);
84
+ @h3 : unit((26 / @fontSize), rem);
85
+ @h4 : unit((16 / 14), rem);
86
+ @h5 : unit((15 / 14), rem);
87
+
88
+ /*--------------
89
+ Form Input
90
+ ---------------*/
91
+
92
+ /* This adjusts the default form input across all elements */
93
+ @inputBackground : @white;
94
+ @inputVerticalPadding : @relative11px;
95
+ @inputHorizontalPadding : @relative14px;
96
+ @inputPadding : @inputVerticalPadding @inputHorizontalPadding;
97
+
98
+ /* Input Text Color */
99
+ @inputColor: @textColor;
100
+ @inputPlaceholderColor: lighten(@inputColor, 75);
101
+ @inputPlaceholderFocusColor: lighten(@inputColor, 45);
102
+
103
+ /* Line Height Default For Inputs in Browser (Descenders are 17px at 14px base em) */
104
+ @inputLineHeight: unit((17 / 14), em);
105
+
106
+ /*-------------------
107
+ Focused Input
108
+ --------------------*/
109
+
110
+ /* Global focus-visible for accessibility */
111
+ @focusVisibleOutline: .2rem solid var(--focus-visible, @blue-3);
112
+
113
+ /* Used on inputs, textarea etc */
114
+ @focusedFormBorderColor: #85B7D9;
115
+
116
+ /* Used on dropdowns, other larger blocks */
117
+ @focusedFormMutedBorderColor: #96C8DA;
118
+
119
+ /*-------------------
120
+ Sizes
121
+ --------------------*/
122
+
123
+ /*
124
+ Sizes are all expressed in terms of 14px/em (default em)
125
+ This ensures these "ratios" remain constant despite changes in EM
126
+ */
127
+
128
+ // @miniSize : (11 / 14);
129
+ // @tinySize : (12 / 14);
130
+ // @smallSize : (13 / 14);
131
+ // @mediumSize : (16 / 14);
132
+ // @largeSize : (16 / 14);
133
+ // @bigSize : (18 / 14);
134
+ // @hugeSize : (20 / 14);
135
+ // @massiveSize : (24 / 14);
136
+
137
+
138
+ /*-------------------
139
+ Page
140
+ --------------------*/
141
+
142
+ @pageBackground : #FFFFFF;
143
+ @pageOverflowX : hidden;
144
+
145
+ @lineHeight : 1.4em;
146
+ @textColor : #003159;
147
+
148
+ /*-------------------
149
+ Paragraph
150
+ --------------------*/
151
+
152
+ @paragraphMargin : 0em 0em 1em;
153
+ @paragraphLineHeight : @lineHeight;
154
+
155
+ /*-------------------
156
+ Links
157
+ --------------------*/
158
+
159
+ @linkColor : #0077bc;
160
+ @linkUnderline : none;
161
+ @linkHoverColor : darken(saturate(@linkColor, 20), 15, relative);
162
+ @linkHoverUnderline : @linkUnderline;
163
+
164
+ /*-------------------
165
+ Scroll Bars
166
+ --------------------*/
167
+
168
+ @useCustomScrollbars: true;
169
+
170
+ @customScrollbarWidth: 10px;
171
+ @customScrollbarHeight: 10px;
172
+
173
+ @trackBackground: rgba(0, 0, 0, 0.1);
174
+ @trackBorderRadius: 0px;
175
+
176
+ @thumbBorderRadius: 5px;
177
+ @thumbBackground: rgba(0, 0, 0, 0.25);
178
+ @thumbTransition: color 0.2s ease;
179
+
180
+ @thumbInactiveBackground: rgba(0, 0, 0, 0.15);
181
+ @thumbHoverBackground: rgba(128, 135, 139, 0.8);
182
+
183
+ /* Inverted */
184
+ @trackInvertedBackground: rgba(255, 255, 255, 0.1);
185
+ @thumbInvertedBackground: rgba(255, 255, 255, 0.25);
186
+ @thumbInvertedInactiveBackground: rgba(255, 255, 255, 0.15);
187
+ @thumbInvertedHoverBackground: rgba(255, 255, 255, 0.35);
188
+
189
+ /*-------------------
190
+ Highlighted Text
191
+ --------------------*/
192
+
193
+ @highlightBackground : #CCE2FF;
194
+ @highlightColor : @textColor;
195
+
196
+ @inputHighlightBackground : rgba(100, 100, 100, 0.4);
197
+ @inputHighlightColor : @textColor;
198
+
199
+
200
+ /*-------------------
201
+ Loader
202
+ --------------------*/
203
+
204
+ @loaderSize : @relativeBig;
205
+ @loaderSpeed : 0.6s;
206
+ @loaderLineWidth : 0.2em;
207
+ @loaderFillColor : rgba(0, 0, 0, 0.1);
208
+ @loaderLineColor : @grey;
209
+
210
+ @invertedLoaderFillColor : rgba(255, 255, 255, 0.15);
211
+ @invertedLoaderLineColor : @white;
212
+
213
+ /*-------------------
214
+ Grid
215
+ --------------------*/
216
+
217
+ @columnCount: 12;
218
+
219
+ /*-------------------
220
+ Transitions
221
+ --------------------*/
222
+
223
+ @defaultDuration : 0.1s;
224
+ @defaultEasing : ease;
225
+
226
+ /*-------------------
227
+ Breakpoints
228
+ --------------------*/
229
+
230
+ @mobileBreakpoint : 320px;
231
+ @largeMobileBreakpoint : 480px;
232
+ @tabletBreakpoint : 768px;
233
+ @computerBreakpoint : 992px;
234
+ @largeMonitorBreakpoint : 1200px;
235
+ @widescreenMonitorBreakpoint : 1920px;
236
+
237
+ /*-------------------
238
+ Site Colors
239
+ --------------------*/
240
+
241
+ /*--- Colors ---*/
242
+
243
+
244
+ @orange : #FA5C2A; // Palette: reddishOrange
245
+ @yellow : #F6A808; // Palette: goldenRod
246
+ @green : #18ad5f; // Palette: darkPastelGreen
247
+ @teal : #517776; // Palette: slate
248
+ @blue : #064c7f; // Palette: Plone (tealBlue/cerulean)
249
+ @pink : #E40166; // Palette: darkHotPink
250
+ @red : #c31f43;
251
+ @brown : #826A6A; // Palette: reddishGrey
252
+ @grey : #5d5e5e; // Palette: blueishGrey
253
+ @black : #252525; // Palette: darkishGrey
254
+ @violet : #595a93;
255
+ @olive : #B5CC18;
256
+ @purple : #A333C8;
257
+
258
+ /*--- Light Colors ---*/
259
+ @lightRed : #FF695E;
260
+ @lightOrange : #FF851B;
261
+ @lightYellow : #FFE21F;
262
+ @lightOlive : #D9E778;
263
+ @lightGreen : #2ECC40;
264
+ @lightTeal : #6DFFFF;
265
+ @lightBlue : #54C8FF;
266
+ @lightViolet : #A291FB;
267
+ @lightPurple : #DC73FF;
268
+ @lightPink : #FF8EDF;
269
+ @lightBrown : #D67C1C;
270
+ @lightGrey : #DCDDDE;
271
+ @lightBlack : #545454;
272
+
273
+ /*--- Neutrals ---*/
274
+ @fullBlack : #000000;
275
+ @offWhite : #F9FAFB;
276
+ @darkWhite : #F3F4F5;
277
+ @midWhite : #DCDDDE;
278
+ @white : #FFFFFF;
279
+
280
+ /*--- Colored Backgrounds ---*/
281
+ @redBackground : #FFE8E6;
282
+ @orangeBackground : #FFEDDE;
283
+ @yellowBackground : #FFF8DB;
284
+ @oliveBackground : #FBFDEF;
285
+ @greenBackground : #E5F9E7;
286
+ @tealBackground : #E1F7F7;
287
+ @blueBackground : #DFF0FF;
288
+ @violetBackground : #EAE7FF;
289
+ @purpleBackground : #F6E7FF;
290
+ @pinkBackground : #FFE3FB;
291
+ @brownBackground : #F1E2D3;
292
+
293
+ /*--- Colored Headers ---*/
294
+ @redHeaderColor : darken(@redTextColor, 5);
295
+ @oliveHeaderColor : darken(@oliveTextColor, 5);
296
+ @greenHeaderColor : darken(@greenTextColor, 5);
297
+ @yellowHeaderColor : darken(@yellowTextColor, 5);
298
+ @blueHeaderColor : darken(@blueTextColor, 5);
299
+ @tealHeaderColor : darken(@tealTextColor, 5);
300
+ @pinkHeaderColor : darken(@pinkTextColor, 5);
301
+ @violetHeaderColor : darken(@violetTextColor, 5);
302
+ @purpleHeaderColor : darken(@purpleTextColor, 5);
303
+ @orangeHeaderColor : darken(@orangeTextColor, 5);
304
+ @brownHeaderColor : darken(@brownTextColor, 5);
305
+
306
+ /*--- Colored Text ---*/
307
+ @redTextColor : @red;
308
+ @orangeTextColor : @orange;
309
+ @yellowTextColor : #B58105; // Yellow text is difficult to read
310
+ @oliveTextColor : #8ABC1E; // Olive is difficult to read
311
+ @greenTextColor : #1EBC30; // Green is difficult to read
312
+ @tealTextColor : #10A3A3; // Teal text is difficult to read
313
+ @blueTextColor : @blue;
314
+ @violetTextColor : @violet;
315
+ @purpleTextColor : @purple;
316
+ @pinkTextColor : @pink;
317
+ @brownTextColor : @brown;
318
+
319
+ /*--- Colored Border ---*/
320
+ @redBorderColor : @redTextColor;
321
+ @orangeBorderColor : @orangeTextColor;
322
+ @yellowBorderColor : @yellowTextColor;
323
+ @oliveBorderColor : @oliveTextColor;
324
+ @greenBorderColor : @greenTextColor;
325
+ @tealBorderColor : @tealTextColor;
326
+ @blueBorderColor : @blueTextColor;
327
+ @violetBorderColor : @violetTextColor;
328
+ @purpleBorderColor : @purpleTextColor;
329
+ @pinkBorderColor : @pinkTextColor;
330
+ @brownBorderColor : @brownTextColor;
331
+
332
+ /*-------------------
333
+ Alpha Colors
334
+ --------------------*/
335
+
336
+ @subtleTransparentBlack : rgba(0, 0, 0, 0.03);
337
+ @transparentBlack : rgba(0, 0, 0, 0.05);
338
+ @strongTransparentBlack : rgba(0, 0, 0, 0.10);
339
+ @veryStrongTransparentBlack : rgba(0, 0, 0, 0.15);
340
+
341
+ @subtleTransparentWhite : rgba(255, 255, 255, 0.02);
342
+ @transparentWhite : rgba(255, 255, 255, 0.08);
343
+ @strongTransparentWhite : rgba(255, 255, 255, 0.15);
344
+
345
+ /*-------------------
346
+ Accents
347
+ --------------------*/
348
+
349
+ /* Differentiating Neutrals */
350
+ @subtleGradient: linear-gradient(transparent, @transparentBlack);
351
+
352
+ /* Differentiating Layers */
353
+ @subtleShadow:
354
+ 0px 1px 2px 0 @borderColor
355
+ ;
356
+ @floatingShadow:
357
+ 0px 2px 4px 0px rgba(34, 36, 38, 0.12),
358
+ 0px 2px 10px 0px rgba(34, 36, 38, 0.15)
359
+ ;
360
+
361
+ /*******************************
362
+ Power-User
363
+ *******************************/
364
+
365
+
366
+ /*-------------------
367
+ Emotive Colors
368
+ --------------------*/
369
+
370
+ /* Positive */
371
+ @positiveColor : @green;
372
+ @positiveBackgroundColor : #FCFFF5;
373
+ @positiveBorderColor : #A3C293;
374
+ @positiveHeaderColor : #1A531B;
375
+ @positiveTextColor : #2C662D;
376
+
377
+ /* Negative */
378
+ @negativeColor : @red;
379
+ @negativeBackgroundColor : #FFF6F6;
380
+ @negativeBorderColor : #E0B4B4;
381
+ @negativeHeaderColor : #912D2B;
382
+ @negativeTextColor : #9F3A38;
383
+
384
+ /* Info */
385
+ @infoColor : #31CCEC;
386
+ @infoBackgroundColor : #F8FFFF;
387
+ @infoBorderColor : #A9D5DE;
388
+ @infoHeaderColor : #0E566C;
389
+ @infoTextColor : #276F86;
390
+
391
+ /* Warning */
392
+ @warningColor : #F2C037;
393
+ @warningBorderColor : #C9BA9B;
394
+ @warningBackgroundColor : #FFFAF3;
395
+ @warningHeaderColor : #794B02;
396
+ @warningTextColor : #573A08;
397
+
398
+ /*-------------------
399
+ Paths
400
+ --------------------*/
401
+
402
+ /* For source only. Modified in gulp for dist */
403
+ @imagePath : '../../themes/default/assets/images';
404
+ @fontPath : '../../themes/default/assets/fonts';
405
+ @themeImagePath: '../assets/images';
406
+
407
+ /*-------------------
408
+ Em Sizes
409
+ --------------------*/
410
+
411
+ /*
412
+ This rounds @size values to the closest pixel then expresses that value in (r)em.
413
+ This ensures all size values round to exact pixels
414
+ */
415
+ @mini : unit( round(@miniSize * @emSize) / @emSize, rem);
416
+ @tiny : unit( round(@tinySize * @emSize) / @emSize, rem);
417
+ @small : unit( round(@smallSize * @emSize) / @emSize, rem);
418
+ @medium : unit( round(@mediumSize * @emSize) / @emSize, rem);
419
+ @large : unit( round(@largeSize * @emSize) / @emSize, rem);
420
+ @big : unit( round(@bigSize * @emSize) / @emSize, rem);
421
+ @huge : unit( round(@hugeSize * @emSize) / @emSize, rem);
422
+ @massive : unit( round(@massiveSize * @emSize) / @emSize, rem);
423
+
424
+ /* em */
425
+ @relativeMini : unit( round(@miniSize * @emSize) / @emSize, em);
426
+ @relativeTiny : unit( round(@tinySize * @emSize) / @emSize, em);
427
+ @relativeSmall : unit( round(@smallSize * @emSize) / @emSize, em);
428
+ @relativeMedium : unit( round(@mediumSize * @emSize) / @emSize, em);
429
+ @relativeLarge : unit( round(@largeSize * @emSize) / @emSize, em);
430
+ @relativeBig : unit( round(@bigSize * @emSize) / @emSize, em);
431
+ @relativeHuge : unit( round(@hugeSize * @emSize) / @emSize, em);
432
+ @relativeMassive : unit( round(@massiveSize * @emSize) / @emSize, em);
433
+
434
+ /* rem */
435
+ @absoluteMini : unit( round(@miniSize * @emSize) / @emSize, rem);
436
+ @absoluteTiny : unit( round(@tinySize * @emSize) / @emSize, rem);
437
+ @absoluteSmall : unit( round(@smallSize * @emSize) / @emSize, rem);
438
+ @absoluteMedium : unit( round(@mediumSize * @emSize) / @emSize, rem);
439
+ @absoluteLarge : unit( round(@largeSize * @emSize) / @emSize, rem);
440
+ @absoluteBig : unit( round(@bigSize * @emSize) / @emSize, rem);
441
+ @absoluteHuge : unit( round(@hugeSize * @emSize) / @emSize, rem);
442
+ @absoluteMassive : unit( round(@massiveSize * @emSize) / @emSize, rem);
443
+
444
+ /*-------------------
445
+ Icons
446
+ --------------------*/
447
+
448
+ /* Maximum Glyph Width of Icon */
449
+ @iconWidth : 1.18em;
450
+
451
+ /*-------------------
452
+ Neutral Text
453
+ --------------------*/
454
+
455
+ @darkTextColor : rgba(0, 0, 0, 0.85);
456
+ @mutedTextColor : rgba(0, 0, 0, 0.6);
457
+ @lightTextColor : rgba(0, 0, 0, 0.4);
458
+
459
+ @unselectedTextColor : rgba(0, 0, 0, 0.4);
460
+ @hoveredTextColor : rgba(0, 0, 0, 0.8);
461
+ @pressedTextColor : rgba(0, 0, 0, 0.9);
462
+ @selectedTextColor : rgba(0, 0, 0, 0.95);
463
+ @disabledTextColor : rgba(0, 0, 0, 0.2);
464
+
465
+ @invertedTextColor : rgba(255, 255, 255, 0.9);
466
+ @invertedMutedTextColor : rgba(255, 255, 255, 0.8);
467
+ @invertedLightTextColor : rgba(255, 255, 255, 0.7);
468
+ @invertedUnselectedTextColor : rgba(255, 255, 255, 0.5);
469
+ @invertedHoveredTextColor : rgba(255, 255, 255, 1);
470
+ @invertedPressedTextColor : rgba(255, 255, 255, 1);
471
+ @invertedSelectedTextColor : rgba(255, 255, 255, 1);
472
+ @invertedDisabledTextColor : rgba(255, 255, 255, 0.2);
473
+
474
+ /*-------------------
475
+ Brand Colors
476
+ --------------------*/
477
+
478
+ @facebookColor : #3B5998;
479
+ @twitterColor : #55ACEE;
480
+ @googlePlusColor : #DD4B39;
481
+ @linkedInColor : #1F88BE;
482
+ @youtubeColor : #FF0000;
483
+ @pinterestColor : #BD081C;
484
+ @vkColor : #4D7198;
485
+ @instagramColor : #49769C;
486
+
487
+ /*-------------------
488
+ Borders
489
+ --------------------*/
490
+
491
+ @circularRadius : 500rem;
492
+
493
+ @borderRadius : 4px;
494
+
495
+ @borderColor : rgba(34, 36, 38, 0.15);
496
+ @strongBorderColor : rgba(34, 36, 38, 0.22);
497
+ @internalBorderColor : rgba(34, 36, 38, 0.1);
498
+ @selectedBorderColor : rgba(34, 36, 38, 0.35);
499
+ @strongSelectedBorderColor : rgba(34, 36, 38, 0.5);
500
+ @disabledBorderColor : rgba(34, 36, 38, 0.5);
501
+
502
+ @solidInternalBorderColor : #FAFAFA;
503
+ @solidBorderColor : #D4D4D5;
504
+ @solidSelectedBorderColor : #BCBDBD;
505
+
506
+ @whiteBorderColor : rgba(255, 255, 255, 0.1);
507
+ @selectedWhiteBorderColor : rgba(255, 255, 255, 0.8);
508
+
509
+ @solidWhiteBorderColor : #555555;
510
+ @selectedSolidWhiteBorderColor : #999999;
511
+
512
+
513
+ /*-------------------
514
+ Derived Values
515
+ --------------------*/
516
+
517
+ /* Loaders Position Offset */
518
+ @loaderOffset : -(@loaderSize / 2);
519
+ @loaderMargin : @loaderOffset 0em 0em @loaderOffset;
520
+
521
+ /* Rendered Scrollbar Width */
522
+ @scrollbarWidth: 17px;
523
+
524
+ /* Maximum Single Character Glyph Width, aka Capital "W" */
525
+ @glyphWidth: 1.1em;
526
+
527
+ /* Used to match floats with text */
528
+ @lineHeightOffset : ((@lineHeight - 1em) / 2);
529
+ @headerLineHeightOffset : (@headerLineHeight - 1em) / 2;
530
+
531
+ /* Header Spacing */
532
+ @headerTopMargin : ~"calc(2rem - "@headerLineHeightOffset~")";
533
+ @headerBottomMargin : 1rem;
534
+ @headerMargin : @headerTopMargin 0em @headerBottomMargin;
535
+
536
+ /* Minimum Mobile Width */
537
+ @pageMinWidth : 320px;
538
+
539
+ /* Positive / Negative Dupes */
540
+ @successBackgroundColor : @positiveBackgroundColor;
541
+ @successColor : @positiveColor;
542
+ @successBorderColor : @positiveBorderColor;
543
+ @successHeaderColor : @positiveHeaderColor;
544
+ @successTextColor : @positiveTextColor;
545
+
546
+ @errorBackgroundColor : @negativeBackgroundColor;
547
+ @errorColor : @negativeColor;
548
+ @errorBorderColor : @negativeBorderColor;
549
+ @errorHeaderColor : @negativeHeaderColor;
550
+ @errorTextColor : @negativeTextColor;
551
+
552
+
553
+ /* Responsive */
554
+ @largestMobileScreen : (@tabletBreakpoint - 1px);
555
+ @largestTabletScreen : (@computerBreakpoint - 1px);
556
+ @largestSmallMonitor : (@largeMonitorBreakpoint - 1px);
557
+ @largestLargeMonitor : (@widescreenMonitorBreakpoint - 1px);
558
+
559
+
560
+ /*-------------------
561
+ Exact Pixel Values
562
+ --------------------*/
563
+ /*
564
+ These are used to specify exact pixel values in em
565
+ for things like borders that remain constantly
566
+ sized as emSize adjusts
567
+
568
+ Since there are many more sizes than names for sizes,
569
+ these are named by their original pixel values.
570
+
571
+ */
572
+
573
+ @1px : unit( (1 / @emSize), rem);
574
+ @2px : unit( (2 / @emSize), rem);
575
+ @3px : unit( (3 / @emSize), rem);
576
+ @4px : unit( (4 / @emSize), rem);
577
+ @5px : unit( (5 / @emSize), rem);
578
+ @6px : unit( (6 / @emSize), rem);
579
+ @7px : unit( (7 / @emSize), rem);
580
+ @8px : unit( (8 / @emSize), rem);
581
+ @9px : unit( (9 / @emSize), rem);
582
+ @10px : unit( (10 / @emSize), rem);
583
+ @11px : unit( (11 / @emSize), rem);
584
+ @12px : unit( (12 / @emSize), rem);
585
+ @13px : unit( (13 / @emSize), rem);
586
+ @14px : unit( (14 / @emSize), rem);
587
+ @15px : unit( (15 / @emSize), rem);
588
+ @16px : unit( (16 / @emSize), rem);
589
+ @17px : unit( (17 / @emSize), rem);
590
+ @18px : unit( (18 / @emSize), rem);
591
+ @19px : unit( (19 / @emSize), rem);
592
+ @20px : unit( (20 / @emSize), rem);
593
+ @21px : unit( (21 / @emSize), rem);
594
+ @22px : unit( (22 / @emSize), rem);
595
+ @23px : unit( (23 / @emSize), rem);
596
+ @24px : unit( (24 / @emSize), rem);
597
+ @25px : unit( (25 / @emSize), rem);
598
+ @26px : unit( (26 / @emSize), rem);
599
+ @27px : unit( (27 / @emSize), rem);
600
+ @28px : unit( (28 / @emSize), rem);
601
+ @29px : unit( (29 / @emSize), rem);
602
+ @30px : unit( (30 / @emSize), rem);
603
+ @31px : unit( (31 / @emSize), rem);
604
+ @32px : unit( (32 / @emSize), rem);
605
+ @33px : unit( (33 / @emSize), rem);
606
+ @34px : unit( (34 / @emSize), rem);
607
+ @35px : unit( (35 / @emSize), rem);
608
+ @36px : unit( (36 / @emSize), rem);
609
+ @37px : unit( (37 / @emSize), rem);
610
+ @38px : unit( (38 / @emSize), rem);
611
+ @39px : unit( (39 / @emSize), rem);
612
+ @40px : unit( (40 / @emSize), rem);
613
+ @41px : unit( (41 / @emSize), rem);
614
+ @42px : unit( (42 / @emSize), rem);
615
+ @43px : unit( (43 / @emSize), rem);
616
+ @44px : unit( (44 / @emSize), rem);
617
+ @45px : unit( (45 / @emSize), rem);
618
+ @46px : unit( (46 / @emSize), rem);
619
+ @47px : unit( (47 / @emSize), rem);
620
+ @48px : unit( (48 / @emSize), rem);
621
+ @49px : unit( (49 / @emSize), rem);
622
+ @50px : unit( (50 / @emSize), rem);
623
+ @51px : unit( (51 / @emSize), rem);
624
+ @52px : unit( (52 / @emSize), rem);
625
+ @53px : unit( (53 / @emSize), rem);
626
+ @54px : unit( (54 / @emSize), rem);
627
+ @55px : unit( (55 / @emSize), rem);
628
+ @56px : unit( (56 / @emSize), rem);
629
+ @57px : unit( (57 / @emSize), rem);
630
+ @58px : unit( (58 / @emSize), rem);
631
+ @59px : unit( (59 / @emSize), rem);
632
+ @60px : unit( (60 / @emSize), rem);
633
+ @61px : unit( (61 / @emSize), rem);
634
+ @62px : unit( (62 / @emSize), rem);
635
+ @63px : unit( (63 / @emSize), rem);
636
+ @64px : unit( (64 / @emSize), rem);
637
+
638
+ @relative1px : unit( (1 / @emSize), em);
639
+ @relative2px : unit( (2 / @emSize), em);
640
+ @relative3px : unit( (3 / @emSize), em);
641
+ @relative4px : unit( (4 / @emSize), em);
642
+ @relative5px : unit( (5 / @emSize), em);
643
+ @relative6px : unit( (6 / @emSize), em);
644
+ @relative7px : unit( (7 / @emSize), em);
645
+ @relative8px : unit( (8 / @emSize), em);
646
+ @relative9px : unit( (9 / @emSize), em);
647
+ @relative10px : unit( (10 / @emSize), em);
648
+ @relative11px : unit( (11 / @emSize), em);
649
+ @relative12px : unit( (12 / @emSize), em);
650
+ @relative13px : unit( (13 / @emSize), em);
651
+ @relative14px : unit( (14 / @emSize), em);
652
+ @relative15px : unit( (15 / @emSize), em);
653
+ @relative16px : unit( (16 / @emSize), em);
654
+ @relative17px : unit( (17 / @emSize), em);
655
+ @relative18px : unit( (18 / @emSize), em);
656
+ @relative19px : unit( (19 / @emSize), em);
657
+ @relative20px : unit( (20 / @emSize), em);
658
+ @relative21px : unit( (21 / @emSize), em);
659
+ @relative22px : unit( (22 / @emSize), em);
660
+ @relative23px : unit( (23 / @emSize), em);
661
+ @relative24px : unit( (24 / @emSize), em);
662
+ @relative25px : unit( (25 / @emSize), em);
663
+ @relative26px : unit( (26 / @emSize), em);
664
+ @relative27px : unit( (27 / @emSize), em);
665
+ @relative28px : unit( (28 / @emSize), em);
666
+ @relative29px : unit( (29 / @emSize), em);
667
+ @relative30px : unit( (30 / @emSize), em);
668
+ @relative31px : unit( (31 / @emSize), em);
669
+ @relative32px : unit( (32 / @emSize), em);
670
+ @relative33px : unit( (33 / @emSize), em);
671
+ @relative34px : unit( (34 / @emSize), em);
672
+ @relative35px : unit( (35 / @emSize), em);
673
+ @relative36px : unit( (36 / @emSize), em);
674
+ @relative37px : unit( (37 / @emSize), em);
675
+ @relative38px : unit( (38 / @emSize), em);
676
+ @relative39px : unit( (39 / @emSize), em);
677
+ @relative40px : unit( (40 / @emSize), em);
678
+ @relative41px : unit( (41 / @emSize), em);
679
+ @relative42px : unit( (42 / @emSize), em);
680
+ @relative43px : unit( (43 / @emSize), em);
681
+ @relative44px : unit( (44 / @emSize), em);
682
+ @relative45px : unit( (45 / @emSize), em);
683
+ @relative46px : unit( (46 / @emSize), em);
684
+ @relative47px : unit( (47 / @emSize), em);
685
+ @relative48px : unit( (48 / @emSize), em);
686
+ @relative49px : unit( (49 / @emSize), em);
687
+ @relative50px : unit( (50 / @emSize), em);
688
+ @relative51px : unit( (51 / @emSize), em);
689
+ @relative52px : unit( (52 / @emSize), em);
690
+ @relative53px : unit( (53 / @emSize), em);
691
+ @relative54px : unit( (54 / @emSize), em);
692
+ @relative55px : unit( (55 / @emSize), em);
693
+ @relative56px : unit( (56 / @emSize), em);
694
+ @relative57px : unit( (57 / @emSize), em);
695
+ @relative58px : unit( (58 / @emSize), em);
696
+ @relative59px : unit( (59 / @emSize), em);
697
+ @relative60px : unit( (60 / @emSize), em);
698
+ @relative61px : unit( (61 / @emSize), em);
699
+ @relative62px : unit( (62 / @emSize), em);
700
+ @relative63px : unit( (63 / @emSize), em);
701
+ @relative64px : unit( (64 / @emSize), em);
702
+
703
+ /* Columns */
704
+ @oneWide : (1 / @columnCount * 100%);
705
+ @twoWide : (2 / @columnCount * 100%);
706
+ @threeWide : (3 / @columnCount * 100%);
707
+ @fourWide : (4 / @columnCount * 100%);
708
+ @fiveWide : (5 / @columnCount * 100%);
709
+ @sixWide : (6 / @columnCount * 100%);
710
+ @sevenWide : (7 / @columnCount * 100%);
711
+ @eightWide : (8 / @columnCount * 100%);
712
+ @nineWide : (9 / @columnCount * 100%);
713
+ @tenWide : (10 / @columnCount * 100%);
714
+ @elevenWide : (11 / @columnCount * 100%);
715
+ @twelveWide : (12 / @columnCount * 100%);
716
+ @thirteenWide : (13 / @columnCount * 100%);
717
+ @fourteenWide : (14 / @columnCount * 100%);
718
+ @fifteenWide : (15 / @columnCount * 100%);
719
+ @sixteenWide : (16 / @columnCount * 100%);
720
+
721
+ @oneColumn : (1 / 1 * 100%);
722
+ @twoColumn : (1 / 2 * 100%);
723
+ @threeColumn : (1 / 3 * 100%);
724
+ @fourColumn : (1 / 4 * 100%);
725
+ @fiveColumn : (1 / 5 * 100%);
726
+ @sixColumn : (1 / 6 * 100%);
727
+ @sevenColumn : (1 / 7 * 100%);
728
+ @eightColumn : (1 / 8 * 100%);
729
+ @nineColumn : (1 / 9 * 100%);
730
+ @tenColumn : (1 / 10 * 100%);
731
+ @elevenColumn : (1 / 11 * 100%);
732
+ @twelveColumn : (1 / 12 * 100%);
733
+ @thirteenColumn : (1 / 13 * 100%);
734
+ @fourteenColumn : (1 / 14 * 100%);
735
+ @fifteenColumn : (1 / 15 * 100%);
736
+ @sixteenColumn : (1 / 16 * 100%);
737
+
738
+
739
+ /*******************************
740
+ States
741
+ *******************************/
742
+
743
+ /*-------------------
744
+ Disabled
745
+ --------------------*/
746
+
747
+ @disabledOpacity: 0.45;
748
+ @disabledTextColor: rgba(40, 40, 40, 0.3);
749
+ @invertedDisabledTextColor: rgba(225, 225, 225, 0.3);
750
+
751
+ /*-------------------
752
+ Hover
753
+ --------------------*/
754
+
755
+ /*--- Shadows ---*/
756
+ @floatingShadowHover:
757
+ 0px 2px 4px 0px rgba(34, 36, 38, 0.15),
758
+ 0px 2px 10px 0px rgba(34, 36, 38, 0.25)
759
+ ;
760
+
761
+ /*--- Colors ---*/
762
+ @primaryColorHover : saturate(darken(@primaryColor, 5), 10, relative);
763
+ @secondaryColorHover : saturate(lighten(@secondaryColor, 5), 10, relative);
764
+ @lightPrimaryColorHover : saturate(darken(@lightPrimaryColor, 5), 10, relative);
765
+ @lightSecondaryColorHover : saturate(lighten(@lightSecondaryColor, 5), 10, relative);
766
+
767
+ @redHover : saturate(darken(@red, 5), 10, relative);
768
+ @orangeHover : saturate(darken(@orange, 5), 10, relative);
769
+ @yellowHover : saturate(darken(@yellow, 5), 10, relative);
770
+ @oliveHover : saturate(darken(@olive, 5), 10, relative);
771
+ @greenHover : saturate(darken(@green, 5), 10, relative);
772
+ @tealHover : saturate(darken(@teal, 5), 10, relative);
773
+ @blueHover : saturate(darken(@blue, 5), 10, relative);
774
+ @violetHover : saturate(darken(@violet, 5), 10, relative);
775
+ @purpleHover : saturate(darken(@purple, 5), 10, relative);
776
+ @pinkHover : saturate(darken(@pink, 5), 10, relative);
777
+ @brownHover : saturate(darken(@brown, 5), 10, relative);
778
+
779
+ @lightRedHover : saturate(darken(@lightRed, 5), 10, relative);
780
+ @lightOrangeHover : saturate(darken(@lightOrange, 5), 10, relative);
781
+ @lightYellowHover : saturate(darken(@lightYellow, 5), 10, relative);
782
+ @lightOliveHover : saturate(darken(@lightOlive, 5), 10, relative);
783
+ @lightGreenHover : saturate(darken(@lightGreen, 5), 10, relative);
784
+ @lightTealHover : saturate(darken(@lightTeal, 5), 10, relative);
785
+ @lightBlueHover : saturate(darken(@lightBlue, 5), 10, relative);
786
+ @lightVioletHover : saturate(darken(@lightViolet, 5), 10, relative);
787
+ @lightPurpleHover : saturate(darken(@lightPurple, 5), 10, relative);
788
+ @lightPinkHover : saturate(darken(@lightPink, 5), 10, relative);
789
+ @lightBrownHover : saturate(darken(@lightBrown, 5), 10, relative);
790
+ @lightGreyHover : saturate(darken(@lightGrey, 5), 10, relative);
791
+ @lightBlackHover : saturate(darken(@fullBlack, 5), 10, relative);
792
+
793
+ /*--- Emotive ---*/
794
+ @positiveColorHover : saturate(darken(@positiveColor, 5), 10, relative);
795
+ @negativeColorHover : saturate(darken(@negativeColor, 5), 10, relative);
796
+
797
+ /*--- Brand ---*/
798
+ @facebookHoverColor : saturate(darken(@facebookColor, 5), 10, relative);
799
+ @twitterHoverColor : saturate(darken(@twitterColor, 5), 10, relative);
800
+ @googlePlusHoverColor : saturate(darken(@googlePlusColor, 5), 10, relative);
801
+ @linkedInHoverColor : saturate(darken(@linkedInColor, 5), 10, relative);
802
+ @youtubeHoverColor : saturate(darken(@youtubeColor, 5), 10, relative);
803
+ @instagramHoverColor : saturate(darken(@instagramColor, 5), 10, relative);
804
+ @pinterestHoverColor : saturate(darken(@pinterestColor, 5), 10, relative);
805
+ @vkHoverColor : saturate(darken(@vkColor, 5), 10, relative);
806
+
807
+ /*--- Dark Tones ---*/
808
+ @fullBlackHover : lighten(@fullBlack, 5);
809
+ @blackHover : lighten(@black, 5);
810
+ @greyHover : lighten(@grey, 5);
811
+
812
+ /*--- Light Tones ---*/
813
+ @whiteHover : darken(@white, 5);
814
+ @offWhiteHover : darken(@offWhite, 5);
815
+ @darkWhiteHover : darken(@darkWhite, 5);
816
+
817
+ /*-------------------
818
+ Focus
819
+ --------------------*/
820
+
821
+ /*--- Colors ---*/
822
+ @primaryColorFocus : saturate(darken(@primaryColor, 8), 20, relative);
823
+ @secondaryColorFocus : saturate(lighten(@secondaryColor, 8), 20, relative);
824
+ @lightPrimaryColorFocus : saturate(darken(@lightPrimaryColor, 8), 20, relative);
825
+ @lightSecondaryColorFocus : saturate(lighten(@lightSecondaryColor, 8), 20, relative);
826
+
827
+ @redFocus : saturate(darken(@red, 8), 20, relative);
828
+ @orangeFocus : saturate(darken(@orange, 8), 20, relative);
829
+ @yellowFocus : saturate(darken(@yellow, 8), 20, relative);
830
+ @oliveFocus : saturate(darken(@olive, 8), 20, relative);
831
+ @greenFocus : saturate(darken(@green, 8), 20, relative);
832
+ @tealFocus : saturate(darken(@teal, 8), 20, relative);
833
+ @blueFocus : saturate(darken(@blue, 8), 20, relative);
834
+ @violetFocus : saturate(darken(@violet, 8), 20, relative);
835
+ @purpleFocus : saturate(darken(@purple, 8), 20, relative);
836
+ @pinkFocus : saturate(darken(@pink, 8), 20, relative);
837
+ @brownFocus : saturate(darken(@brown, 8), 20, relative);
838
+
839
+ @lightRedFocus : saturate(darken(@lightRed, 8), 20, relative);
840
+ @lightOrangeFocus : saturate(darken(@lightOrange, 8), 20, relative);
841
+ @lightYellowFocus : saturate(darken(@lightYellow, 8), 20, relative);
842
+ @lightOliveFocus : saturate(darken(@lightOlive, 8), 20, relative);
843
+ @lightGreenFocus : saturate(darken(@lightGreen, 8), 20, relative);
844
+ @lightTealFocus : saturate(darken(@lightTeal, 8), 20, relative);
845
+ @lightBlueFocus : saturate(darken(@lightBlue, 8), 20, relative);
846
+ @lightVioletFocus : saturate(darken(@lightViolet, 8), 20, relative);
847
+ @lightPurpleFocus : saturate(darken(@lightPurple, 8), 20, relative);
848
+ @lightPinkFocus : saturate(darken(@lightPink, 8), 20, relative);
849
+ @lightBrownFocus : saturate(darken(@lightBrown, 8), 20, relative);
850
+ @lightGreyFocus : saturate(darken(@lightGrey, 8), 20, relative);
851
+ @lightBlackFocus : saturate(darken(@fullBlack, 8), 20, relative);
852
+
853
+ /*--- Emotive ---*/
854
+ @positiveColorFocus : saturate(darken(@positiveColor, 8), 20, relative);
855
+ @negativeColorFocus : saturate(darken(@negativeColor, 8), 20, relative);
856
+
857
+ /*--- Brand ---*/
858
+ @facebookFocusColor : saturate(darken(@facebookColor, 8), 20, relative);
859
+ @twitterFocusColor : saturate(darken(@twitterColor, 8), 20, relative);
860
+ @googlePlusFocusColor : saturate(darken(@googlePlusColor, 8), 20, relative);
861
+ @linkedInFocusColor : saturate(darken(@linkedInColor, 8), 20, relative);
862
+ @youtubeFocusColor : saturate(darken(@youtubeColor, 8), 20, relative);
863
+ @instagramFocusColor : saturate(darken(@instagramColor, 8), 20, relative);
864
+ @pinterestFocusColor : saturate(darken(@pinterestColor, 8), 20, relative);
865
+ @vkFocusColor : saturate(darken(@vkColor, 8), 20, relative);
866
+
867
+ /*--- Dark Tones ---*/
868
+ @fullBlackFocus : lighten(@fullBlack, 8);
869
+ @blackFocus : lighten(@black, 8);
870
+ @greyFocus : lighten(@grey, 8);
871
+
872
+ /*--- Light Tones ---*/
873
+ @whiteFocus : darken(@white, 8);
874
+ @offWhiteFocus : darken(@offWhite, 8);
875
+ @darkWhiteFocus : darken(@darkWhite, 8);
876
+
877
+
878
+ /*-------------------
879
+ Down (:active)
880
+ --------------------*/
881
+
882
+ /*--- Colors ---*/
883
+ @primaryColorDown : darken(@primaryColor, 10);
884
+ @secondaryColorDown : lighten(@secondaryColor, 10);
885
+ @lightPrimaryColorDown : darken(@lightPrimaryColor, 10);
886
+ @lightSecondaryColorDown : lighten(@lightSecondaryColor, 10);
887
+
888
+ @redDown : darken(@red, 10);
889
+ @orangeDown : darken(@orange, 10);
890
+ @yellowDown : darken(@yellow, 10);
891
+ @oliveDown : darken(@olive, 10);
892
+ @greenDown : darken(@green, 10);
893
+ @tealDown : darken(@teal, 10);
894
+ @blueDown : darken(@blue, 10);
895
+ @violetDown : darken(@violet, 10);
896
+ @purpleDown : darken(@purple, 10);
897
+ @pinkDown : darken(@pink, 10);
898
+ @brownDown : darken(@brown, 10);
899
+
900
+ @lightRedDown : darken(@lightRed, 10);
901
+ @lightOrangeDown : darken(@lightOrange, 10);
902
+ @lightYellowDown : darken(@lightYellow, 10);
903
+ @lightOliveDown : darken(@lightOlive, 10);
904
+ @lightGreenDown : darken(@lightGreen, 10);
905
+ @lightTealDown : darken(@lightTeal, 10);
906
+ @lightBlueDown : darken(@lightBlue, 10);
907
+ @lightVioletDown : darken(@lightViolet, 10);
908
+ @lightPurpleDown : darken(@lightPurple, 10);
909
+ @lightPinkDown : darken(@lightPink, 10);
910
+ @lightBrownDown : darken(@lightBrown, 10);
911
+ @lightGreyDown : darken(@lightGrey, 10);
912
+ @lightBlackDown : darken(@fullBlack, 10);
913
+
914
+ /*--- Emotive ---*/
915
+ @positiveColorDown : darken(@positiveColor, 10);
916
+ @negativeColorDown : darken(@negativeColor, 10);
917
+
918
+ /*--- Brand ---*/
919
+ @facebookDownColor : darken(@facebookColor, 10);
920
+ @twitterDownColor : darken(@twitterColor, 10);
921
+ @googlePlusDownColor : darken(@googlePlusColor, 10);
922
+ @linkedInDownColor : darken(@linkedInColor, 10);
923
+ @youtubeDownColor : darken(@youtubeColor, 10);
924
+ @instagramDownColor : darken(@instagramColor, 10);
925
+ @pinterestDownColor : darken(@pinterestColor, 10);
926
+ @vkDownColor : darken(@vkColor, 10);
927
+
928
+ /*--- Dark Tones ---*/
929
+ @fullBlackDown : lighten(@fullBlack, 10);
930
+ @blackDown : lighten(@black, 10);
931
+ @greyDown : lighten(@grey, 10);
932
+
933
+ /*--- Light Tones ---*/
934
+ @whiteDown : darken(@white, 10);
935
+ @offWhiteDown : darken(@offWhite, 10);
936
+ @darkWhiteDown : darken(@darkWhite, 10);
937
+
938
+
939
+ /*-------------------
940
+ Active
941
+ --------------------*/
942
+
943
+ /*--- Colors ---*/
944
+ @primaryColorActive : saturate(darken(@primaryColor, 5), 15, relative);
945
+ @secondaryColorActive : saturate(lighten(@secondaryColor, 5), 15, relative);
946
+ @lightPrimaryColorActive : saturate(darken(@lightPrimaryColor, 5), 15, relative);
947
+ @lightSecondaryColorActive : saturate(lighten(@lightSecondaryColor, 5), 15, relative);
948
+
949
+ @redActive : saturate(darken(@red, 5), 15, relative);
950
+ @orangeActive : saturate(darken(@orange, 5), 15, relative);
951
+ @yellowActive : saturate(darken(@yellow, 5), 15, relative);
952
+ @oliveActive : saturate(darken(@olive, 5), 15, relative);
953
+ @greenActive : saturate(darken(@green, 5), 15, relative);
954
+ @tealActive : saturate(darken(@teal, 5), 15, relative);
955
+ @blueActive : saturate(darken(@blue, 5), 15, relative);
956
+ @violetActive : saturate(darken(@violet, 5), 15, relative);
957
+ @purpleActive : saturate(darken(@purple, 5), 15, relative);
958
+ @pinkActive : saturate(darken(@pink, 5), 15, relative);
959
+ @brownActive : saturate(darken(@brown, 5), 15, relative);
960
+
961
+ @lightRedActive : saturate(darken(@lightRed, 5), 15, relative);
962
+ @lightOrangeActive : saturate(darken(@lightOrange, 5), 15, relative);
963
+ @lightYellowActive : saturate(darken(@lightYellow, 5), 15, relative);
964
+ @lightOliveActive : saturate(darken(@lightOlive, 5), 15, relative);
965
+ @lightGreenActive : saturate(darken(@lightGreen, 5), 15, relative);
966
+ @lightTealActive : saturate(darken(@lightTeal, 5), 15, relative);
967
+ @lightBlueActive : saturate(darken(@lightBlue, 5), 15, relative);
968
+ @lightVioletActive : saturate(darken(@lightViolet, 5), 15, relative);
969
+ @lightPurpleActive : saturate(darken(@lightPurple, 5), 15, relative);
970
+ @lightPinkActive : saturate(darken(@lightPink, 5), 15, relative);
971
+ @lightBrownActive : saturate(darken(@lightBrown, 5), 15, relative);
972
+ @lightGreyActive : saturate(darken(@lightGrey, 5), 15, relative);
973
+ @lightBlackActive : saturate(darken(@fullBlack, 5), 15, relative);
974
+
975
+ /*--- Emotive ---*/
976
+ @positiveColorActive : saturate(darken(@positiveColor, 5), 15, relative);
977
+ @negativeColorActive : saturate(darken(@negativeColor, 5), 15, relative);
978
+
979
+ /*--- Brand ---*/
980
+ @facebookActiveColor : saturate(darken(@facebookColor, 5), 15, relative);
981
+ @twitterActiveColor : saturate(darken(@twitterColor, 5), 15, relative);
982
+ @googlePlusActiveColor : saturate(darken(@googlePlusColor, 5), 15, relative);
983
+ @linkedInActiveColor : saturate(darken(@linkedInColor, 5), 15, relative);
984
+ @youtubeActiveColor : saturate(darken(@youtubeColor, 5), 15, relative);
985
+ @instagramActiveColor : saturate(darken(@instagramColor, 5), 15, relative);
986
+ @pinterestActiveColor : saturate(darken(@pinterestColor, 5), 15, relative);
987
+ @vkActiveColor : saturate(darken(@vkColor, 5), 15, relative);
988
+
989
+ /*--- Dark Tones ---*/
990
+ @fullBlackActive : darken(@fullBlack, 5);
991
+ @blackActive : darken(@black, 5);
992
+ @greyActive : darken(@grey, 5);
993
+
994
+ /*--- Light Tones ---*/
995
+ @whiteActive : darken(@white, 5);
996
+ @offWhiteActive : darken(@offWhite, 5);
997
+ @darkWhiteActive : darken(@darkWhite, 5);