fomantic-ui 2.9.3-beta.9 → 2.9.4-beta.0
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.
- package/.all-contributorsrc +2 -2
- package/.github/FUNDING.yml +1 -1
- package/.github/auto_assign.yml +1 -1
- package/.github/workflows/ci.yml +5 -5
- package/.github/workflows/nightly.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/CHANGELOG.md +131 -0
- package/CONTRIBUTORS.md +1 -1
- package/README.md +5 -2
- package/SECURITY.md +2 -1
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +2 -2
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +10 -9
- package/dist/components/api.min.js +2 -2
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +2 -2
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +140 -3
- package/dist/components/calendar.js +2 -2
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +50 -6
- package/dist/components/checkbox.js +5 -3
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +6 -1
- package/dist/components/comment.min.css +2 -2
- package/dist/components/container.css +62 -1
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +3 -3
- package/dist/components/dimmer.js +2 -2
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +2 -2
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +101 -25
- package/dist/components/dropdown.js +29 -21
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +2 -2
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +697 -249
- package/dist/components/emoji.min.css +2 -2
- package/dist/components/feed.css +486 -5
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +3 -2
- package/dist/components/flag.min.css +2 -2
- package/dist/components/flyout.css +1 -1
- package/dist/components/flyout.js +2 -33
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +34 -32
- package/dist/components/form.js +72 -31
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +107 -107
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +62 -62
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +3 -27
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +6 -1
- package/dist/components/item.min.css +2 -2
- package/dist/components/label.css +21 -2
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +13 -13
- package/dist/components/list.min.css +2 -2
- package/dist/components/loader.css +282 -282
- package/dist/components/loader.min.css +2 -2
- package/dist/components/menu.css +13 -7
- package/dist/components/menu.min.css +2 -2
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +5 -1
- package/dist/components/modal.js +3 -3
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +3 -3
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +3 -3
- package/dist/components/popup.js +11 -9
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +2 -2
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +2 -2
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +2 -2
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +26 -1
- package/dist/components/search.js +5 -4
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +159 -33
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +2 -2
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +2 -32
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +2 -2
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +126 -26
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +2 -2
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +2 -2
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +6 -4
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +65 -1
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +6 -1
- package/dist/components/toast.js +2 -2
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +3 -3
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +2 -2
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +2822 -954
- package/dist/semantic.js +302 -206
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/package.json +4 -3
- package/scripts/nightly-version.js +2 -2
- package/src/definitions/behaviors/api.js +9 -8
- package/src/definitions/behaviors/form.js +71 -30
- package/src/definitions/behaviors/state.js +1 -1
- package/src/definitions/behaviors/visibility.js +1 -1
- package/src/definitions/collections/form.less +9 -14
- package/src/definitions/collections/grid.less +106 -106
- package/src/definitions/collections/menu.less +29 -22
- package/src/definitions/collections/table.less +66 -0
- package/src/definitions/elements/button.less +1 -1
- package/src/definitions/elements/container.less +63 -0
- package/src/definitions/elements/icon.less +5 -5
- package/src/definitions/elements/input.less +2 -2
- package/src/definitions/elements/label.less +21 -1
- package/src/definitions/elements/list.less +13 -13
- package/src/definitions/elements/loader.less +71 -71
- package/src/definitions/elements/segment.less +110 -13
- package/src/definitions/globals/site.js +1 -1
- package/src/definitions/modules/accordion.js +1 -1
- package/src/definitions/modules/calendar.js +1 -1
- package/src/definitions/modules/calendar.less +40 -11
- package/src/definitions/modules/checkbox.js +4 -2
- package/src/definitions/modules/checkbox.less +61 -5
- package/src/definitions/modules/dimmer.js +1 -1
- package/src/definitions/modules/dimmer.less +2 -2
- package/src/definitions/modules/dropdown.js +28 -20
- package/src/definitions/modules/dropdown.less +124 -21
- package/src/definitions/modules/embed.js +1 -1
- package/src/definitions/modules/flyout.js +1 -32
- package/src/definitions/modules/modal.js +2 -2
- package/src/definitions/modules/modal.less +6 -0
- package/src/definitions/modules/nag.js +2 -2
- package/src/definitions/modules/popup.js +10 -8
- package/src/definitions/modules/popup.less +4 -4
- package/src/definitions/modules/progress.js +1 -1
- package/src/definitions/modules/rating.js +1 -1
- package/src/definitions/modules/search.js +4 -3
- package/src/definitions/modules/search.less +31 -0
- package/src/definitions/modules/shape.js +1 -1
- package/src/definitions/modules/sidebar.js +1 -31
- package/src/definitions/modules/slider.js +125 -25
- package/src/definitions/modules/sticky.js +1 -1
- package/src/definitions/modules/tab.js +5 -3
- package/src/definitions/modules/toast.js +1 -1
- package/src/definitions/modules/toast.less +7 -0
- package/src/definitions/modules/transition.js +2 -2
- package/src/definitions/views/comment.less +7 -0
- package/src/definitions/views/feed.less +238 -32
- package/src/definitions/views/item.less +7 -0
- package/src/theme.less +1 -1
- package/src/themes/amazon/elements/button.variables +5 -1
- package/src/themes/bootstrap3/elements/button.variables +5 -1
- package/src/themes/chubby/elements/header.variables +6 -1
- package/src/themes/default/collections/message.variables +3 -9
- package/src/themes/default/collections/table.variables +11 -8
- package/src/themes/default/elements/button.variables +8 -10
- package/src/themes/default/elements/container.variables +3 -0
- package/src/themes/default/elements/emoji.variables +179 -67
- package/src/themes/default/elements/flag.variables +1 -1
- package/src/themes/default/elements/label.variables +6 -1
- package/src/themes/default/elements/segment.variables +8 -0
- package/src/themes/default/globals/site.variables +362 -341
- package/src/themes/default/globals/variation.variables +24 -1
- package/src/themes/default/modules/calendar.variables +11 -0
- package/src/themes/default/modules/checkbox.variables +12 -0
- package/src/themes/default/modules/dropdown.variables +10 -4
- package/src/themes/default/modules/modal.variables +3 -0
- package/src/themes/default/modules/popup.variables +1 -1
- package/src/themes/default/modules/search.variables +3 -0
- package/src/themes/default/modules/toast.variables +6 -5
- package/src/themes/default/views/card.variables +4 -12
- package/src/themes/default/views/feed.variables +55 -1
- package/src/themes/default/views/item.variables +5 -5
- package/src/themes/flat/collections/form.variables +4 -4
- package/src/themes/flat/globals/site.variables +1 -1
- package/src/themes/github/elements/button.variables +5 -1
- package/src/themes/joypixels/elements/emoji.variables +182 -70
- package/src/themes/material/globals/site.variables +1 -1
- package/src/themes/twitter/elements/button.variables +5 -1
- package/src/themes/twitter/elements/emoji.variables +178 -66
- package/tasks/admin/components/create.js +1 -2
- package/tasks/admin/components/init.js +3 -4
- package/tasks/admin/components/update.js +2 -3
- package/tasks/admin/distributions/create.js +9 -5
- package/tasks/admin/distributions/init.js +3 -4
- package/tasks/admin/distributions/update.js +2 -3
- package/tasks/config/project/install.js +3 -0
- package/tasks/config/tasks.js +1 -8
- package/tasks/config/user.js +1 -1
- package/tasks/docs/build.js +2 -2
- package/tasks/docs/metadata.js +1 -1
- package/tasks/docs/serve.js +1 -1
- package/tasks/install.js +19 -10
- package/tasks/watch.js +1 -2
- package/types/fomantic-ui-accordion.d.ts +244 -0
- package/types/fomantic-ui-api.d.ts +555 -0
- package/types/fomantic-ui-calendar.d.ts +766 -0
- package/types/fomantic-ui-checkbox.d.ts +332 -0
- package/types/fomantic-ui-dimmer.d.ts +408 -0
- package/types/fomantic-ui-dropdown.d.ts +1183 -0
- package/types/fomantic-ui-embed.d.ts +326 -0
- package/types/fomantic-ui-flyout.d.ts +525 -0
- package/types/fomantic-ui-form.d.ts +651 -0
- package/types/fomantic-ui-modal.d.ts +471 -0
- package/types/fomantic-ui-nag.d.ts +270 -0
- package/types/fomantic-ui-popup.d.ts +523 -0
- package/types/fomantic-ui-progress.d.ts +459 -0
- package/types/fomantic-ui-rating.d.ts +187 -0
- package/types/fomantic-ui-search.d.ts +496 -0
- package/types/fomantic-ui-shape.d.ts +274 -0
- package/types/fomantic-ui-sidebar.d.ts +402 -0
- package/types/fomantic-ui-slider.d.ts +316 -0
- package/types/fomantic-ui-sticky.d.ts +215 -0
- package/types/fomantic-ui-tab.d.ts +361 -0
- package/types/fomantic-ui-tests.ts +25 -0
- package/types/fomantic-ui-toast.d.ts +514 -0
- package/types/fomantic-ui-transition.d.ts +355 -0
- package/types/fomantic-ui-visibility.d.ts +355 -0
- package/types/index.d.ts +63 -0
- package/types/tsconfig.json +23 -0
- package/types/tslint.json +1 -0
@@ -14,7 +14,23 @@
|
|
14
14
|
@fontFileNameSupplement: "Lato";
|
15
15
|
|
16
16
|
// based on https://github.com/twbs/bootstrap/blob/v5.1.3/scss/_variables.scss#L577 list
|
17
|
-
@fallbackFonts:
|
17
|
+
@fallbackFonts:
|
18
|
+
system-ui,
|
19
|
+
-apple-system,
|
20
|
+
"Segoe UI",
|
21
|
+
Roboto,
|
22
|
+
Oxygen,
|
23
|
+
Ubuntu,
|
24
|
+
Cantarell,
|
25
|
+
"Helvetica Neue",
|
26
|
+
Arial,
|
27
|
+
"Noto Sans",
|
28
|
+
"Liberation Sans",
|
29
|
+
sans-serif,
|
30
|
+
"Apple Color Emoji",
|
31
|
+
"Segoe UI Emoji",
|
32
|
+
"Segoe UI Symbol",
|
33
|
+
"Noto Color Emoji";
|
18
34
|
|
19
35
|
@headerFont: @fontName, @fallbackFonts;
|
20
36
|
@pageFont: @fontName, @fallbackFonts;
|
@@ -107,7 +123,9 @@
|
|
107
123
|
@googleFontDisplay: "swap";
|
108
124
|
|
109
125
|
@googleProtocol: "https://";
|
110
|
-
@
|
126
|
+
@googleFonts: "@{googleFontName}:@{googleFontSizes}";
|
127
|
+
@googleFontRequest: "@{googleFonts}&subset=@{googleSubset}&display=@{googleFontDisplay}";
|
128
|
+
@googleFontUrl: "@{googleProtocol}fonts.googleapis.com/css2?family=@{googleFontRequest}";
|
111
129
|
|
112
130
|
@bold: bold;
|
113
131
|
@normal: normal;
|
@@ -173,8 +191,8 @@
|
|
173
191
|
|
174
192
|
/* Input Text Color */
|
175
193
|
@inputColor: @textColor;
|
176
|
-
@inputPlaceholderColor: lighten(@inputColor, 75);
|
177
|
-
@inputPlaceholderFocusColor: lighten(@inputColor, 45);
|
194
|
+
@inputPlaceholderColor: if(iscolor(@inputColor), lighten(@inputColor, 75), @inputColor);
|
195
|
+
@inputPlaceholderFocusColor: if(iscolor(@inputColor), lighten(@inputColor, 45), @inputColor);
|
178
196
|
|
179
197
|
/* Line Height Default For Inputs in Browser (Descenders are 17px at 14px base em) */
|
180
198
|
@inputLineHeight: unit((17 / 14), em);
|
@@ -230,7 +248,7 @@
|
|
230
248
|
|
231
249
|
@linkColor: #4183c4;
|
232
250
|
@linkUnderline: none;
|
233
|
-
@linkHoverColor: darken(saturate(@linkColor, 20), 15, relative);
|
251
|
+
@linkHoverColor: if(iscolor(@linkColor), darken(saturate(@linkColor, 20), 15, relative), @linkColor);
|
234
252
|
@linkHoverUnderline: @linkUnderline;
|
235
253
|
|
236
254
|
/* -------------------
|
@@ -378,21 +396,21 @@
|
|
378
396
|
@blackBackground: #f4f4f4;
|
379
397
|
|
380
398
|
/* --- Colored Headers --- */
|
381
|
-
@primaryHeaderColor: darken(@primaryTextColor, 5);
|
382
|
-
@secondaryHeaderColor: darken(@secondaryTextColor, 5);
|
383
|
-
@redHeaderColor: darken(@redTextColor, 5);
|
384
|
-
@oliveHeaderColor: darken(@oliveTextColor, 5);
|
385
|
-
@greenHeaderColor: darken(@greenTextColor, 5);
|
386
|
-
@yellowHeaderColor: darken(@yellowTextColor, 5);
|
387
|
-
@blueHeaderColor: darken(@blueTextColor, 5);
|
388
|
-
@tealHeaderColor: darken(@tealTextColor, 5);
|
389
|
-
@pinkHeaderColor: darken(@pinkTextColor, 5);
|
390
|
-
@violetHeaderColor: darken(@violetTextColor, 5);
|
391
|
-
@purpleHeaderColor: darken(@purpleTextColor, 5);
|
392
|
-
@orangeHeaderColor: darken(@orangeTextColor, 5);
|
393
|
-
@brownHeaderColor: darken(@brownTextColor, 5);
|
394
|
-
@greyHeaderColor: darken(@greyTextColor, 5);
|
395
|
-
@blackHeaderColor: darken(@blackTextColor, 5);
|
399
|
+
@primaryHeaderColor: if(iscolor(@primaryTextColor), darken(@primaryTextColor, 5), @primaryTextColor);
|
400
|
+
@secondaryHeaderColor: if(iscolor(@secondaryTextColor), darken(@secondaryTextColor, 5), @secondaryTextColor);
|
401
|
+
@redHeaderColor: if(iscolor(@redTextColor), darken(@redTextColor, 5), @redTextColor);
|
402
|
+
@oliveHeaderColor: if(iscolor(@oliveTextColor), darken(@oliveTextColor, 5), @oliveTextColor);
|
403
|
+
@greenHeaderColor: if(iscolor(@greenTextColor), darken(@greenTextColor, 5), @greenTextColor);
|
404
|
+
@yellowHeaderColor: if(iscolor(@yellowTextColor), darken(@yellowTextColor, 5), @yellowTextColor);
|
405
|
+
@blueHeaderColor: if(iscolor(@blueTextColor), darken(@blueTextColor, 5), @blueTextColor);
|
406
|
+
@tealHeaderColor: if(iscolor(@tealTextColor), darken(@tealTextColor, 5), @tealTextColor);
|
407
|
+
@pinkHeaderColor: if(iscolor(@pinkTextColor), darken(@pinkTextColor, 5), @pinkTextColor);
|
408
|
+
@violetHeaderColor: if(iscolor(@violetTextColor), darken(@violetTextColor, 5), @violetTextColor);
|
409
|
+
@purpleHeaderColor: if(iscolor(@purpleTextColor), darken(@purpleTextColor, 5), @purpleTextColor);
|
410
|
+
@orangeHeaderColor: if(iscolor(@orangeTextColor), darken(@orangeTextColor, 5), @orangeTextColor);
|
411
|
+
@brownHeaderColor: if(iscolor(@brownTextColor), darken(@brownTextColor, 5), @brownTextColor);
|
412
|
+
@greyHeaderColor: if(iscolor(@greyTextColor), darken(@greyTextColor, 5), @greyTextColor);
|
413
|
+
@blackHeaderColor: if(iscolor(@blackTextColor), darken(@blackTextColor, 5), @blackTextColor);
|
396
414
|
|
397
415
|
/* --- Colored Text --- */
|
398
416
|
@primaryTextColor: @invertedTextColor;
|
@@ -463,37 +481,37 @@
|
|
463
481
|
@blackBorderColor: @blackTextColor;
|
464
482
|
|
465
483
|
/* --- Shadows --- */
|
466
|
-
@primaryRibbonShadow: darken(@primaryColor, 10);
|
467
|
-
@secondaryRibbonShadow: darken(@secondaryColor, 10);
|
468
|
-
@redRibbonShadow: darken(@red, 10);
|
469
|
-
@orangeRibbonShadow: darken(@orange, 10);
|
470
|
-
@yellowRibbonShadow: darken(@yellow, 10);
|
471
|
-
@oliveRibbonShadow: darken(@olive, 10);
|
472
|
-
@greenRibbonShadow: darken(@green, 10);
|
473
|
-
@tealRibbonShadow: darken(@teal, 10);
|
474
|
-
@blueRibbonShadow: darken(@blue, 10);
|
475
|
-
@violetRibbonShadow: darken(@violet, 10);
|
476
|
-
@purpleRibbonShadow: darken(@purple, 10);
|
477
|
-
@pinkRibbonShadow: darken(@pink, 10);
|
478
|
-
@brownRibbonShadow: darken(@brown, 10);
|
479
|
-
@greyRibbonShadow: darken(@grey, 10);
|
480
|
-
@blackRibbonShadow: darken(@black, 10);
|
481
|
-
|
482
|
-
@primaryInvertedRibbonShadow: darken(@lightPrimaryColor, 10);
|
483
|
-
@secondaryInvertedRibbonShadow: darken(@lightSecondaryColor, 10);
|
484
|
-
@redInvertedRibbonShadow: darken(@lightRed, 10);
|
485
|
-
@orangeInvertedRibbonShadow: darken(@lightOrange, 10);
|
486
|
-
@yellowInvertedRibbonShadow: darken(@lightYellow, 10);
|
487
|
-
@oliveInvertedRibbonShadow: darken(@lightOlive, 10);
|
488
|
-
@greenInvertedRibbonShadow: darken(@lightGreen, 10);
|
489
|
-
@tealInvertedRibbonShadow: darken(@lightTeal, 10);
|
490
|
-
@blueInvertedRibbonShadow: darken(@lightBlue, 10);
|
491
|
-
@violetInvertedRibbonShadow: darken(@lightViolet, 10);
|
492
|
-
@purpleInvertedRibbonShadow: darken(@lightPurple, 10);
|
493
|
-
@pinkInvertedRibbonShadow: darken(@lightPink, 10);
|
494
|
-
@brownInvertedRibbonShadow: darken(@lightBrown, 10);
|
495
|
-
@greyInvertedRibbonShadow: lighten(@lightGrey, 5);
|
496
|
-
@blackInvertedRibbonShadow: lighten(@lightBlack, 5);
|
484
|
+
@primaryRibbonShadow: if(iscolor(@primaryColor), darken(@primaryColor, 10), @primaryColor);
|
485
|
+
@secondaryRibbonShadow: if(iscolor(@secondaryColor), darken(@secondaryColor, 10), @secondaryColor);
|
486
|
+
@redRibbonShadow: if(iscolor(@red), darken(@red, 10), @red);
|
487
|
+
@orangeRibbonShadow: if(iscolor(@orange), darken(@orange, 10), @orange);
|
488
|
+
@yellowRibbonShadow: if(iscolor(@yellow), darken(@yellow, 10), @yellow);
|
489
|
+
@oliveRibbonShadow: if(iscolor(@olive), darken(@olive, 10), @olive);
|
490
|
+
@greenRibbonShadow: if(iscolor(@green), darken(@green, 10), @green);
|
491
|
+
@tealRibbonShadow: if(iscolor(@teal), darken(@teal, 10), @teal);
|
492
|
+
@blueRibbonShadow: if(iscolor(@blue), darken(@blue, 10), @blue);
|
493
|
+
@violetRibbonShadow: if(iscolor(@violet), darken(@violet, 10), @violet);
|
494
|
+
@purpleRibbonShadow: if(iscolor(@purple), darken(@purple, 10), @purple);
|
495
|
+
@pinkRibbonShadow: if(iscolor(@pink), darken(@pink, 10), @pink);
|
496
|
+
@brownRibbonShadow: if(iscolor(@brown), darken(@brown, 10), @brown);
|
497
|
+
@greyRibbonShadow: if(iscolor(@grey), darken(@grey, 10), @grey);
|
498
|
+
@blackRibbonShadow: if(iscolor(@black), darken(@black, 10), @black);
|
499
|
+
|
500
|
+
@primaryInvertedRibbonShadow: if(iscolor(@lightPrimaryColor), darken(@lightPrimaryColor, 10), @lightPrimaryColor);
|
501
|
+
@secondaryInvertedRibbonShadow: if(iscolor(@lightSecondaryColor), darken(@lightSecondaryColor, 10), @lightSecondaryColor);
|
502
|
+
@redInvertedRibbonShadow: if(iscolor(@lightRed), darken(@lightRed, 10), @lightRed);
|
503
|
+
@orangeInvertedRibbonShadow: if(iscolor(@lightOrange), darken(@lightOrange, 10), @lightOrange);
|
504
|
+
@yellowInvertedRibbonShadow: if(iscolor(@lightYellow), darken(@lightYellow, 10), @lightYellow);
|
505
|
+
@oliveInvertedRibbonShadow: if(iscolor(@lightOlive), darken(@lightOlive, 10), @lightOlive);
|
506
|
+
@greenInvertedRibbonShadow: if(iscolor(@lightGreen), darken(@lightGreen, 10), @lightGreen);
|
507
|
+
@tealInvertedRibbonShadow: if(iscolor(@lightTeal), darken(@lightTeal, 10), @lightTeal);
|
508
|
+
@blueInvertedRibbonShadow: if(iscolor(@lightBlue), darken(@lightBlue, 10), @lightBlue);
|
509
|
+
@violetInvertedRibbonShadow: if(iscolor(@lightViolet), darken(@lightViolet, 10), @lightViolet);
|
510
|
+
@purpleInvertedRibbonShadow: if(iscolor(@lightPurple), darken(@lightPurple, 10), @lightPurple);
|
511
|
+
@pinkInvertedRibbonShadow: if(iscolor(@lightPink), darken(@lightPink, 10), @lightPink);
|
512
|
+
@brownInvertedRibbonShadow: if(iscolor(@lightBrown), darken(@lightBrown, 10), @lightBrown);
|
513
|
+
@greyInvertedRibbonShadow: if(iscolor(@lightGrey), lighten(@lightGrey, 5), @lightGrey);
|
514
|
+
@blackInvertedRibbonShadow: if(iscolor(@lightBlack), lighten(@lightBlack, 5), @lightBlack);
|
497
515
|
|
498
516
|
@textShadow: none;
|
499
517
|
@invertedTextShadow: @textShadow;
|
@@ -653,6 +671,9 @@
|
|
653
671
|
@floatingShadow:
|
654
672
|
0 2px 4px 0 rgba(34, 36, 38, 0.12),
|
655
673
|
0 2px 10px 0 rgba(34, 36, 38, 0.15);
|
674
|
+
@invertedFloatingShadow:
|
675
|
+
0 2px 4px 0 rgba(225, 225, 225, 0.1),
|
676
|
+
0 2px 10px 0 rgba(225, 225, 225, 0.5);
|
656
677
|
|
657
678
|
/*******************************
|
658
679
|
Power-User
|
@@ -1057,341 +1078,341 @@
|
|
1057
1078
|
0 2px 10px 0 rgba(34, 36, 38, 0.25);
|
1058
1079
|
|
1059
1080
|
/* --- Colors --- */
|
1060
|
-
@primaryColorHover: saturate(darken(@primaryColor, 5), 10, relative);
|
1061
|
-
@secondaryColorHover: saturate(lighten(@secondaryColor, 5), 10, relative);
|
1062
|
-
@lightPrimaryColorHover: saturate(darken(@lightPrimaryColor, 10), 10, relative);
|
1063
|
-
@lightSecondaryColorHover: saturate(lighten(@lightSecondaryColor, 10), 10, relative);
|
1064
|
-
|
1065
|
-
@redHover: saturate(darken(@red, 5), 10, relative);
|
1066
|
-
@orangeHover: saturate(darken(@orange, 5), 10, relative);
|
1067
|
-
@yellowHover: saturate(darken(@yellow, 5), 10, relative);
|
1068
|
-
@oliveHover: saturate(darken(@olive, 5), 10, relative);
|
1069
|
-
@greenHover: saturate(darken(@green, 5), 10, relative);
|
1070
|
-
@tealHover: saturate(darken(@teal, 5), 10, relative);
|
1071
|
-
@blueHover: saturate(darken(@blue, 5), 10, relative);
|
1072
|
-
@violetHover: saturate(darken(@violet, 5), 10, relative);
|
1073
|
-
@purpleHover: saturate(darken(@purple, 5), 10, relative);
|
1074
|
-
@pinkHover: saturate(darken(@pink, 5), 10, relative);
|
1075
|
-
@brownHover: saturate(darken(@brown, 5), 10, relative);
|
1076
|
-
|
1077
|
-
@lightRedHover: saturate(darken(@lightRed, 10), 10, relative);
|
1078
|
-
@lightOrangeHover: saturate(darken(@lightOrange, 10), 10, relative);
|
1079
|
-
@lightYellowHover: saturate(darken(@lightYellow, 10), 10, relative);
|
1080
|
-
@lightOliveHover: saturate(darken(@lightOlive, 10), 10, relative);
|
1081
|
-
@lightGreenHover: saturate(darken(@lightGreen, 10), 10, relative);
|
1082
|
-
@lightTealHover: saturate(darken(@lightTeal, 10), 10, relative);
|
1083
|
-
@lightBlueHover: saturate(darken(@lightBlue, 10), 10, relative);
|
1084
|
-
@lightVioletHover: saturate(darken(@lightViolet, 10), 10, relative);
|
1085
|
-
@lightPurpleHover: saturate(darken(@lightPurple, 10), 10, relative);
|
1086
|
-
@lightPinkHover: saturate(darken(@lightPink, 10), 10, relative);
|
1087
|
-
@lightBrownHover: saturate(darken(@lightBrown, 10), 10, relative);
|
1088
|
-
@lightGreyHover: saturate(darken(@lightGrey, 10), 10, relative);
|
1089
|
-
@lightBlackHover: saturate(darken(@fullBlack, 10), 10, relative);
|
1081
|
+
@primaryColorHover: if(iscolor(@primaryColor), saturate(darken(@primaryColor, 5), 10, relative), @primaryColor);
|
1082
|
+
@secondaryColorHover: if(iscolor(@secondaryColor), saturate(lighten(@secondaryColor, 5), 10, relative), @secondaryColor);
|
1083
|
+
@lightPrimaryColorHover: if(iscolor(@lightPrimaryColor), saturate(darken(@lightPrimaryColor, 10), 10, relative), @lightPrimaryColor);
|
1084
|
+
@lightSecondaryColorHover: if(iscolor(@lightSecondaryColor), saturate(lighten(@lightSecondaryColor, 10), 10, relative), @lightSecondaryColor);
|
1085
|
+
|
1086
|
+
@redHover: if(iscolor(@red), saturate(darken(@red, 5), 10, relative), @red);
|
1087
|
+
@orangeHover: if(iscolor(@orange), saturate(darken(@orange, 5), 10, relative), @orange);
|
1088
|
+
@yellowHover: if(iscolor(@yellow), saturate(darken(@yellow, 5), 10, relative), @yellow);
|
1089
|
+
@oliveHover: if(iscolor(@olive), saturate(darken(@olive, 5), 10, relative), @olive);
|
1090
|
+
@greenHover: if(iscolor(@green), saturate(darken(@green, 5), 10, relative), @green);
|
1091
|
+
@tealHover: if(iscolor(@teal), saturate(darken(@teal, 5), 10, relative), @teal);
|
1092
|
+
@blueHover: if(iscolor(@blue), saturate(darken(@blue, 5), 10, relative), @blue);
|
1093
|
+
@violetHover: if(iscolor(@violet), saturate(darken(@violet, 5), 10, relative), @violet);
|
1094
|
+
@purpleHover: if(iscolor(@purple), saturate(darken(@purple, 5), 10, relative), @purple);
|
1095
|
+
@pinkHover: if(iscolor(@pink), saturate(darken(@pink, 5), 10, relative), @pink);
|
1096
|
+
@brownHover: if(iscolor(@brown), saturate(darken(@brown, 5), 10, relative), @brown);
|
1097
|
+
|
1098
|
+
@lightRedHover: if(iscolor(@lightRed), saturate(darken(@lightRed, 10), 10, relative), @lightRed);
|
1099
|
+
@lightOrangeHover: if(iscolor(@lightOrange), saturate(darken(@lightOrange, 10), 10, relative), @lightOrange);
|
1100
|
+
@lightYellowHover: if(iscolor(@lightYellow), saturate(darken(@lightYellow, 10), 10, relative), @lightYellow);
|
1101
|
+
@lightOliveHover: if(iscolor(@lightOlive), saturate(darken(@lightOlive, 10), 10, relative), @lightOlive);
|
1102
|
+
@lightGreenHover: if(iscolor(@lightGreen), saturate(darken(@lightGreen, 10), 10, relative), @lightGreen);
|
1103
|
+
@lightTealHover: if(iscolor(@lightTeal), saturate(darken(@lightTeal, 10), 10, relative), @lightTeal);
|
1104
|
+
@lightBlueHover: if(iscolor(@lightBlue), saturate(darken(@lightBlue, 10), 10, relative), @lightBlue);
|
1105
|
+
@lightVioletHover: if(iscolor(@lightViolet), saturate(darken(@lightViolet, 10), 10, relative), @lightViolet);
|
1106
|
+
@lightPurpleHover: if(iscolor(@lightPurple), saturate(darken(@lightPurple, 10), 10, relative), @lightPurple);
|
1107
|
+
@lightPinkHover: if(iscolor(@lightPink), saturate(darken(@lightPink, 10), 10, relative), @lightPink);
|
1108
|
+
@lightBrownHover: if(iscolor(@lightBrown), saturate(darken(@lightBrown, 10), 10, relative), @lightBrown);
|
1109
|
+
@lightGreyHover: if(iscolor(@lightGrey), saturate(darken(@lightGrey, 10), 10, relative), @lightGrey);
|
1110
|
+
@lightBlackHover: if(iscolor(@fullBlack), saturate(darken(@fullBlack, 10), 10, relative), @fullBlack);
|
1090
1111
|
|
1091
1112
|
/* --- Emotive --- */
|
1092
|
-
@positiveColorHover: saturate(darken(@positiveColor, 5), 10, relative);
|
1093
|
-
@negativeColorHover: saturate(darken(@negativeColor, 5), 10, relative);
|
1113
|
+
@positiveColorHover: if(iscolor(@positiveColor), saturate(darken(@positiveColor, 5), 10, relative), @positiveColor);
|
1114
|
+
@negativeColorHover: if(iscolor(@negativeColor), saturate(darken(@negativeColor, 5), 10, relative), @negativeColor);
|
1094
1115
|
|
1095
1116
|
/* --- Brand --- */
|
1096
|
-
@facebookHoverColor: saturate(darken(@facebookColor, 5), 10, relative);
|
1097
|
-
@twitterHoverColor: saturate(darken(@twitterColor, 5), 10, relative);
|
1098
|
-
@googlePlusHoverColor: saturate(darken(@googlePlusColor, 5), 10, relative);
|
1099
|
-
@linkedInHoverColor: saturate(darken(@linkedInColor, 5), 10, relative);
|
1100
|
-
@youtubeHoverColor: saturate(darken(@youtubeColor, 5), 10, relative);
|
1101
|
-
@instagramHoverColor: saturate(darken(@instagramColor, 5), 10, relative);
|
1102
|
-
@pinterestHoverColor: saturate(darken(@pinterestColor, 5), 10, relative);
|
1103
|
-
@vkHoverColor: saturate(darken(@vkColor, 5), 10, relative);
|
1104
|
-
@telegramHoverColor: saturate(darken(@telegramColor, 5), 10, relative);
|
1105
|
-
@whatsAppHoverColor: saturate(darken(@whatsAppColor, 5), 10, relative);
|
1117
|
+
@facebookHoverColor: if(iscolor(@facebookColor), saturate(darken(@facebookColor, 5), 10, relative), @facebookColor);
|
1118
|
+
@twitterHoverColor: if(iscolor(@twitterColor), saturate(darken(@twitterColor, 5), 10, relative), @twitterColor);
|
1119
|
+
@googlePlusHoverColor: if(iscolor(@googlePlusColor), saturate(darken(@googlePlusColor, 5), 10, relative), @googlePlusColor);
|
1120
|
+
@linkedInHoverColor: if(iscolor(@linkedInColor), saturate(darken(@linkedInColor, 5), 10, relative), @linkedInColor);
|
1121
|
+
@youtubeHoverColor: if(iscolor(@youtubeColor), saturate(darken(@youtubeColor, 5), 10, relative), @youtubeColor);
|
1122
|
+
@instagramHoverColor: if(iscolor(@instagramColor), saturate(darken(@instagramColor, 5), 10, relative), @instagramColor);
|
1123
|
+
@pinterestHoverColor: if(iscolor(@pinterestColor), saturate(darken(@pinterestColor, 5), 10, relative), @pinterestColor);
|
1124
|
+
@vkHoverColor: if(iscolor(@vkColor), saturate(darken(@vkColor, 5), 10, relative), @vkColor);
|
1125
|
+
@telegramHoverColor: if(iscolor(@telegramColor), saturate(darken(@telegramColor, 5), 10, relative), @telegramColor);
|
1126
|
+
@whatsAppHoverColor: if(iscolor(@whatsAppColor), saturate(darken(@whatsAppColor, 5), 10, relative), @whatsAppColor);
|
1106
1127
|
|
1107
1128
|
/* --- Dark Tones --- */
|
1108
|
-
@fullBlackHover: lighten(@fullBlack, 5);
|
1109
|
-
@blackHover: lighten(@black, 5);
|
1110
|
-
@greyHover: lighten(@grey, 5);
|
1129
|
+
@fullBlackHover: if(iscolor(@fullBlack), lighten(@fullBlack, 5), @fullBlack);
|
1130
|
+
@blackHover: if(iscolor(@black), lighten(@black, 5), @black);
|
1131
|
+
@greyHover: if(iscolor(@grey), lighten(@grey, 5), @grey);
|
1111
1132
|
|
1112
1133
|
/* --- Light Tones --- */
|
1113
|
-
@whiteHover: darken(@white, 5);
|
1114
|
-
@offWhiteHover: darken(@offWhite, 5);
|
1115
|
-
@darkWhiteHover: darken(@darkWhite, 5);
|
1134
|
+
@whiteHover: if(iscolor(@white), darken(@white, 5), @white);
|
1135
|
+
@offWhiteHover: if(iscolor(@offWhite), darken(@offWhite, 5), @offWhite);
|
1136
|
+
@darkWhiteHover: if(iscolor(@darkWhite), darken(@darkWhite, 5), @darkWhite);
|
1116
1137
|
|
1117
1138
|
/* -------------------
|
1118
1139
|
Focus
|
1119
1140
|
-------------------- */
|
1120
1141
|
|
1121
1142
|
/* --- Colors --- */
|
1122
|
-
@primaryColorFocus: saturate(darken(@primaryColor, 8), 20, relative);
|
1123
|
-
@secondaryColorFocus: saturate(lighten(@secondaryColor, 8), 20, relative);
|
1124
|
-
@lightPrimaryColorFocus: saturate(darken(@lightPrimaryColor, 8), 20, relative);
|
1125
|
-
@lightSecondaryColorFocus: saturate(lighten(@lightSecondaryColor, 8), 20, relative);
|
1126
|
-
|
1127
|
-
@redFocus: saturate(darken(@red, 8), 20, relative);
|
1128
|
-
@orangeFocus: saturate(darken(@orange, 8), 20, relative);
|
1129
|
-
@yellowFocus: saturate(darken(@yellow, 8), 20, relative);
|
1130
|
-
@oliveFocus: saturate(darken(@olive, 8), 20, relative);
|
1131
|
-
@greenFocus: saturate(darken(@green, 8), 20, relative);
|
1132
|
-
@tealFocus: saturate(darken(@teal, 8), 20, relative);
|
1133
|
-
@blueFocus: saturate(darken(@blue, 8), 20, relative);
|
1134
|
-
@violetFocus: saturate(darken(@violet, 8), 20, relative);
|
1135
|
-
@purpleFocus: saturate(darken(@purple, 8), 20, relative);
|
1136
|
-
@pinkFocus: saturate(darken(@pink, 8), 20, relative);
|
1137
|
-
@brownFocus: saturate(darken(@brown, 8), 20, relative);
|
1138
|
-
|
1139
|
-
@lightRedFocus: saturate(darken(@lightRed, 8), 20, relative);
|
1140
|
-
@lightOrangeFocus: saturate(darken(@lightOrange, 8), 20, relative);
|
1141
|
-
@lightYellowFocus: saturate(darken(@lightYellow, 8), 20, relative);
|
1142
|
-
@lightOliveFocus: saturate(darken(@lightOlive, 8), 20, relative);
|
1143
|
-
@lightGreenFocus: saturate(darken(@lightGreen, 8), 20, relative);
|
1144
|
-
@lightTealFocus: saturate(darken(@lightTeal, 8), 20, relative);
|
1145
|
-
@lightBlueFocus: saturate(darken(@lightBlue, 8), 20, relative);
|
1146
|
-
@lightVioletFocus: saturate(darken(@lightViolet, 8), 20, relative);
|
1147
|
-
@lightPurpleFocus: saturate(darken(@lightPurple, 8), 20, relative);
|
1148
|
-
@lightPinkFocus: saturate(darken(@lightPink, 8), 20, relative);
|
1149
|
-
@lightBrownFocus: saturate(darken(@lightBrown, 8), 20, relative);
|
1150
|
-
@lightGreyFocus: saturate(darken(@lightGrey, 8), 20, relative);
|
1151
|
-
@lightBlackFocus: saturate(darken(@fullBlack, 8), 20, relative);
|
1143
|
+
@primaryColorFocus: if(iscolor(@primaryColor), saturate(darken(@primaryColor, 8), 20, relative), @primaryColor);
|
1144
|
+
@secondaryColorFocus: if(iscolor(@secondaryColor), saturate(lighten(@secondaryColor, 8), 20, relative), @secondaryColor);
|
1145
|
+
@lightPrimaryColorFocus: if(iscolor(@lightPrimaryColor), saturate(darken(@lightPrimaryColor, 8), 20, relative), @lightPrimaryColor);
|
1146
|
+
@lightSecondaryColorFocus: if(iscolor(@lightSecondaryColor), saturate(lighten(@lightSecondaryColor, 8), 20, relative), @lightSecondaryColor);
|
1147
|
+
|
1148
|
+
@redFocus: if(iscolor(@red), saturate(darken(@red, 8), 20, relative), @red);
|
1149
|
+
@orangeFocus: if(iscolor(@orange), saturate(darken(@orange, 8), 20, relative), @orange);
|
1150
|
+
@yellowFocus: if(iscolor(@yellow), saturate(darken(@yellow, 8), 20, relative), @yellow);
|
1151
|
+
@oliveFocus: if(iscolor(@olive), saturate(darken(@olive, 8), 20, relative), @olive);
|
1152
|
+
@greenFocus: if(iscolor(@green), saturate(darken(@green, 8), 20, relative), @green);
|
1153
|
+
@tealFocus: if(iscolor(@teal), saturate(darken(@teal, 8), 20, relative), @teal);
|
1154
|
+
@blueFocus: if(iscolor(@blue), saturate(darken(@blue, 8), 20, relative), @blue);
|
1155
|
+
@violetFocus: if(iscolor(@violet), saturate(darken(@violet, 8), 20, relative), @violet);
|
1156
|
+
@purpleFocus: if(iscolor(@purple), saturate(darken(@purple, 8), 20, relative), @purple);
|
1157
|
+
@pinkFocus: if(iscolor(@pink), saturate(darken(@pink, 8), 20, relative), @pink);
|
1158
|
+
@brownFocus: if(iscolor(@brown), saturate(darken(@brown, 8), 20, relative), @brown);
|
1159
|
+
|
1160
|
+
@lightRedFocus: if(iscolor(@lightRed), saturate(darken(@lightRed, 8), 20, relative), @lightRed);
|
1161
|
+
@lightOrangeFocus: if(iscolor(@lightOrange), saturate(darken(@lightOrange, 8), 20, relative), @lightOrange);
|
1162
|
+
@lightYellowFocus: if(iscolor(@lightYellow), saturate(darken(@lightYellow, 8), 20, relative), @lightYellow);
|
1163
|
+
@lightOliveFocus: if(iscolor(@lightOlive), saturate(darken(@lightOlive, 8), 20, relative), @lightOlive);
|
1164
|
+
@lightGreenFocus: if(iscolor(@lightGreen), saturate(darken(@lightGreen, 8), 20, relative), @lightGreen);
|
1165
|
+
@lightTealFocus: if(iscolor(@lightTeal), saturate(darken(@lightTeal, 8), 20, relative), @lightTeal);
|
1166
|
+
@lightBlueFocus: if(iscolor(@lightBlue), saturate(darken(@lightBlue, 8), 20, relative), @lightBlue);
|
1167
|
+
@lightVioletFocus: if(iscolor(@lightViolet), saturate(darken(@lightViolet, 8), 20, relative), @lightViolet);
|
1168
|
+
@lightPurpleFocus: if(iscolor(@lightPurple), saturate(darken(@lightPurple, 8), 20, relative), @lightPurple);
|
1169
|
+
@lightPinkFocus: if(iscolor(@lightPink), saturate(darken(@lightPink, 8), 20, relative), @lightPink);
|
1170
|
+
@lightBrownFocus: if(iscolor(@lightBrown), saturate(darken(@lightBrown, 8), 20, relative), @lightBrown);
|
1171
|
+
@lightGreyFocus: if(iscolor(@lightGrey), saturate(darken(@lightGrey, 8), 20, relative), @lightGrey);
|
1172
|
+
@lightBlackFocus: if(iscolor(@fullBlack), saturate(darken(@fullBlack, 8), 20, relative), @fullBlack);
|
1152
1173
|
|
1153
1174
|
/* --- Emotive --- */
|
1154
|
-
@positiveColorFocus: saturate(darken(@positiveColor, 8), 20, relative);
|
1155
|
-
@negativeColorFocus: saturate(darken(@negativeColor, 8), 20, relative);
|
1175
|
+
@positiveColorFocus: if(iscolor(@positiveColor), saturate(darken(@positiveColor, 8), 20, relative), @positiveColor);
|
1176
|
+
@negativeColorFocus: if(iscolor(@negativeColor), saturate(darken(@negativeColor, 8), 20, relative), @negativeColor);
|
1156
1177
|
|
1157
1178
|
/* --- Brand --- */
|
1158
|
-
@facebookFocusColor: saturate(darken(@facebookColor, 8), 20, relative);
|
1159
|
-
@twitterFocusColor: saturate(darken(@twitterColor, 8), 20, relative);
|
1160
|
-
@googlePlusFocusColor: saturate(darken(@googlePlusColor, 8), 20, relative);
|
1161
|
-
@linkedInFocusColor: saturate(darken(@linkedInColor, 8), 20, relative);
|
1162
|
-
@youtubeFocusColor: saturate(darken(@youtubeColor, 8), 20, relative);
|
1163
|
-
@instagramFocusColor: saturate(darken(@instagramColor, 8), 20, relative);
|
1164
|
-
@pinterestFocusColor: saturate(darken(@pinterestColor, 8), 20, relative);
|
1165
|
-
@vkFocusColor: saturate(darken(@vkColor, 8), 20, relative);
|
1166
|
-
@telegramFocusColor: saturate(darken(@telegramColor, 8), 20, relative);
|
1167
|
-
@whatsAppFocusColor: saturate(darken(@whatsAppColor, 8), 20, relative);
|
1179
|
+
@facebookFocusColor: if(iscolor(@facebookColor), saturate(darken(@facebookColor, 8), 20, relative), @facebookColor);
|
1180
|
+
@twitterFocusColor: if(iscolor(@twitterColor), saturate(darken(@twitterColor, 8), 20, relative), @twitterColor);
|
1181
|
+
@googlePlusFocusColor: if(iscolor(@googlePlusColor), saturate(darken(@googlePlusColor, 8), 20, relative), @googlePlusColor);
|
1182
|
+
@linkedInFocusColor: if(iscolor(@linkedInColor), saturate(darken(@linkedInColor, 8), 20, relative), @linkedInColor);
|
1183
|
+
@youtubeFocusColor: if(iscolor(@youtubeColor), saturate(darken(@youtubeColor, 8), 20, relative), @youtubeColor);
|
1184
|
+
@instagramFocusColor: if(iscolor(@instagramColor), saturate(darken(@instagramColor, 8), 20, relative), @instagramColor);
|
1185
|
+
@pinterestFocusColor: if(iscolor(@pinterestColor), saturate(darken(@pinterestColor, 8), 20, relative), @pinterestColor);
|
1186
|
+
@vkFocusColor: if(iscolor(@vkColor), saturate(darken(@vkColor, 8), 20, relative), @vkColor);
|
1187
|
+
@telegramFocusColor: if(iscolor(@telegramColor), saturate(darken(@telegramColor, 8), 20, relative), @telegramColor);
|
1188
|
+
@whatsAppFocusColor: if(iscolor(@whatsAppColor), saturate(darken(@whatsAppColor, 8), 20, relative), @whatsAppColor);
|
1168
1189
|
|
1169
1190
|
/* --- Dark Tones --- */
|
1170
|
-
@fullBlackFocus: lighten(@fullBlack, 8);
|
1171
|
-
@blackFocus: lighten(@black, 8);
|
1172
|
-
@greyFocus: lighten(@grey, 8);
|
1191
|
+
@fullBlackFocus: if(iscolor(@fullBlack), lighten(@fullBlack, 8), @fullBlack);
|
1192
|
+
@blackFocus: if(iscolor(@black), lighten(@black, 8), @black);
|
1193
|
+
@greyFocus: if(iscolor(@grey), lighten(@grey, 8), @grey);
|
1173
1194
|
|
1174
1195
|
/* --- Light Tones --- */
|
1175
|
-
@whiteFocus: darken(@white, 8);
|
1176
|
-
@offWhiteFocus: darken(@offWhite, 8);
|
1177
|
-
@darkWhiteFocus: darken(@darkWhite, 8);
|
1196
|
+
@whiteFocus: if(iscolor(@white), darken(@white, 8), @white);
|
1197
|
+
@offWhiteFocus: if(iscolor(@offWhite), darken(@offWhite, 8), @offWhite);
|
1198
|
+
@darkWhiteFocus: if(iscolor(@darkWhite), darken(@darkWhite, 8), @darkWhite);
|
1178
1199
|
|
1179
1200
|
/* -------------------
|
1180
1201
|
Down (:active)
|
1181
1202
|
-------------------- */
|
1182
1203
|
|
1183
1204
|
/* --- Colors --- */
|
1184
|
-
@primaryColorDown: darken(@primaryColor, 10);
|
1185
|
-
@secondaryColorDown: lighten(@secondaryColor, 10);
|
1186
|
-
@lightPrimaryColorDown: darken(@lightPrimaryColor, 10);
|
1187
|
-
@lightSecondaryColorDown: lighten(@lightSecondaryColor, 10);
|
1188
|
-
|
1189
|
-
@redDown: darken(@red, 10);
|
1190
|
-
@orangeDown: darken(@orange, 10);
|
1191
|
-
@yellowDown: darken(@yellow, 10);
|
1192
|
-
@oliveDown: darken(@olive, 10);
|
1193
|
-
@greenDown: darken(@green, 10);
|
1194
|
-
@tealDown: darken(@teal, 10);
|
1195
|
-
@blueDown: darken(@blue, 10);
|
1196
|
-
@violetDown: darken(@violet, 10);
|
1197
|
-
@purpleDown: darken(@purple, 10);
|
1198
|
-
@pinkDown: darken(@pink, 10);
|
1199
|
-
@brownDown: darken(@brown, 10);
|
1200
|
-
|
1201
|
-
@lightRedDown: darken(@lightRed, 10);
|
1202
|
-
@lightOrangeDown: darken(@lightOrange, 10);
|
1203
|
-
@lightYellowDown: darken(@lightYellow, 10);
|
1204
|
-
@lightOliveDown: darken(@lightOlive, 10);
|
1205
|
-
@lightGreenDown: darken(@lightGreen, 10);
|
1206
|
-
@lightTealDown: darken(@lightTeal, 10);
|
1207
|
-
@lightBlueDown: darken(@lightBlue, 10);
|
1208
|
-
@lightVioletDown: darken(@lightViolet, 10);
|
1209
|
-
@lightPurpleDown: darken(@lightPurple, 10);
|
1210
|
-
@lightPinkDown: darken(@lightPink, 10);
|
1211
|
-
@lightBrownDown: darken(@lightBrown, 10);
|
1212
|
-
@lightGreyDown: darken(@lightGrey, 10);
|
1213
|
-
@lightBlackDown: darken(@fullBlack, 10);
|
1205
|
+
@primaryColorDown: if(iscolor(@primaryColor), darken(@primaryColor, 10), @primaryColor);
|
1206
|
+
@secondaryColorDown: if(iscolor(@secondaryColor), lighten(@secondaryColor, 10), @secondaryColor);
|
1207
|
+
@lightPrimaryColorDown: if(iscolor(@lightPrimaryColor), darken(@lightPrimaryColor, 10), @lightPrimaryColor);
|
1208
|
+
@lightSecondaryColorDown: if(iscolor(@lightSecondaryColor), lighten(@lightSecondaryColor, 10), @lightSecondaryColor);
|
1209
|
+
|
1210
|
+
@redDown: if(iscolor(@red), darken(@red, 10), @red);
|
1211
|
+
@orangeDown: if(iscolor(@orange), darken(@orange, 10), @orange);
|
1212
|
+
@yellowDown: if(iscolor(@yellow), darken(@yellow, 10), @yellow);
|
1213
|
+
@oliveDown: if(iscolor(@olive), darken(@olive, 10), @olive);
|
1214
|
+
@greenDown: if(iscolor(@green), darken(@green, 10), @green);
|
1215
|
+
@tealDown: if(iscolor(@teal), darken(@teal, 10), @teal);
|
1216
|
+
@blueDown: if(iscolor(@blue), darken(@blue, 10), @blue);
|
1217
|
+
@violetDown: if(iscolor(@violet), darken(@violet, 10), @violet);
|
1218
|
+
@purpleDown: if(iscolor(@purple), darken(@purple, 10), @purple);
|
1219
|
+
@pinkDown: if(iscolor(@pink), darken(@pink, 10), @pink);
|
1220
|
+
@brownDown: if(iscolor(@brown), darken(@brown, 10), @brown);
|
1221
|
+
|
1222
|
+
@lightRedDown: if(iscolor(@lightRed), darken(@lightRed, 10), @lightRed);
|
1223
|
+
@lightOrangeDown: if(iscolor(@lightOrange), darken(@lightOrange, 10), @lightOrange);
|
1224
|
+
@lightYellowDown: if(iscolor(@lightYellow), darken(@lightYellow, 10), @lightYellow);
|
1225
|
+
@lightOliveDown: if(iscolor(@lightOlive), darken(@lightOlive, 10), @lightOlive);
|
1226
|
+
@lightGreenDown: if(iscolor(@lightGreen), darken(@lightGreen, 10), @lightGreen);
|
1227
|
+
@lightTealDown: if(iscolor(@lightTeal), darken(@lightTeal, 10), @lightTeal);
|
1228
|
+
@lightBlueDown: if(iscolor(@lightBlue), darken(@lightBlue, 10), @lightBlue);
|
1229
|
+
@lightVioletDown: if(iscolor(@lightViolet), darken(@lightViolet, 10), @lightViolet);
|
1230
|
+
@lightPurpleDown: if(iscolor(@lightPurple), darken(@lightPurple, 10), @lightPurple);
|
1231
|
+
@lightPinkDown: if(iscolor(@lightPink), darken(@lightPink, 10), @lightPink);
|
1232
|
+
@lightBrownDown: if(iscolor(@lightBrown), darken(@lightBrown, 10), @lightBrown);
|
1233
|
+
@lightGreyDown: if(iscolor(@lightGrey), darken(@lightGrey, 10), @lightGrey);
|
1234
|
+
@lightBlackDown: if(iscolor(@fullBlack), darken(@fullBlack, 10), @fullBlack);
|
1214
1235
|
|
1215
1236
|
/* --- Emotive --- */
|
1216
|
-
@positiveColorDown: darken(@positiveColor, 10);
|
1217
|
-
@negativeColorDown: darken(@negativeColor, 10);
|
1237
|
+
@positiveColorDown: if(iscolor(@positiveColor), darken(@positiveColor, 10), @positiveColor);
|
1238
|
+
@negativeColorDown: if(iscolor(@negativeColor), darken(@negativeColor, 10), @negativeColor);
|
1218
1239
|
|
1219
1240
|
/* --- Brand --- */
|
1220
|
-
@facebookDownColor: darken(@facebookColor, 10);
|
1221
|
-
@twitterDownColor: darken(@twitterColor, 10);
|
1222
|
-
@googlePlusDownColor: darken(@googlePlusColor, 10);
|
1223
|
-
@linkedInDownColor: darken(@linkedInColor, 10);
|
1224
|
-
@youtubeDownColor: darken(@youtubeColor, 10);
|
1225
|
-
@instagramDownColor: darken(@instagramColor, 10);
|
1226
|
-
@pinterestDownColor: darken(@pinterestColor, 10);
|
1227
|
-
@vkDownColor: darken(@vkColor, 10);
|
1228
|
-
@telegramDownColor: darken(@telegramColor, 10);
|
1229
|
-
@whatsAppDownColor: darken(@whatsAppColor, 10);
|
1241
|
+
@facebookDownColor: if(iscolor(@facebookColor), darken(@facebookColor, 10), @facebookColor);
|
1242
|
+
@twitterDownColor: if(iscolor(@twitterColor), darken(@twitterColor, 10), @twitterColor);
|
1243
|
+
@googlePlusDownColor: if(iscolor(@googlePlusColor), darken(@googlePlusColor, 10), @googlePlusColor);
|
1244
|
+
@linkedInDownColor: if(iscolor(@linkedInColor), darken(@linkedInColor, 10), @linkedInColor);
|
1245
|
+
@youtubeDownColor: if(iscolor(@youtubeColor), darken(@youtubeColor, 10), @youtubeColor);
|
1246
|
+
@instagramDownColor: if(iscolor(@instagramColor), darken(@instagramColor, 10), @instagramColor);
|
1247
|
+
@pinterestDownColor: if(iscolor(@pinterestColor), darken(@pinterestColor, 10), @pinterestColor);
|
1248
|
+
@vkDownColor: if(iscolor(@vkColor), darken(@vkColor, 10), @vkColor);
|
1249
|
+
@telegramDownColor: if(iscolor(@telegramColor), darken(@telegramColor, 10), @telegramColor);
|
1250
|
+
@whatsAppDownColor: if(iscolor(@whatsAppColor), darken(@whatsAppColor, 10), @whatsAppColor);
|
1230
1251
|
|
1231
1252
|
/* --- Dark Tones --- */
|
1232
|
-
@fullBlackDown: lighten(@fullBlack, 10);
|
1233
|
-
@blackDown: lighten(@black, 10);
|
1234
|
-
@greyDown: lighten(@grey, 10);
|
1253
|
+
@fullBlackDown: if(iscolor(@fullBlack), lighten(@fullBlack, 10), @fullBlack);
|
1254
|
+
@blackDown: if(iscolor(@black), lighten(@black, 10), @black);
|
1255
|
+
@greyDown: if(iscolor(@grey), lighten(@grey, 10), @grey);
|
1235
1256
|
|
1236
1257
|
/* --- Light Tones --- */
|
1237
|
-
@whiteDown: darken(@white, 10);
|
1238
|
-
@offWhiteDown: darken(@offWhite, 10);
|
1239
|
-
@darkWhiteDown: darken(@darkWhite, 10);
|
1258
|
+
@whiteDown: if(iscolor(@white), darken(@white, 10), @white);
|
1259
|
+
@offWhiteDown: if(iscolor(@offWhite), darken(@offWhite, 10), @offWhite);
|
1260
|
+
@darkWhiteDown: if(iscolor(@darkWhite), darken(@darkWhite, 10), @darkWhite);
|
1240
1261
|
|
1241
1262
|
/* -------------------
|
1242
1263
|
Active
|
1243
1264
|
-------------------- */
|
1244
1265
|
|
1245
1266
|
/* --- Colors --- */
|
1246
|
-
@primaryColorActive: saturate(darken(@primaryColor, 5), 15, relative);
|
1247
|
-
@secondaryColorActive: saturate(lighten(@secondaryColor, 5), 15, relative);
|
1248
|
-
@lightPrimaryColorActive: saturate(darken(@lightPrimaryColor, 5), 15, relative);
|
1249
|
-
@lightSecondaryColorActive: saturate(lighten(@lightSecondaryColor, 5), 15, relative);
|
1250
|
-
|
1251
|
-
@redActive: saturate(darken(@red, 5), 15, relative);
|
1252
|
-
@orangeActive: saturate(darken(@orange, 5), 15, relative);
|
1253
|
-
@yellowActive: saturate(darken(@yellow, 5), 15, relative);
|
1254
|
-
@oliveActive: saturate(darken(@olive, 5), 15, relative);
|
1255
|
-
@greenActive: saturate(darken(@green, 5), 15, relative);
|
1256
|
-
@tealActive: saturate(darken(@teal, 5), 15, relative);
|
1257
|
-
@blueActive: saturate(darken(@blue, 5), 15, relative);
|
1258
|
-
@violetActive: saturate(darken(@violet, 5), 15, relative);
|
1259
|
-
@purpleActive: saturate(darken(@purple, 5), 15, relative);
|
1260
|
-
@pinkActive: saturate(darken(@pink, 5), 15, relative);
|
1261
|
-
@brownActive: saturate(darken(@brown, 5), 15, relative);
|
1262
|
-
|
1263
|
-
@lightRedActive: saturate(darken(@lightRed, 5), 15, relative);
|
1264
|
-
@lightOrangeActive: saturate(darken(@lightOrange, 5), 15, relative);
|
1265
|
-
@lightYellowActive: saturate(darken(@lightYellow, 5), 15, relative);
|
1266
|
-
@lightOliveActive: saturate(darken(@lightOlive, 5), 15, relative);
|
1267
|
-
@lightGreenActive: saturate(darken(@lightGreen, 5), 15, relative);
|
1268
|
-
@lightTealActive: saturate(darken(@lightTeal, 5), 15, relative);
|
1269
|
-
@lightBlueActive: saturate(darken(@lightBlue, 5), 15, relative);
|
1270
|
-
@lightVioletActive: saturate(darken(@lightViolet, 5), 15, relative);
|
1271
|
-
@lightPurpleActive: saturate(darken(@lightPurple, 5), 15, relative);
|
1272
|
-
@lightPinkActive: saturate(darken(@lightPink, 5), 15, relative);
|
1273
|
-
@lightBrownActive: saturate(darken(@lightBrown, 5), 15, relative);
|
1274
|
-
@lightGreyActive: saturate(darken(@lightGrey, 5), 15, relative);
|
1275
|
-
@lightBlackActive: saturate(darken(@fullBlack, 5), 15, relative);
|
1267
|
+
@primaryColorActive: if(iscolor(@primaryColor), saturate(darken(@primaryColor, 5), 15, relative), @primaryColor);
|
1268
|
+
@secondaryColorActive: if(iscolor(@secondaryColor), saturate(lighten(@secondaryColor, 5), 15, relative), @secondaryColor);
|
1269
|
+
@lightPrimaryColorActive: if(iscolor(@lightPrimaryColor), saturate(darken(@lightPrimaryColor, 5), 15, relative), @lightPrimaryColor);
|
1270
|
+
@lightSecondaryColorActive: if(iscolor(@lightSecondaryColor), saturate(lighten(@lightSecondaryColor, 5), 15, relative), @lightSecondaryColor);
|
1271
|
+
|
1272
|
+
@redActive: if(iscolor(@red), saturate(darken(@red, 5), 15, relative), @red);
|
1273
|
+
@orangeActive: if(iscolor(@orange), saturate(darken(@orange, 5), 15, relative), @orange);
|
1274
|
+
@yellowActive: if(iscolor(@yellow), saturate(darken(@yellow, 5), 15, relative), @yellow);
|
1275
|
+
@oliveActive: if(iscolor(@olive), saturate(darken(@olive, 5), 15, relative), @olive);
|
1276
|
+
@greenActive: if(iscolor(@green), saturate(darken(@green, 5), 15, relative), @green);
|
1277
|
+
@tealActive: if(iscolor(@teal), saturate(darken(@teal, 5), 15, relative), @teal);
|
1278
|
+
@blueActive: if(iscolor(@blue), saturate(darken(@blue, 5), 15, relative), @blue);
|
1279
|
+
@violetActive: if(iscolor(@violet), saturate(darken(@violet, 5), 15, relative), @violet);
|
1280
|
+
@purpleActive: if(iscolor(@purple), saturate(darken(@purple, 5), 15, relative), @purple);
|
1281
|
+
@pinkActive: if(iscolor(@pink), saturate(darken(@pink, 5), 15, relative), @pink);
|
1282
|
+
@brownActive: if(iscolor(@brown), saturate(darken(@brown, 5), 15, relative), @brown);
|
1283
|
+
|
1284
|
+
@lightRedActive: if(iscolor(@lightRed), saturate(darken(@lightRed, 5), 15, relative), @lightRed);
|
1285
|
+
@lightOrangeActive: if(iscolor(@lightOrange), saturate(darken(@lightOrange, 5), 15, relative), @lightOrange);
|
1286
|
+
@lightYellowActive: if(iscolor(@lightYellow), saturate(darken(@lightYellow, 5), 15, relative), @lightYellow);
|
1287
|
+
@lightOliveActive: if(iscolor(@lightOlive), saturate(darken(@lightOlive, 5), 15, relative), @lightOlive);
|
1288
|
+
@lightGreenActive: if(iscolor(@lightGreen), saturate(darken(@lightGreen, 5), 15, relative), @lightGreen);
|
1289
|
+
@lightTealActive: if(iscolor(@lightTeal), saturate(darken(@lightTeal, 5), 15, relative), @lightTeal);
|
1290
|
+
@lightBlueActive: if(iscolor(@lightBlue), saturate(darken(@lightBlue, 5), 15, relative), @lightBlue);
|
1291
|
+
@lightVioletActive: if(iscolor(@lightViolet), saturate(darken(@lightViolet, 5), 15, relative), @lightViolet);
|
1292
|
+
@lightPurpleActive: if(iscolor(@lightPurple), saturate(darken(@lightPurple, 5), 15, relative), @lightPurple);
|
1293
|
+
@lightPinkActive: if(iscolor(@lightPink), saturate(darken(@lightPink, 5), 15, relative), @lightPink);
|
1294
|
+
@lightBrownActive: if(iscolor(@lightBrown), saturate(darken(@lightBrown, 5), 15, relative), @lightBrown);
|
1295
|
+
@lightGreyActive: if(iscolor(@lightGrey), saturate(darken(@lightGrey, 5), 15, relative), @lightGrey);
|
1296
|
+
@lightBlackActive: if(iscolor(@fullBlack), saturate(darken(@fullBlack, 5), 15, relative), @fullBlack);
|
1276
1297
|
|
1277
1298
|
/* --- Emotive --- */
|
1278
|
-
@positiveColorActive: saturate(darken(@positiveColor, 5), 15, relative);
|
1279
|
-
@negativeColorActive: saturate(darken(@negativeColor, 5), 15, relative);
|
1299
|
+
@positiveColorActive: if(iscolor(@positiveColor), saturate(darken(@positiveColor, 5), 15, relative), @positiveColor);
|
1300
|
+
@negativeColorActive: if(iscolor(@negativeColor), saturate(darken(@negativeColor, 5), 15, relative), @negativeColor);
|
1280
1301
|
|
1281
1302
|
/* --- Brand --- */
|
1282
|
-
@facebookActiveColor: saturate(darken(@facebookColor, 5), 15, relative);
|
1283
|
-
@twitterActiveColor: saturate(darken(@twitterColor, 5), 15, relative);
|
1284
|
-
@googlePlusActiveColor: saturate(darken(@googlePlusColor, 5), 15, relative);
|
1285
|
-
@linkedInActiveColor: saturate(darken(@linkedInColor, 5), 15, relative);
|
1286
|
-
@youtubeActiveColor: saturate(darken(@youtubeColor, 5), 15, relative);
|
1287
|
-
@instagramActiveColor: saturate(darken(@instagramColor, 5), 15, relative);
|
1288
|
-
@pinterestActiveColor: saturate(darken(@pinterestColor, 5), 15, relative);
|
1289
|
-
@vkActiveColor: saturate(darken(@vkColor, 5), 15, relative);
|
1290
|
-
@telegramActiveColor: saturate(darken(@telegramColor, 5), 15, relative);
|
1291
|
-
@whatsAppActiveColor: saturate(darken(@whatsAppColor, 5), 15, relative);
|
1303
|
+
@facebookActiveColor: if(iscolor(@facebookColor), saturate(darken(@facebookColor, 5), 15, relative), @facebookColor);
|
1304
|
+
@twitterActiveColor: if(iscolor(@twitterColor), saturate(darken(@twitterColor, 5), 15, relative), @twitterColor);
|
1305
|
+
@googlePlusActiveColor: if(iscolor(@googlePlusColor), saturate(darken(@googlePlusColor, 5), 15, relative), @googlePlusColor);
|
1306
|
+
@linkedInActiveColor: if(iscolor(@linkedInColor), saturate(darken(@linkedInColor, 5), 15, relative), @linkedInColor);
|
1307
|
+
@youtubeActiveColor: if(iscolor(@youtubeColor), saturate(darken(@youtubeColor, 5), 15, relative), @youtubeColor);
|
1308
|
+
@instagramActiveColor: if(iscolor(@instagramColor), saturate(darken(@instagramColor, 5), 15, relative), @instagramColor);
|
1309
|
+
@pinterestActiveColor: if(iscolor(@pinterestColor), saturate(darken(@pinterestColor, 5), 15, relative), @pinterestColor);
|
1310
|
+
@vkActiveColor: if(iscolor(@vkColor), saturate(darken(@vkColor, 5), 15, relative), @vkColor);
|
1311
|
+
@telegramActiveColor: if(iscolor(@telegramColor), saturate(darken(@telegramColor, 5), 15, relative), @telegramColor);
|
1312
|
+
@whatsAppActiveColor: if(iscolor(@whatsAppColor), saturate(darken(@whatsAppColor, 5), 15, relative), @whatsAppColor);
|
1292
1313
|
|
1293
1314
|
/* --- Dark Tones --- */
|
1294
|
-
@fullBlackActive: darken(@fullBlack, 5);
|
1295
|
-
@blackActive: darken(@black, 5);
|
1296
|
-
@greyActive: darken(@grey, 5);
|
1315
|
+
@fullBlackActive: if(iscolor(@fullBlack), darken(@fullBlack, 5), @fullBlack);
|
1316
|
+
@blackActive: if(iscolor(@black), darken(@black, 5), @black);
|
1317
|
+
@greyActive: if(iscolor(@grey), darken(@grey, 5), @grey);
|
1297
1318
|
|
1298
1319
|
/* --- Light Tones --- */
|
1299
|
-
@whiteActive: darken(@white, 5);
|
1300
|
-
@offWhiteActive: darken(@offWhite, 5);
|
1301
|
-
@darkWhiteActive: darken(@darkWhite, 5);
|
1320
|
+
@whiteActive: if(iscolor(@white), darken(@white, 5), @white);
|
1321
|
+
@offWhiteActive: if(iscolor(@offWhite), darken(@offWhite, 5), @offWhite);
|
1322
|
+
@darkWhiteActive: if(iscolor(@darkWhite), darken(@darkWhite, 5), @darkWhite);
|
1302
1323
|
|
1303
1324
|
/* --- Tertiary --- */
|
1304
|
-
@primaryTertiaryColor: saturate(@primaryColor, 20%);
|
1305
|
-
@primaryTertiaryColorHover: desaturate(@primaryColorHover, 20%);
|
1306
|
-
@primaryTertiaryColorFocus: desaturate(@primaryColorFocus, 20%);
|
1307
|
-
@primaryTertiaryColorActive: saturate(@primaryColorActive, 20%);
|
1308
|
-
@secondaryTertiaryColor: saturate(@secondaryColor, 20%);
|
1309
|
-
@secondaryTertiaryColorHover: desaturate(@secondaryColorHover, 20%);
|
1310
|
-
@secondaryTertiaryColorFocus: desaturate(@secondaryColorFocus, 20%);
|
1311
|
-
@secondaryTertiaryColorActive: saturate(@secondaryColorActive, 20%);
|
1312
|
-
@redTertiaryColor: saturate(@red, 20%);
|
1313
|
-
@redTertiaryColorHover: desaturate(@redHover, 20%);
|
1314
|
-
@redTertiaryColorFocus: desaturate(@redFocus, 20%);
|
1315
|
-
@redTertiaryColorActive: saturate(@redActive, 20%);
|
1316
|
-
@orangeTertiaryColor: saturate(@orange, 20%);
|
1317
|
-
@orangeTertiaryColorHover: desaturate(@orangeHover, 20%);
|
1318
|
-
@orangeTertiaryColorFocus: desaturate(@orangeFocus, 20%);
|
1319
|
-
@orangeTertiaryColorActive: saturate(@orangeActive, 20%);
|
1320
|
-
@yellowTertiaryColor: saturate(@yellow, 20%);
|
1321
|
-
@yellowTertiaryColorHover: desaturate(@yellowHover, 20%);
|
1322
|
-
@yellowTertiaryColorFocus: desaturate(@yellowFocus, 20%);
|
1323
|
-
@yellowTertiaryColorActive: saturate(@yellowActive, 20%);
|
1324
|
-
@oliveTertiaryColor: saturate(@olive, 20%);
|
1325
|
-
@oliveTertiaryColorHover: desaturate(@oliveHover, 20%);
|
1326
|
-
@oliveTertiaryColorFocus: desaturate(@oliveFocus, 20%);
|
1327
|
-
@oliveTertiaryColorActive: saturate(@oliveActive, 20%);
|
1328
|
-
@greenTertiaryColor: saturate(@green, 20%);
|
1329
|
-
@greenTertiaryColorHover: desaturate(@greenHover, 20%);
|
1330
|
-
@greenTertiaryColorFocus: desaturate(@greenFocus, 20%);
|
1331
|
-
@greenTertiaryColorActive: saturate(@greenActive, 20%);
|
1332
|
-
@tealTertiaryColor: saturate(@teal, 20%);
|
1333
|
-
@tealTertiaryColorHover: desaturate(@tealHover, 20%);
|
1334
|
-
@tealTertiaryColorFocus: desaturate(@tealFocus, 20%);
|
1335
|
-
@tealTertiaryColorActive: saturate(@tealActive, 20%);
|
1336
|
-
@blueTertiaryColor: saturate(@blue, 20%);
|
1337
|
-
@blueTertiaryColorHover: desaturate(@blueHover, 20%);
|
1338
|
-
@blueTertiaryColorFocus: desaturate(@blueFocus, 20%);
|
1339
|
-
@blueTertiaryColorActive: saturate(@blueActive, 20%);
|
1340
|
-
@violetTertiaryColor: saturate(@violet, 20%);
|
1341
|
-
@violetTertiaryColorHover: desaturate(@violetHover, 20%);
|
1342
|
-
@violetTertiaryColorFocus: desaturate(@violetFocus, 20%);
|
1343
|
-
@violetTertiaryColorActive: saturate(@violetActive, 20%);
|
1344
|
-
@purpleTertiaryColor: saturate(@purple, 20%);
|
1345
|
-
@purpleTertiaryColorHover: desaturate(@purpleHover, 20%);
|
1346
|
-
@purpleTertiaryColorFocus: desaturate(@purpleFocus, 20%);
|
1347
|
-
@purpleTertiaryColorActive: saturate(@purpleActive, 20%);
|
1348
|
-
@pinkTertiaryColor: saturate(@pink, 20%);
|
1349
|
-
@pinkTertiaryColorHover: desaturate(@pinkHover, 20%);
|
1350
|
-
@pinkTertiaryColorFocus: desaturate(@pinkFocus, 20%);
|
1351
|
-
@pinkTertiaryColorActive: saturate(@pinkActive, 20%);
|
1352
|
-
@brownTertiaryColor: saturate(@brown, 20%);
|
1353
|
-
@brownTertiaryColorHover: desaturate(@brownHover, 20%);
|
1354
|
-
@brownTertiaryColorFocus: desaturate(@brownFocus, 20%);
|
1355
|
-
@brownTertiaryColorActive: saturate(@brownActive, 20%);
|
1356
|
-
@greyTertiaryColor: darken(@grey, 5%);
|
1357
|
-
@greyTertiaryColorHover: lighten(@greyHover, 5%);
|
1358
|
-
@greyTertiaryColorFocus: lighten(@greyFocus, 8%);
|
1359
|
-
@greyTertiaryColorActive: darken(@greyActive, 5%);
|
1360
|
-
@blackTertiaryColor: lighten(@black, 20%);
|
1361
|
-
@blackTertiaryColorHover: lighten(@blackHover, 40%);
|
1362
|
-
@blackTertiaryColorFocus: lighten(@blackFocus, 40%);
|
1363
|
-
@blackTertiaryColorActive: lighten(@blackActive, 20%);
|
1325
|
+
@primaryTertiaryColor: if(iscolor(@primaryColor), saturate(@primaryColor, 20%), @primaryColor);
|
1326
|
+
@primaryTertiaryColorHover: if(iscolor(@primaryColorHover), desaturate(@primaryColorHover, 20%), @primaryColorHover);
|
1327
|
+
@primaryTertiaryColorFocus: if(iscolor(@primaryColorFocus), desaturate(@primaryColorFocus, 20%), @primaryColorFocus);
|
1328
|
+
@primaryTertiaryColorActive: if(iscolor(@primaryColorActive), saturate(@primaryColorActive, 20%), @primaryColorActive);
|
1329
|
+
@secondaryTertiaryColor: if(iscolor(@secondaryColor), saturate(@secondaryColor, 20%), @secondaryColor);
|
1330
|
+
@secondaryTertiaryColorHover: if(iscolor(@secondaryColorHover), desaturate(@secondaryColorHover, 20%), @secondaryColorHover);
|
1331
|
+
@secondaryTertiaryColorFocus: if(iscolor(@secondaryColorFocus), desaturate(@secondaryColorFocus, 20%), @secondaryColorFocus);
|
1332
|
+
@secondaryTertiaryColorActive: if(iscolor(@secondaryColorActive), saturate(@secondaryColorActive, 20%), @secondaryColorActive);
|
1333
|
+
@redTertiaryColor: if(iscolor(@red), saturate(@red, 20%), @red);
|
1334
|
+
@redTertiaryColorHover: if(iscolor(@redHover), desaturate(@redHover, 20%), @redHover);
|
1335
|
+
@redTertiaryColorFocus: if(iscolor(@redFocus), desaturate(@redFocus, 20%), @redFocus);
|
1336
|
+
@redTertiaryColorActive: if(iscolor(@redActive), saturate(@redActive, 20%), @redActive);
|
1337
|
+
@orangeTertiaryColor: if(iscolor(@orange), saturate(@orange, 20%), @orange);
|
1338
|
+
@orangeTertiaryColorHover: if(iscolor(@orangeHover), desaturate(@orangeHover, 20%), @orangeHover);
|
1339
|
+
@orangeTertiaryColorFocus: if(iscolor(@orangeFocus), desaturate(@orangeFocus, 20%), @orangeFocus);
|
1340
|
+
@orangeTertiaryColorActive: if(iscolor(@orangeActive), saturate(@orangeActive, 20%), @orangeActive);
|
1341
|
+
@yellowTertiaryColor: if(iscolor(@yellow), saturate(@yellow, 20%), @yellow);
|
1342
|
+
@yellowTertiaryColorHover: if(iscolor(@yellowHover), desaturate(@yellowHover, 20%), @yellowHover);
|
1343
|
+
@yellowTertiaryColorFocus: if(iscolor(@yellowFocus), desaturate(@yellowFocus, 20%), @yellowFocus);
|
1344
|
+
@yellowTertiaryColorActive: if(iscolor(@yellowActive), saturate(@yellowActive, 20%), @yellowActive);
|
1345
|
+
@oliveTertiaryColor: if(iscolor(@olive), saturate(@olive, 20%), @olive);
|
1346
|
+
@oliveTertiaryColorHover: if(iscolor(@oliveHover), desaturate(@oliveHover, 20%), @oliveHover);
|
1347
|
+
@oliveTertiaryColorFocus: if(iscolor(@oliveFocus), desaturate(@oliveFocus, 20%), @oliveFocus);
|
1348
|
+
@oliveTertiaryColorActive: if(iscolor(@oliveActive), saturate(@oliveActive, 20%), @oliveActive);
|
1349
|
+
@greenTertiaryColor: if(iscolor(@green), saturate(@green, 20%), @green);
|
1350
|
+
@greenTertiaryColorHover: if(iscolor(@greenHover), desaturate(@greenHover, 20%), @greenHover);
|
1351
|
+
@greenTertiaryColorFocus: if(iscolor(@greenFocus), desaturate(@greenFocus, 20%), @greenFocus);
|
1352
|
+
@greenTertiaryColorActive: if(iscolor(@greenActive), saturate(@greenActive, 20%), @greenActive);
|
1353
|
+
@tealTertiaryColor: if(iscolor(@teal), saturate(@teal, 20%), @teal);
|
1354
|
+
@tealTertiaryColorHover: if(iscolor(@tealHover), desaturate(@tealHover, 20%), @tealHover);
|
1355
|
+
@tealTertiaryColorFocus: if(iscolor(@tealFocus), desaturate(@tealFocus, 20%), @tealFocus);
|
1356
|
+
@tealTertiaryColorActive: if(iscolor(@tealActive), saturate(@tealActive, 20%), @tealActive);
|
1357
|
+
@blueTertiaryColor: if(iscolor(@blue), saturate(@blue, 20%), @blue);
|
1358
|
+
@blueTertiaryColorHover: if(iscolor(@blueHover), desaturate(@blueHover, 20%), @blueHover);
|
1359
|
+
@blueTertiaryColorFocus: if(iscolor(@blueFocus), desaturate(@blueFocus, 20%), @blueFocus);
|
1360
|
+
@blueTertiaryColorActive: if(iscolor(@blueActive), saturate(@blueActive, 20%), @blueActive);
|
1361
|
+
@violetTertiaryColor: if(iscolor(@violet), saturate(@violet, 20%), @violet);
|
1362
|
+
@violetTertiaryColorHover: if(iscolor(@violetHover), desaturate(@violetHover, 20%), @violetHover);
|
1363
|
+
@violetTertiaryColorFocus: if(iscolor(@violetFocus), desaturate(@violetFocus, 20%), @violetFocus);
|
1364
|
+
@violetTertiaryColorActive: if(iscolor(@violetActive), saturate(@violetActive, 20%), @violetActive);
|
1365
|
+
@purpleTertiaryColor: if(iscolor(@purple), saturate(@purple, 20%), @purple);
|
1366
|
+
@purpleTertiaryColorHover: if(iscolor(@purpleHover), desaturate(@purpleHover, 20%), @purpleHover);
|
1367
|
+
@purpleTertiaryColorFocus: if(iscolor(@purpleFocus), desaturate(@purpleFocus, 20%), @purpleFocus);
|
1368
|
+
@purpleTertiaryColorActive: if(iscolor(@purpleActive), saturate(@purpleActive, 20%), @purpleActive);
|
1369
|
+
@pinkTertiaryColor: if(iscolor(@pink), saturate(@pink, 20%), @pink);
|
1370
|
+
@pinkTertiaryColorHover: if(iscolor(@pinkHover), desaturate(@pinkHover, 20%), @pinkHover);
|
1371
|
+
@pinkTertiaryColorFocus: if(iscolor(@pinkFocus), desaturate(@pinkFocus, 20%), @pinkFocus);
|
1372
|
+
@pinkTertiaryColorActive: if(iscolor(@pinkActive), saturate(@pinkActive, 20%), @pinkActive);
|
1373
|
+
@brownTertiaryColor: if(iscolor(@brown), saturate(@brown, 20%), @brown);
|
1374
|
+
@brownTertiaryColorHover: if(iscolor(@brownHover), desaturate(@brownHover, 20%), @brownHover);
|
1375
|
+
@brownTertiaryColorFocus: if(iscolor(@brownFocus), desaturate(@brownFocus, 20%), @brownFocus);
|
1376
|
+
@brownTertiaryColorActive: if(iscolor(@brownActive), saturate(@brownActive, 20%), @brownActive);
|
1377
|
+
@greyTertiaryColor: if(iscolor(@grey), darken(@grey, 5%), @grey);
|
1378
|
+
@greyTertiaryColorHover: if(iscolor(@greyHover), lighten(@greyHover, 5%), @greyHover);
|
1379
|
+
@greyTertiaryColorFocus: if(iscolor(@greyFocus), lighten(@greyFocus, 8%), @greyFocus);
|
1380
|
+
@greyTertiaryColorActive: if(iscolor(@greyActive), darken(@greyActive, 5%), @greyActive);
|
1381
|
+
@blackTertiaryColor: if(iscolor(@black), lighten(@black, 20%), @black);
|
1382
|
+
@blackTertiaryColorHover: if(iscolor(@blackHover), lighten(@blackHover, 40%), @blackHover);
|
1383
|
+
@blackTertiaryColorFocus: if(iscolor(@blackFocus), lighten(@blackFocus, 40%), @blackFocus);
|
1384
|
+
@blackTertiaryColorActive: if(iscolor(@blackActive), lighten(@blackActive, 20%), @blackActive);
|
1364
1385
|
|
1365
1386
|
/* --- Bright --- */
|
1366
|
-
@primaryBright: screen(@lightPrimaryColor, @blendingBaseColor);
|
1367
|
-
@secondaryBright: screen(@lightSecondaryColor, @blendingBaseColor);
|
1368
|
-
@redBright: screen(@lightRed, @blendingBaseColor);
|
1369
|
-
@orangeBright: screen(@lightOrange, @blendingBaseColor);
|
1370
|
-
@yellowBright: screen(@lightYellow, @blendingBaseColor);
|
1371
|
-
@oliveBright: screen(@lightOlive, @blendingBaseColor);
|
1372
|
-
@greenBright: screen(@lightGreen, @blendingBaseColor);
|
1373
|
-
@tealBright: screen(@lightTeal, @blendingBaseColor);
|
1374
|
-
@blueBright: screen(@lightBlue, @blendingBaseColor);
|
1375
|
-
@violetBright: screen(@lightViolet, @blendingBaseColor);
|
1376
|
-
@purpleBright: screen(@lightPurple, @blendingBaseColor);
|
1377
|
-
@pinkBright: screen(@lightPink, @blendingBaseColor);
|
1378
|
-
@brownBright: screen(@lightBrown, @blendingBaseColor);
|
1387
|
+
@primaryBright: if(iscolor(@lightPrimaryColor), screen(@lightPrimaryColor, @blendingBaseColor), @lightPrimaryColor);
|
1388
|
+
@secondaryBright: if(iscolor(@lightSecondaryColor), screen(@lightSecondaryColor, @blendingBaseColor), @lightSecondaryColor);
|
1389
|
+
@redBright: if(iscolor(@lightRed), screen(@lightRed, @blendingBaseColor), @lightRed);
|
1390
|
+
@orangeBright: if(iscolor(@lightOrange), screen(@lightOrange, @blendingBaseColor), @lightOrange);
|
1391
|
+
@yellowBright: if(iscolor(@lightYellow), screen(@lightYellow, @blendingBaseColor), @lightYellow);
|
1392
|
+
@oliveBright: if(iscolor(@lightOlive), screen(@lightOlive, @blendingBaseColor), @lightOlive);
|
1393
|
+
@greenBright: if(iscolor(@lightGreen), screen(@lightGreen, @blendingBaseColor), @lightGreen);
|
1394
|
+
@tealBright: if(iscolor(@lightTeal), screen(@lightTeal, @blendingBaseColor), @lightTeal);
|
1395
|
+
@blueBright: if(iscolor(@lightBlue), screen(@lightBlue, @blendingBaseColor), @lightBlue);
|
1396
|
+
@violetBright: if(iscolor(@lightViolet), screen(@lightViolet, @blendingBaseColor), @lightViolet);
|
1397
|
+
@purpleBright: if(iscolor(@lightPurple), screen(@lightPurple, @blendingBaseColor), @lightPurple);
|
1398
|
+
@pinkBright: if(iscolor(@lightPink), screen(@lightPink, @blendingBaseColor), @lightPink);
|
1399
|
+
@brownBright: if(iscolor(@lightBrown), screen(@lightBrown, @blendingBaseColor), @lightBrown);
|
1379
1400
|
@greyBright: @lightGrey;
|
1380
1401
|
@blackBright: @lightBlack;
|
1381
1402
|
|
1382
|
-
@primaryBrightHover: screen(@lightPrimaryColorHover, @blendingBaseColor);
|
1383
|
-
@secondaryBrightHover: screen(@lightSecondaryColorHover, @blendingBaseColor);
|
1384
|
-
@redBrightHover: screen(@lightRedHover, @blendingBaseColor);
|
1385
|
-
@orangeBrightHover: screen(@lightOrangeHover, @blendingBaseColor);
|
1386
|
-
@yellowBrightHover: screen(@lightYellowHover, @blendingBaseColor);
|
1387
|
-
@oliveBrightHover: screen(@lightOliveHover, @blendingBaseColor);
|
1388
|
-
@greenBrightHover: screen(@lightGreenHover, @blendingBaseColor);
|
1389
|
-
@tealBrightHover: screen(@lightTealHover, @blendingBaseColor);
|
1390
|
-
@blueBrightHover: screen(@lightBlueHover, @blendingBaseColor);
|
1391
|
-
@violetBrightHover: screen(@lightVioletHover, @blendingBaseColor);
|
1392
|
-
@purpleBrightHover: screen(@lightPurpleHover, @blendingBaseColor);
|
1393
|
-
@pinkBrightHover: screen(@lightPinkHover, @blendingBaseColor);
|
1394
|
-
@brownBrightHover: screen(@lightBrownHover, @blendingBaseColor);
|
1403
|
+
@primaryBrightHover: if(iscolor(@lightPrimaryColorHover), screen(@lightPrimaryColorHover, @blendingBaseColor), @lightPrimaryColorHover);
|
1404
|
+
@secondaryBrightHover: if(iscolor(@lightSecondaryColorHover), screen(@lightSecondaryColorHover, @blendingBaseColor), @lightSecondaryColorHover);
|
1405
|
+
@redBrightHover: if(iscolor(@lightRedHover), screen(@lightRedHover, @blendingBaseColor), @lightRedHover);
|
1406
|
+
@orangeBrightHover: if(iscolor(@lightOrangeHover), screen(@lightOrangeHover, @blendingBaseColor), @lightOrangeHover);
|
1407
|
+
@yellowBrightHover: if(iscolor(@lightYellowHover), screen(@lightYellowHover, @blendingBaseColor), @lightYellowHover);
|
1408
|
+
@oliveBrightHover: if(iscolor(@lightOliveHover), screen(@lightOliveHover, @blendingBaseColor), @lightOliveHover);
|
1409
|
+
@greenBrightHover: if(iscolor(@lightGreenHover), screen(@lightGreenHover, @blendingBaseColor), @lightGreenHover);
|
1410
|
+
@tealBrightHover: if(iscolor(@lightTealHover), screen(@lightTealHover, @blendingBaseColor), @lightTealHover);
|
1411
|
+
@blueBrightHover: if(iscolor(@lightBlueHover), screen(@lightBlueHover, @blendingBaseColor), @lightBlueHover);
|
1412
|
+
@violetBrightHover: if(iscolor(@lightVioletHover), screen(@lightVioletHover, @blendingBaseColor), @lightVioletHover);
|
1413
|
+
@purpleBrightHover: if(iscolor(@lightPurpleHover), screen(@lightPurpleHover, @blendingBaseColor), @lightPurpleHover);
|
1414
|
+
@pinkBrightHover: if(iscolor(@lightPinkHover), screen(@lightPinkHover, @blendingBaseColor), @lightPinkHover);
|
1415
|
+
@brownBrightHover: if(iscolor(@lightBrownHover), screen(@lightBrownHover, @blendingBaseColor), @lightBrownHover);
|
1395
1416
|
@greyBrightHover: @lightGreyHover;
|
1396
1417
|
@blackBrightHover: @lightBlackHover;
|
1397
1418
|
|
@@ -1403,28 +1424,28 @@
|
|
1403
1424
|
@formErrorColor: @negativeTextColor;
|
1404
1425
|
@formErrorBorder: @negativeBorderColor;
|
1405
1426
|
@formErrorBackground: @negativeBackgroundColor;
|
1406
|
-
@formErrorLabelBackground: darken(@formErrorBorder, -8);
|
1427
|
+
@formErrorLabelBackground: if(iscolor(@formErrorBorder), darken(@formErrorBorder, -8), @formErrorBorder);
|
1407
1428
|
@transparentFormErrorColor: @formErrorColor;
|
1408
1429
|
@transparentFormErrorBackground: @formErrorBackground;
|
1409
1430
|
|
1410
1431
|
@formInfoColor: @infoTextColor;
|
1411
1432
|
@formInfoBorder: @infoBorderColor;
|
1412
1433
|
@formInfoBackground: @infoBackgroundColor;
|
1413
|
-
@formInfoLabelBackground: darken(@formInfoBorder, -8);
|
1434
|
+
@formInfoLabelBackground: if(iscolor(@formInfoBorder), darken(@formInfoBorder, -8), @formInfoBorder);
|
1414
1435
|
@transparentFormInfoColor: @formInfoColor;
|
1415
1436
|
@transparentFormInfoBackground: @formInfoBackground;
|
1416
1437
|
|
1417
1438
|
@formSuccessColor: @positiveTextColor;
|
1418
1439
|
@formSuccessBorder: @positiveBorderColor;
|
1419
1440
|
@formSuccessBackground: @positiveBackgroundColor;
|
1420
|
-
@formSuccessLabelBackground: darken(@formSuccessBorder, -8);
|
1441
|
+
@formSuccessLabelBackground: if(iscolor(@formSuccessBorder), darken(@formSuccessBorder, -8), @formSuccessBorder);
|
1421
1442
|
@transparentFormSuccessColor: @formSuccessColor;
|
1422
1443
|
@transparentFormSuccessBackground: @formSuccessBackground;
|
1423
1444
|
|
1424
1445
|
@formWarningColor: @warningTextColor;
|
1425
1446
|
@formWarningBorder: @warningBorderColor;
|
1426
1447
|
@formWarningBackground: @warningBackgroundColor;
|
1427
|
-
@formWarningLabelBackground: darken(@formWarningBorder, -8);
|
1448
|
+
@formWarningLabelBackground: if(iscolor(@formWarningBorder), darken(@formWarningBorder, -8), @formWarningBorder);
|
1428
1449
|
@transparentFormWarningColor: @formWarningColor;
|
1429
1450
|
@transparentFormWarningBackground: @formWarningBackground;
|
1430
1451
|
|
@@ -1506,14 +1527,14 @@
|
|
1506
1527
|
@inputWarningFocusBoxShadow: none;
|
1507
1528
|
|
1508
1529
|
/* Placeholder state */
|
1509
|
-
@inputErrorPlaceholderColor: lighten(@formErrorColor, 40);
|
1510
|
-
@inputErrorPlaceholderFocusColor: lighten(@formErrorColor, 30);
|
1530
|
+
@inputErrorPlaceholderColor: if(iscolor(@formErrorColor), lighten(@formErrorColor, 40), @formErrorColor);
|
1531
|
+
@inputErrorPlaceholderFocusColor: if(iscolor(@formErrorColor), lighten(@formErrorColor, 30), @formErrorColor);
|
1511
1532
|
|
1512
|
-
@inputInfoPlaceholderColor: lighten(@formInfoColor, 40);
|
1513
|
-
@inputInfoPlaceholderFocusColor: lighten(@formInfoColor, 30);
|
1533
|
+
@inputInfoPlaceholderColor: if(iscolor(@formInfoColor), lighten(@formInfoColor, 40), @formInfoColor);
|
1534
|
+
@inputInfoPlaceholderFocusColor: if(iscolor(@formInfoColor), lighten(@formInfoColor, 30), @formInfoColor);
|
1514
1535
|
|
1515
|
-
@inputSuccessPlaceholderColor: lighten(@formSuccessColor, 40);
|
1516
|
-
@inputSuccessPlaceholderFocusColor: lighten(@formSuccessColor, 30);
|
1536
|
+
@inputSuccessPlaceholderColor: if(iscolor(@formSuccessColor), lighten(@formSuccessColor, 40), @formSuccessColor);
|
1537
|
+
@inputSuccessPlaceholderFocusColor: if(iscolor(@formSuccessColor), lighten(@formSuccessColor, 30), @formSuccessColor);
|
1517
1538
|
|
1518
|
-
@inputWarningPlaceholderColor: lighten(@formWarningColor, 40);
|
1519
|
-
@inputWarningPlaceholderFocusColor: lighten(@formWarningColor, 30);
|
1539
|
+
@inputWarningPlaceholderColor: if(iscolor(@formWarningColor), lighten(@formWarningColor, 40), @formWarningColor);
|
1540
|
+
@inputWarningPlaceholderFocusColor: if(iscolor(@formWarningColor), lighten(@formWarningColor, 30), @formWarningColor);
|