-
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/7.3' into 8.0
- Loading branch information
Showing
6 changed files
with
184 additions
and
9 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
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 |
---|---|---|
@@ -0,0 +1,76 @@ | ||
/** | ||
* see https://github.com/neos/neos-ui/pull/3438 as to why we have in NeosUi 7.3 - 8.2 two declarations of the same set of css variables. | ||
*/ | ||
|
||
/** Global CSS variables for Neos.Ui */ | ||
|
||
/** | ||
* They are compiled into the source code via our buildstack, and additionally exposed on the Host, to be consumed at runtime by plugins | ||
* | ||
* We currently dont use runtime variables in the NeosUi see: https://github.com/neos/neos-ui/issues/3201 | ||
* This approach would work for the Host frame, but we inject some rendered html and css (the inline toolbar) into the guest frame where we also rely on css variables. | ||
* To not collide with consumer css variables in the iframe, we keep them compiled. | ||
* | ||
* While we do make sure that plugins are working who use the variable names, they are not marked as @api but only available for unplanned extensibility. | ||
* In the future we plan to transform the names to lowercase and might get rid of some unused/odd variables (like all the --zIndex- ones). | ||
*/ | ||
:root { | ||
--spacing-GoldenUnit: 40px; | ||
--spacing-Full: 16px; | ||
--spacing-Half: 8px; | ||
--spacing-Quarter: 4px; | ||
--size-SidebarWidth: 320px; | ||
--transition-Fast: .1s; | ||
--transition-Default: .25s; | ||
--transition-Slow: .5s; | ||
--zIndex-SecondaryToolbar-LinkIconButtonFlyout: 1; | ||
--zIndex-FlashMessageContainer: 60; | ||
--zIndex-LoadingIndicatorContainer: 50; | ||
--zIndex-SecondaryInspector-Context: 1; | ||
--zIndex-SecondaryInspector-Iframe: 2; | ||
--zIndex-SecondaryInspector-Close: 3; | ||
--zIndex-SecondaryInspectorElevated-Context: 1; | ||
--zIndex-SecondaryInspectorElevated-DropdownContents: 2; | ||
--zIndex-Dialog-Context: 1; | ||
--zIndex-FullScreenClose-Context: 1; | ||
--zIndex-Drawer: 45; | ||
--zIndex-Bar-Context: 1; | ||
--zIndex-PrimaryToolbar: 40; | ||
--zIndex-CheckboxInput-Context: 1; | ||
--zIndex-DropdownContents-Context: 1; | ||
--zIndex-SelectBoxContents: 40; | ||
--zIndex-NotInlineEditableOverlay-Context: 1; | ||
--zIndex-CalendarFakeInputMirror-Context: 1; | ||
--zIndex-RdtPicker-Context: 1; | ||
--zIndex-SideBar-DropTargetBefore: 1; | ||
--zIndex-SideBar-DropTargetAfter: 2; | ||
--zIndex-WrapperDropdown-Context: 1; | ||
--zIndex-UnappliedChangesOverlay-Context: 1; | ||
--zIndex-NodeToolBar: 2147483646; | ||
--fontSize-Base: 14px; | ||
--fontSize-Small: 12px; | ||
--fontsHeadings-Family: "Noto Sans"; | ||
--fontsHeadings-Style: "Regular"; | ||
--fontsHeadings-CssWeight: 400; | ||
--fontsCopy-Family: "Noto Sans"; | ||
--fontsCopy-Style: "Regular"; | ||
--fontsCopy-CssWeight: 400; | ||
--colors-PrimaryViolet: #26224C; | ||
--colors-PrimaryVioletHover: #342f5f; | ||
--colors-PrimaryBlue: #00ADEE; | ||
--colors-PrimaryBlueHover: #35c3f8; | ||
--colors-ContrastDarkest: #141414; | ||
--colors-ContrastDarker: #222; | ||
--colors-ContrastDark: #3f3f3f; | ||
--colors-ContrastNeutral: #323232; | ||
--colors-ContrastBright: #999; | ||
--colors-ContrastBrighter: #adadad; | ||
--colors-ContrastBrightest: #FFF; | ||
--colors-Success: #00a338; | ||
--colors-SuccessHover: #0bb344; | ||
--colors-Warn: #ff8700; | ||
--colors-WarnHover: #fda23d; | ||
--colors-Error: #ff460d; | ||
--colors-ErrorHover: #ff6a3c; | ||
--colors-UncheckedCheckboxTick: #5B5B5B; | ||
} |
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,4 +1,5 @@ | ||
@import 'normalize.css'; | ||
@import '../../../cssVariables.css'; | ||
|
||
@font-face { | ||
font-family: 'Noto Sans'; | ||
|
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
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
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