umberto 6.0.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.md +3 -0
- package/package.json +1 -1
- package/scripts/filter/before-post-render/set-layout.js +9 -11
- package/src/api-builder/classes/doc-data-factory.js +1 -1
- package/src/data-converter/converters/typedoc/typedocconverter.js +2 -2
- package/src/index.js +108 -146
- package/src/tasks/build-api-docs.js +4 -4
- package/src/tasks/build-documentation.js +9 -3
- package/src/tasks/build-sdk.js +25 -9
- package/src/tasks/copy-assets.js +9 -9
- package/src/tasks/create-sym-links.js +2 -3
- package/themes/umberto/layout/{404.pug → gloria/404.pug} +1 -1
- package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/class.pug +1 -1
- package/themes/umberto/layout/gloria/_api-docs/interface.pug +10 -0
- package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/mixin.pug +1 -1
- package/themes/umberto/layout/gloria/_api-docs/module.pug +10 -0
- package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/namespace.pug +1 -1
- package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/typedef.pug +1 -1
- package/themes/umberto/layout/{_partial → gloria/_partial}/gh-contribute.pug +2 -2
- package/themes/umberto/layout/{_partial → gloria/_partial}/head.pug +2 -2
- package/themes/umberto/layout/{_partial → gloria/_partial}/search-box.pug +1 -1
- package/themes/umberto/layout/{api.pug → gloria/api.pug} +1 -1
- package/themes/umberto/layout/{base.pug → gloria/base.pug} +1 -1
- package/themes/umberto/layout/{sdk.pug → gloria/sdk.pug} +1 -1
- package/themes/umberto/layout/umberto/404.pug +22 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_api-see-source.pug +11 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_api-title.pug +17 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_api-tree-item.pug +30 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_badge.pug +17 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_class-item.pug +29 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_dev-names.pug +9 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_error.pug +23 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_fires-item.pug +7 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_hierarchy-item.pug +14 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_hierarchy-list.pug +7 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_link-or-text.pug +43 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_method.pug +89 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_params.pug +44 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_property.pug +51 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_related.pug +8 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_return.pug +14 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_sidebox-list-item.pug +8 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_sidebox-list.pug +8 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/_type.pug +180 -0
- package/themes/umberto/layout/umberto/_api-docs/_mixin/type-parameter.pug +18 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/api-info-box.pug +30 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/api-subheader.pug +22 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/classes.pug +7 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/config-options.pug +7 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/constants.pug +7 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/description.pug +9 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/events.pug +7 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/filter.pug +40 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/functions.pug +7 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/interfaces.pug +7 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/loading-spinner.pug +2 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/methods.pug +19 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/namespaces.pug +7 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/navtree.pug +13 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/properties.pug +19 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/type-parameters.pug +26 -0
- package/themes/umberto/layout/umberto/_api-docs/_partial/typedefs.pug +7 -0
- package/themes/umberto/layout/umberto/_api-docs/api-base.pug +45 -0
- package/themes/umberto/layout/{_api-docs/interface.pug → umberto/_api-docs/class.pug} +1 -1
- package/themes/umberto/layout/umberto/_api-docs/errors.pug +6 -0
- package/themes/umberto/layout/umberto/_api-docs/interface.pug +10 -0
- package/themes/umberto/layout/{_api-docs/module.pug → umberto/_api-docs/mixin.pug} +1 -1
- package/themes/umberto/layout/umberto/_api-docs/module.pug +10 -0
- package/themes/umberto/layout/umberto/_api-docs/namespace.pug +10 -0
- package/themes/umberto/layout/umberto/_api-docs/typedef.pug +37 -0
- package/themes/umberto/layout/umberto/_mixin/nav-tree-item.pug +13 -0
- package/themes/umberto/layout/umberto/_mixin/nav-tree-level.pug +38 -0
- package/themes/umberto/layout/umberto/_partial/docsearch.pug +21 -0
- package/themes/umberto/layout/umberto/_partial/dropdown.pug +12 -0
- package/themes/umberto/layout/umberto/_partial/feedback-widget.pug +20 -0
- package/themes/umberto/layout/umberto/_partial/footer.pug +6 -0
- package/themes/umberto/layout/umberto/_partial/gh-contribute.pug +8 -0
- package/themes/umberto/layout/umberto/_partial/google-analytics.pug +19 -0
- package/themes/umberto/layout/umberto/_partial/google-tag-manager.pug +18 -0
- package/themes/umberto/layout/umberto/_partial/head.pug +67 -0
- package/themes/umberto/layout/umberto/_partial/header.pug +64 -0
- package/themes/umberto/layout/umberto/_partial/nav-tree.pug +9 -0
- package/themes/umberto/layout/umberto/_partial/report-issue-widget.pug +26 -0
- package/themes/umberto/layout/umberto/_partial/rwd-breadcrumbs.pug +13 -0
- package/themes/umberto/layout/umberto/_partial/search-box.pug +6 -0
- package/themes/umberto/layout/umberto/_partial/vwo.pug +11 -0
- package/themes/umberto/layout/umberto/_sdk/_mixin/_sdk-sample-item.pug +5 -0
- package/themes/umberto/layout/umberto/_sdk/_mixin/_sdk-samples.pug +7 -0
- package/themes/umberto/layout/umberto/_sdk/_mixin/_sdk-tree-item.pug +7 -0
- package/themes/umberto/layout/umberto/_sdk/_mixin/_sdk-tree-level.pug +29 -0
- package/themes/umberto/layout/umberto/_sdk/_partial/navtree.pug +4 -0
- package/themes/umberto/layout/umberto/_sdk/page.pug +23 -0
- package/themes/umberto/layout/umberto/api.pug +27 -0
- package/themes/umberto/layout/umberto/base.pug +42 -0
- package/themes/umberto/layout/umberto/index.pug +17 -0
- package/themes/umberto/layout/umberto/page.pug +28 -0
- package/themes/umberto/layout/umberto/sdk.pug +29 -0
- package/themes/umberto/source/umberto/assets/_img/info-circle.svg +4 -0
- package/themes/umberto/source/umberto/assets/_img/triangle-right.svg +1 -0
- package/themes/umberto/src/umberto/css/_api-content.scss +32 -0
- package/themes/umberto/src/umberto/css/_api-info-box.scss +86 -0
- package/themes/umberto/src/umberto/css/_api-props-filter.scss +106 -0
- package/themes/umberto/src/umberto/css/_api-see-source.scss +35 -0
- package/themes/umberto/src/umberto/css/_api-subheader.scss +167 -0
- package/themes/umberto/src/umberto/css/_api-tree.scss +121 -0
- package/themes/umberto/src/umberto/css/_badge.scss +74 -0
- package/themes/umberto/src/umberto/css/_code-switcher.scss +61 -0
- package/themes/umberto/src/umberto/css/_collapsinglist.scss +262 -0
- package/themes/umberto/src/umberto/css/_content.scss +236 -0
- package/themes/umberto/src/umberto/css/_docsearch.scss +109 -0
- package/themes/umberto/src/umberto/css/_dropdown.scss +63 -0
- package/themes/umberto/src/umberto/css/_editor-icon.scss +26 -0
- package/themes/umberto/src/umberto/css/_feedback-widget.scss +11 -0
- package/themes/umberto/src/umberto/css/_font-external.scss +8 -0
- package/themes/umberto/src/umberto/css/_footer.scss +40 -0
- package/themes/umberto/src/umberto/css/_formatted.scss +285 -0
- package/themes/umberto/src/umberto/css/_guide-content.scss +37 -0
- package/themes/umberto/src/umberto/css/_guide-sdk-tree.scss +14 -0
- package/themes/umberto/src/umberto/css/_loading-spinner.scss +33 -0
- package/themes/umberto/src/umberto/css/_main.scss +59 -0
- package/themes/umberto/src/umberto/css/_navigation.scss +35 -0
- package/themes/umberto/src/umberto/css/_notice.scss +116 -0
- package/themes/umberto/src/umberto/css/_print.scss +20 -0
- package/themes/umberto/src/umberto/css/_prism.scss +223 -0
- package/themes/umberto/src/umberto/css/_rwd-breadcrumbs.scss +28 -0
- package/themes/umberto/src/umberto/css/_rwd-menu.scss +89 -0
- package/themes/umberto/src/umberto/css/_secondary-navigation.scss +152 -0
- package/themes/umberto/src/umberto/css/_theme-dark.scss +175 -0
- package/themes/umberto/src/umberto/css/_toggler.scss +46 -0
- package/themes/umberto/src/umberto/css/_top.scss +350 -0
- package/themes/umberto/src/umberto/css/_tree.scss +218 -0
- package/themes/umberto/src/umberto/css/_warning-banner.scss +46 -0
- package/themes/umberto/src/umberto/css/components/_lightbox.scss +12 -0
- package/themes/umberto/src/umberto/css/helpers/_color.scss +49 -0
- package/themes/umberto/src/umberto/css/helpers/_font.scss +60 -0
- package/themes/umberto/src/umberto/css/helpers/_globals.scss +129 -0
- package/themes/umberto/src/umberto/css/helpers/_reset.scss +52 -0
- package/themes/umberto/src/umberto/css/helpers/_spacing.scss +21 -0
- package/themes/umberto/src/umberto/css/pages/_sdk.scss +111 -0
- package/themes/umberto/src/umberto/css/styles.scss +117 -0
- package/themes/umberto/src/umberto/js/_anchors.js +57 -0
- package/themes/umberto/src/umberto/js/_apisearch.js +126 -0
- package/themes/umberto/src/umberto/js/_apitree.js +67 -0
- package/themes/umberto/src/umberto/js/_attachpermalinklistener.js +50 -0
- package/themes/umberto/src/umberto/js/_codeswitcherbuttons.js +146 -0
- package/themes/umberto/src/umberto/js/_collapsables.js +135 -0
- package/themes/umberto/src/umberto/js/_copymobileapinavigation.js +26 -0
- package/themes/umberto/src/umberto/js/_devnames.js +37 -0
- package/themes/umberto/src/umberto/js/_dropdowns.js +55 -0
- package/themes/umberto/src/umberto/js/_filtering.js +139 -0
- package/themes/umberto/src/umberto/js/_imageModal.js +16 -0
- package/themes/umberto/src/umberto/js/_pagenavigation.js +93 -0
- package/themes/umberto/src/umberto/js/_prism.js +104 -0
- package/themes/umberto/src/umberto/js/_rwdmenu.js +15 -0
- package/themes/umberto/src/umberto/js/_samplecode.js +23 -0
- package/themes/umberto/src/umberto/js/_sidenavigation.js +59 -0
- package/themes/umberto/src/umberto/js/_toc.js +93 -0
- package/themes/umberto/src/umberto/js/_tooltips.js +39 -0
- package/themes/umberto/src/umberto/js/_warningbanner.js +18 -0
- package/themes/umberto/src/umberto/js/app.js +70 -0
- package/themes/umberto/src/umberto/js/vendor/prism.js +45 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_api-see-source.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_api-title.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_api-tree-item.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_badge.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_class-item.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_dev-names.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_error.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_fires-item.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_hierarchy-item.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_hierarchy-list.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_link-or-text.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_method.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_params.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_property.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_related.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_return.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_sidebox-list-item.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_sidebox-list.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/_type.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_mixin/type-parameter.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/api-info-box.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/api-subheader.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/classes.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/config-options.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/constants.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/description.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/events.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/filter.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/functions.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/interfaces.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/loading-spinner.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/methods.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/namespaces.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/navtree.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/properties.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/type-parameters.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/_partial/typedefs.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/api-base.pug +0 -0
- /package/themes/umberto/layout/{_api-docs → gloria/_api-docs}/errors.pug +0 -0
- /package/themes/umberto/layout/{_mixin → gloria/_mixin}/nav-tree-item.pug +0 -0
- /package/themes/umberto/layout/{_mixin → gloria/_mixin}/nav-tree-level.pug +0 -0
- /package/themes/umberto/layout/{_partial → gloria/_partial}/docsearch.pug +0 -0
- /package/themes/umberto/layout/{_partial → gloria/_partial}/dropdown.pug +0 -0
- /package/themes/umberto/layout/{_partial → gloria/_partial}/feedback-widget.pug +0 -0
- /package/themes/umberto/layout/{_partial → gloria/_partial}/footer.pug +0 -0
- /package/themes/umberto/layout/{_partial → gloria/_partial}/google-analytics.pug +0 -0
- /package/themes/umberto/layout/{_partial → gloria/_partial}/google-tag-manager.pug +0 -0
- /package/themes/umberto/layout/{_partial → gloria/_partial}/header.pug +0 -0
- /package/themes/umberto/layout/{_partial → gloria/_partial}/nav-tree.pug +0 -0
- /package/themes/umberto/layout/{_partial → gloria/_partial}/report-issue-widget.pug +0 -0
- /package/themes/umberto/layout/{_partial → gloria/_partial}/rwd-breadcrumbs.pug +0 -0
- /package/themes/umberto/layout/{_partial → gloria/_partial}/vwo.pug +0 -0
- /package/themes/umberto/layout/{_sdk → gloria/_sdk}/_mixin/_sdk-sample-item.pug +0 -0
- /package/themes/umberto/layout/{_sdk → gloria/_sdk}/_mixin/_sdk-samples.pug +0 -0
- /package/themes/umberto/layout/{_sdk → gloria/_sdk}/_mixin/_sdk-tree-item.pug +0 -0
- /package/themes/umberto/layout/{_sdk → gloria/_sdk}/_mixin/_sdk-tree-level.pug +0 -0
- /package/themes/umberto/layout/{_sdk → gloria/_sdk}/_partial/navtree.pug +0 -0
- /package/themes/umberto/layout/{_sdk → gloria/_sdk}/page.pug +0 -0
- /package/themes/umberto/layout/{index.pug → gloria/index.pug} +0 -0
- /package/themes/umberto/layout/{page.pug → gloria/page.pug} +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/arrows.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/book.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/box-brown.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/box-orange.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/box-red.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/bulb.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/clipboard.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/cog.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/data.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/documentation.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/download.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/edit.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/exclamation-circle.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/eye.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/filter.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/filtering.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/folder.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/github.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/header-info-configs.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/header-info-events.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/header-info-methods.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/header-info-properties.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/heart.svg +0 -0
- /package/themes/umberto/source/{assets → gloria/assets}/_img/info-circle.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/info.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/list-nest.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/loupe.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/menu.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/plug.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/star-in-circle.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/tick.svg +0 -0
- /package/themes/{nova/source → umberto/source/gloria}/assets/_img/triangle-down.svg +0 -0
- /package/themes/umberto/source/{assets → gloria/assets}/_img/triangle-right.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/arrows.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/book.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/box-brown.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/box-orange.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/box-red.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/bulb.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/clipboard.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/cog.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/data.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/documentation.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/download.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/edit.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/exclamation-circle.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/eye.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/filter.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/filtering.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/folder.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/github.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/header-info-configs.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/header-info-events.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/header-info-methods.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/header-info-properties.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/heart.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/info.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/list-nest.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/loupe.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/menu.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/plug.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/star-in-circle.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/tick.svg +0 -0
- /package/themes/umberto/source/{assets → umberto/assets}/_img/triangle-down.svg +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_api-content.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_api-info-box.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_api-props-filter.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_api-see-source.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_api-subheader.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_api-tree.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_badge.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_code-switcher.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_collapsinglist.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_content.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_docsearch.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_dropdown.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_editor-icon.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_feedback-widget.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_font-external.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_footer.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_formatted.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_guide-content.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_guide-sdk-tree.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_loading-spinner.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_main.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_navigation.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_notice.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_print.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_prism.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_rwd-breadcrumbs.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_rwd-menu.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_secondary-navigation.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_theme-dark.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_toggler.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_top.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_tree.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/_warning-banner.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/components/_lightbox.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/helpers/_color.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/helpers/_font.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/helpers/_globals.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/helpers/_reset.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/helpers/_spacing.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/pages/_sdk.scss +0 -0
- /package/themes/umberto/src/{css → gloria/css}/styles.scss +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_anchors.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_apisearch.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_apitree.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_attachpermalinklistener.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_codeswitcherbuttons.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_collapsables.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_copymobileapinavigation.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_devnames.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_dropdowns.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_filtering.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_imageModal.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_pagenavigation.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_prism.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_rwdmenu.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_samplecode.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_sidenavigation.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_toc.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_tooltips.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/_warningbanner.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/app.js +0 -0
- /package/themes/umberto/src/{js → gloria/js}/vendor/prism.js +0 -0
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
// Copyright (c) 2017-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
// For licensing, see LICENSE.md.
|
|
3
|
+
|
|
4
|
+
@use 'helpers/color';
|
|
5
|
+
@use 'helpers/font';
|
|
6
|
+
@use 'helpers/globals';
|
|
7
|
+
@use 'helpers/spacing';
|
|
8
|
+
@use 'sass:math';
|
|
9
|
+
|
|
10
|
+
$u-button-size-width: 72px;
|
|
11
|
+
$u-space-between: 15px;
|
|
12
|
+
$u-icon-size: 36px;
|
|
13
|
+
$u-rwd-button-size: 24px;
|
|
14
|
+
|
|
15
|
+
.top {
|
|
16
|
+
background: color.u-color( 'primary' );
|
|
17
|
+
position: fixed;
|
|
18
|
+
top: 0;
|
|
19
|
+
left: 0;
|
|
20
|
+
right: 0;
|
|
21
|
+
z-index: 9999; // Render it above CKEditor's UI.
|
|
22
|
+
align-items: center;
|
|
23
|
+
|
|
24
|
+
@include globals.u-responsive-tablet {
|
|
25
|
+
background: transparent;
|
|
26
|
+
|
|
27
|
+
&.rwd-menu-active {
|
|
28
|
+
height: 100%;
|
|
29
|
+
|
|
30
|
+
/* Control menu. */
|
|
31
|
+
.header__menu-rwd {
|
|
32
|
+
display: block;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* Control rwd hamburger button. */
|
|
36
|
+
.header__main-rwd-button {
|
|
37
|
+
span {
|
|
38
|
+
&:nth-child( 1 ) {
|
|
39
|
+
top: 10px;
|
|
40
|
+
left: 0;
|
|
41
|
+
transform: rotate( 45deg );
|
|
42
|
+
}
|
|
43
|
+
&:nth-child( 2 ) {
|
|
44
|
+
width: 0;
|
|
45
|
+
opacity: 0;
|
|
46
|
+
}
|
|
47
|
+
&:nth-child( 3 ) {
|
|
48
|
+
top: 10px;
|
|
49
|
+
transform: rotate( -45deg );
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.header__main {
|
|
57
|
+
padding: spacing.u-spacing( -2 ) spacing.u-spacing( 0 );
|
|
58
|
+
display: flex;
|
|
59
|
+
justify-content: space-between;
|
|
60
|
+
background-color: inherit;
|
|
61
|
+
position: relative;
|
|
62
|
+
z-index: inherit;
|
|
63
|
+
|
|
64
|
+
// handle header on smaller viewport
|
|
65
|
+
@include globals.u-responsive-tablet {
|
|
66
|
+
height: globals.$u-top-main;
|
|
67
|
+
background-color: color.u-color( 'primary' );
|
|
68
|
+
padding: 10px;
|
|
69
|
+
flex-wrap: wrap;
|
|
70
|
+
align-items: center;
|
|
71
|
+
|
|
72
|
+
.header__main-title {
|
|
73
|
+
flex-wrap: wrap;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&-rwd-button {
|
|
78
|
+
display: none;
|
|
79
|
+
|
|
80
|
+
@include globals.u-responsive-tablet {
|
|
81
|
+
position: absolute;
|
|
82
|
+
display: block;
|
|
83
|
+
width: $u-rwd-button-size;
|
|
84
|
+
height: $u-rwd-button-size;
|
|
85
|
+
margin-left: spacing.u-spacing( -2 );
|
|
86
|
+
@include globals.u-v-center;
|
|
87
|
+
|
|
88
|
+
a {
|
|
89
|
+
margin-top: 2px;
|
|
90
|
+
|
|
91
|
+
display: block;
|
|
92
|
+
position: relative;
|
|
93
|
+
height: inherit;
|
|
94
|
+
width: inherit;
|
|
95
|
+
cursor: pointer;
|
|
96
|
+
|
|
97
|
+
span {
|
|
98
|
+
position: absolute;
|
|
99
|
+
background: color.u-color( 'background-bright' );
|
|
100
|
+
width: 100%;
|
|
101
|
+
height: 3px;
|
|
102
|
+
border-radius: 5px;
|
|
103
|
+
transition: 250ms all ease;
|
|
104
|
+
|
|
105
|
+
&:nth-child( 2 ) { top: math.div( $u-rwd-button-size, 3 ) * 1; }
|
|
106
|
+
&:nth-child( 3 ) { top: math.div( $u-rwd-button-size, 3 ) * 2; }
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@include globals.u-responsive-mobile {
|
|
112
|
+
margin-left: 0;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// ecosystem icon
|
|
117
|
+
&-homepage {
|
|
118
|
+
display: inline-block;
|
|
119
|
+
height: 41px;
|
|
120
|
+
vertical-align: middle;
|
|
121
|
+
margin-right: 1em;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&-title {
|
|
125
|
+
display: flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
|
|
128
|
+
&-home {
|
|
129
|
+
font-size: 1.5em;
|
|
130
|
+
text-decoration: none;
|
|
131
|
+
color: color.u-color( 'background-hue-light' );
|
|
132
|
+
|
|
133
|
+
@include globals.u-responsive-tablet {
|
|
134
|
+
font-size: font.u-font-size( 2 );
|
|
135
|
+
|
|
136
|
+
// We need to add margin in case of rwd button.
|
|
137
|
+
margin-left: spacing.u-spacing( 2 ) * 2;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@include globals.u-responsive-mobile {
|
|
141
|
+
display: none;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/* We need to handle project logo inside subheader. In pug files we can't include svg as plain element because of included variables.
|
|
148
|
+
* In the future we can use some hexo plugin to make work such code as:
|
|
149
|
+
* `include relative_url( page.path, page.BASE_PATH + page.startPage ) + 'project-logo.svg'
|
|
150
|
+
* At this moment this is the best solution.
|
|
151
|
+
*/
|
|
152
|
+
&[data-project='ckeditor5'] {
|
|
153
|
+
li.top__menu-project-logo a {
|
|
154
|
+
background-image: url("data:image/svg+xml,%3Csvg width='68' height='64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M43.71 11.025a11.508 11.508 0 0 0-1.213 5.159c0 6.42 5.244 11.625 11.713 11.625.083 0 .167 0 .25-.002v16.282a5.464 5.464 0 0 1-2.756 4.739L30.986 60.7a5.548 5.548 0 0 1-5.512 0L4.756 48.828A5.464 5.464 0 0 1 2 44.089V20.344c0-1.955 1.05-3.76 2.756-4.738L25.474 3.733a5.548 5.548 0 0 1 5.512 0l12.724 7.292z' fill='%23FFF'/%3E%3Cpath d='M45.684 8.79a12.604 12.604 0 0 0-1.329 5.65c0 7.032 5.744 12.733 12.829 12.733.091 0 .183-.001.274-.003v17.834a5.987 5.987 0 0 1-3.019 5.19L31.747 63.196a6.076 6.076 0 0 1-6.037 0L3.02 50.193A5.984 5.984 0 0 1 0 45.003V18.997c0-2.14 1.15-4.119 3.019-5.19L25.71.804a6.076 6.076 0 0 1 6.037 0L45.684 8.79zm-29.44 11.89c-.834 0-1.51.671-1.51 1.498v.715c0 .828.676 1.498 1.51 1.498h25.489c.833 0 1.51-.67 1.51-1.498v-.715c0-.827-.677-1.498-1.51-1.498h-25.49.001zm0 9.227c-.834 0-1.51.671-1.51 1.498v.715c0 .828.676 1.498 1.51 1.498h18.479c.833 0 1.509-.67 1.509-1.498v-.715c0-.827-.676-1.498-1.51-1.498H16.244zm0 9.227c-.834 0-1.51.671-1.51 1.498v.715c0 .828.676 1.498 1.51 1.498h25.489c.833 0 1.51-.67 1.51-1.498v-.715c0-.827-.677-1.498-1.51-1.498h-25.49.001zm41.191-14.459c-5.835 0-10.565-4.695-10.565-10.486 0-5.792 4.73-10.487 10.565-10.487C63.27 3.703 68 8.398 68 14.19c0 5.791-4.73 10.486-10.565 10.486v-.001z' fill='%231EBC61' fill-rule='nonzero'/%3E%3Cpath d='M60.857 15.995c0-.467-.084-.875-.251-1.225a2.547 2.547 0 0 0-.686-.88 2.888 2.888 0 0 0-1.026-.531 4.418 4.418 0 0 0-1.259-.175c-.134 0-.283.006-.447.018-.15.01-.3.034-.446.07l.075-1.4h3.587v-1.8h-5.462l-.214 5.06c.319-.116.682-.21 1.089-.28.406-.071.77-.107 1.088-.107.218 0 .437.021.655.063.218.041.413.114.585.218s.313.244.422.419c.109.175.163.391.163.65 0 .424-.132.745-.396.961a1.434 1.434 0 0 1-.938.325c-.352 0-.656-.1-.912-.3-.256-.2-.43-.453-.523-.762l-1.925.588c.1.35.258.664.472.943.214.279.47.514.767.706.298.191.63.339.995.443.365.104.749.156 1.151.156.437 0 .86-.064 1.272-.193.41-.13.778-.323 1.1-.581a2.8 2.8 0 0 0 .775-.981c.193-.396.29-.864.29-1.405h-.001z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/g%3E%3C/svg%3E");
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&[data-project='ckeditor4'] {
|
|
159
|
+
li.top__menu-project-logo a {
|
|
160
|
+
background-image: url("data:image/svg+xml,%3Csvg width='68' height='64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M43.71 11.025a11.508 11.508 0 0 0-1.213 5.159c0 6.42 5.244 11.625 11.713 11.625.083 0 .167 0 .25-.002v16.282a5.464 5.464 0 0 1-2.756 4.739L30.986 60.7a5.548 5.548 0 0 1-5.512 0L4.756 48.828A5.464 5.464 0 0 1 2 44.089V20.344c0-1.955 1.05-3.76 2.756-4.738L25.474 3.733a5.548 5.548 0 0 1 5.512 0l12.724 7.292z' fill='%23FFF'/%3E%3Cpath d='M45.684 8.79a12.604 12.604 0 0 0-1.329 5.65c0 7.032 5.744 12.733 12.829 12.733.091 0 .183-.001.274-.003v17.834a5.987 5.987 0 0 1-3.019 5.19L31.747 63.196a6.076 6.076 0 0 1-6.037 0L3.02 50.193A5.984 5.984 0 0 1 0 45.003V18.997c0-2.14 1.15-4.119 3.019-5.19L25.71.804a6.076 6.076 0 0 1 6.037 0L45.684 8.79zm-29.44 11.89c-.834 0-1.51.671-1.51 1.498v.715c0 .828.676 1.498 1.51 1.498h25.489c.833 0 1.51-.67 1.51-1.498v-.715c0-.827-.677-1.498-1.51-1.498h-25.49.001zm0 9.227c-.834 0-1.51.671-1.51 1.498v.715c0 .828.676 1.498 1.51 1.498h18.479c.833 0 1.509-.67 1.509-1.498v-.715c0-.827-.676-1.498-1.51-1.498H16.244zm0 9.227c-.834 0-1.51.671-1.51 1.498v.715c0 .828.676 1.498 1.51 1.498h25.489c.833 0 1.51-.67 1.51-1.498v-.715c0-.827-.677-1.498-1.51-1.498h-25.49.001zm41.191-14.459c-5.835 0-10.565-4.695-10.565-10.486 0-5.792 4.73-10.487 10.565-10.487C63.27 3.703 68 8.398 68 14.19c0 5.791-4.73 10.486-10.565 10.486v-.001z' fill='%230287D0' fill-rule='nonzero'/%3E%3Cpath fill='%23FFF' fill-rule='nonzero' d='M59.234 16.85h1.113v-1.66h-1.125V9.892h-2.307l-3.306 5.238v1.72h3.822v1.686h1.803z'/%3E%3Cpath fill='%230287D0' fill-rule='nonzero' d='M57.443 11.991v3.199H55.48l1.928-3.199h.035z'/%3E%3C/g%3E%3C/svg%3E");
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&[data-project='letters'] {
|
|
165
|
+
li.top__menu-project-logo a {
|
|
166
|
+
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='57' height='64' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M32.18 3.718l20.14 11.635A5.362 5.362 0 0 1 55 19.997v23.27a5.362 5.362 0 0 1-2.68 4.643L32.18 59.545a5.356 5.356 0 0 1-5.36 0L6.68 47.91A5.362 5.362 0 0 1 4 43.267v-23.27a5.362 5.362 0 0 1 2.68-4.644L26.82 3.718a5.356 5.356 0 0 1 5.36 0z' fill='%23FFF'/%3e%3cpath d='M33.458 40.042h1.835a1.344 1.344 0 0 0 0-2.688h-2.304v.005H22.478c-.827 0-1.497.67-1.497 1.498v6.92h-4.557V17.315h18.662v5.705c0 .69.558 1.248 1.247 1.248h5.544v21.51h-9.984a1.248 1.248 0 0 0 0 2.497h11.232c.689 0 1.247-.559 1.247-1.248V22.427a.999.999 0 0 0-.284-.698l-6.463-6.61a.998.998 0 0 0-.713-.301H15.176c-.689 0-1.248.559-1.248 1.248v30.96c0 .69.559 1.248 1.248 1.248h7.053c.689 0 1.247-.559 1.247-1.248v-6.981h9.982v-.003zM31.494.802l22.512 13.005A5.993 5.993 0 0 1 57 18.997v26.007a5.993 5.993 0 0 1-2.994 5.19L31.494 63.196a5.986 5.986 0 0 1-5.988 0L2.994 50.193A5.993 5.993 0 0 1 0 45.003V18.997a5.993 5.993 0 0 1 2.994-5.19L25.506.804a5.986 5.986 0 0 1 5.988 0zM22.51 26.054a1.344 1.344 0 0 0 0 2.689h12.784a1.344 1.344 0 0 0 0-2.689H22.509zm0 5.647a1.344 1.344 0 0 0 0 2.689h8.916a1.344 1.344 0 0 0 0-2.69h-8.916zm14.876-13.885a.1.1 0 0 1 .173-.068l3.91 4.143a.1.1 0 0 1-.072.168h-3.512a.5.5 0 0 1-.499-.499v-3.744z' fill='%23F75C4C' fill-rule='nonzero'/%3e%3c/g%3e%3c/svg%3e");
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&[data-project='cs'] {
|
|
171
|
+
li.top__menu-project-logo a {
|
|
172
|
+
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='57' height='64' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M31.284 2.746l20.932 12.092A5.572 5.572 0 0 1 55 19.663v24.183c0 1.99-1.061 3.83-2.784 4.825L31.284 60.762a5.566 5.566 0 0 1-5.568 0L4.784 48.671A5.572 5.572 0 0 1 2 43.846V19.663c0-1.99 1.061-3.83 2.784-4.825L25.716 2.746a5.566 5.566 0 0 1 5.568 0z' fill='%23FFF'/%3e%3cpath d='M24.057 37.919a1.248 1.248 0 0 0-1.463 1.23v5.885h-4.891c-4.006 0-7.268-3.264-7.268-7.272a7.283 7.283 0 0 1 5.197-6.972c.548-.162.915-.676.891-1.248a7.285 7.285 0 0 1-.006-.3c0-4.008 3.262-7.272 7.268-7.272.56 0 1.112.066 1.658.198.484.117.992-.065 1.29-.464a8.466 8.466 0 0 1 6.784-3.385c4.678 0 8.485 3.81 8.485 8.489 0 .378-.026.75-.076 1.11a1.249 1.249 0 0 0 .622 1.26c2.653 1.5 4.32 4.315 4.32 7.367 0 4.68-3.806 8.489-8.485 8.489h-5.439a1.248 1.248 0 0 0 0 2.497h5.44c6.056 0 10.979-4.926 10.979-10.986 0-3.681-1.864-7.088-4.884-9.107.012-.21.018-.42.018-.63 0-6.059-4.924-10.986-10.98-10.986-3.204 0-6.21 1.388-8.277 3.763a9.508 9.508 0 0 0-1.455-.112c-5.205 0-9.47 4.095-9.749 9.234a9.781 9.781 0 0 0-6.097 9.055c0 5.387 4.38 9.769 9.764 9.769h5.14a2.246 2.246 0 0 0 2.246-2.247v-4.687h10.59a1.352 1.352 0 0 0 0-2.705H24.327c-.092 0-.182.01-.269.027zM31.494.803l22.512 13.004A5.993 5.993 0 0 1 57 18.997v26.007a5.993 5.993 0 0 1-2.994 5.19L31.494 63.196a5.986 5.986 0 0 1-5.988 0L2.994 50.193A5.993 5.993 0 0 1 0 45.003V18.997a5.993 5.993 0 0 1 2.994-5.19L25.506.804a5.986 5.986 0 0 1 5.988 0zm-7.168 25.729a1.352 1.352 0 0 0 0 2.705H35.68a1.352 1.352 0 0 0 0-2.705H24.326zm0 5.68a1.352 1.352 0 0 0 0 2.705h7.96a1.352 1.352 0 0 0 0-2.705h-7.96z' fill='%236C7A89' fill-rule='nonzero'/%3e%3c/g%3e%3c/svg%3e");
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&[data-project^='ckfinder'] {
|
|
177
|
+
li.top__menu-project-logo a {
|
|
178
|
+
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='57' height='63' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M31.369 2.758L52.13 14.575A5.642 5.642 0 0 1 55 19.473v23.633a5.642 5.642 0 0 1-2.869 4.898L31.37 59.821a5.81 5.81 0 0 1-5.738 0L4.87 48.004A5.642 5.642 0 0 1 2 43.106V19.473a5.642 5.642 0 0 1 2.869-4.898L25.63 2.758a5.81 5.81 0 0 1 5.738 0z' fill='%23FFF'/%3e%3cpath d='M34.115 38.177c1.75-1.393 2.87-3.526 2.87-5.917 0-4.199-3.454-7.603-7.714-7.603s-7.713 3.404-7.713 7.603c0 4.2 3.454 7.604 7.713 7.604a7.8 7.8 0 0 0 2.603-.444l3.507 6.531a3.864 3.864 0 0 0 3.408 2.023h5.137c.71 0 1.286-.567 1.286-1.267v-24.37c0-.327-.126-.626-.333-.85a1.01 1.01 0 0 0-.226-.335l-6.626-6.532a1.289 1.289 0 0 0-1.098-.608H15.131c-.71 0-1.286.568-1.286 1.268v31.427c0 .7.576 1.267 1.286 1.267h16.007c.71 0 1.286-.567 1.286-1.267s-.576-1.268-1.286-1.268H16.416V16.547h19.228v5.79c0 .7.575 1.268 1.285 1.268h5.712v21.834h-3.852c-.476 0-.913-.259-1.136-.674l-3.538-6.588zm4.1-20.504v3.397h3.446l-3.446-3.397zM31.585.815l22.33 12.709A6.067 6.067 0 0 1 57 18.79V44.21a6.067 6.067 0 0 1-3.085 5.267l-22.33 12.71a6.248 6.248 0 0 1-6.17 0l-22.33-12.71A6.067 6.067 0 0 1 0 44.21V18.79a6.067 6.067 0 0 1 3.085-5.267L25.415.814a6.248 6.248 0 0 1 6.17 0zm-2.314 36.514c2.84 0 5.142-2.27 5.142-5.069 0-2.8-2.302-5.069-5.142-5.069-2.84 0-5.142 2.27-5.142 5.07 0 2.799 2.302 5.068 5.142 5.068z' fill='%2317C5A9' fill-rule='nonzero'/%3e%3c/g%3e%3c/svg%3e");
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&[data-project^='trial'] {
|
|
183
|
+
li.top__menu-project-logo a {
|
|
184
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='67' height='67' version='1.1'%3E%3Cpath d='m29.23 0.34908c-1.0911 0-2.1811 0.27713-3.1622 0.83323l-11.488 6.5108-11.382 6.6941c-1.9443 1.1432-3.1458 3.2231-3.1638 5.4787l-0.10493 13.203 0.10493 13.205c0.018017 2.2555 1.2195 4.3355 3.1638 5.4787l11.382 6.6925 11.488 6.5124c1.9623 1.1122 4.3637 1.1122 6.326 0l11.488-6.5124 11.382-6.6925c1.9443-1.1432 3.1458-3.2231 3.1638-5.4787l0.10494-13.205-0.10494-13.203c-0.01802-2.2555-1.2194-4.3355-3.1638-5.4787l-11.382-6.6941-11.488-6.5108c-0.98114-0.55611-2.0727-0.83323-3.1638-0.83323zm-0.22711 12.909 4.6783 14.4h15.142l-12.249 8.9009 4.6783 14.4-12.25-8.8993-12.251 8.8993 4.6799-14.4-12.25-8.9009h15.141zm-0.17384 7.7826-2.9711 8.8664h-9.6135l7.7779 5.4787-2.9711 8.8649 7.7779-5.4787 7.7779 5.4787-2.9711-8.8649 7.7779-5.4787h-9.6135z' fill='%23efbb23' stroke-width='.80191'/%3E%3C/svg%3E");
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* Fix proportions of wider logos (ck5 & ck4). */
|
|
189
|
+
&[data-project='letters'],
|
|
190
|
+
&[data-project='cs'],
|
|
191
|
+
&[data-project^='ckfinder'] {
|
|
192
|
+
li.top__menu-project-logo a {
|
|
193
|
+
background-size: 33px;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
.header__sub {
|
|
199
|
+
height: globals.$u-top-sub;
|
|
200
|
+
display: flex;
|
|
201
|
+
background: color.u-color( 'background-dark' );
|
|
202
|
+
border-bottom: 1px solid color.u-color( 'background-hue' );
|
|
203
|
+
position: relative;
|
|
204
|
+
|
|
205
|
+
@include globals.u-responsive-tablet {
|
|
206
|
+
display: none;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
&__logo {
|
|
211
|
+
// NOTE: IE11 does not support calc() here in flex.
|
|
212
|
+
flex: 0 0 globals.$u-sidebar-width;
|
|
213
|
+
|
|
214
|
+
&__product-title {
|
|
215
|
+
display: block;
|
|
216
|
+
font-size: font.u-font-size( 2 );
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
&__menu {
|
|
221
|
+
display: flex;
|
|
222
|
+
margin: 0;
|
|
223
|
+
list-style: none;
|
|
224
|
+
|
|
225
|
+
@include globals.u-responsive-tablet {
|
|
226
|
+
flex-wrap: wrap;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&__item-home {
|
|
230
|
+
svg {
|
|
231
|
+
display: flex;
|
|
232
|
+
height: 24px;
|
|
233
|
+
width: 24px;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&--active {
|
|
237
|
+
background: color.u-color( 'text-invert' );
|
|
238
|
+
|
|
239
|
+
svg {
|
|
240
|
+
fill: color.u-color( 'primary' );
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
li {
|
|
246
|
+
margin-right: spacing.u-spacing( 0 );
|
|
247
|
+
|
|
248
|
+
&.top__menu-project-logo
|
|
249
|
+
a {
|
|
250
|
+
padding-left: 65px;
|
|
251
|
+
background-size: 38px;
|
|
252
|
+
background-repeat: no-repeat;
|
|
253
|
+
background-position: spacing.u-spacing( 1 ) 5px;
|
|
254
|
+
|
|
255
|
+
/* Disable hover/focus border on project logo href. */
|
|
256
|
+
border-bottom: 0;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
a {
|
|
260
|
+
display: block;
|
|
261
|
+
font-weight: 600;
|
|
262
|
+
text-decoration: none;
|
|
263
|
+
background-color: color.u-color( 'background-dark' );
|
|
264
|
+
color: color.u-color( 'text-gray' );
|
|
265
|
+
border-bottom: 2px solid transparent;
|
|
266
|
+
position: relative;
|
|
267
|
+
height: globals.$u-top-sub;
|
|
268
|
+
line-height: globals.$u-top-sub;
|
|
269
|
+
padding: 0 spacing.u-spacing( 0 );
|
|
270
|
+
transition: 150ms ease all;
|
|
271
|
+
|
|
272
|
+
&:hover {
|
|
273
|
+
background-color: color.u-color( 'background-dark', -3% );
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
&:hover,
|
|
277
|
+
&.top__menu__item--active {
|
|
278
|
+
border-color: color.u-color( 'primary' );
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
// Disable colored border for GH and control svg.
|
|
282
|
+
&.top__menu-github-link {
|
|
283
|
+
&:hover {
|
|
284
|
+
border-color: transparent
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
svg {
|
|
288
|
+
fill: currentColor;
|
|
289
|
+
width: 30px;
|
|
290
|
+
margin-top: math.div( globals.$u-top-sub - 30px, 2 );
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
&__search {
|
|
298
|
+
flex: 0 0 240px;
|
|
299
|
+
position: relative;
|
|
300
|
+
align-self: flex-start;
|
|
301
|
+
|
|
302
|
+
@include globals.u-responsive-tablet {
|
|
303
|
+
flex: unset;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
&__box {
|
|
307
|
+
background: color.u-color( 'background-bright' );
|
|
308
|
+
font-weight: 400;
|
|
309
|
+
font-size: font.u-font-size( 0 );
|
|
310
|
+
height: 40px;
|
|
311
|
+
width: 240px;
|
|
312
|
+
border: 0;
|
|
313
|
+
padding: 0 2*spacing.u-spacing( 4 ) 0 spacing.u-spacing( 1 );
|
|
314
|
+
border-radius: 25px;
|
|
315
|
+
border: 2px solid transparent;
|
|
316
|
+
|
|
317
|
+
@include globals.u-responsive-tablet {
|
|
318
|
+
width: unset;
|
|
319
|
+
height: 35px;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
&::-webkit-input-placeholder {
|
|
323
|
+
color: color.u-color( 'text', 70% );
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
&:focus,
|
|
327
|
+
&:active {
|
|
328
|
+
border-color: #5db913;
|
|
329
|
+
outline: none;
|
|
330
|
+
box-shadow: 0 0 5px #5db913;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
&__button {
|
|
335
|
+
@include globals.u-v-center;
|
|
336
|
+
width: 15px;
|
|
337
|
+
height: 17px;
|
|
338
|
+
position: absolute;
|
|
339
|
+
right: spacing.u-spacing( 1 );
|
|
340
|
+
background: none;
|
|
341
|
+
border: none;
|
|
342
|
+
padding: 0;
|
|
343
|
+
|
|
344
|
+
img {
|
|
345
|
+
width: 15px;
|
|
346
|
+
height: 15px;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
// Copyright (c) 2017-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
// For licensing, see LICENSE.md.
|
|
3
|
+
|
|
4
|
+
@use 'helpers/color';
|
|
5
|
+
@use 'helpers/font';
|
|
6
|
+
@use 'helpers/globals';
|
|
7
|
+
@use 'helpers/spacing';
|
|
8
|
+
|
|
9
|
+
/* Global styles for tree navigation in umberto.
|
|
10
|
+
Note: there are also dedicated styles for API Tree and Guides & SDK Tree.
|
|
11
|
+
See: `_api-tree.scss` and `_guide-sdk-tree.scss`. */
|
|
12
|
+
|
|
13
|
+
.tree {
|
|
14
|
+
list-style: none;
|
|
15
|
+
|
|
16
|
+
// Make sure the filter never floats over the tree.
|
|
17
|
+
padding-bottom: font.$u-line-height-base + em;
|
|
18
|
+
|
|
19
|
+
@include globals.u-unselectable;
|
|
20
|
+
|
|
21
|
+
// Generate styles for tree levels recursively.
|
|
22
|
+
@include globals.u-responsive-tablet-plus {
|
|
23
|
+
@include globals.levels( 1, 1 );
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@include globals.u-responsive-tablet {
|
|
27
|
+
@include globals.levels( 1, 0 );
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.guide-tree {
|
|
31
|
+
opacity: 0; //prevents flickering when applying categories fold state
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.state-applied {
|
|
35
|
+
opacity: 1;
|
|
36
|
+
transition: opacity 0.05s
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
li {
|
|
40
|
+
position: relative;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
display: block;
|
|
43
|
+
|
|
44
|
+
&::before {
|
|
45
|
+
position: absolute;
|
|
46
|
+
z-index: 1;
|
|
47
|
+
top: .7em;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
a {
|
|
51
|
+
text-decoration: none;
|
|
52
|
+
color: inherit;
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
text-decoration: underline;
|
|
56
|
+
|
|
57
|
+
& .tree__item__badge.tree__item__badge_new {
|
|
58
|
+
/* In CSS you cannot get rid of text-decoration in children, you must hack it :( */
|
|
59
|
+
text-decoration: underline;
|
|
60
|
+
text-decoration-color: color.u-color( 'badge-green' );
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.tree__item__text {
|
|
66
|
+
display: inline-block;
|
|
67
|
+
padding: spacing.u-spacing( -3 ) 0;
|
|
68
|
+
position: relative;
|
|
69
|
+
margin-right: auto;
|
|
70
|
+
white-space: nowrap;
|
|
71
|
+
overflow: hidden;
|
|
72
|
+
text-overflow: ellipsis;
|
|
73
|
+
|
|
74
|
+
// The icon.
|
|
75
|
+
&::before {
|
|
76
|
+
content: '';
|
|
77
|
+
position: relative;
|
|
78
|
+
width: 13px;
|
|
79
|
+
height: 13px;
|
|
80
|
+
display: inline-block;
|
|
81
|
+
margin-right: spacing.u-spacing( -2 );
|
|
82
|
+
background-repeat: no-repeat;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.tree__item__badge {
|
|
87
|
+
margin: 0 spacing.u-spacing( -2 );
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.tree__item__badge:last-of-type {
|
|
91
|
+
margin-right: spacing.u-spacing( 2 );
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.tree__item__wrapper {
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: row;
|
|
97
|
+
align-items: center;
|
|
98
|
+
flex-wrap: nowrap;
|
|
99
|
+
align-content: center;
|
|
100
|
+
justify-content: flex-start;
|
|
101
|
+
margin-left: calc( -1 * #{ spacing.u-spacing( 3 ) } );
|
|
102
|
+
|
|
103
|
+
&:hover {
|
|
104
|
+
background-color: color.u-color( 'background-dark' );
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&--active {
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
background-color: color.u-color( 'background-hue' );
|
|
110
|
+
|
|
111
|
+
&:hover {
|
|
112
|
+
background-color: color.u-color( 'background-hue', -3% );
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.tree__item-nested-list {
|
|
118
|
+
height: auto;
|
|
119
|
+
overflow: visible;
|
|
120
|
+
|
|
121
|
+
&--hidden {
|
|
122
|
+
height: 0;
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.toggler--collapsed > ul {
|
|
129
|
+
display: none;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.toggler--expanded > ul {
|
|
133
|
+
display: block;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&__item {
|
|
137
|
+
&--package {
|
|
138
|
+
&::before{
|
|
139
|
+
background-image: url( ../img/box-orange.svg );
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&--module {
|
|
144
|
+
&::before{
|
|
145
|
+
background-image: url( ../img/box-red.svg );
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&--namespace {
|
|
150
|
+
&::before{
|
|
151
|
+
background-image: url( ../img/box-brown.svg );
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&--folder {
|
|
156
|
+
// Improving UX of collapsing nested lists.
|
|
157
|
+
width: 100%;
|
|
158
|
+
|
|
159
|
+
&::before{
|
|
160
|
+
background-image: url( ../img/folder.svg );
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&--class {
|
|
165
|
+
&::before{
|
|
166
|
+
background-image: url( ../img/cog.svg );
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&--interface {
|
|
171
|
+
&::before{
|
|
172
|
+
background-image: url( ../img/arrows.svg );
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&--typedef {
|
|
177
|
+
&::before{
|
|
178
|
+
background-image: url( ../img/data.svg );
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&--guide,
|
|
183
|
+
&--sdk {
|
|
184
|
+
&::before{
|
|
185
|
+
background-image: url( ../img/book.svg );
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* These styles are outside the .tree scope because badges are also occasionally used in the guide content. */
|
|
192
|
+
.tree__item__badge {
|
|
193
|
+
margin: 0 spacing.u-spacing( -3 );
|
|
194
|
+
text-transform: uppercase;
|
|
195
|
+
font-weight: bold;
|
|
196
|
+
font-size: 10px;
|
|
197
|
+
border-radius: 20px;
|
|
198
|
+
/* spacing.u-spacing() lacks granularity here :( */
|
|
199
|
+
padding: spacing.u-spacing( -4 ) .6em;
|
|
200
|
+
vertical-align: middle;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.tree__item__badge .tree__item__badge__text {
|
|
204
|
+
display: none;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.tree__item__badge_new {
|
|
208
|
+
background: color.u-color( 'badge-green' );
|
|
209
|
+
color: color.u-color( 'text-invert' );
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.tree__item__badge_premium {
|
|
213
|
+
background-image: url( ../img/star-in-circle.svg );
|
|
214
|
+
width: 16px;
|
|
215
|
+
height: 16px;
|
|
216
|
+
flex-shrink: 0;
|
|
217
|
+
display: inline-block;
|
|
218
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// Copyright (c) 2017-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
// For licensing, see LICENSE.md.
|
|
3
|
+
|
|
4
|
+
@use 'helpers/globals';
|
|
5
|
+
@use 'helpers/spacing';
|
|
6
|
+
|
|
7
|
+
.top {
|
|
8
|
+
.warning-banner {
|
|
9
|
+
position: fixed;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-content: center;
|
|
12
|
+
flex-wrap: nowrap;
|
|
13
|
+
align-items: center;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
top: 0;
|
|
16
|
+
z-index: 9999;
|
|
17
|
+
left: 50%;
|
|
18
|
+
transform: translateX(-50%);
|
|
19
|
+
|
|
20
|
+
background: #FCEB77;
|
|
21
|
+
font-size: 13px;
|
|
22
|
+
white-space: nowrap;
|
|
23
|
+
border-radius: 0 0 3px 3px;
|
|
24
|
+
box-shadow: 0 2px 4px #00000030;
|
|
25
|
+
|
|
26
|
+
@include globals.u-responsive-mobile {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& a {
|
|
31
|
+
text-decoration: underline;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
& span:first-child {
|
|
35
|
+
background: #1A1A1A;
|
|
36
|
+
color: #FCEB77;
|
|
37
|
+
padding: spacing.u-spacing( -3 ) spacing.u-spacing( -1 );
|
|
38
|
+
text-transform: uppercase;
|
|
39
|
+
font-weight: bold;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
& span:last-child {
|
|
43
|
+
padding: 0 spacing.u-spacing( 0 );
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Copyright (c) 2017-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
// For licensing, see LICENSE.md.
|
|
3
|
+
|
|
4
|
+
/* Set bigger z-index than documentation header. */
|
|
5
|
+
|
|
6
|
+
.medium-zoom-overlay {
|
|
7
|
+
z-index: 10000;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.medium-zoom-image {
|
|
11
|
+
z-index: 10001;
|
|
12
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// Copyright (c) 2017-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
// For licensing, see LICENSE.md.
|
|
3
|
+
|
|
4
|
+
@use 'sass:color';
|
|
5
|
+
@use 'sass:map';
|
|
6
|
+
|
|
7
|
+
$u-colors: (
|
|
8
|
+
'primary': #3E59AD,
|
|
9
|
+
'primary-dark': #314687,
|
|
10
|
+
'link': #1b3af2,
|
|
11
|
+
'accent': #FFF3DC,
|
|
12
|
+
'background-hue-light': #FBFCFC,
|
|
13
|
+
'background-hue': #F2F5F7,
|
|
14
|
+
'background-dark': #f5f5f5,
|
|
15
|
+
'background-bright': #fff,
|
|
16
|
+
'background-gray': #474843,
|
|
17
|
+
'text': #000000,
|
|
18
|
+
'text-header': #000000,
|
|
19
|
+
'text-invert': #ffffff,
|
|
20
|
+
'text-invert-gray': #ffffffb2,
|
|
21
|
+
'text-gray': #555555,
|
|
22
|
+
'separator': #E9E9E9,
|
|
23
|
+
'toggler': #BDBDBD,
|
|
24
|
+
'highlight': #FFEB3B,
|
|
25
|
+
'selected': #4FA800,
|
|
26
|
+
'snippet-background': #272822,
|
|
27
|
+
|
|
28
|
+
// Badges
|
|
29
|
+
'badge-gray': #808080,
|
|
30
|
+
'badge-orange': #E59E00,
|
|
31
|
+
'badge-green': #8BC34A,
|
|
32
|
+
'badge-red': #E50037,
|
|
33
|
+
'badge-black': #212121,
|
|
34
|
+
'badge-purple': #AB47BC,
|
|
35
|
+
|
|
36
|
+
// Hints
|
|
37
|
+
'hint-info': #64B5F6,
|
|
38
|
+
'hint-hint': #AB47BC,
|
|
39
|
+
'hint-warning': #FFE600,
|
|
40
|
+
'hint-error': #FF1D00
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
@function u-color( $name, $offset: 0% ) {
|
|
44
|
+
@return color.scale( map.get( $u-colors, $name ), $lightness: $offset );
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@function u-border-color( $name, $offset: 0% ) {
|
|
48
|
+
@return u-color( $name, $offset - 25% );
|
|
49
|
+
}
|