generated from eea/volto-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f204224
commit 631fa90
Showing
17 changed files
with
438 additions
and
438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,142 +1,142 @@ | ||
/*------------------- | ||
HEADER | ||
--------------------*/ | ||
/* Heights */ | ||
@mobileTopSectionHeight : 14px; | ||
@tabletTopSectionHeight : 30px; | ||
@computerTopSectionHeight : 33px; | ||
@mobileMainSectionHeight : 56px; | ||
@tabletMainSectionHeight : 117px; | ||
@computerMainSectionHeight : 160px; | ||
@mobilePopUpHeight : calc(100vh - (@mobileTopSectionHeight + @mobileMainSectionHeight)); | ||
@tabletPopUpHeight : calc(100vh - (@tabletTopSectionHeight + @tabletMainSectionHeight)); | ||
@computerPopUpHeight : calc(100vh - (@computerTopSectionHeight + @computerMainSectionHeight)); | ||
/* Header font sizes */ | ||
@headerMinyFontSize: 0.5rem; | ||
@headerTinyFontSize: 0.625rem; | ||
@headerSmallFontSize: 0.75rem; | ||
@headerMediumFontSize: 0.875rem; | ||
@headerLargeFontSize: 1.125rem; | ||
/* Top */ | ||
@topSectionBackground : @silverGray; | ||
@topSectionItemColor : @japaneseIndigo; | ||
@topSectionItemFontWeight : @bold; | ||
@mobileTopSectionItemFontSize : @headerMinyFontSize; | ||
@tabletTopSectionItemFontSize : @headerSmallFontSize; | ||
/* Dropdown */ | ||
@mobileDropdownMenuMarginTop : 0.188rem; | ||
@tabletDropdownMenuMarginTop : 0.438rem; | ||
@dropdownFontSize : @headerSmallFontSize; | ||
@dropdownFontWeight : @bold; | ||
/* Dropdown Menu */ | ||
@dropdownMenuLeft : auto; | ||
@dropdownMenuRight : 0; | ||
@dropdownMenuWrapperGap : 0.313rem; | ||
@dropdownMenuWrapperMargin : 0.313rem 0; | ||
@dropdownMenuContentWhiteSpace : pre-wrap; | ||
@dropdownMenuContentFontWeight : @normal; | ||
@mobileDropdownMenuContentFontSize : @headerSmallFontSize; | ||
@dropdownMenuItemColorHover : @white; | ||
@dropdownMenuItemBackgroundColorHover : @japaneseIndigo; | ||
// Official Union | ||
@officialUnionGap : 0.75rem; | ||
@officialUnionMenuFontSize : @headerMediumFontSize; | ||
@officialUnionTextFontWeight : @normal; | ||
@officialUnionLinkFontWeight : @bold; | ||
@officialUnionLinkColor : @japaneseIndigo; | ||
@mobileOfficialUnionPadding : 0.313rem; | ||
@tabletOfficialUnionPadding : 0.75rem; | ||
@mobileOfficialUnionMaxWidth : 110px; | ||
@tabletOfficialUnionMaxWidth : 373px; | ||
@mobileOfficialUnionImageWidth : 11px; | ||
@tabletOfficialUnionImageWidth : 17px; | ||
// Theme Sites | ||
@themeSitesMenuWidth : 210px; | ||
@themeSitesMenuSiteLinkColor : @japaneseIndigo; | ||
@themeSitesMenuSiteLinkFontWeight : @normal; | ||
@themeSitesMenuItemPadding : 0.125rem 0.313rem; | ||
// Language | ||
@mobileLanguageFontSize : @headerTinyFontSize; | ||
@tabletLanguageFontSize : @headerMediumFontSize; | ||
@mobileLanguageMenuTop : 0.75rem; | ||
@tabletLanguageMenuTop : 18px; | ||
@languageMenuPadding : 0.125rem 1.25rem; | ||
@languageMenuItemFontWeight : @normal; | ||
@mobileLanguageCountryCodeMarginLeft : 3px; | ||
@mobileLanguageCountryCodeFontWeight : @bold; | ||
/* Main Section */ | ||
@headerMainSectionBackground : @white; | ||
/* Logo */ | ||
@logoWidth : 100%; | ||
@mobileLogoMaxWidth : 122px; | ||
@tabletLogoMaxWidth : 252px; | ||
@computerLogoMaxWidth : 348px; | ||
@mobileLogoMarginTop : 0.563rem; | ||
@tabletLogoMarginTop : 0.938rem; | ||
@computerLogoMarginTop : 1.25rem; | ||
/* Main menu */ | ||
@mainMenuItemColor : @deepBlue; | ||
@mainMenuItemFontSize : @headerLargeFontSize; | ||
@mainMenuItemFontWeight : 500; | ||
@mainMenuItemPlaceSelf : flex-end; | ||
@mainMenuItemActiveColor : @secondaryColor; | ||
@mainMenuItemActiveBorder : 3px solid @secondaryColor; | ||
/* Actions (Mega menu & Search) */ | ||
@mobileActionsBoxWidth: 30px; | ||
@tabletActionsBoxWidth: 66px; | ||
@computerActionsBoxWidth: 72px; | ||
/* Mega menu and Search popup */ | ||
@mobilePopupMarginTop : 50px; | ||
@tabletPopupMarginTop : 100px; | ||
@computerPopupMarginTop : 200px; | ||
/* Mega menu */ | ||
@megaMenuBackgroundGradient: linear-gradient(166.78deg, @darkCerulean 39.52%, @darkCyan 118.9%);; | ||
/* Menu link and toggle */ | ||
@mobileMegaMenuColor : @white; | ||
@megaMenuLinkPadding : 0 1.25rem; | ||
@megaMenuWordBreak : break-word; | ||
@toggleMenuFirstPadding : 0; | ||
@mobileToggleMenuFirstPadding : 0.5rem 0; | ||
@mobileToggleMenuSecondPadding : 0.5rem 1.25rem; | ||
@mobileToggleMenuThirdPadding : 0.5rem 2.5rem; | ||
@megaMenuLiAlignItems : center; | ||
@mobileMegaMenuMarginBottom : 0.5rem; | ||
@tabletMegaMenuMarginBottom : 1rem; | ||
@computerMegaMenuMarginBottom : 2rem; | ||
// Font sizes and line heights | ||
@mobileMegaMenuFontSize : 1.125rem; | ||
@tabletMegaMenuFontSize : @h1; | ||
@computerMegaMenuFirstFontSize : 3rem; | ||
@computerMegaMenuSecondFontSize : 2.5rem; | ||
@computerMegaMenuThirdFontSize : 2.25rem; | ||
@megaMenuLineHeight : 1.2; | ||
// Icon | ||
@megaMenuAfterIcon : '\f054'; | ||
@megaMenuIconAfterColor : @white; | ||
@tabletMegaMenuIconAfterFontSize : 1rem; | ||
@computerMegaMenuIconAfterFontSize: 1.875rem; | ||
/* Search box */ | ||
@searchBoxBackgroundGradient : linear-gradient(340.97deg, @darkCerulean 9.19%, #009591 77.47%); | ||
@searchBoxWrapperGap : 75px; | ||
/*------------------- | ||
HEADER | ||
--------------------*/ | ||
|
||
/* Heights */ | ||
@mobileTopSectionHeight : 14px; | ||
@tabletTopSectionHeight : 30px; | ||
@computerTopSectionHeight : 33px; | ||
|
||
@mobileMainSectionHeight : 56px; | ||
@tabletMainSectionHeight : 117px; | ||
@computerMainSectionHeight : 160px; | ||
|
||
@mobilePopUpHeight : calc(100vh - (@mobileTopSectionHeight + @mobileMainSectionHeight)); | ||
@tabletPopUpHeight : calc(100vh - (@tabletTopSectionHeight + @tabletMainSectionHeight)); | ||
@computerPopUpHeight : calc(100vh - (@computerTopSectionHeight + @computerMainSectionHeight)); | ||
|
||
/* Header font sizes */ | ||
@headerMinyFontSize: 0.5rem; | ||
@headerTinyFontSize: 0.625rem; | ||
@headerSmallFontSize: 0.75rem; | ||
@headerMediumFontSize: 0.875rem; | ||
@headerLargeFontSize: 1.125rem; | ||
|
||
/* Top */ | ||
@topSectionBackground : @silverGray; | ||
@topSectionItemColor : @japaneseIndigo; | ||
@topSectionItemFontWeight : @bold; | ||
@mobileTopSectionItemFontSize : @headerMinyFontSize; | ||
@tabletTopSectionItemFontSize : @headerSmallFontSize; | ||
|
||
/* Dropdown */ | ||
@mobileDropdownMenuMarginTop : 0.188rem; | ||
@tabletDropdownMenuMarginTop : 0.438rem; | ||
@dropdownFontSize : @headerSmallFontSize; | ||
@dropdownFontWeight : @bold; | ||
/* Dropdown Menu */ | ||
@dropdownMenuLeft : auto; | ||
@dropdownMenuRight : 0; | ||
@dropdownMenuWrapperGap : 0.313rem; | ||
@dropdownMenuWrapperMargin : 0.313rem 0; | ||
@dropdownMenuContentWhiteSpace : pre-wrap; | ||
@dropdownMenuContentFontWeight : @normal; | ||
@mobileDropdownMenuContentFontSize : @headerSmallFontSize; | ||
@dropdownMenuItemColorHover : @white; | ||
@dropdownMenuItemBackgroundColorHover : @japaneseIndigo; | ||
// Official Union | ||
@officialUnionGap : 0.75rem; | ||
@officialUnionMenuFontSize : @headerMediumFontSize; | ||
@officialUnionTextFontWeight : @normal; | ||
@officialUnionLinkFontWeight : @bold; | ||
@officialUnionLinkColor : @japaneseIndigo; | ||
@mobileOfficialUnionPadding : 0.313rem; | ||
@tabletOfficialUnionPadding : 0.75rem; | ||
@mobileOfficialUnionMaxWidth : 110px; | ||
@tabletOfficialUnionMaxWidth : 373px; | ||
@mobileOfficialUnionImageWidth : 11px; | ||
@tabletOfficialUnionImageWidth : 17px; | ||
|
||
// Theme Sites | ||
@themeSitesMenuWidth : 210px; | ||
@themeSitesMenuSiteLinkColor : @japaneseIndigo; | ||
@themeSitesMenuSiteLinkFontWeight : @normal; | ||
@themeSitesMenuItemPadding : 0.125rem 0.313rem; | ||
// Language | ||
@mobileLanguageFontSize : @headerTinyFontSize; | ||
@tabletLanguageFontSize : @headerMediumFontSize; | ||
@mobileLanguageMenuTop : 0.75rem; | ||
@tabletLanguageMenuTop : 18px; | ||
@languageMenuPadding : 0.125rem 1.25rem; | ||
@languageMenuItemFontWeight : @normal; | ||
@mobileLanguageCountryCodeMarginLeft : 3px; | ||
@mobileLanguageCountryCodeFontWeight : @bold; | ||
|
||
/* Main Section */ | ||
@headerMainSectionBackground : @white; | ||
|
||
/* Logo */ | ||
@logoWidth : 100%; | ||
@mobileLogoMaxWidth : 122px; | ||
@tabletLogoMaxWidth : 252px; | ||
@computerLogoMaxWidth : 348px; | ||
@mobileLogoMarginTop : 0.563rem; | ||
@tabletLogoMarginTop : 0.938rem; | ||
@computerLogoMarginTop : 1.25rem; | ||
|
||
/* Main menu */ | ||
@mainMenuItemColor : @deepBlue; | ||
@mainMenuItemFontSize : @headerLargeFontSize; | ||
@mainMenuItemFontWeight : 500; | ||
@mainMenuItemPlaceSelf : flex-end; | ||
@mainMenuItemActiveColor : @secondaryColor; | ||
@mainMenuItemActiveBorder : 3px solid @secondaryColor; | ||
|
||
/* Actions (Mega menu & Search) */ | ||
@mobileActionsBoxWidth: 30px; | ||
@tabletActionsBoxWidth: 66px; | ||
@computerActionsBoxWidth: 72px; | ||
|
||
/* Mega menu and Search popup */ | ||
@mobilePopupMarginTop : 50px; | ||
@tabletPopupMarginTop : 100px; | ||
@computerPopupMarginTop : 200px; | ||
|
||
/* Mega menu */ | ||
@megaMenuBackgroundGradient: linear-gradient(166.78deg, @darkCerulean 39.52%, @darkCyan 118.9%);; | ||
|
||
/* Menu link and toggle */ | ||
@mobileMegaMenuColor : @white; | ||
@megaMenuLinkPadding : 0 1.25rem; | ||
@megaMenuWordBreak : break-word; | ||
@toggleMenuFirstPadding : 0; | ||
@mobileToggleMenuFirstPadding : 0.5rem 0; | ||
@mobileToggleMenuSecondPadding : 0.5rem 1.25rem; | ||
@mobileToggleMenuThirdPadding : 0.5rem 2.5rem; | ||
|
||
@megaMenuLiAlignItems : center; | ||
|
||
@mobileMegaMenuMarginBottom : 0.5rem; | ||
@tabletMegaMenuMarginBottom : 1rem; | ||
@computerMegaMenuMarginBottom : 2rem; | ||
|
||
// Font sizes and line heights | ||
@mobileMegaMenuFontSize : 1.125rem; | ||
@tabletMegaMenuFontSize : @h1; | ||
|
||
@computerMegaMenuFirstFontSize : 3rem; | ||
@computerMegaMenuSecondFontSize : 2.5rem; | ||
@computerMegaMenuThirdFontSize : 2.25rem; | ||
|
||
@megaMenuLineHeight : 1.2; | ||
|
||
// Icon | ||
@megaMenuAfterIcon : '\f054'; | ||
@megaMenuIconAfterColor : @white; | ||
@tabletMegaMenuIconAfterFontSize : 1rem; | ||
@computerMegaMenuIconAfterFontSize: 1.875rem; | ||
|
||
/* Search box */ | ||
@searchBoxBackgroundGradient : linear-gradient(340.97deg, @darkCerulean 9.19%, #009591 77.47%); | ||
|
||
@searchBoxWrapperGap : 75px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- | ||
title: Loader | ||
description: EEA Loader Component | ||
hide_table_of_contents: true | ||
--- | ||
|
||
import EEATabs from '../md_components/tab_component.mdx'; | ||
import Usage from '../md_components/loader_components/usage_markdown.md'; | ||
|
||
|
||
--- | ||
title: Loader | ||
description: EEA Loader Component | ||
hide_table_of_contents: true | ||
--- | ||
|
||
import EEATabs from '../md_components/tab_component.mdx'; | ||
import Usage from '../md_components/loader_components/usage_markdown.md'; | ||
|
||
|
||
<EEATabs usage={<Usage />} showcase={<Showcase />}></EEATabs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- | ||
title: Filters | ||
description: EEA Filters Component | ||
hide_table_of_contents: true | ||
--- | ||
|
||
import EEATabs from '../../md_components/tab_component.mdx'; | ||
import Usage from '../../md_components/filters_components/usage_markdown.md'; | ||
|
||
|
||
<EEATabs usage={<Usage />} showcase={<Showcase />} ></EEATabs> | ||
|
||
--- | ||
title: Filters | ||
description: EEA Filters Component | ||
hide_table_of_contents: true | ||
--- | ||
|
||
import EEATabs from '../../md_components/tab_component.mdx'; | ||
import Usage from '../../md_components/filters_components/usage_markdown.md'; | ||
|
||
|
||
<EEATabs usage={<Usage />} showcase={<Showcase />} ></EEATabs> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- | ||
title: Suggestions | ||
description: EEA Suggestions Component | ||
hide_table_of_contents: true | ||
--- | ||
|
||
import EEATabs from '../../md_components/tab_component.mdx'; | ||
import Usage from '../../md_components/suggestions_components/usage_markdown.md'; | ||
|
||
|
||
--- | ||
title: Suggestions | ||
description: EEA Suggestions Component | ||
hide_table_of_contents: true | ||
--- | ||
|
||
import EEATabs from '../../md_components/tab_component.mdx'; | ||
import Usage from '../../md_components/suggestions_components/usage_markdown.md'; | ||
|
||
|
||
<EEATabs usage={<Usage />} showcase={<Showcase />} ></EEATabs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- | ||
title: Searchbox | ||
description: EEA Searchbox Component | ||
hide_table_of_contents: true | ||
--- | ||
|
||
import EEATabs from '../../md_components/tab_component.mdx'; | ||
import Usage from '../../md_components/searchbox_components/usage_markdown.md'; | ||
|
||
|
||
--- | ||
title: Searchbox | ||
description: EEA Searchbox Component | ||
hide_table_of_contents: true | ||
--- | ||
|
||
import EEATabs from '../../md_components/tab_component.mdx'; | ||
import Usage from '../../md_components/searchbox_components/usage_markdown.md'; | ||
|
||
|
||
<EEATabs usage={<Usage />} showcase={<Showcase />} ></EEATabs> |
Oops, something went wrong.