@eeacms/volto-eea-design-system 0.2.1
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/.coverage.babel.config.js +13 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +50 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +50 -0
- package/.github/workflows/node.js.yml +59 -0
- package/.prettierignore +4 -0
- package/.project.eslintrc.js +45 -0
- package/.release-it.json +17 -0
- package/.storybook/manager.js +15 -0
- package/CHANGELOG.md +1025 -0
- package/DEVELOP.md +51 -0
- package/LICENSE.md +9 -0
- package/README.md +196 -0
- package/bootstrap +41 -0
- package/cypress.json +17 -0
- package/jest-addon.config.js +36 -0
- package/locales/volto.pot +0 -0
- package/mockups/README.md +1 -0
- package/package.json +49 -0
- package/razzle.extend.js +23 -0
- package/src/helpers/index.js +2 -0
- package/src/helpers/useClickOutside.js +30 -0
- package/src/helpers/usePrevious.js +9 -0
- package/src/i18n.js +180 -0
- package/src/index.js +6 -0
- package/src/semantic.less +262 -0
- package/src/ui/Avatar/Avatar.jsx +32 -0
- package/src/ui/Avatar/Avatar.stories.jsx +61 -0
- package/src/ui/AvatarGrid/AvatarGrid.jsx +49 -0
- package/src/ui/AvatarGrid/AvatarGrid.stories.jsx +66 -0
- package/src/ui/Banner/Banner.jsx +59 -0
- package/src/ui/Banner/Banner.stories.jsx +121 -0
- package/src/ui/Blockquote/Blockquote.jsx +16 -0
- package/src/ui/Blockquote/Blockquote.stories.jsx +48 -0
- package/src/ui/Breadcrumbs/Breadcrumb.stories.jsx +76 -0
- package/src/ui/Breadcrumbs/Breadcrumbs.jsx +67 -0
- package/src/ui/Breadcrumbs/Breadcrumbs.stories.jsx +30 -0
- package/src/ui/Button/Button.stories.jsx +169 -0
- package/src/ui/Divider/Divider.jsx +7 -0
- package/src/ui/Footer/Contact.jsx +28 -0
- package/src/ui/Footer/Footer.jsx +52 -0
- package/src/ui/Footer/FooterActions.jsx +22 -0
- package/src/ui/Footer/FooterHeader.jsx +10 -0
- package/src/ui/Footer/FooterSites.jsx +33 -0
- package/src/ui/Footer/Social.jsx +25 -0
- package/src/ui/Footer/SubFooter.jsx +9 -0
- package/src/ui/FormFieldWrapper/FormFieldWrapper.jsx +51 -0
- package/src/ui/Header/Header.jsx +224 -0
- package/src/ui/Header/HeaderMenuPopUp.js +79 -0
- package/src/ui/Header/HeaderSearchPopUp.js +33 -0
- package/src/ui/InpageNavigation/InpageNavigation.jsx +61 -0
- package/src/ui/InpageNavigation/InpageNavigation.stories.jsx +166 -0
- package/src/ui/KeyContent/KeyContent.jsx +22 -0
- package/src/ui/KeyContent/KeyContent.stories.jsx +62 -0
- package/src/ui/Loader/Loader.stories.jsx +45 -0
- package/src/ui/Logo/Logo.jsx +31 -0
- package/src/ui/Popup/Popup.stories.jsx +97 -0
- package/src/ui/PublicationCard/PublicationCard.jsx +27 -0
- package/src/ui/PublicationCard/PublicationCard.stories.jsx +69 -0
- package/src/ui/Pullquote/Pullquote.jsx +44 -0
- package/src/ui/Pullquote/Pullquote.stories.jsx +101 -0
- package/src/ui/RelatedContent/RelatedContent.jsx +90 -0
- package/src/ui/RelatedContent/RelatedContent.stories.jsx +80 -0
- package/src/ui/Segment/Segment.stories.jsx +163 -0
- package/src/ui/Tag/Tag.jsx +13 -0
- package/src/ui/Tag/Tag.stories.jsx +21 -0
- package/src/ui/TagList/TagList.jsx +23 -0
- package/src/ui/TagList/TagList.stories.jsx +63 -0
- package/src/ui/Testimonial/Testimonial.jsx +53 -0
- package/src/ui/Testimonial/Testimonial.stories.jsx +51 -0
- package/src/ui/Timeline/Timeline.jsx +44 -0
- package/src/ui/Timeline/Timeline.stories.jsx +322 -0
- package/src/ui/index.js +31 -0
- package/templates/eea.hbs +50 -0
- package/theme/theme.config +122 -0
- package/theme/theme.less +64 -0
- package/theme/themes/eea/assets/images/EEA_Logo_Vertical.png +0 -0
- package/theme/themes/eea/assets/images/Footer/EEALogo.png +0 -0
- package/theme/themes/eea/assets/images/Footer/EULogo.png +0 -0
- package/theme/themes/eea/assets/images/Footer/Extras/Logo1.png +0 -0
- package/theme/themes/eea/assets/images/Footer/Extras/Logo10.png +0 -0
- package/theme/themes/eea/assets/images/Footer/Extras/Logo2.png +0 -0
- package/theme/themes/eea/assets/images/Footer/Extras/Logo3.png +0 -0
- package/theme/themes/eea/assets/images/Footer/Extras/Logo4.png +0 -0
- package/theme/themes/eea/assets/images/Footer/Extras/Logo5.png +0 -0
- package/theme/themes/eea/assets/images/Footer/Extras/Logo6.png +0 -0
- package/theme/themes/eea/assets/images/Footer/Extras/Logo7.png +0 -0
- package/theme/themes/eea/assets/images/Footer/Extras/Logo8.png +0 -0
- package/theme/themes/eea/assets/images/Footer/Extras/Logo9.png +0 -0
- package/theme/themes/eea/assets/images/Footer/Extras/abstract-visual.svg +32 -0
- package/theme/themes/eea/assets/images/Footer/Extras/footervisual.svg +1755 -0
- package/theme/themes/eea/assets/images/Footer/Vector1.png +0 -0
- package/theme/themes/eea/assets/images/Footer/Vector2.png +0 -0
- package/theme/themes/eea/assets/images/Header/EeaLogo.png +0 -0
- package/theme/themes/eea/assets/images/Header/Vector.png +0 -0
- package/theme/themes/eea/assets/images/Header/close-line.svg +1 -0
- package/theme/themes/eea/assets/images/Header/close.png +0 -0
- package/theme/themes/eea/assets/images/Header/down-arrow.png +0 -0
- package/theme/themes/eea/assets/images/Header/eea-logo.svg +14 -0
- package/theme/themes/eea/assets/images/Header/eea.png +0 -0
- package/theme/themes/eea/assets/images/Header/eeaIcon.png +0 -0
- package/theme/themes/eea/assets/images/Header/global-line.svg +1 -0
- package/theme/themes/eea/assets/images/Header/globeIcon.png +0 -0
- package/theme/themes/eea/assets/images/Header/hamburgerMenuIcon.png +0 -0
- package/theme/themes/eea/assets/images/Header/menu-left-arrow.svg +3 -0
- package/theme/themes/eea/assets/images/Header/menu-line.svg +1 -0
- package/theme/themes/eea/assets/images/Header/search-line.svg +1 -0
- package/theme/themes/eea/assets/images/Header/search.png +0 -0
- package/theme/themes/eea/assets/images/Header/searchIcon.png +0 -0
- package/theme/themes/eea/assets/images/arrow-down.svg +10 -0
- package/theme/themes/eea/assets/images/avatar.png +0 -0
- package/theme/themes/eea/assets/images/banner.png +0 -0
- package/theme/themes/eea/assets/images/eea-logo.png +0 -0
- package/theme/themes/eea/assets/images/eea_icon.png +0 -0
- package/theme/themes/eea/assets/images/europe-flag.svg +4 -0
- package/theme/themes/eea/assets/images/home-icon.svg +3 -0
- package/theme/themes/eea/assets/images/loaderImage.png +0 -0
- package/theme/themes/eea/assets/images/mega-menu-arrow.svg +3 -0
- package/theme/themes/eea/assets/logo/EEA-Logo-White-2.svg +9 -0
- package/theme/themes/eea/assets/logo/EEA-Logo-white.svg +9 -0
- package/theme/themes/eea/assets/logo/EIONETLogo.png +0 -0
- package/theme/themes/eea/assets/logo/bise.svg +47 -0
- package/theme/themes/eea/assets/logo/cca.svg +20 -0
- package/theme/themes/eea/assets/logo/copernicus.svg +62 -0
- package/theme/themes/eea/assets/logo/energy.svg +77 -0
- package/theme/themes/eea/assets/logo/fise.svg +37 -0
- package/theme/themes/eea/assets/logo/freshwater.svg +48 -0
- package/theme/themes/eea/assets/logo/industry.svg +40 -0
- package/theme/themes/eea/assets/logo/insitu.svg +43 -0
- package/theme/themes/eea/assets/logo/ipchem.svg +23 -0
- package/theme/themes/eea/assets/logo/marine.svg +63 -0
- package/theme/themes/eea/collections/breadcrumb.overrides +44 -0
- package/theme/themes/eea/collections/breadcrumb.variables +49 -0
- package/theme/themes/eea/collections/form.overrides +56 -0
- package/theme/themes/eea/collections/form.variables +211 -0
- package/theme/themes/eea/collections/grid.overrides +17 -0
- package/theme/themes/eea/collections/grid.variables +103 -0
- package/theme/themes/eea/collections/menu.overrides +84 -0
- package/theme/themes/eea/collections/menu.variables +471 -0
- package/theme/themes/eea/collections/message.overrides +34 -0
- package/theme/themes/eea/collections/message.variables +142 -0
- package/theme/themes/eea/collections/table.overrides +30 -0
- package/theme/themes/eea/collections/table.variables +249 -0
- package/theme/themes/eea/definitions/elements/icon.less +499 -0
- package/theme/themes/eea/elements/button.overrides +199 -0
- package/theme/themes/eea/elements/button.variables +405 -0
- package/theme/themes/eea/elements/container.overrides +98 -0
- package/theme/themes/eea/elements/container.variables +66 -0
- package/theme/themes/eea/elements/divider.overrides +17 -0
- package/theme/themes/eea/elements/divider.variables +53 -0
- package/theme/themes/eea/elements/flag.overrides +1235 -0
- package/theme/themes/eea/elements/flag.variables +13 -0
- package/theme/themes/eea/elements/header.overrides +205 -0
- package/theme/themes/eea/elements/header.variables +151 -0
- package/theme/themes/eea/elements/icon.overrides +5589 -0
- package/theme/themes/eea/elements/icon.variables +95 -0
- package/theme/themes/eea/elements/image.overrides +3 -0
- package/theme/themes/eea/elements/image.variables +44 -0
- package/theme/themes/eea/elements/input.overrides +83 -0
- package/theme/themes/eea/elements/input.variables +104 -0
- package/theme/themes/eea/elements/label.overrides +49 -0
- package/theme/themes/eea/elements/label.variables +267 -0
- package/theme/themes/eea/elements/list.overrides +28 -0
- package/theme/themes/eea/elements/list.variables +233 -0
- package/theme/themes/eea/elements/loader.overrides +3 -0
- package/theme/themes/eea/elements/loader.variables +73 -0
- package/theme/themes/eea/elements/placeholder.overrides +3 -0
- package/theme/themes/eea/elements/placeholder.variables +55 -0
- package/theme/themes/eea/elements/rail.overrides +3 -0
- package/theme/themes/eea/elements/rail.variables +34 -0
- package/theme/themes/eea/elements/reveal.overrides +3 -0
- package/theme/themes/eea/elements/reveal.variables +18 -0
- package/theme/themes/eea/elements/segment.overrides +8 -0
- package/theme/themes/eea/elements/segment.variables +154 -0
- package/theme/themes/eea/elements/step.overrides +18 -0
- package/theme/themes/eea/elements/step.variables +130 -0
- package/theme/themes/eea/extras/avatar.less +97 -0
- package/theme/themes/eea/extras/avatar.variables +34 -0
- package/theme/themes/eea/extras/avatarGrid.less +43 -0
- package/theme/themes/eea/extras/avatarGrid.variables +20 -0
- package/theme/themes/eea/extras/banner.less +213 -0
- package/theme/themes/eea/extras/banner.variables +77 -0
- package/theme/themes/eea/extras/blockquote.less +89 -0
- package/theme/themes/eea/extras/blockquote.variables +35 -0
- package/theme/themes/eea/extras/custom.overrides +0 -0
- package/theme/themes/eea/extras/custom.variables +0 -0
- package/theme/themes/eea/extras/divider.less +14 -0
- package/theme/themes/eea/extras/divider.variables +9 -0
- package/theme/themes/eea/extras/footer.less +273 -0
- package/theme/themes/eea/extras/footer.variables +109 -0
- package/theme/themes/eea/extras/header.less +691 -0
- package/theme/themes/eea/extras/header.variables +149 -0
- package/theme/themes/eea/extras/inpageNavigation.less +57 -0
- package/theme/themes/eea/extras/inpageNavigation.variables +30 -0
- package/theme/themes/eea/extras/keyContent.less +36 -0
- package/theme/themes/eea/extras/keyContent.variables +18 -0
- package/theme/themes/eea/extras/main.overrides +31 -0
- package/theme/themes/eea/extras/main.variables +33 -0
- package/theme/themes/eea/extras/publicationCard.less +62 -0
- package/theme/themes/eea/extras/publicationCard.variables +24 -0
- package/theme/themes/eea/extras/pullquote.less +76 -0
- package/theme/themes/eea/extras/pullquote.variables +34 -0
- package/theme/themes/eea/extras/select.overrides +0 -0
- package/theme/themes/eea/extras/select.variables +0 -0
- package/theme/themes/eea/extras/tag.less +37 -0
- package/theme/themes/eea/extras/tag.variables +22 -0
- package/theme/themes/eea/extras/tagList.less +50 -0
- package/theme/themes/eea/extras/tagList.variables +13 -0
- package/theme/themes/eea/extras/testimonial.less +28 -0
- package/theme/themes/eea/extras/testimonial.variables +13 -0
- package/theme/themes/eea/extras/timeline.less +114 -0
- package/theme/themes/eea/extras/timeline.variables +40 -0
- package/theme/themes/eea/globals/reset.overrides +454 -0
- package/theme/themes/eea/globals/reset.variables +6 -0
- package/theme/themes/eea/globals/site.overrides +27 -0
- package/theme/themes/eea/globals/site.variables +1135 -0
- package/theme/themes/eea/modules/accordion.overrides +83 -0
- package/theme/themes/eea/modules/accordion.variables +114 -0
- package/theme/themes/eea/modules/chatroom.overrides +3 -0
- package/theme/themes/eea/modules/chatroom.variables +3 -0
- package/theme/themes/eea/modules/checkbox.overrides +67 -0
- package/theme/themes/eea/modules/checkbox.variables +194 -0
- package/theme/themes/eea/modules/dimmer.overrides +3 -0
- package/theme/themes/eea/modules/dimmer.variables +58 -0
- package/theme/themes/eea/modules/dropdown.overrides +53 -0
- package/theme/themes/eea/modules/dropdown.variables +390 -0
- package/theme/themes/eea/modules/embed.overrides +3 -0
- package/theme/themes/eea/modules/embed.variables +53 -0
- package/theme/themes/eea/modules/modal.overrides +3 -0
- package/theme/themes/eea/modules/modal.variables +193 -0
- package/theme/themes/eea/modules/nag.overrides +3 -0
- package/theme/themes/eea/modules/nag.variables +74 -0
- package/theme/themes/eea/modules/popup.overrides +83 -0
- package/theme/themes/eea/modules/popup.variables +153 -0
- package/theme/themes/eea/modules/progress.overrides +3 -0
- package/theme/themes/eea/modules/progress.variables +113 -0
- package/theme/themes/eea/modules/rating.overrides +74 -0
- package/theme/themes/eea/modules/rating.variables +103 -0
- package/theme/themes/eea/modules/search.overrides +3 -0
- package/theme/themes/eea/modules/search.variables +163 -0
- package/theme/themes/eea/modules/shape.overrides +3 -0
- package/theme/themes/eea/modules/shape.variables +40 -0
- package/theme/themes/eea/modules/sidebar.overrides +3 -0
- package/theme/themes/eea/modules/sidebar.variables +45 -0
- package/theme/themes/eea/modules/sticky.overrides +3 -0
- package/theme/themes/eea/modules/sticky.variables +7 -0
- package/theme/themes/eea/modules/tab.overrides +13 -0
- package/theme/themes/eea/modules/tab.variables +17 -0
- package/theme/themes/eea/modules/transition.overrides +1087 -0
- package/theme/themes/eea/modules/transition.variables +10 -0
- package/theme/themes/eea/modules/video.overrides +3 -0
- package/theme/themes/eea/modules/video.variables +16 -0
- package/theme/themes/eea/views/ad.overrides +3 -0
- package/theme/themes/eea/views/ad.variables +13 -0
- package/theme/themes/eea/views/card.overrides +73 -0
- package/theme/themes/eea/views/card.variables +237 -0
- package/theme/themes/eea/views/comment.overrides +3 -0
- package/theme/themes/eea/views/comment.variables +98 -0
- package/theme/themes/eea/views/feed.overrides +3 -0
- package/theme/themes/eea/views/feed.variables +141 -0
- package/theme/themes/eea/views/item.overrides +8 -0
- package/theme/themes/eea/views/item.variables +157 -0
- package/theme/themes/eea/views/statistic.overrides +19 -0
- package/theme/themes/eea/views/statistic.variables +105 -0
|
@@ -0,0 +1,1135 @@
|
|
|
1
|
+
/*******************************
|
|
2
|
+
Site Settings
|
|
3
|
+
*******************************/
|
|
4
|
+
|
|
5
|
+
/*-------------------
|
|
6
|
+
Fonts
|
|
7
|
+
--------------------*/
|
|
8
|
+
|
|
9
|
+
@fontName : 'Roboto';
|
|
10
|
+
@secondaryFontName : 'Archivo';
|
|
11
|
+
@fontSmoothing : antialiased;
|
|
12
|
+
|
|
13
|
+
@headerFont : @fontName, Arial, 'Helvetica Neue', Helvetica, sans-serif;
|
|
14
|
+
@pageFont : @fontName, Arial, 'Helvetica Neue', Helvetica, sans-serif;
|
|
15
|
+
|
|
16
|
+
@googleFontName : @fontName;
|
|
17
|
+
@importGoogleFonts : true;
|
|
18
|
+
@googleFontSizes : '300,400,500,700,400italic,700italic&display=swap';
|
|
19
|
+
@googleSubset : 'latin';
|
|
20
|
+
|
|
21
|
+
@googleProtocol : 'https://';
|
|
22
|
+
@googleFontRequest : '@{googleFontName}:@{googleFontSizes}&subset=@{googleSubset}';
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@bold : 600;
|
|
26
|
+
@normal : normal;
|
|
27
|
+
|
|
28
|
+
/*-------------------
|
|
29
|
+
Base Sizes
|
|
30
|
+
--------------------*/
|
|
31
|
+
|
|
32
|
+
/* This is the single variable that controls them all */
|
|
33
|
+
@emSize : 16px;
|
|
34
|
+
|
|
35
|
+
/* The size of page text */
|
|
36
|
+
@fontSize : 16px;
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
/*-------------------
|
|
40
|
+
Border Radius
|
|
41
|
+
--------------------*/
|
|
42
|
+
|
|
43
|
+
/* See Power-user section below
|
|
44
|
+
for explanation of @px variables
|
|
45
|
+
*/
|
|
46
|
+
@relativeBorderRadius: @relative4px;
|
|
47
|
+
@absoluteBorderRadius: 0px;
|
|
48
|
+
@eeaMenuBorder : @relative2px solid;
|
|
49
|
+
|
|
50
|
+
@defaultBorderRadius: @absoluteBorderRadius;
|
|
51
|
+
|
|
52
|
+
/*-------------------
|
|
53
|
+
Brand Colors
|
|
54
|
+
--------------------*/
|
|
55
|
+
|
|
56
|
+
@primaryColor : @darkCerulean;
|
|
57
|
+
@secondaryColor : @pineGreen;
|
|
58
|
+
|
|
59
|
+
@lightPrimaryColor : @darkCyan;
|
|
60
|
+
@lightSecondaryColor : @mediumPersianBlue;
|
|
61
|
+
|
|
62
|
+
@darkPrimaryColor : @bottleGreen;
|
|
63
|
+
@darkSecondaryColor : @darkMidnightBlue;
|
|
64
|
+
|
|
65
|
+
/*--------------
|
|
66
|
+
Page Heading
|
|
67
|
+
---------------*/
|
|
68
|
+
|
|
69
|
+
@headerLineHeight : 1.25;
|
|
70
|
+
@headerFontWeight : 700;
|
|
71
|
+
|
|
72
|
+
@h1 : unit((48 / 16), rem);
|
|
73
|
+
@h2 : unit((40 / 16), rem);
|
|
74
|
+
@h3 : unit((36 / 16), rem);
|
|
75
|
+
@h4 : unit((24 / 16), rem);
|
|
76
|
+
@h5 : unit((20 / 16), rem);
|
|
77
|
+
@h6 : unit((18 / 16), rem);
|
|
78
|
+
|
|
79
|
+
/*--------------
|
|
80
|
+
Form Input
|
|
81
|
+
---------------*/
|
|
82
|
+
/* Max width for inputs with no fluid class */
|
|
83
|
+
@inputMaxWidth: 360px;
|
|
84
|
+
/* Min width for inputs with no fluid class */
|
|
85
|
+
@mobileInputMinWidth: 100%;
|
|
86
|
+
@tabletInputMinWidth: 360px;
|
|
87
|
+
|
|
88
|
+
/* This adjusts the default form input across all elements */
|
|
89
|
+
@inputBackground : @white;
|
|
90
|
+
@inputVerticalPadding : @relative12px;
|
|
91
|
+
/* This adjusts the default form input across all elements */
|
|
92
|
+
@inputHorizontalPadding : @relative18px;
|
|
93
|
+
@inputPadding : @inputVerticalPadding @inputHorizontalPadding;
|
|
94
|
+
|
|
95
|
+
/* Input Text Color */
|
|
96
|
+
@inputColor: @textColor;
|
|
97
|
+
//@inputPlaceholderColor: lighten(@inputColor, 75);
|
|
98
|
+
@inputPlaceholderColor: #B8C6C8;
|
|
99
|
+
@inputPlaceholderFocusColor: lighten(@inputColor, 45);
|
|
100
|
+
|
|
101
|
+
/* Line Height Default For Inputs in Browser (Descenders are 17px at 14px base em) */
|
|
102
|
+
@inputLineHeight: unit((17 / 14), em);
|
|
103
|
+
|
|
104
|
+
/*-------------------
|
|
105
|
+
Focused Input
|
|
106
|
+
--------------------*/
|
|
107
|
+
|
|
108
|
+
/* Used on inputs, textarea etc */
|
|
109
|
+
@focusedFormBorderColor: @secondaryColor;
|
|
110
|
+
|
|
111
|
+
/* Used on dropdowns, other larger blocks */
|
|
112
|
+
@focusedFormMutedBorderColor: @secondaryColor;
|
|
113
|
+
|
|
114
|
+
/*-------------------
|
|
115
|
+
Sizes
|
|
116
|
+
--------------------*/
|
|
117
|
+
|
|
118
|
+
/*
|
|
119
|
+
Sizes are all expressed in terms of 14px/em (default em)
|
|
120
|
+
This ensures these "ratios" remain constant despite changes in EM
|
|
121
|
+
*/
|
|
122
|
+
|
|
123
|
+
//@miniSize : (3 / 12);
|
|
124
|
+
//@tinySize : (6 / 12);
|
|
125
|
+
//@smallSize : (12 / 12);
|
|
126
|
+
//@mediumSize : (18 / 12);
|
|
127
|
+
//@largeSize : (24 / 12);
|
|
128
|
+
//@bigSize : (36 / 12);
|
|
129
|
+
//@hugeSize : (48 / 12);
|
|
130
|
+
//@massiveSize : (60 / 12);
|
|
131
|
+
|
|
132
|
+
@miniSize : (11 / @emSize);
|
|
133
|
+
@tinySize : (12 / @emSize);
|
|
134
|
+
@smallSize : (14 / @emSize);
|
|
135
|
+
@mediumSize : (16 / @emSize);
|
|
136
|
+
@largeSize : (20 / @emSize);
|
|
137
|
+
@bigSize : (24 / @emSize);
|
|
138
|
+
@hugeSize : (28 / @emSize);
|
|
139
|
+
@massiveSize : (32 / @emSize);
|
|
140
|
+
|
|
141
|
+
/*--------------------------
|
|
142
|
+
Gaps / Paddings / Margins
|
|
143
|
+
---------------------------*/
|
|
144
|
+
|
|
145
|
+
@tinyGap : unit((12 / @emSize), rem);
|
|
146
|
+
@mediumGap : unit((16 / @emSize), rem);
|
|
147
|
+
@largeGap : unit((20 / @emSize), rem);
|
|
148
|
+
@bigGap : unit((24 / @emSize), rem);
|
|
149
|
+
@hugeGap : unit((28 / @emSize), rem);
|
|
150
|
+
|
|
151
|
+
@squareTiny : @tinyGap @tinyGap;
|
|
152
|
+
@squareMedium : @mediumGap @mediumGap;
|
|
153
|
+
@squareLarge : @largeGap @largeGap;
|
|
154
|
+
@squareBig : @bigGap @bigGap;
|
|
155
|
+
|
|
156
|
+
@rectangleTiny : @tinyGap @mediumGap;
|
|
157
|
+
@rectangleMedium : @mediumGap @largeGap;
|
|
158
|
+
@rectangleLarge : @largeGap @bigGap;
|
|
159
|
+
@rectangleBig : @bigGap @hugeGap;
|
|
160
|
+
|
|
161
|
+
/*-------------------
|
|
162
|
+
Page
|
|
163
|
+
--------------------*/
|
|
164
|
+
|
|
165
|
+
@pageBackground : @white;
|
|
166
|
+
@pageOverflowX : hidden;
|
|
167
|
+
|
|
168
|
+
@lineHeight : 1.5;
|
|
169
|
+
@mobileLineHeight : 1.5;
|
|
170
|
+
@textColor : rgba(0, 0, 0, 1);
|
|
171
|
+
|
|
172
|
+
/*-------------------
|
|
173
|
+
Paragraph
|
|
174
|
+
--------------------*/
|
|
175
|
+
|
|
176
|
+
@paragraphMargin : 0em 0em 1em;
|
|
177
|
+
@paragraphLineHeight : @lineHeight;
|
|
178
|
+
|
|
179
|
+
/*-------------------
|
|
180
|
+
Links
|
|
181
|
+
--------------------*/
|
|
182
|
+
|
|
183
|
+
@linkColor : @primaryColor;
|
|
184
|
+
@linkUnderline : none;
|
|
185
|
+
@linkHoverColor : darken(saturate(@linkColor, 20), 15, relative);
|
|
186
|
+
@linkHoverUnderline : @linkUnderline;
|
|
187
|
+
|
|
188
|
+
/*-------------------
|
|
189
|
+
Scroll Bars
|
|
190
|
+
--------------------*/
|
|
191
|
+
// Pastanaga variables
|
|
192
|
+
@mobileScrollbarWidth: 4px;
|
|
193
|
+
@mobileScrollbarTrackBackground: transparent;
|
|
194
|
+
|
|
195
|
+
@useCustomScrollbars: true;
|
|
196
|
+
|
|
197
|
+
@customScrollbarWidth: 10px;
|
|
198
|
+
@customScrollbarHeight: 10px;
|
|
199
|
+
|
|
200
|
+
@trackBackground: rgba(0, 0, 0, 0.1);
|
|
201
|
+
@trackBorderRadius: 0px;
|
|
202
|
+
|
|
203
|
+
@thumbBorderRadius: 5px;
|
|
204
|
+
@thumbBackground: rgba(0, 0, 0, 0.25);
|
|
205
|
+
@thumbTransition: color 0.2s ease;
|
|
206
|
+
|
|
207
|
+
@thumbInactiveBackground: rgba(0, 0, 0, 0.15);
|
|
208
|
+
@thumbHoverBackground: rgba(128, 135, 139, 0.8);
|
|
209
|
+
|
|
210
|
+
/* Inverted */
|
|
211
|
+
@statisticInvertedBackground: @bottleGreen;
|
|
212
|
+
@trackInvertedBackground: rgba(255, 255, 255, 0.1);
|
|
213
|
+
@thumbInvertedBackground: rgba(255, 255, 255, 0.25);
|
|
214
|
+
@thumbInvertedInactiveBackground: rgba(255, 255, 255, 0.15);
|
|
215
|
+
@thumbInvertedHoverBackground: rgba(255, 255, 255, 0.35);
|
|
216
|
+
|
|
217
|
+
/*-------------------
|
|
218
|
+
Highlighted Text
|
|
219
|
+
--------------------*/
|
|
220
|
+
|
|
221
|
+
@highlightBackground : #CCE2FF;
|
|
222
|
+
@highlightColor : @textColor;
|
|
223
|
+
|
|
224
|
+
@inputHighlightBackground : rgba(100, 100, 100, 0.4);
|
|
225
|
+
@inputHighlightColor : @textColor;
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
/*-------------------
|
|
229
|
+
Loader
|
|
230
|
+
--------------------*/
|
|
231
|
+
|
|
232
|
+
@loaderSize : @relativeBig;
|
|
233
|
+
@loaderSpeed : 0.6s;
|
|
234
|
+
@loaderLineWidth : 0.2em;
|
|
235
|
+
@loaderFillColor : rgba(0, 0, 0, 0.1);
|
|
236
|
+
@loaderLineColor : @grey;
|
|
237
|
+
|
|
238
|
+
@invertedLoaderFillColor : rgba(255, 255, 255, 0.15);
|
|
239
|
+
@invertedLoaderLineColor : @white;
|
|
240
|
+
|
|
241
|
+
/*-------------------
|
|
242
|
+
Grid
|
|
243
|
+
--------------------*/
|
|
244
|
+
|
|
245
|
+
@columnCount : 12;
|
|
246
|
+
@mobileColumns : 4;
|
|
247
|
+
@tabletColumns : 8;
|
|
248
|
+
@desktopColumns : 12;
|
|
249
|
+
|
|
250
|
+
/*-------------------
|
|
251
|
+
Container
|
|
252
|
+
--------------------*/
|
|
253
|
+
@textWidth: 800px;
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
/*-------------------
|
|
257
|
+
Pastanaga Toolbar
|
|
258
|
+
--------------------*/
|
|
259
|
+
// legacy variable names kept for tests and older volto versions use the toolbar variables from now on
|
|
260
|
+
@toolbalWidth: 80px;
|
|
261
|
+
@toolbalWidthMin: 20px;
|
|
262
|
+
|
|
263
|
+
@toolbarWidth: 80px;
|
|
264
|
+
@toolbarWidthMin: 20px;
|
|
265
|
+
@fullSizeIcon: 36px;
|
|
266
|
+
|
|
267
|
+
/*-------------------
|
|
268
|
+
Transitions
|
|
269
|
+
--------------------*/
|
|
270
|
+
|
|
271
|
+
@defaultDuration : 0.1s;
|
|
272
|
+
@defaultEasing : ease;
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
/*------------------
|
|
276
|
+
Pastanaga Animations
|
|
277
|
+
--------------------*/
|
|
278
|
+
|
|
279
|
+
@sidebarToggleButtonAnimationsDuration: 0.5s;
|
|
280
|
+
@sidebarToggleButtonIterations: 4;
|
|
281
|
+
|
|
282
|
+
/*-------------------
|
|
283
|
+
Breakpoints
|
|
284
|
+
--------------------*/
|
|
285
|
+
|
|
286
|
+
@mobileBreakpoint : 320px;
|
|
287
|
+
@tabletBreakpoint : 480px;
|
|
288
|
+
@computerBreakpoint : 835px;
|
|
289
|
+
@largeMonitorBreakpoint : 1025px;
|
|
290
|
+
@widescreenMonitorBreakpoint : 1200px;
|
|
291
|
+
|
|
292
|
+
/* Paddings for breakpoints */
|
|
293
|
+
@mobilePadding : 1.875rem;
|
|
294
|
+
@tabletPadding : 2.5rem;
|
|
295
|
+
@computerPadding : 8.75rem;
|
|
296
|
+
|
|
297
|
+
/*-------------------
|
|
298
|
+
Site Colors
|
|
299
|
+
--------------------*/
|
|
300
|
+
|
|
301
|
+
/*--- EEA Colors ---*/
|
|
302
|
+
|
|
303
|
+
// Green Colors - Darker to lighter
|
|
304
|
+
@bottleGreen : #00665A;
|
|
305
|
+
@pineGreen : #007B6C;
|
|
306
|
+
@darkCyan : #00928F;
|
|
307
|
+
@pearlAqua : #74CBC8;
|
|
308
|
+
@powderBlue : #AEDFE8;
|
|
309
|
+
|
|
310
|
+
// Blue Colors - Darker to lighter
|
|
311
|
+
@darkMidnightBlue : #0A3D61;
|
|
312
|
+
@darkCerulean : #004B7F;
|
|
313
|
+
@mediumPersianBlue : #0065A4;
|
|
314
|
+
@steelBlue : #478EA5;
|
|
315
|
+
@midBlue : #75C9DB;
|
|
316
|
+
|
|
317
|
+
// Secondary Colors - Darker to lighter
|
|
318
|
+
@japaneseIndigo : #2E3E4C;
|
|
319
|
+
@deepBlue : #3D5265;
|
|
320
|
+
@UCLABlue : #54728C;
|
|
321
|
+
@weldonBlue : #7495B2;
|
|
322
|
+
@lightSteelBlue : #ACCAE5;
|
|
323
|
+
|
|
324
|
+
//Gray Colors
|
|
325
|
+
@black : #000000;
|
|
326
|
+
@oldSilver : #808285;
|
|
327
|
+
@midGray : #BCBEC0;
|
|
328
|
+
@silverGray : #E6E7E8;
|
|
329
|
+
@white : #FFFFFF;
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
/*--- Colors ---*/
|
|
333
|
+
@orange : #EBA33D;
|
|
334
|
+
@yellow : #F2EB49;
|
|
335
|
+
@olive : #78AB66;
|
|
336
|
+
@green : @pineGreen;
|
|
337
|
+
@teal : #00928F;
|
|
338
|
+
@blue : @darkCerulean;
|
|
339
|
+
@violet : #6667AB;
|
|
340
|
+
@purple : #A530B8;
|
|
341
|
+
@pink : #F255D0;
|
|
342
|
+
@red : #B83230;
|
|
343
|
+
@brown : #AB8766;
|
|
344
|
+
@grey : #808285;
|
|
345
|
+
@black : #000000;
|
|
346
|
+
|
|
347
|
+
/*--- Light Colors ---*/
|
|
348
|
+
@lightRed : #FF8180;
|
|
349
|
+
@lightOrange : #FFBF80;
|
|
350
|
+
@lightYellow : #FDFFB2;
|
|
351
|
+
@lightOlive : #B5CCAD;
|
|
352
|
+
@lightGreen : #B9E8E2;
|
|
353
|
+
@lightTeal : #76C4BC;
|
|
354
|
+
@lightBlue : #75C9DB;
|
|
355
|
+
@lightViolet : #BFC0FF;
|
|
356
|
+
@lightPurple : #DE99FF;
|
|
357
|
+
@lightPink : #FFBFF1;
|
|
358
|
+
@lightBrown : #D9C2AD;
|
|
359
|
+
@lightGrey : #E6E7E8;
|
|
360
|
+
@lightBlack : #2E3E4C;
|
|
361
|
+
|
|
362
|
+
/*--- Neutrals ---*/
|
|
363
|
+
@fullBlack : #000000;
|
|
364
|
+
@offWhite : #F9FAFB;
|
|
365
|
+
@darkWhite : #F3F4F5;
|
|
366
|
+
@midWhite : #DCDDDE;
|
|
367
|
+
@white : #FFFFFF;
|
|
368
|
+
@headerWhite : #FAF8F8; // Pastanaga
|
|
369
|
+
|
|
370
|
+
/*--- Colored Backgrounds ---*/
|
|
371
|
+
@redBackground : #F5C1C1; // Palette: alertError
|
|
372
|
+
@orangeBackground : #FFEDDE;
|
|
373
|
+
@yellowBackground : #FFF8DB;
|
|
374
|
+
@oliveBackground : #FBFDEF;
|
|
375
|
+
@greenBackground : #E5F9E7;
|
|
376
|
+
@tealBackground : #EDF1F2; // Palette: Breadcrumbs
|
|
377
|
+
@blueBackground : #F2F6F8;
|
|
378
|
+
@violetBackground : #EAE7FF;
|
|
379
|
+
@purpleBackground : #B8C6C8; // Dublin Core Summary
|
|
380
|
+
@pinkBackground : #FFE3FB;
|
|
381
|
+
@brownBackground : #F1E2D3;
|
|
382
|
+
|
|
383
|
+
/*--- Colored Headers ---*/
|
|
384
|
+
@redHeaderColor : darken(@redTextColor, 5);
|
|
385
|
+
@oliveHeaderColor : darken(@oliveTextColor, 5);
|
|
386
|
+
@greenHeaderColor : darken(@greenTextColor, 5);
|
|
387
|
+
@yellowHeaderColor : darken(@yellowTextColor, 5);
|
|
388
|
+
@blueHeaderColor : darken(@blueTextColor, 5);
|
|
389
|
+
@tealHeaderColor : darken(@tealTextColor, 5);
|
|
390
|
+
@pinkHeaderColor : darken(@pinkTextColor, 5);
|
|
391
|
+
@violetHeaderColor : darken(@violetTextColor, 5);
|
|
392
|
+
@purpleHeaderColor : darken(@purpleTextColor, 5);
|
|
393
|
+
@orangeHeaderColor : darken(@orangeTextColor, 5);
|
|
394
|
+
@brownHeaderColor : darken(@brownTextColor, 5);
|
|
395
|
+
|
|
396
|
+
/*--- Colored Text ---*/
|
|
397
|
+
@redTextColor : @red;
|
|
398
|
+
@orangeTextColor : @orange;
|
|
399
|
+
@yellowTextColor : #B58105; // Yellow text is difficult to read
|
|
400
|
+
@oliveTextColor : #8ABC1E; // Olive is difficult to read
|
|
401
|
+
@greenTextColor : #1EBC30; // Green is difficult to read
|
|
402
|
+
@tealTextColor : @teal;
|
|
403
|
+
@blueTextColor : @blue;
|
|
404
|
+
@violetTextColor : @violet;
|
|
405
|
+
@purpleTextColor : @purple;
|
|
406
|
+
@pinkTextColor : @pink;
|
|
407
|
+
@brownTextColor : @brown;
|
|
408
|
+
|
|
409
|
+
/*--- Colored Border ---*/
|
|
410
|
+
@redBorderColor : @redTextColor;
|
|
411
|
+
@orangeBorderColor : @orangeTextColor;
|
|
412
|
+
@yellowBorderColor : @yellowTextColor;
|
|
413
|
+
@oliveBorderColor : @oliveTextColor;
|
|
414
|
+
@greenBorderColor : @greenTextColor;
|
|
415
|
+
@tealBorderColor : @tealTextColor;
|
|
416
|
+
@blueBorderColor : @blueTextColor;
|
|
417
|
+
@violetBorderColor : @violetTextColor;
|
|
418
|
+
@purpleBorderColor : @purpleTextColor;
|
|
419
|
+
@pinkBorderColor : @pinkTextColor;
|
|
420
|
+
@brownBorderColor : @brownTextColor;
|
|
421
|
+
|
|
422
|
+
// Pastanaga custom borders colors
|
|
423
|
+
@greyBorderColor : #C7D5D8; // breadcrumbs border
|
|
424
|
+
@lightGreyBorderColor : #EDF1F2; // breadcrumbs background
|
|
425
|
+
@sidebarToggleButtonHighlightColor: @grey;
|
|
426
|
+
|
|
427
|
+
/*--- Progress Colors ---*/
|
|
428
|
+
@progressBarFrom0to30 : @midBlue;
|
|
429
|
+
@progressBarFrom30to40 : @mediumPersianBlue;
|
|
430
|
+
@progressBarFrom40to60 : @mediumPersianBlue;
|
|
431
|
+
@progressBarFrom60to70 : @darkCyan;
|
|
432
|
+
@progressBarFrom70to90 : @darkCyan;
|
|
433
|
+
@progressBarFrom90to100 : @pineGreen;
|
|
434
|
+
|
|
435
|
+
/*-------------------
|
|
436
|
+
Alpha Colors
|
|
437
|
+
--------------------*/
|
|
438
|
+
|
|
439
|
+
@subtleTransparentBlack : rgba(0, 0, 0, 0.03);
|
|
440
|
+
@transparentBlack : rgba(0, 0, 0, 0.05);
|
|
441
|
+
@strongTransparentBlack : rgba(0, 0, 0, 0.10);
|
|
442
|
+
@veryStrongTransparentBlack : rgba(0, 0, 0, 0.15);
|
|
443
|
+
|
|
444
|
+
@subtleTransparentWhite : rgba(255, 255, 255, 0.02);
|
|
445
|
+
@transparentWhite : rgba(255, 255, 255, 0.08);
|
|
446
|
+
@strongTransparentWhite : rgba(255, 255, 255, 0.15);
|
|
447
|
+
|
|
448
|
+
/*-------------------
|
|
449
|
+
Accents
|
|
450
|
+
--------------------*/
|
|
451
|
+
|
|
452
|
+
/* Differentiating Neutrals */
|
|
453
|
+
@subtleGradient: linear-gradient(transparent, @transparentBlack);
|
|
454
|
+
|
|
455
|
+
/* Differentiating Layers */
|
|
456
|
+
@subtleShadow:
|
|
457
|
+
0px 1px 2px 0 @borderColor
|
|
458
|
+
;
|
|
459
|
+
@floatingShadow:
|
|
460
|
+
0px 2px 4px 0px rgba(34, 36, 38, 0.12),
|
|
461
|
+
0px 2px 10px 0px rgba(34, 36, 38, 0.15)
|
|
462
|
+
;
|
|
463
|
+
|
|
464
|
+
/*-------------------
|
|
465
|
+
Pastanaga Opacities
|
|
466
|
+
--------------------*/
|
|
467
|
+
|
|
468
|
+
@sidebarToggleButtonNormalOpacity: 0.05;
|
|
469
|
+
|
|
470
|
+
/*******************************
|
|
471
|
+
Power-User
|
|
472
|
+
*******************************/
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
/*-------------------
|
|
476
|
+
Emotive Colors
|
|
477
|
+
--------------------*/
|
|
478
|
+
|
|
479
|
+
/* Positive */
|
|
480
|
+
@positiveColor : @pineGreen;
|
|
481
|
+
@positiveBackgroundColor : #EDF9F0;
|
|
482
|
+
@positiveBorderColor : #EDF9F0;
|
|
483
|
+
@positiveHeaderColor : @pineGreen;
|
|
484
|
+
@positiveTextColor : @pineGreen;
|
|
485
|
+
|
|
486
|
+
/* Negative */
|
|
487
|
+
@negativeColor : @red;
|
|
488
|
+
@negativeBackgroundColor : @white;
|
|
489
|
+
@negativeBorderColor : @red; //#FEEFEF;
|
|
490
|
+
@negativeHeaderColor : @red;
|
|
491
|
+
@negativeTextColor : @red;
|
|
492
|
+
|
|
493
|
+
/* Info */
|
|
494
|
+
@infoColor : @mediumPersianBlue;
|
|
495
|
+
@infoBackgroundColor : #EEF2FA;
|
|
496
|
+
@infoBorderColor : #EEF2FA;
|
|
497
|
+
@infoHeaderColor : @mediumPersianBlue;
|
|
498
|
+
@infoTextColor : @mediumPersianBlue;
|
|
499
|
+
|
|
500
|
+
/* Warning */
|
|
501
|
+
@warningColor : #EBA33D;
|
|
502
|
+
@warningBorderColor : #FFF4EC;
|
|
503
|
+
@warningBackgroundColor : #FFF4EC;
|
|
504
|
+
@warningHeaderColor : #EBA33D;
|
|
505
|
+
@warningTextColor : #EBA33D;
|
|
506
|
+
|
|
507
|
+
/*-------------------
|
|
508
|
+
Paths
|
|
509
|
+
--------------------*/
|
|
510
|
+
|
|
511
|
+
/* For source only. Modified in gulp for dist */
|
|
512
|
+
@imagePath : '~volto-themes/default/assets/images';
|
|
513
|
+
@fontPath : '~volto-themes/default/assets/fonts';
|
|
514
|
+
|
|
515
|
+
/*-------------------
|
|
516
|
+
Em Sizes
|
|
517
|
+
--------------------*/
|
|
518
|
+
|
|
519
|
+
/*
|
|
520
|
+
This rounds @size values to the closest pixel then expresses that value in (r)em.
|
|
521
|
+
This ensures all size values round to exact pixels
|
|
522
|
+
*/
|
|
523
|
+
@mini : unit( round(@miniSize * @emSize) / @emSize, rem);
|
|
524
|
+
@tiny : unit( round(@tinySize * @emSize) / @emSize, rem);
|
|
525
|
+
@small : unit( round(@smallSize * @emSize) / @emSize, rem);
|
|
526
|
+
@medium : unit( round(@mediumSize * @emSize) / @emSize, rem);
|
|
527
|
+
@large : unit( round(@largeSize * @emSize) / @emSize, rem);
|
|
528
|
+
@big : unit( round(@bigSize * @emSize) / @emSize, rem);
|
|
529
|
+
@huge : unit( round(@hugeSize * @emSize) / @emSize, rem);
|
|
530
|
+
@massive : unit( round(@massiveSize * @emSize) / @emSize, rem);
|
|
531
|
+
|
|
532
|
+
/* em */
|
|
533
|
+
@relativeMini : unit( round(@miniSize * @emSize) / @emSize, em);
|
|
534
|
+
@relativeTiny : unit( round(@tinySize * @emSize) / @emSize, em);
|
|
535
|
+
@relativeSmall : unit( round(@smallSize * @emSize) / @emSize, em);
|
|
536
|
+
@relativeMedium : unit( round(@mediumSize * @emSize) / @emSize, em);
|
|
537
|
+
@relativeLarge : unit( round(@largeSize * @emSize) / @emSize, em);
|
|
538
|
+
@relativeBig : unit( round(@bigSize * @emSize) / @emSize, em);
|
|
539
|
+
@relativeHuge : unit( round(@hugeSize * @emSize) / @emSize, em);
|
|
540
|
+
@relativeMassive : unit( round(@massiveSize * @emSize) / @emSize, em);
|
|
541
|
+
|
|
542
|
+
/* rem */
|
|
543
|
+
@absoluteMini : unit( round(@miniSize * @emSize) / @emSize, rem);
|
|
544
|
+
@absoluteTiny : unit( round(@tinySize * @emSize) / @emSize, rem);
|
|
545
|
+
@absoluteSmall : unit( round(@smallSize * @emSize) / @emSize, rem);
|
|
546
|
+
@absoluteMedium : unit( round(@mediumSize * @emSize) / @emSize, rem);
|
|
547
|
+
@absoluteLarge : unit( round(@largeSize * @emSize) / @emSize, rem);
|
|
548
|
+
@absoluteBig : unit( round(@bigSize * @emSize) / @emSize, rem);
|
|
549
|
+
@absoluteHuge : unit( round(@hugeSize * @emSize) / @emSize, rem);
|
|
550
|
+
@absoluteMassive : unit( round(@massiveSize * @emSize) / @emSize, rem);
|
|
551
|
+
|
|
552
|
+
/*-------------------
|
|
553
|
+
Icons
|
|
554
|
+
--------------------*/
|
|
555
|
+
|
|
556
|
+
/* Maximum Glyph Width of Icon */
|
|
557
|
+
@iconWidth : 1.18em;
|
|
558
|
+
|
|
559
|
+
/*-------------------
|
|
560
|
+
Neutral Text
|
|
561
|
+
--------------------*/
|
|
562
|
+
|
|
563
|
+
@darkTextColor : rgba(0, 0, 0, 0.85);
|
|
564
|
+
@mutedTextColor : rgba(0, 0, 0, 0.6);
|
|
565
|
+
@lightTextColor : rgba(0, 0, 0, 0.4);
|
|
566
|
+
|
|
567
|
+
@unselectedTextColor : rgba(0, 0, 0, 0.4);
|
|
568
|
+
@hoveredTextColor : rgba(0, 0, 0, 0.8);
|
|
569
|
+
@pressedTextColor : rgba(0, 0, 0, 0.9);
|
|
570
|
+
@selectedTextColor : rgba(0, 0, 0, 0.95);
|
|
571
|
+
@disabledTextColor : rgba(0, 0, 0, 0.2);
|
|
572
|
+
|
|
573
|
+
@invertedTextColor : rgba(255, 255, 255, 0.9);
|
|
574
|
+
@invertedMutedTextColor : rgba(255, 255, 255, 0.8);
|
|
575
|
+
@invertedLightTextColor : rgba(255, 255, 255, 0.7);
|
|
576
|
+
@invertedUnselectedTextColor : rgba(255, 255, 255, 0.5);
|
|
577
|
+
@invertedHoveredTextColor : rgba(255, 255, 255, 1);
|
|
578
|
+
@invertedPressedTextColor : rgba(255, 255, 255, 1);
|
|
579
|
+
@invertedSelectedTextColor : rgba(255, 255, 255, 1);
|
|
580
|
+
@invertedDisabledTextColor : rgba(255, 255, 255, 0.2);
|
|
581
|
+
// check volto core to rename this lowercased variable
|
|
582
|
+
@inverteditemlinkcolor : @white;
|
|
583
|
+
@invertedItemLinkColor : @white;
|
|
584
|
+
|
|
585
|
+
/*-------------------
|
|
586
|
+
Brand Colors
|
|
587
|
+
--------------------*/
|
|
588
|
+
|
|
589
|
+
@facebookColor : #3B5998;
|
|
590
|
+
@twitterColor : #55ACEE;
|
|
591
|
+
@googlePlusColor : #DD4B39;
|
|
592
|
+
@linkedInColor : #1F88BE;
|
|
593
|
+
@youtubeColor : #CC181E;
|
|
594
|
+
@pinterestColor : #BD081C;
|
|
595
|
+
@vkColor : #4D7198;
|
|
596
|
+
@instagramColor : #49769C;
|
|
597
|
+
|
|
598
|
+
/*-------------------
|
|
599
|
+
Borders
|
|
600
|
+
--------------------*/
|
|
601
|
+
|
|
602
|
+
@circularRadius : 500rem;
|
|
603
|
+
|
|
604
|
+
@borderColor : @silverGray;
|
|
605
|
+
@strongBorderColor : rgba(34, 36, 38, 0.22);
|
|
606
|
+
@internalBorderColor : rgba(34, 36, 38, 0.1);
|
|
607
|
+
@selectedBorderColor : rgba(34, 36, 38, 0.35);
|
|
608
|
+
@strongSelectedBorderColor : rgba(34, 36, 38, 0.5);
|
|
609
|
+
@disabledBorderColor : rgba(34, 36, 38, 0.5);
|
|
610
|
+
|
|
611
|
+
@solidInternalBorderColor : #FAFAFA;
|
|
612
|
+
@solidBorderColor : #D4D4D5;
|
|
613
|
+
@solidSelectedBorderColor : #BCBDBD;
|
|
614
|
+
|
|
615
|
+
@whiteBorderColor : rgba(255, 255, 255, 0.1);
|
|
616
|
+
@selectedWhiteBorderColor : rgba(255, 255, 255, 0.8);
|
|
617
|
+
|
|
618
|
+
@solidWhiteBorderColor : #555555;
|
|
619
|
+
@selectedSolidWhiteBorderColor : #999999;
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
/*-------------------
|
|
623
|
+
Derived Values
|
|
624
|
+
--------------------*/
|
|
625
|
+
|
|
626
|
+
/* Loaders Position Offset */
|
|
627
|
+
@loaderOffset : -(@loaderSize / 2);
|
|
628
|
+
@loaderMargin : @loaderOffset 0em 0em @loaderOffset;
|
|
629
|
+
|
|
630
|
+
/* Rendered Scrollbar Width */
|
|
631
|
+
@scrollbarWidth: 17px;
|
|
632
|
+
|
|
633
|
+
/* Maximum Single Character Glyph Width, aka Capital "W" */
|
|
634
|
+
@glyphWidth: 1.1em;
|
|
635
|
+
|
|
636
|
+
/* Used to match floats with text */
|
|
637
|
+
@lineHeightOffset : ((@lineHeight - 1em) / 2);
|
|
638
|
+
@headerLineHeightOffset : (@headerLineHeight - 1em) / 2;
|
|
639
|
+
|
|
640
|
+
/* Header Spacing */
|
|
641
|
+
@headerTopMargin : ~"calc(2rem - "@headerLineHeightOffset~")";
|
|
642
|
+
@headerBottomMargin : 1rem;
|
|
643
|
+
@headerMargin : @headerTopMargin 0em @headerBottomMargin;
|
|
644
|
+
|
|
645
|
+
/* Minimum Mobile Width */
|
|
646
|
+
@pageMinWidth : 320px;
|
|
647
|
+
|
|
648
|
+
/* Positive / Negative Dupes */
|
|
649
|
+
@successBackgroundColor : @positiveBackgroundColor;
|
|
650
|
+
@successColor : @positiveColor;
|
|
651
|
+
@successBorderColor : @positiveBorderColor;
|
|
652
|
+
@successHeaderColor : @positiveHeaderColor;
|
|
653
|
+
@successTextColor : @positiveTextColor;
|
|
654
|
+
|
|
655
|
+
@errorBackgroundColor : @negativeBackgroundColor;
|
|
656
|
+
@errorColor : @negativeColor;
|
|
657
|
+
@errorBorderColor : @negativeBorderColor;
|
|
658
|
+
@errorHeaderColor : @negativeHeaderColor;
|
|
659
|
+
@errorTextColor : @negativeTextColor;
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
/* Responsive */
|
|
663
|
+
@largestMobileScreen : (@tabletBreakpoint - @1px);
|
|
664
|
+
@largestTabletScreen : (@computerBreakpoint - @1px);
|
|
665
|
+
@largestSmallMonitor : (@largeMonitorBreakpoint - @1px);
|
|
666
|
+
@largestLargeMonitor : (@widescreenMonitorBreakpoint - @1px);
|
|
667
|
+
@mobileWidth: 1279px;
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
/*-------------------
|
|
671
|
+
Exact Pixel Values
|
|
672
|
+
--------------------*/
|
|
673
|
+
/*
|
|
674
|
+
These are used to specify exact pixel values in em
|
|
675
|
+
for things like borders that remain constantly
|
|
676
|
+
sized as emSize adjusts
|
|
677
|
+
|
|
678
|
+
Since there are many more sizes than names for sizes,
|
|
679
|
+
these are named by their original pixel values.
|
|
680
|
+
|
|
681
|
+
*/
|
|
682
|
+
|
|
683
|
+
@1px : unit( (1 / @emSize), rem);
|
|
684
|
+
@2px : unit( (2 / @emSize), rem);
|
|
685
|
+
@3px : unit( (3 / @emSize), rem);
|
|
686
|
+
@4px : unit( (4 / @emSize), rem);
|
|
687
|
+
@5px : unit( (5 / @emSize), rem);
|
|
688
|
+
@6px : unit( (6 / @emSize), rem);
|
|
689
|
+
@7px : unit( (7 / @emSize), rem);
|
|
690
|
+
@8px : unit( (8 / @emSize), rem);
|
|
691
|
+
@9px : unit( (9 / @emSize), rem);
|
|
692
|
+
@10px : unit( (10 / @emSize), rem);
|
|
693
|
+
@11px : unit( (11 / @emSize), rem);
|
|
694
|
+
@12px : unit( (12 / @emSize), rem);
|
|
695
|
+
@13px : unit( (13 / @emSize), rem);
|
|
696
|
+
@14px : unit( (14 / @emSize), rem);
|
|
697
|
+
@15px : unit( (15 / @emSize), rem);
|
|
698
|
+
@16px : unit( (16 / @emSize), rem);
|
|
699
|
+
@17px : unit( (17 / @emSize), rem);
|
|
700
|
+
@18px : unit( (18 / @emSize), rem);
|
|
701
|
+
@19px : unit( (19 / @emSize), rem);
|
|
702
|
+
@20px : unit( (20 / @emSize), rem);
|
|
703
|
+
@21px : unit( (21 / @emSize), rem);
|
|
704
|
+
@22px : unit( (22 / @emSize), rem);
|
|
705
|
+
@23px : unit( (23 / @emSize), rem);
|
|
706
|
+
@24px : unit( (24 / @emSize), rem);
|
|
707
|
+
@25px : unit( (25 / @emSize), rem);
|
|
708
|
+
@26px : unit( (26 / @emSize), rem);
|
|
709
|
+
@27px : unit( (27 / @emSize), rem);
|
|
710
|
+
@28px : unit( (28 / @emSize), rem);
|
|
711
|
+
@29px : unit( (29 / @emSize), rem);
|
|
712
|
+
@30px : unit( (30 / @emSize), rem);
|
|
713
|
+
@31px : unit( (31 / @emSize), rem);
|
|
714
|
+
@32px : unit( (32 / @emSize), rem);
|
|
715
|
+
@33px : unit( (33 / @emSize), rem);
|
|
716
|
+
@34px : unit( (34 / @emSize), rem);
|
|
717
|
+
@35px : unit( (35 / @emSize), rem);
|
|
718
|
+
@36px : unit( (36 / @emSize), rem);
|
|
719
|
+
@37px : unit( (37 / @emSize), rem);
|
|
720
|
+
@38px : unit( (38 / @emSize), rem);
|
|
721
|
+
@39px : unit( (39 / @emSize), rem);
|
|
722
|
+
@40px : unit( (40 / @emSize), rem);
|
|
723
|
+
@41px : unit( (41 / @emSize), rem);
|
|
724
|
+
@42px : unit( (42 / @emSize), rem);
|
|
725
|
+
@43px : unit( (43 / @emSize), rem);
|
|
726
|
+
@44px : unit( (44 / @emSize), rem);
|
|
727
|
+
@45px : unit( (45 / @emSize), rem);
|
|
728
|
+
@46px : unit( (46 / @emSize), rem);
|
|
729
|
+
@47px : unit( (47 / @emSize), rem);
|
|
730
|
+
@48px : unit( (48 / @emSize), rem);
|
|
731
|
+
@49px : unit( (49 / @emSize), rem);
|
|
732
|
+
@50px : unit( (50 / @emSize), rem);
|
|
733
|
+
@51px : unit( (51 / @emSize), rem);
|
|
734
|
+
@52px : unit( (52 / @emSize), rem);
|
|
735
|
+
@53px : unit( (53 / @emSize), rem);
|
|
736
|
+
@54px : unit( (54 / @emSize), rem);
|
|
737
|
+
@55px : unit( (55 / @emSize), rem);
|
|
738
|
+
@56px : unit( (56 / @emSize), rem);
|
|
739
|
+
@57px : unit( (57 / @emSize), rem);
|
|
740
|
+
@58px : unit( (58 / @emSize), rem);
|
|
741
|
+
@59px : unit( (59 / @emSize), rem);
|
|
742
|
+
@60px : unit( (60 / @emSize), rem);
|
|
743
|
+
@61px : unit( (61 / @emSize), rem);
|
|
744
|
+
@62px : unit( (62 / @emSize), rem);
|
|
745
|
+
@63px : unit( (63 / @emSize), rem);
|
|
746
|
+
@64px : unit( (64 / @emSize), rem);
|
|
747
|
+
|
|
748
|
+
@relative1px : unit( (1 / @emSize), em);
|
|
749
|
+
@relative2px : unit( (2 / @emSize), em);
|
|
750
|
+
@relative3px : unit( (3 / @emSize), em);
|
|
751
|
+
@relative4px : unit( (4 / @emSize), em);
|
|
752
|
+
@relative5px : unit( (5 / @emSize), em);
|
|
753
|
+
@relative6px : unit( (6 / @emSize), em);
|
|
754
|
+
@relative7px : unit( (7 / @emSize), em);
|
|
755
|
+
@relative8px : unit( (8 / @emSize), em);
|
|
756
|
+
@relative9px : unit( (9 / @emSize), em);
|
|
757
|
+
@relative10px : unit( (10 / @emSize), em);
|
|
758
|
+
@relative11px : unit( (11 / @emSize), em);
|
|
759
|
+
@relative12px : unit( (12 / @emSize), em);
|
|
760
|
+
@relative13px : unit( (13 / @emSize), em);
|
|
761
|
+
@relative14px : unit( (14 / @emSize), em);
|
|
762
|
+
@relative15px : unit( (15 / @emSize), em);
|
|
763
|
+
@relative16px : unit( (16 / @emSize), em);
|
|
764
|
+
@relative17px : unit( (17 / @emSize), em);
|
|
765
|
+
@relative18px : unit( (18 / @emSize), em);
|
|
766
|
+
@relative19px : unit( (19 / @emSize), em);
|
|
767
|
+
@relative20px : unit( (20 / @emSize), em);
|
|
768
|
+
@relative21px : unit( (21 / @emSize), em);
|
|
769
|
+
@relative22px : unit( (22 / @emSize), em);
|
|
770
|
+
@relative23px : unit( (23 / @emSize), em);
|
|
771
|
+
@relative24px : unit( (24 / @emSize), em);
|
|
772
|
+
@relative25px : unit( (25 / @emSize), em);
|
|
773
|
+
@relative26px : unit( (26 / @emSize), em);
|
|
774
|
+
@relative27px : unit( (27 / @emSize), em);
|
|
775
|
+
@relative28px : unit( (28 / @emSize), em);
|
|
776
|
+
@relative29px : unit( (29 / @emSize), em);
|
|
777
|
+
@relative30px : unit( (30 / @emSize), em);
|
|
778
|
+
@relative31px : unit( (31 / @emSize), em);
|
|
779
|
+
@relative32px : unit( (32 / @emSize), em);
|
|
780
|
+
@relative33px : unit( (33 / @emSize), em);
|
|
781
|
+
@relative34px : unit( (34 / @emSize), em);
|
|
782
|
+
@relative35px : unit( (35 / @emSize), em);
|
|
783
|
+
@relative36px : unit( (36 / @emSize), em);
|
|
784
|
+
@relative37px : unit( (37 / @emSize), em);
|
|
785
|
+
@relative38px : unit( (38 / @emSize), em);
|
|
786
|
+
@relative39px : unit( (39 / @emSize), em);
|
|
787
|
+
@relative40px : unit( (40 / @emSize), em);
|
|
788
|
+
@relative41px : unit( (41 / @emSize), em);
|
|
789
|
+
@relative42px : unit( (42 / @emSize), em);
|
|
790
|
+
@relative43px : unit( (43 / @emSize), em);
|
|
791
|
+
@relative44px : unit( (44 / @emSize), em);
|
|
792
|
+
@relative45px : unit( (45 / @emSize), em);
|
|
793
|
+
@relative46px : unit( (46 / @emSize), em);
|
|
794
|
+
@relative47px : unit( (47 / @emSize), em);
|
|
795
|
+
@relative48px : unit( (48 / @emSize), em);
|
|
796
|
+
@relative49px : unit( (49 / @emSize), em);
|
|
797
|
+
@relative50px : unit( (50 / @emSize), em);
|
|
798
|
+
@relative51px : unit( (51 / @emSize), em);
|
|
799
|
+
@relative52px : unit( (52 / @emSize), em);
|
|
800
|
+
@relative53px : unit( (53 / @emSize), em);
|
|
801
|
+
@relative54px : unit( (54 / @emSize), em);
|
|
802
|
+
@relative55px : unit( (55 / @emSize), em);
|
|
803
|
+
@relative56px : unit( (56 / @emSize), em);
|
|
804
|
+
@relative57px : unit( (57 / @emSize), em);
|
|
805
|
+
@relative58px : unit( (58 / @emSize), em);
|
|
806
|
+
@relative59px : unit( (59 / @emSize), em);
|
|
807
|
+
@relative60px : unit( (60 / @emSize), em);
|
|
808
|
+
@relative61px : unit( (61 / @emSize), em);
|
|
809
|
+
@relative62px : unit( (62 / @emSize), em);
|
|
810
|
+
@relative63px : unit( (63 / @emSize), em);
|
|
811
|
+
@relative64px : unit( (64 / @emSize), em);
|
|
812
|
+
|
|
813
|
+
/* Columns */
|
|
814
|
+
@oneMobile : (1 / @mobileColumns * 100%);
|
|
815
|
+
@twoMobile : (2 / @mobileColumns * 100%);
|
|
816
|
+
@threeMobile : (3 / @mobileColumns * 100%);
|
|
817
|
+
@fourMobile : (4 / @mobileColumns * 100%);
|
|
818
|
+
|
|
819
|
+
@oneTablet : (1 / @tabletColumns * 100%);
|
|
820
|
+
@twoTablet : (2 / @tabletColumns * 100%);
|
|
821
|
+
@threeTablet : (3 / @tabletColumns * 100%);
|
|
822
|
+
@fourTablet : (4 / @tabletColumns * 100%);
|
|
823
|
+
@fiveTablet : (5 / @tabletColumns * 100%);
|
|
824
|
+
@sixTablet : (6 / @tabletColumns * 100%);
|
|
825
|
+
@sevenTablet : (7 / @tabletColumns * 100%);
|
|
826
|
+
@eightTablet : (8 / @tabletColumns * 100%);
|
|
827
|
+
|
|
828
|
+
@oneDesktop : (1 / @desktopColumns * 100%);
|
|
829
|
+
@twoDesktop : (2 / @desktopColumns * 100%);
|
|
830
|
+
@threeDesktop : (3 / @desktopColumns * 100%);
|
|
831
|
+
@fourDesktop : (4 / @desktopColumns * 100%);
|
|
832
|
+
@fiveDesktop : (5 / @desktopColumns * 100%);
|
|
833
|
+
@sixDesktop : (6 / @desktopColumns * 100%);
|
|
834
|
+
@sevenDesktop : (7 / @desktopColumns * 100%);
|
|
835
|
+
@eightDesktop : (8 / @desktopColumns * 100%);
|
|
836
|
+
@nineDesktop : (9 / @desktopColumns * 100%);
|
|
837
|
+
@tenDesktop : (10 / @desktopColumns * 100%);
|
|
838
|
+
@elevenDesktop : (11 / @desktopColumns * 100%);
|
|
839
|
+
@twelveDesktop : (12 / @desktopColumns * 100%);
|
|
840
|
+
|
|
841
|
+
@oneWide : (1 / @columnCount * 100%);
|
|
842
|
+
@twoWide : (2 / @columnCount * 100%);
|
|
843
|
+
@threeWide : (3 / @columnCount * 100%);
|
|
844
|
+
@fourWide : (4 / @columnCount * 100%);
|
|
845
|
+
@fiveWide : (5 / @columnCount * 100%);
|
|
846
|
+
@sixWide : (6 / @columnCount * 100%);
|
|
847
|
+
@sevenWide : (7 / @columnCount * 100%);
|
|
848
|
+
@eightWide : (8 / @columnCount * 100%);
|
|
849
|
+
@nineWide : (9 / @columnCount * 100%);
|
|
850
|
+
@tenWide : (10 / @columnCount * 100%);
|
|
851
|
+
@elevenWide : (11 / @columnCount * 100%);
|
|
852
|
+
@twelveWide : (12 / @columnCount * 100%);
|
|
853
|
+
@thirteenWide : (13 / @columnCount * 100%);
|
|
854
|
+
@fourteenWide : (14 / @columnCount * 100%);
|
|
855
|
+
@fifteenWide : (15 / @columnCount * 100%);
|
|
856
|
+
@sixteenWide : (16 / @columnCount * 100%);
|
|
857
|
+
|
|
858
|
+
@oneColumn : (1 / 1 * 100%);
|
|
859
|
+
@twoColumn : (1 / 2 * 100%);
|
|
860
|
+
@threeColumn : (1 / 3 * 100%);
|
|
861
|
+
@fourColumn : (1 / 4 * 100%);
|
|
862
|
+
@fiveColumn : (1 / 5 * 100%);
|
|
863
|
+
@sixColumn : (1 / 6 * 100%);
|
|
864
|
+
@sevenColumn : (1 / 7 * 100%);
|
|
865
|
+
@eightColumn : (1 / 8 * 100%);
|
|
866
|
+
@nineColumn : (1 / 9 * 100%);
|
|
867
|
+
@tenColumn : (1 / 10 * 100%);
|
|
868
|
+
@elevenColumn : (1 / 11 * 100%);
|
|
869
|
+
@twelveColumn : (1 / 12 * 100%);
|
|
870
|
+
@thirteenColumn : (1 / 13 * 100%);
|
|
871
|
+
@fourteenColumn : (1 / 14 * 100%);
|
|
872
|
+
@fifteenColumn : (1 / 15 * 100%);
|
|
873
|
+
@sixteenColumn : (1 / 16 * 100%);
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
/*******************************
|
|
877
|
+
States
|
|
878
|
+
*******************************/
|
|
879
|
+
|
|
880
|
+
/*-------------------
|
|
881
|
+
Disabled
|
|
882
|
+
--------------------*/
|
|
883
|
+
|
|
884
|
+
@disabledOpacity: 0.45;
|
|
885
|
+
@disabledTextColor: rgba(40, 40, 40, 0.3);
|
|
886
|
+
@invertedDisabledTextColor: rgba(225, 225, 225, 0.3);
|
|
887
|
+
|
|
888
|
+
/*-------------------
|
|
889
|
+
Hover
|
|
890
|
+
--------------------*/
|
|
891
|
+
|
|
892
|
+
/*--- Shadows ---*/
|
|
893
|
+
@eeaGlobalShadow: none;
|
|
894
|
+
@floatingShadowHover:
|
|
895
|
+
0px 2px 4px 0px rgba(34, 36, 38, 0.15),
|
|
896
|
+
0px 2px 10px 0px rgba(34, 36, 38, 0.25)
|
|
897
|
+
;
|
|
898
|
+
|
|
899
|
+
/*--- Colors ---*/
|
|
900
|
+
@primaryColorHover : saturate(darken(@primaryColor, 5), 10, relative);
|
|
901
|
+
@secondaryColorHover : saturate(lighten(@secondaryColor, 5), 10, relative);
|
|
902
|
+
@lightPrimaryColorHover : saturate(darken(@lightPrimaryColor, 5), 10, relative);
|
|
903
|
+
@lightSecondaryColorHover : saturate(lighten(@lightSecondaryColor, 5), 10, relative);
|
|
904
|
+
|
|
905
|
+
@redHover : saturate(darken(@red, 5), 10, relative);
|
|
906
|
+
@orangeHover : saturate(darken(@orange, 5), 10, relative);
|
|
907
|
+
@yellowHover : saturate(darken(@yellow, 5), 10, relative);
|
|
908
|
+
@oliveHover : saturate(darken(@olive, 5), 10, relative);
|
|
909
|
+
@greenHover : saturate(darken(@green, 5), 10, relative);
|
|
910
|
+
@tealHover : saturate(darken(@teal, 5), 10, relative);
|
|
911
|
+
@blueHover : saturate(darken(@blue, 5), 10, relative);
|
|
912
|
+
@violetHover : saturate(darken(@violet, 5), 10, relative);
|
|
913
|
+
@purpleHover : saturate(darken(@purple, 5), 10, relative);
|
|
914
|
+
@pinkHover : saturate(darken(@pink, 5), 10, relative);
|
|
915
|
+
@brownHover : saturate(darken(@brown, 5), 10, relative);
|
|
916
|
+
|
|
917
|
+
@lightRedHover : saturate(darken(@lightRed, 5), 10, relative);
|
|
918
|
+
@lightOrangeHover : saturate(darken(@lightOrange, 5), 10, relative);
|
|
919
|
+
@lightYellowHover : saturate(darken(@lightYellow, 5), 10, relative);
|
|
920
|
+
@lightOliveHover : saturate(darken(@lightOlive, 5), 10, relative);
|
|
921
|
+
@lightGreenHover : saturate(darken(@lightGreen, 5), 10, relative);
|
|
922
|
+
@lightTealHover : saturate(darken(@lightTeal, 5), 10, relative);
|
|
923
|
+
@lightBlueHover : saturate(darken(@lightBlue, 5), 10, relative);
|
|
924
|
+
@lightVioletHover : saturate(darken(@lightViolet, 5), 10, relative);
|
|
925
|
+
@lightPurpleHover : saturate(darken(@lightPurple, 5), 10, relative);
|
|
926
|
+
@lightPinkHover : saturate(darken(@lightPink, 5), 10, relative);
|
|
927
|
+
@lightBrownHover : saturate(darken(@lightBrown, 5), 10, relative);
|
|
928
|
+
@lightGreyHover : saturate(darken(@lightGrey, 5), 10, relative);
|
|
929
|
+
@lightBlackHover : saturate(darken(@fullBlack, 5), 10, relative);
|
|
930
|
+
|
|
931
|
+
/*--- Emotive ---*/
|
|
932
|
+
@positiveColorHover : saturate(darken(@positiveColor, 5), 10, relative);
|
|
933
|
+
@negativeColorHover : saturate(darken(@negativeColor, 5), 10, relative);
|
|
934
|
+
|
|
935
|
+
/*--- Brand ---*/
|
|
936
|
+
@facebookHoverColor : saturate(darken(@facebookColor, 5), 10, relative);
|
|
937
|
+
@twitterHoverColor : saturate(darken(@twitterColor, 5), 10, relative);
|
|
938
|
+
@googlePlusHoverColor : saturate(darken(@googlePlusColor, 5), 10, relative);
|
|
939
|
+
@linkedInHoverColor : saturate(darken(@linkedInColor, 5), 10, relative);
|
|
940
|
+
@youtubeHoverColor : saturate(darken(@youtubeColor, 5), 10, relative);
|
|
941
|
+
@instagramHoverColor : saturate(darken(@instagramColor, 5), 10, relative);
|
|
942
|
+
@pinterestHoverColor : saturate(darken(@pinterestColor, 5), 10, relative);
|
|
943
|
+
@vkHoverColor : saturate(darken(@vkColor, 5), 10, relative);
|
|
944
|
+
|
|
945
|
+
/*--- Dark Tones ---*/
|
|
946
|
+
@fullBlackHover : lighten(@fullBlack, 5);
|
|
947
|
+
@blackHover : lighten(@black, 5);
|
|
948
|
+
@greyHover : lighten(@grey, 5);
|
|
949
|
+
|
|
950
|
+
/*--- Light Tones ---*/
|
|
951
|
+
@whiteHover : darken(@white, 5);
|
|
952
|
+
@offWhiteHover : darken(@offWhite, 5);
|
|
953
|
+
@darkWhiteHover : darken(@darkWhite, 5);
|
|
954
|
+
|
|
955
|
+
/*-------------------
|
|
956
|
+
Focus
|
|
957
|
+
--------------------*/
|
|
958
|
+
|
|
959
|
+
/*--- Colors ---*/
|
|
960
|
+
@primaryColorFocus : saturate(darken(@primaryColor, 8), 20, relative);
|
|
961
|
+
@secondaryColorFocus : saturate(lighten(@secondaryColor, 8), 20, relative);
|
|
962
|
+
@lightPrimaryColorFocus : saturate(darken(@lightPrimaryColor, 8), 20, relative);
|
|
963
|
+
@lightSecondaryColorFocus : saturate(lighten(@lightSecondaryColor, 8), 20, relative);
|
|
964
|
+
|
|
965
|
+
@redFocus : saturate(darken(@red, 8), 20, relative);
|
|
966
|
+
@orangeFocus : saturate(darken(@orange, 8), 20, relative);
|
|
967
|
+
@yellowFocus : saturate(darken(@yellow, 8), 20, relative);
|
|
968
|
+
@oliveFocus : saturate(darken(@olive, 8), 20, relative);
|
|
969
|
+
@greenFocus : saturate(darken(@green, 8), 20, relative);
|
|
970
|
+
@tealFocus : saturate(darken(@teal, 8), 20, relative);
|
|
971
|
+
@blueFocus : saturate(darken(@blue, 8), 20, relative);
|
|
972
|
+
@violetFocus : saturate(darken(@violet, 8), 20, relative);
|
|
973
|
+
@purpleFocus : saturate(darken(@purple, 8), 20, relative);
|
|
974
|
+
@pinkFocus : saturate(darken(@pink, 8), 20, relative);
|
|
975
|
+
@brownFocus : saturate(darken(@brown, 8), 20, relative);
|
|
976
|
+
|
|
977
|
+
@lightRedFocus : saturate(darken(@lightRed, 8), 20, relative);
|
|
978
|
+
@lightOrangeFocus : saturate(darken(@lightOrange, 8), 20, relative);
|
|
979
|
+
@lightYellowFocus : saturate(darken(@lightYellow, 8), 20, relative);
|
|
980
|
+
@lightOliveFocus : saturate(darken(@lightOlive, 8), 20, relative);
|
|
981
|
+
@lightGreenFocus : saturate(darken(@lightGreen, 8), 20, relative);
|
|
982
|
+
@lightTealFocus : saturate(darken(@lightTeal, 8), 20, relative);
|
|
983
|
+
@lightBlueFocus : saturate(darken(@lightBlue, 8), 20, relative);
|
|
984
|
+
@lightVioletFocus : saturate(darken(@lightViolet, 8), 20, relative);
|
|
985
|
+
@lightPurpleFocus : saturate(darken(@lightPurple, 8), 20, relative);
|
|
986
|
+
@lightPinkFocus : saturate(darken(@lightPink, 8), 20, relative);
|
|
987
|
+
@lightBrownFocus : saturate(darken(@lightBrown, 8), 20, relative);
|
|
988
|
+
@lightGreyFocus : saturate(darken(@lightGrey, 8), 20, relative);
|
|
989
|
+
@lightBlackFocus : saturate(darken(@fullBlack, 8), 20, relative);
|
|
990
|
+
|
|
991
|
+
/*--- Emotive ---*/
|
|
992
|
+
@positiveColorFocus : saturate(darken(@positiveColor, 8), 20, relative);
|
|
993
|
+
@negativeColorFocus : saturate(darken(@negativeColor, 8), 20, relative);
|
|
994
|
+
|
|
995
|
+
/*--- Brand ---*/
|
|
996
|
+
@facebookFocusColor : saturate(darken(@facebookColor, 8), 20, relative);
|
|
997
|
+
@twitterFocusColor : saturate(darken(@twitterColor, 8), 20, relative);
|
|
998
|
+
@googlePlusFocusColor : saturate(darken(@googlePlusColor, 8), 20, relative);
|
|
999
|
+
@linkedInFocusColor : saturate(darken(@linkedInColor, 8), 20, relative);
|
|
1000
|
+
@youtubeFocusColor : saturate(darken(@youtubeColor, 8), 20, relative);
|
|
1001
|
+
@instagramFocusColor : saturate(darken(@instagramColor, 8), 20, relative);
|
|
1002
|
+
@pinterestFocusColor : saturate(darken(@pinterestColor, 8), 20, relative);
|
|
1003
|
+
@vkFocusColor : saturate(darken(@vkColor, 8), 20, relative);
|
|
1004
|
+
|
|
1005
|
+
/*--- Dark Tones ---*/
|
|
1006
|
+
@fullBlackFocus : lighten(@fullBlack, 8);
|
|
1007
|
+
@blackFocus : lighten(@black, 8);
|
|
1008
|
+
@greyFocus : lighten(@grey, 8);
|
|
1009
|
+
|
|
1010
|
+
/*--- Light Tones ---*/
|
|
1011
|
+
@whiteFocus : darken(@white, 8);
|
|
1012
|
+
@offWhiteFocus : darken(@offWhite, 8);
|
|
1013
|
+
@darkWhiteFocus : darken(@darkWhite, 8);
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
/*-------------------
|
|
1017
|
+
Down (:active)
|
|
1018
|
+
--------------------*/
|
|
1019
|
+
|
|
1020
|
+
/*--- Colors ---*/
|
|
1021
|
+
@primaryColorDown : darken(@primaryColor, 10);
|
|
1022
|
+
@secondaryColorDown : lighten(@secondaryColor, 10);
|
|
1023
|
+
@lightPrimaryColorDown : darken(@lightPrimaryColor, 10);
|
|
1024
|
+
@lightSecondaryColorDown : lighten(@lightSecondaryColor, 10);
|
|
1025
|
+
|
|
1026
|
+
@redDown : darken(@red, 10);
|
|
1027
|
+
@orangeDown : darken(@orange, 10);
|
|
1028
|
+
@yellowDown : darken(@yellow, 10);
|
|
1029
|
+
@oliveDown : darken(@olive, 10);
|
|
1030
|
+
@greenDown : darken(@green, 10);
|
|
1031
|
+
@tealDown : darken(@teal, 10);
|
|
1032
|
+
@blueDown : darken(@blue, 10);
|
|
1033
|
+
@violetDown : darken(@violet, 10);
|
|
1034
|
+
@purpleDown : darken(@purple, 10);
|
|
1035
|
+
@pinkDown : darken(@pink, 10);
|
|
1036
|
+
@brownDown : darken(@brown, 10);
|
|
1037
|
+
|
|
1038
|
+
@lightRedDown : darken(@lightRed, 10);
|
|
1039
|
+
@lightOrangeDown : darken(@lightOrange, 10);
|
|
1040
|
+
@lightYellowDown : darken(@lightYellow, 10);
|
|
1041
|
+
@lightOliveDown : darken(@lightOlive, 10);
|
|
1042
|
+
@lightGreenDown : darken(@lightGreen, 10);
|
|
1043
|
+
@lightTealDown : darken(@lightTeal, 10);
|
|
1044
|
+
@lightBlueDown : darken(@lightBlue, 10);
|
|
1045
|
+
@lightVioletDown : darken(@lightViolet, 10);
|
|
1046
|
+
@lightPurpleDown : darken(@lightPurple, 10);
|
|
1047
|
+
@lightPinkDown : darken(@lightPink, 10);
|
|
1048
|
+
@lightBrownDown : darken(@lightBrown, 10);
|
|
1049
|
+
@lightGreyDown : darken(@lightGrey, 10);
|
|
1050
|
+
@lightBlackDown : darken(@fullBlack, 10);
|
|
1051
|
+
|
|
1052
|
+
/*--- Emotive ---*/
|
|
1053
|
+
@positiveColorDown : darken(@positiveColor, 10);
|
|
1054
|
+
@negativeColorDown : darken(@negativeColor, 10);
|
|
1055
|
+
|
|
1056
|
+
/*--- Brand ---*/
|
|
1057
|
+
@facebookDownColor : darken(@facebookColor, 10);
|
|
1058
|
+
@twitterDownColor : darken(@twitterColor, 10);
|
|
1059
|
+
@googlePlusDownColor : darken(@googlePlusColor, 10);
|
|
1060
|
+
@linkedInDownColor : darken(@linkedInColor, 10);
|
|
1061
|
+
@youtubeDownColor : darken(@youtubeColor, 10);
|
|
1062
|
+
@instagramDownColor : darken(@instagramColor, 10);
|
|
1063
|
+
@pinterestDownColor : darken(@pinterestColor, 10);
|
|
1064
|
+
@vkDownColor : darken(@vkColor, 10);
|
|
1065
|
+
|
|
1066
|
+
/*--- Dark Tones ---*/
|
|
1067
|
+
@fullBlackDown : lighten(@fullBlack, 10);
|
|
1068
|
+
@blackDown : lighten(@black, 10);
|
|
1069
|
+
@greyDown : lighten(@grey, 10);
|
|
1070
|
+
|
|
1071
|
+
/*--- Light Tones ---*/
|
|
1072
|
+
@whiteDown : darken(@white, 10);
|
|
1073
|
+
@offWhiteDown : darken(@offWhite, 10);
|
|
1074
|
+
@darkWhiteDown : darken(@darkWhite, 10);
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
/*-------------------
|
|
1078
|
+
Active
|
|
1079
|
+
--------------------*/
|
|
1080
|
+
|
|
1081
|
+
/*--- Colors ---*/
|
|
1082
|
+
@primaryColorActive : saturate(darken(@primaryColor, 5), 15, relative);
|
|
1083
|
+
@secondaryColorActive : saturate(lighten(@secondaryColor, 5), 15, relative);
|
|
1084
|
+
@lightPrimaryColorActive : saturate(darken(@lightPrimaryColor, 5), 15, relative);
|
|
1085
|
+
@lightSecondaryColorActive : saturate(lighten(@lightSecondaryColor, 5), 15, relative);
|
|
1086
|
+
|
|
1087
|
+
@redActive : saturate(darken(@red, 5), 15, relative);
|
|
1088
|
+
@orangeActive : saturate(darken(@orange, 5), 15, relative);
|
|
1089
|
+
@yellowActive : saturate(darken(@yellow, 5), 15, relative);
|
|
1090
|
+
@oliveActive : saturate(darken(@olive, 5), 15, relative);
|
|
1091
|
+
@greenActive : saturate(darken(@green, 5), 15, relative);
|
|
1092
|
+
@tealActive : saturate(darken(@teal, 5), 15, relative);
|
|
1093
|
+
@blueActive : saturate(darken(@blue, 5), 15, relative);
|
|
1094
|
+
@violetActive : saturate(darken(@violet, 5), 15, relative);
|
|
1095
|
+
@purpleActive : saturate(darken(@purple, 5), 15, relative);
|
|
1096
|
+
@pinkActive : saturate(darken(@pink, 5), 15, relative);
|
|
1097
|
+
@brownActive : saturate(darken(@brown, 5), 15, relative);
|
|
1098
|
+
|
|
1099
|
+
@lightRedActive : saturate(darken(@lightRed, 5), 15, relative);
|
|
1100
|
+
@lightOrangeActive : saturate(darken(@lightOrange, 5), 15, relative);
|
|
1101
|
+
@lightYellowActive : saturate(darken(@lightYellow, 5), 15, relative);
|
|
1102
|
+
@lightOliveActive : saturate(darken(@lightOlive, 5), 15, relative);
|
|
1103
|
+
@lightGreenActive : saturate(darken(@lightGreen, 5), 15, relative);
|
|
1104
|
+
@lightTealActive : saturate(darken(@lightTeal, 5), 15, relative);
|
|
1105
|
+
@lightBlueActive : saturate(darken(@lightBlue, 5), 15, relative);
|
|
1106
|
+
@lightVioletActive : saturate(darken(@lightViolet, 5), 15, relative);
|
|
1107
|
+
@lightPurpleActive : saturate(darken(@lightPurple, 5), 15, relative);
|
|
1108
|
+
@lightPinkActive : saturate(darken(@lightPink, 5), 15, relative);
|
|
1109
|
+
@lightBrownActive : saturate(darken(@lightBrown, 5), 15, relative);
|
|
1110
|
+
@lightGreyActive : saturate(darken(@lightGrey, 5), 15, relative);
|
|
1111
|
+
@lightBlackActive : saturate(darken(@fullBlack, 5), 15, relative);
|
|
1112
|
+
|
|
1113
|
+
/*--- Emotive ---*/
|
|
1114
|
+
@positiveColorActive : saturate(darken(@positiveColor, 5), 15, relative);
|
|
1115
|
+
@negativeColorActive : saturate(darken(@negativeColor, 5), 15, relative);
|
|
1116
|
+
|
|
1117
|
+
/*--- Brand ---*/
|
|
1118
|
+
@facebookActiveColor : saturate(darken(@facebookColor, 5), 15, relative);
|
|
1119
|
+
@twitterActiveColor : saturate(darken(@twitterColor, 5), 15, relative);
|
|
1120
|
+
@googlePlusActiveColor : saturate(darken(@googlePlusColor, 5), 15, relative);
|
|
1121
|
+
@linkedInActiveColor : saturate(darken(@linkedInColor, 5), 15, relative);
|
|
1122
|
+
@youtubeActiveColor : saturate(darken(@youtubeColor, 5), 15, relative);
|
|
1123
|
+
@instagramActiveColor : saturate(darken(@instagramColor, 5), 15, relative);
|
|
1124
|
+
@pinterestActiveColor : saturate(darken(@pinterestColor, 5), 15, relative);
|
|
1125
|
+
@vkActiveColor : saturate(darken(@vkColor, 5), 15, relative);
|
|
1126
|
+
|
|
1127
|
+
/*--- Dark Tones ---*/
|
|
1128
|
+
@fullBlackActive : darken(@fullBlack, 5);
|
|
1129
|
+
@blackActive : darken(@black, 5);
|
|
1130
|
+
@greyActive : darken(@grey, 5);
|
|
1131
|
+
|
|
1132
|
+
/*--- Light Tones ---*/
|
|
1133
|
+
@whiteActive : darken(@white, 5);
|
|
1134
|
+
@offWhiteActive : darken(@offWhite, 5);
|
|
1135
|
+
@darkWhiteActive : darken(@darkWhite, 5);
|