@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,499 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* # Semantic UI - Icon
|
|
3
|
+
* http://github.com/semantic-org/semantic-ui/
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Released under the MIT license
|
|
7
|
+
* http://opensource.org/licenses/MIT
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*******************************
|
|
12
|
+
Theme
|
|
13
|
+
*******************************/
|
|
14
|
+
|
|
15
|
+
@type: 'element';
|
|
16
|
+
@element: 'icon';
|
|
17
|
+
|
|
18
|
+
@import (multiple) '../../theme.config';
|
|
19
|
+
|
|
20
|
+
/*******************************
|
|
21
|
+
Icon
|
|
22
|
+
*******************************/
|
|
23
|
+
|
|
24
|
+
@font-face {
|
|
25
|
+
font-display: swap;
|
|
26
|
+
font-family: 'Icons';
|
|
27
|
+
src: @fallbackSRC;
|
|
28
|
+
src: @src;
|
|
29
|
+
font-style: normal;
|
|
30
|
+
font-weight: @normal;
|
|
31
|
+
font-variant: normal;
|
|
32
|
+
text-decoration: inherit;
|
|
33
|
+
text-transform: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
i.icon {
|
|
37
|
+
display: inline-block;
|
|
38
|
+
opacity: @opacity;
|
|
39
|
+
|
|
40
|
+
margin: 0em @distanceFromText 0em 0em;
|
|
41
|
+
|
|
42
|
+
width: @width;
|
|
43
|
+
height: @height;
|
|
44
|
+
|
|
45
|
+
font-family: 'Icons';
|
|
46
|
+
font-style: normal;
|
|
47
|
+
font-weight: @normal;
|
|
48
|
+
text-decoration: inherit;
|
|
49
|
+
text-align: center;
|
|
50
|
+
|
|
51
|
+
speak: none;
|
|
52
|
+
font-smoothing: antialiased;
|
|
53
|
+
-moz-osx-font-smoothing: grayscale;
|
|
54
|
+
-webkit-font-smoothing: antialiased;
|
|
55
|
+
backface-visibility: hidden;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
i.icon:before {
|
|
59
|
+
background: none !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/*******************************
|
|
63
|
+
Types
|
|
64
|
+
*******************************/
|
|
65
|
+
|
|
66
|
+
/*--------------
|
|
67
|
+
Loading
|
|
68
|
+
---------------*/
|
|
69
|
+
|
|
70
|
+
i.icon.loading {
|
|
71
|
+
height: 1em;
|
|
72
|
+
line-height: 1;
|
|
73
|
+
animation: icon-loading @loadingDuration linear infinite;
|
|
74
|
+
}
|
|
75
|
+
@keyframes icon-loading {
|
|
76
|
+
from {
|
|
77
|
+
transform: rotate(0deg);
|
|
78
|
+
}
|
|
79
|
+
to {
|
|
80
|
+
transform: rotate(360deg);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/*******************************
|
|
85
|
+
States
|
|
86
|
+
*******************************/
|
|
87
|
+
|
|
88
|
+
i.icon.hover {
|
|
89
|
+
opacity: 1 !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
i.icon.active {
|
|
93
|
+
opacity: 1 !important;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
i.emphasized.icon {
|
|
97
|
+
opacity: 1 !important;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
i.disabled.icon {
|
|
101
|
+
opacity: @disabledOpacity !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/*******************************
|
|
105
|
+
Variations
|
|
106
|
+
*******************************/
|
|
107
|
+
|
|
108
|
+
/*-------------------
|
|
109
|
+
Fitted
|
|
110
|
+
--------------------*/
|
|
111
|
+
|
|
112
|
+
i.fitted.icon {
|
|
113
|
+
width: auto;
|
|
114
|
+
margin: 0em !important;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/*-------------------
|
|
118
|
+
Link
|
|
119
|
+
--------------------*/
|
|
120
|
+
|
|
121
|
+
i.link.icon,
|
|
122
|
+
i.link.icons {
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
opacity: @linkOpacity;
|
|
125
|
+
transition: opacity @defaultDuration @defaultEasing;
|
|
126
|
+
}
|
|
127
|
+
i.link.icon:hover,
|
|
128
|
+
i.link.icons:hover {
|
|
129
|
+
opacity: 1 !important;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/*-------------------
|
|
133
|
+
Circular
|
|
134
|
+
--------------------*/
|
|
135
|
+
|
|
136
|
+
i.circular.icon {
|
|
137
|
+
border-radius: 500em !important;
|
|
138
|
+
line-height: 1 !important;
|
|
139
|
+
|
|
140
|
+
padding: @circularPadding !important;
|
|
141
|
+
box-shadow: @circularShadow;
|
|
142
|
+
|
|
143
|
+
width: @circularSize !important;
|
|
144
|
+
height: @circularSize !important;
|
|
145
|
+
}
|
|
146
|
+
i.circular.inverted.icon {
|
|
147
|
+
border: none;
|
|
148
|
+
box-shadow: none;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/*-------------------
|
|
152
|
+
Flipped
|
|
153
|
+
--------------------*/
|
|
154
|
+
|
|
155
|
+
i.flipped.icon,
|
|
156
|
+
i.horizontally.flipped.icon {
|
|
157
|
+
transform: scale(-1, 1);
|
|
158
|
+
}
|
|
159
|
+
i.vertically.flipped.icon {
|
|
160
|
+
transform: scale(1, -1);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/*-------------------
|
|
164
|
+
Rotated
|
|
165
|
+
--------------------*/
|
|
166
|
+
|
|
167
|
+
i.rotated.icon,
|
|
168
|
+
i.right.rotated.icon,
|
|
169
|
+
i.clockwise.rotated.icon {
|
|
170
|
+
transform: rotate(90deg);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
i.left.rotated.icon,
|
|
174
|
+
i.counterclockwise.rotated.icon {
|
|
175
|
+
transform: rotate(-90deg);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/*-------------------
|
|
179
|
+
Bordered
|
|
180
|
+
--------------------*/
|
|
181
|
+
|
|
182
|
+
i.bordered.icon {
|
|
183
|
+
line-height: 1;
|
|
184
|
+
vertical-align: baseline;
|
|
185
|
+
|
|
186
|
+
width: @borderedSize;
|
|
187
|
+
height: @borderedSize;
|
|
188
|
+
padding: @borderedVerticalPadding @borderedHorizontalPadding !important;
|
|
189
|
+
box-shadow: @borderedShadow;
|
|
190
|
+
}
|
|
191
|
+
i.bordered.inverted.icon {
|
|
192
|
+
border: none;
|
|
193
|
+
box-shadow: none;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/*-------------------
|
|
197
|
+
Inverted
|
|
198
|
+
--------------------*/
|
|
199
|
+
|
|
200
|
+
/* Inverted Shapes */
|
|
201
|
+
i.inverted.bordered.icon,
|
|
202
|
+
i.inverted.circular.icon {
|
|
203
|
+
background-color: @black !important;
|
|
204
|
+
color: @white !important;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
i.inverted.icon {
|
|
208
|
+
color: @white;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/*-------------------
|
|
212
|
+
Colors
|
|
213
|
+
--------------------*/
|
|
214
|
+
|
|
215
|
+
/* Red */
|
|
216
|
+
i.red.icon {
|
|
217
|
+
color: @red !important;
|
|
218
|
+
}
|
|
219
|
+
i.inverted.red.icon {
|
|
220
|
+
color: @lightRed !important;
|
|
221
|
+
}
|
|
222
|
+
i.inverted.bordered.red.icon,
|
|
223
|
+
i.inverted.circular.red.icon {
|
|
224
|
+
background-color: @red !important;
|
|
225
|
+
color: @white !important;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/* Orange */
|
|
229
|
+
i.orange.icon {
|
|
230
|
+
color: @orange !important;
|
|
231
|
+
}
|
|
232
|
+
i.inverted.orange.icon {
|
|
233
|
+
color: @lightOrange !important;
|
|
234
|
+
}
|
|
235
|
+
i.inverted.bordered.orange.icon,
|
|
236
|
+
i.inverted.circular.orange.icon {
|
|
237
|
+
background-color: @orange !important;
|
|
238
|
+
color: @white !important;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/* Yellow */
|
|
242
|
+
i.yellow.icon {
|
|
243
|
+
color: @yellow !important;
|
|
244
|
+
}
|
|
245
|
+
i.inverted.yellow.icon {
|
|
246
|
+
color: @lightYellow !important;
|
|
247
|
+
}
|
|
248
|
+
i.inverted.bordered.yellow.icon,
|
|
249
|
+
i.inverted.circular.yellow.icon {
|
|
250
|
+
background-color: @yellow !important;
|
|
251
|
+
color: @white !important;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/* Olive */
|
|
255
|
+
i.olive.icon {
|
|
256
|
+
color: @olive !important;
|
|
257
|
+
}
|
|
258
|
+
i.inverted.olive.icon {
|
|
259
|
+
color: @lightOlive !important;
|
|
260
|
+
}
|
|
261
|
+
i.inverted.bordered.olive.icon,
|
|
262
|
+
i.inverted.circular.olive.icon {
|
|
263
|
+
background-color: @olive !important;
|
|
264
|
+
color: @white !important;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/* Green */
|
|
268
|
+
i.green.icon {
|
|
269
|
+
color: @green !important;
|
|
270
|
+
}
|
|
271
|
+
i.inverted.green.icon {
|
|
272
|
+
color: @lightGreen !important;
|
|
273
|
+
}
|
|
274
|
+
i.inverted.bordered.green.icon,
|
|
275
|
+
i.inverted.circular.green.icon {
|
|
276
|
+
background-color: @green !important;
|
|
277
|
+
color: @white !important;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/* Teal */
|
|
281
|
+
i.teal.icon {
|
|
282
|
+
color: @teal !important;
|
|
283
|
+
}
|
|
284
|
+
i.inverted.teal.icon {
|
|
285
|
+
color: @lightTeal !important;
|
|
286
|
+
}
|
|
287
|
+
i.inverted.bordered.teal.icon,
|
|
288
|
+
i.inverted.circular.teal.icon {
|
|
289
|
+
background-color: @teal !important;
|
|
290
|
+
color: @white !important;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* Blue */
|
|
294
|
+
i.blue.icon {
|
|
295
|
+
color: @blue !important;
|
|
296
|
+
}
|
|
297
|
+
i.inverted.blue.icon {
|
|
298
|
+
color: @lightBlue !important;
|
|
299
|
+
}
|
|
300
|
+
i.inverted.bordered.blue.icon,
|
|
301
|
+
i.inverted.circular.blue.icon {
|
|
302
|
+
background-color: @blue !important;
|
|
303
|
+
color: @white !important;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/* Violet */
|
|
307
|
+
i.violet.icon {
|
|
308
|
+
color: @violet !important;
|
|
309
|
+
}
|
|
310
|
+
i.inverted.violet.icon {
|
|
311
|
+
color: @lightViolet !important;
|
|
312
|
+
}
|
|
313
|
+
i.inverted.bordered.violet.icon,
|
|
314
|
+
i.inverted.circular.violet.icon {
|
|
315
|
+
background-color: @violet !important;
|
|
316
|
+
color: @white !important;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/* Purple */
|
|
320
|
+
i.purple.icon {
|
|
321
|
+
color: @purple !important;
|
|
322
|
+
}
|
|
323
|
+
i.inverted.purple.icon {
|
|
324
|
+
color: @lightPurple !important;
|
|
325
|
+
}
|
|
326
|
+
i.inverted.bordered.purple.icon,
|
|
327
|
+
i.inverted.circular.purple.icon {
|
|
328
|
+
background-color: @purple !important;
|
|
329
|
+
color: @white !important;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/* Pink */
|
|
333
|
+
i.pink.icon {
|
|
334
|
+
color: @pink !important;
|
|
335
|
+
}
|
|
336
|
+
i.inverted.pink.icon {
|
|
337
|
+
color: @lightPink !important;
|
|
338
|
+
}
|
|
339
|
+
i.inverted.bordered.pink.icon,
|
|
340
|
+
i.inverted.circular.pink.icon {
|
|
341
|
+
background-color: @pink !important;
|
|
342
|
+
color: @white !important;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/* Brown */
|
|
346
|
+
i.brown.icon {
|
|
347
|
+
color: @brown !important;
|
|
348
|
+
}
|
|
349
|
+
i.inverted.brown.icon {
|
|
350
|
+
color: @lightBrown !important;
|
|
351
|
+
}
|
|
352
|
+
i.inverted.bordered.brown.icon,
|
|
353
|
+
i.inverted.circular.brown.icon {
|
|
354
|
+
background-color: @brown !important;
|
|
355
|
+
color: @white !important;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/* Grey */
|
|
359
|
+
i.grey.icon {
|
|
360
|
+
color: @grey !important;
|
|
361
|
+
}
|
|
362
|
+
i.inverted.grey.icon {
|
|
363
|
+
color: @lightGrey !important;
|
|
364
|
+
}
|
|
365
|
+
i.inverted.bordered.grey.icon,
|
|
366
|
+
i.inverted.circular.grey.icon {
|
|
367
|
+
background-color: @grey !important;
|
|
368
|
+
color: @white !important;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/* Black */
|
|
372
|
+
i.black.icon {
|
|
373
|
+
color: @black !important;
|
|
374
|
+
}
|
|
375
|
+
i.inverted.black.icon {
|
|
376
|
+
color: @lightBlack !important;
|
|
377
|
+
}
|
|
378
|
+
i.inverted.bordered.black.icon,
|
|
379
|
+
i.inverted.circular.black.icon {
|
|
380
|
+
background-color: @black !important;
|
|
381
|
+
color: @white !important;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/*-------------------
|
|
385
|
+
Sizes
|
|
386
|
+
--------------------*/
|
|
387
|
+
|
|
388
|
+
i.mini.icon,
|
|
389
|
+
i.mini.icons {
|
|
390
|
+
line-height: 1;
|
|
391
|
+
font-size: @mini;
|
|
392
|
+
}
|
|
393
|
+
i.tiny.icon,
|
|
394
|
+
i.tiny.icons {
|
|
395
|
+
line-height: 1;
|
|
396
|
+
font-size: @tiny;
|
|
397
|
+
}
|
|
398
|
+
i.small.icon,
|
|
399
|
+
i.small.icons {
|
|
400
|
+
line-height: 1;
|
|
401
|
+
font-size: @small;
|
|
402
|
+
}
|
|
403
|
+
i.icon,
|
|
404
|
+
i.icons {
|
|
405
|
+
font-size: @medium;
|
|
406
|
+
}
|
|
407
|
+
i.large.icon,
|
|
408
|
+
i.large.icons {
|
|
409
|
+
line-height: 1;
|
|
410
|
+
vertical-align: middle;
|
|
411
|
+
font-size: @large;
|
|
412
|
+
}
|
|
413
|
+
i.big.icon,
|
|
414
|
+
i.big.icons {
|
|
415
|
+
line-height: 1;
|
|
416
|
+
vertical-align: middle;
|
|
417
|
+
font-size: @big;
|
|
418
|
+
}
|
|
419
|
+
i.huge.icon,
|
|
420
|
+
i.huge.icons {
|
|
421
|
+
line-height: 1;
|
|
422
|
+
vertical-align: middle;
|
|
423
|
+
font-size: @huge;
|
|
424
|
+
}
|
|
425
|
+
i.massive.icon,
|
|
426
|
+
i.massive.icons {
|
|
427
|
+
line-height: 1;
|
|
428
|
+
vertical-align: middle;
|
|
429
|
+
font-size: @massive;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/*******************************
|
|
433
|
+
Groups
|
|
434
|
+
*******************************/
|
|
435
|
+
|
|
436
|
+
i.icons {
|
|
437
|
+
display: inline-block;
|
|
438
|
+
position: relative;
|
|
439
|
+
line-height: 1;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
i.icons .icon {
|
|
443
|
+
position: absolute;
|
|
444
|
+
top: 50%;
|
|
445
|
+
left: 50%;
|
|
446
|
+
transform: translateX(-50%) translateY(-50%);
|
|
447
|
+
margin: 0em;
|
|
448
|
+
margin: 0;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
i.icons .icon:first-child {
|
|
452
|
+
position: static;
|
|
453
|
+
width: auto;
|
|
454
|
+
height: auto;
|
|
455
|
+
vertical-align: top;
|
|
456
|
+
transform: none;
|
|
457
|
+
margin-right: @distanceFromText;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/* Corner Icon */
|
|
461
|
+
i.icons .corner.icon {
|
|
462
|
+
top: auto;
|
|
463
|
+
left: auto;
|
|
464
|
+
right: 0;
|
|
465
|
+
bottom: 0;
|
|
466
|
+
transform: none;
|
|
467
|
+
font-size: @cornerIconSize;
|
|
468
|
+
text-shadow: @cornerIconShadow;
|
|
469
|
+
}
|
|
470
|
+
i.icons .top.right.corner.icon {
|
|
471
|
+
top: 0;
|
|
472
|
+
left: auto;
|
|
473
|
+
right: 0;
|
|
474
|
+
bottom: auto;
|
|
475
|
+
}
|
|
476
|
+
i.icons .top.left.corner.icon {
|
|
477
|
+
top: 0;
|
|
478
|
+
left: 0;
|
|
479
|
+
right: auto;
|
|
480
|
+
bottom: auto;
|
|
481
|
+
}
|
|
482
|
+
i.icons .bottom.left.corner.icon {
|
|
483
|
+
top: auto;
|
|
484
|
+
left: 0;
|
|
485
|
+
right: auto;
|
|
486
|
+
bottom: 0;
|
|
487
|
+
}
|
|
488
|
+
i.icons .bottom.right.corner.icon {
|
|
489
|
+
top: auto;
|
|
490
|
+
left: auto;
|
|
491
|
+
right: 0;
|
|
492
|
+
bottom: 0;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
i.icons .inverted.corner.icon {
|
|
496
|
+
text-shadow: @cornerIconInvertedShadow;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.loadUIOverrides();
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
/*******************************
|
|
2
|
+
Theme Overrides
|
|
3
|
+
*******************************/
|
|
4
|
+
|
|
5
|
+
//Color for button text depends on background
|
|
6
|
+
.text-color(@backColor) when (lightness(@backColor) >= 40%) {
|
|
7
|
+
color: @primaryButtonColor;
|
|
8
|
+
}
|
|
9
|
+
.text-color(@backColor) when (lightness(@backColor) < 40%) {
|
|
10
|
+
color: @white;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* Global Button Styles */
|
|
14
|
+
// 147629 to remove later, basic buttons don't need borders, svg buttons are
|
|
15
|
+
// basic and volto ui has elements that are highlighted because of it
|
|
16
|
+
//.ui.button,
|
|
17
|
+
//.ui.buttons .button,
|
|
18
|
+
//.ui.buttons {
|
|
19
|
+
// border: @buttonBorder @backgroundColor;
|
|
20
|
+
//
|
|
21
|
+
// &:hover,
|
|
22
|
+
// &:active,
|
|
23
|
+
// &:focus {
|
|
24
|
+
// border-color: @hoverBackgroundColor;
|
|
25
|
+
// }
|
|
26
|
+
//}
|
|
27
|
+
|
|
28
|
+
/* Primary Button Border */
|
|
29
|
+
.ui.button.primary,
|
|
30
|
+
.ui.buttons.primary {
|
|
31
|
+
border: @buttonBorder @primaryButtonColor;
|
|
32
|
+
|
|
33
|
+
&:hover,
|
|
34
|
+
&:focus {
|
|
35
|
+
border: @buttonBorder @primaryColorHover;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:active {
|
|
39
|
+
border: @buttonBorder @primaryButtonBackgroundActive;
|
|
40
|
+
background: @primaryButtonBackgroundActive;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ui.disabled.primary.button,
|
|
45
|
+
.ui.button.primary:disabled {
|
|
46
|
+
border: @buttonBorder @primaryButtonDisabledBackground;
|
|
47
|
+
background: @primaryButtonDisabledBackground;
|
|
48
|
+
opacity: @buttonDisabledOpacity !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Secondary Button */
|
|
52
|
+
.ui.button.secondary,
|
|
53
|
+
.ui.buttons.secondary {
|
|
54
|
+
border: @buttonBorder @secondaryButtonColor;
|
|
55
|
+
background-color: @secondaryButtonBackground;
|
|
56
|
+
color: @secondaryButtonColor;
|
|
57
|
+
|
|
58
|
+
&:hover,
|
|
59
|
+
&:active,
|
|
60
|
+
&:focus {
|
|
61
|
+
background-color: @secondaryButtonColor;
|
|
62
|
+
color: @secondaryButtonColorHover;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ui.disabled.secondary.button,
|
|
67
|
+
.ui.button.secondary:disabled {
|
|
68
|
+
border: @buttonBorder @secondaryButtonDisabledColor;
|
|
69
|
+
color: @secondaryButtonDisabledColor;
|
|
70
|
+
opacity: @buttonDisabledOpacity !important;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Secondary Button Inverted */
|
|
74
|
+
.ui.button.inverted.secondary,
|
|
75
|
+
.ui.buttons.inverted.secondary {
|
|
76
|
+
border: @buttonBorder @secondaryButtonInvertedColor;
|
|
77
|
+
color: @secondaryButtonInvertedColor;
|
|
78
|
+
|
|
79
|
+
&:hover,
|
|
80
|
+
&:active,
|
|
81
|
+
&:focus {
|
|
82
|
+
background-color: @secondaryButtonInvertedColor;
|
|
83
|
+
color: @japaneseIndigo;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
ui.inverted.secondary.buttons .button,
|
|
88
|
+
.ui.inverted.secondary.button {
|
|
89
|
+
box-shadow: none !important; // to override the important box shadow - button.less:3271
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Call to action Button */
|
|
93
|
+
.ui.button.action {
|
|
94
|
+
border: @buttonBorder @actionButtonBackground;
|
|
95
|
+
background-color: @actionButtonBackground;
|
|
96
|
+
color: @actionButtonColor;
|
|
97
|
+
|
|
98
|
+
&:hover,
|
|
99
|
+
&:focus {
|
|
100
|
+
border: @buttonBorder @actionButtonBackgroundHover;
|
|
101
|
+
background-color: @actionButtonBackgroundHover;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&:active {
|
|
105
|
+
border: @buttonBorder @actionButtonBackgroundActive;
|
|
106
|
+
background: @actionButtonBackgroundActive;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.ui.button.action[class*='right labeled'].icon.button {
|
|
111
|
+
padding-right: 3em !important; // to apply to theme button paddings - button.less:856
|
|
112
|
+
|
|
113
|
+
i {
|
|
114
|
+
margin-right: 5px !important; // to apply to theme button paddings - button.less:693
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Text Button */
|
|
119
|
+
button.ui.button.text,
|
|
120
|
+
button.ui.buttons.text,
|
|
121
|
+
p.ui.button {
|
|
122
|
+
border: none;
|
|
123
|
+
background-color: @textButtonBackground;
|
|
124
|
+
color: @primaryColor;
|
|
125
|
+
|
|
126
|
+
&:hover,
|
|
127
|
+
&:active,
|
|
128
|
+
&:focus {
|
|
129
|
+
border: none;
|
|
130
|
+
background-color: @textButtonBackground;
|
|
131
|
+
color: @primaryColorHover;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ui.circular.icon.button {
|
|
136
|
+
padding: @circularButtonPadding;
|
|
137
|
+
|
|
138
|
+
.icon {
|
|
139
|
+
font-size: @circularButtonIconFontSize;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/* Advanced Search Button - to be deleted*/
|
|
144
|
+
.ui.button.search {
|
|
145
|
+
box-sizing: border-box;
|
|
146
|
+
border: @buttonBorder @white;
|
|
147
|
+
background: @searchButtonBackground;
|
|
148
|
+
border-radius: @searchButtonBorderRadius;
|
|
149
|
+
color: @searchButtonColor;
|
|
150
|
+
font-size: @searchButtonFontSize;
|
|
151
|
+
|
|
152
|
+
&:active,
|
|
153
|
+
&:visited,
|
|
154
|
+
&:focus,
|
|
155
|
+
&:hover {
|
|
156
|
+
border: @buttonBorder @white;
|
|
157
|
+
background: @searchButtonBackground;
|
|
158
|
+
color: @searchButtonColor;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.ui.icon.left.labeled.button.search {
|
|
163
|
+
padding-left: 3.375em !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.ui.labeled.icon.button.search > .icon {
|
|
167
|
+
left: @searchButtonIconLeft;
|
|
168
|
+
background: @searchButtonBackground;
|
|
169
|
+
font-size: @searchButtonFontSize;
|
|
170
|
+
opacity: @searchButtonIconOpacity;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.searchbox.field > .ui.action.input > .icon.button {
|
|
174
|
+
padding-top: 0;
|
|
175
|
+
padding-right: 0;
|
|
176
|
+
background: none;
|
|
177
|
+
color: @blue;
|
|
178
|
+
line-height: 1.6;
|
|
179
|
+
|
|
180
|
+
&:hover {
|
|
181
|
+
background: none;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.icon {
|
|
185
|
+
font-weight: bold;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.ui.basic.button {
|
|
190
|
+
padding: 0;
|
|
191
|
+
border: 0;
|
|
192
|
+
background: transparent;
|
|
193
|
+
cursor: pointer;
|
|
194
|
+
text-align: initial;
|
|
195
|
+
|
|
196
|
+
&:focus {
|
|
197
|
+
outline: none;
|
|
198
|
+
}
|
|
199
|
+
}
|