adapt-authoring-ui 0.0.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/.eslintignore +2 -0
- package/.eslintrc +14 -0
- package/.github/ISSUE_TEMPLATE/bug_report.yml +55 -0
- package/.github/ISSUE_TEMPLATE/config.yml +1 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +22 -0
- package/.github/dependabot.yml +11 -0
- package/.github/pull_request_template.md +25 -0
- package/.github/workflows/labelled_prs.yml +16 -0
- package/.github/workflows/new.yml +19 -0
- package/adapt-authoring.json +11 -0
- package/app/core/app.js +43 -0
- package/app/core/assets/adapt-learning-logo-outline.png +0 -0
- package/app/core/assets/adapt-learning-logo-white.png +0 -0
- package/app/core/assets/ajax-loader.gif +0 -0
- package/app/core/assets/favicon.png +0 -0
- package/app/core/assets/transparency-light.png +0 -0
- package/app/core/browserStorage.js +45 -0
- package/app/core/collections/apiCollection.js +74 -0
- package/app/core/collections/contentCollection.js +33 -0
- package/app/core/collections/contentPluginCollection.js +24 -0
- package/app/core/collections/tagsCollection.js +4 -0
- package/app/core/constants.js +10 -0
- package/app/core/helpers.js +375 -0
- package/app/core/index.hbs +192 -0
- package/app/core/l10n.js +33 -0
- package/app/core/less/_reset.less +43 -0
- package/app/core/less/app.less +100 -0
- package/app/core/less/buttons.less +268 -0
- package/app/core/less/colourLabels.less +14 -0
- package/app/core/less/colours.less +132 -0
- package/app/core/less/columns.less +190 -0
- package/app/core/less/fonts.less +30 -0
- package/app/core/less/forms.less +77 -0
- package/app/core/less/sharedStyles.less +73 -0
- package/app/core/less/tables.less +29 -0
- package/app/core/less/tags.less +194 -0
- package/app/core/loading.hbs +27 -0
- package/app/core/models/articleModel.js +19 -0
- package/app/core/models/blockModel.js +25 -0
- package/app/core/models/clipboardModel.js +10 -0
- package/app/core/models/componentModel.js +18 -0
- package/app/core/models/configModel.js +22 -0
- package/app/core/models/contentModel.js +26 -0
- package/app/core/models/contentObjectModel.js +19 -0
- package/app/core/models/contentPluginModel.js +10 -0
- package/app/core/models/courseModel.js +24 -0
- package/app/core/models/sessionModel.js +86 -0
- package/app/core/origin.js +189 -0
- package/app/core/router.js +135 -0
- package/app/core/views/originView.js +92 -0
- package/app/libraries/babel-polyfill.min.js +1 -0
- package/app/libraries/backbone-forms-lists.js +669 -0
- package/app/libraries/backbone-forms.js +2604 -0
- package/app/libraries/backbone.js +1581 -0
- package/app/libraries/ckeditor.js +6 -0
- package/app/libraries/handlebars.js +4902 -0
- package/app/libraries/imageReady.js +2 -0
- package/app/libraries/inview.js +140 -0
- package/app/libraries/jquery-ui.min.js +6 -0
- package/app/libraries/jquery.form.js +1277 -0
- package/app/libraries/jquery.js +10346 -0
- package/app/libraries/jquery.tagsinput.min.js +1 -0
- package/app/libraries/moment.min.js +7 -0
- package/app/libraries/polyglot.min.js +2922 -0
- package/app/libraries/require.js +36 -0
- package/app/libraries/scrollTo.js +11 -0
- package/app/libraries/selectize/css/selectize.less +403 -0
- package/app/libraries/selectize/js/selectize.js +4500 -0
- package/app/libraries/spectrum/spectrum.js +2323 -0
- package/app/libraries/spectrum/spectrum.less +507 -0
- package/app/libraries/underscore.js +1692 -0
- package/app/libraries/velocity.js +4773 -0
- package/app/modules/appHeader/assets/top-bar-1080.jpg +0 -0
- package/app/modules/appHeader/assets/top-bar-2560.jpg +0 -0
- package/app/modules/appHeader/index.js +5 -0
- package/app/modules/appHeader/less/appHeader.less +72 -0
- package/app/modules/appHeader/templates/appHeader.hbs +17 -0
- package/app/modules/appHeader/views/appHeaderView.js +63 -0
- package/app/modules/assetManagement/collections/assetCollection.js +16 -0
- package/app/modules/assetManagement/index.js +65 -0
- package/app/modules/assetManagement/less/asset.less +229 -0
- package/app/modules/assetManagement/less/assetManagementModalTags.less +34 -0
- package/app/modules/assetManagement/less/assetManagementNew.less +60 -0
- package/app/modules/assetManagement/models/assetModel.js +11 -0
- package/app/modules/assetManagement/templates/assetManagement.hbs +12 -0
- package/app/modules/assetManagement/templates/assetManagementCollection.hbs +2 -0
- package/app/modules/assetManagement/templates/assetManagementEditAsset.hbs +9 -0
- package/app/modules/assetManagement/templates/assetManagementEditAssetSidebar.hbs +10 -0
- package/app/modules/assetManagement/templates/assetManagementListItem.hbs +35 -0
- package/app/modules/assetManagement/templates/assetManagementModalAutofill.hbs +1 -0
- package/app/modules/assetManagement/templates/assetManagementModalEditAsset.hbs +11 -0
- package/app/modules/assetManagement/templates/assetManagementModalFilters.hbs +16 -0
- package/app/modules/assetManagement/templates/assetManagementModalTags.hbs +26 -0
- package/app/modules/assetManagement/templates/assetManagementPreview.hbs +53 -0
- package/app/modules/assetManagement/templates/assetManagementSidebar.hbs +93 -0
- package/app/modules/assetManagement/templates/assetPicker.hbs +45 -0
- package/app/modules/assetManagement/views/assetManagementCollectionView.js +216 -0
- package/app/modules/assetManagement/views/assetManagementEditAssetSidebarView.js +25 -0
- package/app/modules/assetManagement/views/assetManagementEditAssetView.js +123 -0
- package/app/modules/assetManagement/views/assetManagementItemView.js +68 -0
- package/app/modules/assetManagement/views/assetManagementModalAutofillView.js +51 -0
- package/app/modules/assetManagement/views/assetManagementModalEditAssetView.js +38 -0
- package/app/modules/assetManagement/views/assetManagementModalFiltersView.js +132 -0
- package/app/modules/assetManagement/views/assetManagementModalTagsView.js +169 -0
- package/app/modules/assetManagement/views/assetManagementModalView.js +62 -0
- package/app/modules/assetManagement/views/assetManagementPreviewView.js +69 -0
- package/app/modules/assetManagement/views/assetManagementSidebarView.js +126 -0
- package/app/modules/assetManagement/views/assetManagementView.js +43 -0
- package/app/modules/colorLabel/index.js +48 -0
- package/app/modules/colorLabel/less/colorLabels.less +102 -0
- package/app/modules/colorLabel/models/colors.js +31 -0
- package/app/modules/colorLabel/templates/colorLabelPopUpView.hbs +21 -0
- package/app/modules/colorLabel/views/colorLabelPopupView.js +75 -0
- package/app/modules/contentHeader/index.js +6 -0
- package/app/modules/contentHeader/less/contentHeader.less +152 -0
- package/app/modules/contentHeader/less/options.less +51 -0
- package/app/modules/contentHeader/templates/actionsButton.hbs +3 -0
- package/app/modules/contentHeader/templates/contentHeader.hbs +38 -0
- package/app/modules/contentHeader/templates/contentHeaderToggleButton.hbs +11 -0
- package/app/modules/contentHeader/templates/filterItem.hbs +23 -0
- package/app/modules/contentHeader/templates/options.hbs +14 -0
- package/app/modules/contentHeader/templates/partials/part_headerButtonContent.hbs +2 -0
- package/app/modules/contentHeader/templates/sortItem.hbs +9 -0
- package/app/modules/contentHeader/views/actionsButtonView.js +14 -0
- package/app/modules/contentHeader/views/contentHeaderButtonView.js +42 -0
- package/app/modules/contentHeader/views/contentHeaderToggleButtonView.js +52 -0
- package/app/modules/contentHeader/views/contentHeaderView.js +96 -0
- package/app/modules/contentHeader/views/filtersButtonView.js +31 -0
- package/app/modules/contentHeader/views/optionsView.js +88 -0
- package/app/modules/contentHeader/views/sortsButtonView.js +45 -0
- package/app/modules/contentPane/index.js +20 -0
- package/app/modules/contentPane/less/contentPane.less +8 -0
- package/app/modules/contentPane/templates/contentPane.hbs +2 -0
- package/app/modules/contentPane/views/contentPaneView.js +77 -0
- package/app/modules/contextMenu/index.js +85 -0
- package/app/modules/contextMenu/less/contextMenu.less +54 -0
- package/app/modules/contextMenu/templates/contextMenu.hbs +6 -0
- package/app/modules/contextMenu/templates/contextMenuItem.hbs +8 -0
- package/app/modules/contextMenu/views/contextMenuItemView.js +37 -0
- package/app/modules/contextMenu/views/contextMenuView.js +76 -0
- package/app/modules/editor/article/index.js +18 -0
- package/app/modules/editor/article/templates/editorArticleEdit.hbs +2 -0
- package/app/modules/editor/article/templates/editorArticleEditSidebar.hbs +19 -0
- package/app/modules/editor/article/views/editorArticleEditSidebarView.js +32 -0
- package/app/modules/editor/article/views/editorArticleEditView.js +19 -0
- package/app/modules/editor/block/index.js +18 -0
- package/app/modules/editor/block/templates/editorBlockEdit.hbs +2 -0
- package/app/modules/editor/block/templates/editorBlockEditSidebar.hbs +19 -0
- package/app/modules/editor/block/views/editorBlockEditSidebarView.js +28 -0
- package/app/modules/editor/block/views/editorBlockEditView.js +19 -0
- package/app/modules/editor/component/index.js +22 -0
- package/app/modules/editor/component/templates/editorComponentEdit.hbs +2 -0
- package/app/modules/editor/component/templates/editorComponentEditSidebar.hbs +19 -0
- package/app/modules/editor/component/views/editorComponentEditSidebarView.js +32 -0
- package/app/modules/editor/component/views/editorComponentEditView.js +23 -0
- package/app/modules/editor/config/index.js +15 -0
- package/app/modules/editor/config/templates/editorConfigEdit.hbs +1 -0
- package/app/modules/editor/config/templates/editorConfigEditSidebar.hbs +10 -0
- package/app/modules/editor/config/views/editorConfigEditSidebarView.js +28 -0
- package/app/modules/editor/config/views/editorConfigEditView.js +28 -0
- package/app/modules/editor/contentObject/assets/component-icons/icon-accordion.png +0 -0
- package/app/modules/editor/contentObject/assets/component-icons/icon-assessment.png +0 -0
- package/app/modules/editor/contentObject/assets/component-icons/icon-blank.png +0 -0
- package/app/modules/editor/contentObject/assets/component-icons/icon-default.png +0 -0
- package/app/modules/editor/contentObject/assets/component-icons/icon-gmcq.png +0 -0
- package/app/modules/editor/contentObject/assets/component-icons/icon-graphic.png +0 -0
- package/app/modules/editor/contentObject/assets/component-icons/icon-hot-graphic.png +0 -0
- package/app/modules/editor/contentObject/assets/component-icons/icon-matching.png +0 -0
- package/app/modules/editor/contentObject/assets/component-icons/icon-mcq.png +0 -0
- package/app/modules/editor/contentObject/assets/component-icons/icon-media.png +0 -0
- package/app/modules/editor/contentObject/assets/component-icons/icon-narrative.png +0 -0
- package/app/modules/editor/contentObject/assets/component-icons/icon-slider.png +0 -0
- package/app/modules/editor/contentObject/assets/component-icons/icon-text.png +0 -0
- package/app/modules/editor/contentObject/index.js +68 -0
- package/app/modules/editor/contentObject/less/editing-overlay-component-list.less +60 -0
- package/app/modules/editor/contentObject/less/editing-overlay-panel.less +25 -0
- package/app/modules/editor/contentObject/less/editorMenu.less +84 -0
- package/app/modules/editor/contentObject/less/editorMenuItem.less +114 -0
- package/app/modules/editor/contentObject/less/editorMenuLayer.less +70 -0
- package/app/modules/editor/contentObject/less/editorPage.less +162 -0
- package/app/modules/editor/contentObject/less/editorPageArticle.less +40 -0
- package/app/modules/editor/contentObject/less/editorPageBlock.less +33 -0
- package/app/modules/editor/contentObject/less/editorPageComponent.less +47 -0
- package/app/modules/editor/contentObject/less/editorPageComponentList.less +234 -0
- package/app/modules/editor/contentObject/templates/editorMenu.hbs +1 -0
- package/app/modules/editor/contentObject/templates/editorMenuItem.hbs +23 -0
- package/app/modules/editor/contentObject/templates/editorMenuLayer.hbs +12 -0
- package/app/modules/editor/contentObject/templates/editorMenuSidebar.hbs +1 -0
- package/app/modules/editor/contentObject/templates/editorPage.hbs +15 -0
- package/app/modules/editor/contentObject/templates/editorPageArticle.hbs +15 -0
- package/app/modules/editor/contentObject/templates/editorPageBlock.hbs +14 -0
- package/app/modules/editor/contentObject/templates/editorPageComponent.hbs +9 -0
- package/app/modules/editor/contentObject/templates/editorPageComponentList.hbs +33 -0
- package/app/modules/editor/contentObject/templates/editorPageComponentListItem.hbs +24 -0
- package/app/modules/editor/contentObject/templates/editorPageComponentPasteZone.hbs +4 -0
- package/app/modules/editor/contentObject/templates/editorPageEdit.hbs +1 -0
- package/app/modules/editor/contentObject/templates/editorPageEditSidebar.hbs +10 -0
- package/app/modules/editor/contentObject/templates/editorPageSidebar.hbs +1 -0
- package/app/modules/editor/contentObject/views/editorMenuItemView.js +174 -0
- package/app/modules/editor/contentObject/views/editorMenuLayerView.js +212 -0
- package/app/modules/editor/contentObject/views/editorMenuSidebarView.js +13 -0
- package/app/modules/editor/contentObject/views/editorMenuView.js +211 -0
- package/app/modules/editor/contentObject/views/editorPageArticleView.js +278 -0
- package/app/modules/editor/contentObject/views/editorPageBlockView.js +280 -0
- package/app/modules/editor/contentObject/views/editorPageComponentListItemView.js +80 -0
- package/app/modules/editor/contentObject/views/editorPageComponentListView.js +131 -0
- package/app/modules/editor/contentObject/views/editorPageComponentPasteZoneView.js +47 -0
- package/app/modules/editor/contentObject/views/editorPageComponentView.js +202 -0
- package/app/modules/editor/contentObject/views/editorPageEditSidebarView.js +28 -0
- package/app/modules/editor/contentObject/views/editorPageEditView.js +19 -0
- package/app/modules/editor/contentObject/views/editorPageSidebarView.js +13 -0
- package/app/modules/editor/contentObject/views/editorPageView.js +183 -0
- package/app/modules/editor/course/index.js +26 -0
- package/app/modules/editor/course/templates/editorCourseEdit.hbs +2 -0
- package/app/modules/editor/course/templates/editorCourseEditSidebar.hbs +19 -0
- package/app/modules/editor/course/views/editorCourseEditSidebarView.js +28 -0
- package/app/modules/editor/course/views/editorCourseEditView.js +56 -0
- package/app/modules/editor/extensions/index.js +26 -0
- package/app/modules/editor/extensions/less/extensions.less +22 -0
- package/app/modules/editor/extensions/templates/editorExtensionsEdit.hbs +85 -0
- package/app/modules/editor/extensions/templates/editorExtensionsEditSidebar.hbs +1 -0
- package/app/modules/editor/extensions/views/editorExtensionsEditSidebarView.js +10 -0
- package/app/modules/editor/extensions/views/editorExtensionsEditView.js +85 -0
- package/app/modules/editor/global/collections/editorCollection.js +24 -0
- package/app/modules/editor/global/editorDataLoader.js +91 -0
- package/app/modules/editor/global/helpers.js +99 -0
- package/app/modules/editor/global/less/colorLabels.less +55 -0
- package/app/modules/editor/global/less/editor.less +204 -0
- package/app/modules/editor/global/templates/editor.hbs +1 -0
- package/app/modules/editor/global/templates/editorPasteZone.hbs +4 -0
- package/app/modules/editor/global/templates/partials/part_editorCommon.hbs +70 -0
- package/app/modules/editor/global/templates/partials/part_editorItemSidebar.hbs +40 -0
- package/app/modules/editor/global/templates/partials/part_editorMenu.hbs +4 -0
- package/app/modules/editor/global/templates/partials/part_settingsGeneral.hbs +27 -0
- package/app/modules/editor/global/views/editorOriginView.js +255 -0
- package/app/modules/editor/global/views/editorPasteZoneView.js +69 -0
- package/app/modules/editor/global/views/editorView.js +288 -0
- package/app/modules/editor/index.js +52 -0
- package/app/modules/editor/menuSettings/index.js +27 -0
- package/app/modules/editor/menuSettings/less/menusettings.less +55 -0
- package/app/modules/editor/menuSettings/templates/editorMenuSettingsEdit.hbs +1 -0
- package/app/modules/editor/menuSettings/templates/editorMenuSettingsEditSidebar.hbs +5 -0
- package/app/modules/editor/menuSettings/templates/editorMenuSettingsItem.hbs +4 -0
- package/app/modules/editor/menuSettings/views/editorMenuSettingsEditSidebarView.js +21 -0
- package/app/modules/editor/menuSettings/views/editorMenuSettingsEditView.js +71 -0
- package/app/modules/editor/menuSettings/views/editorMenuSettingsView.js +44 -0
- package/app/modules/editor/themeEditor/collections/editorPresetCollection.js +13 -0
- package/app/modules/editor/themeEditor/index.js +15 -0
- package/app/modules/editor/themeEditor/less/editorPresetEdit.less +78 -0
- package/app/modules/editor/themeEditor/less/editorTheming.less +73 -0
- package/app/modules/editor/themeEditor/models/editorModel.js +62 -0
- package/app/modules/editor/themeEditor/models/editorPresetModel.js +6 -0
- package/app/modules/editor/themeEditor/templates/editorPresetEdit.hbs +31 -0
- package/app/modules/editor/themeEditor/templates/editorTheming.hbs +35 -0
- package/app/modules/editor/themeEditor/templates/editorThemingSidebar.hbs +23 -0
- package/app/modules/editor/themeEditor/views/editorPresetEditView.js +98 -0
- package/app/modules/editor/themeEditor/views/editorThemingSidebarView.js +62 -0
- package/app/modules/editor/themeEditor/views/editorThemingView.js +304 -0
- package/app/modules/frameworkImport/index.js +32 -0
- package/app/modules/frameworkImport/less/frameworkImport.less +101 -0
- package/app/modules/frameworkImport/templates/frameworkImport.hbs +58 -0
- package/app/modules/frameworkImport/templates/frameworkImportSidebar.hbs +12 -0
- package/app/modules/frameworkImport/templates/frameworkImportSummary.hbs +40 -0
- package/app/modules/frameworkImport/templates/partials/part_frameworkImportButton.hbs +3 -0
- package/app/modules/frameworkImport/templates/partials/part_frameworkImportStatusMessages.hbs +22 -0
- package/app/modules/frameworkImport/views/frameworkImportSidebarView.js +31 -0
- package/app/modules/frameworkImport/views/frameworkImportView.js +109 -0
- package/app/modules/globalMenu/index.js +86 -0
- package/app/modules/globalMenu/less/globalMenu.less +117 -0
- package/app/modules/globalMenu/templates/globalMenu.hbs +6 -0
- package/app/modules/globalMenu/templates/globalMenuItem.hbs +10 -0
- package/app/modules/globalMenu/templates/partials/part_globalMenuButton.hbs +7 -0
- package/app/modules/globalMenu/views/globalMenuItemView.js +108 -0
- package/app/modules/globalMenu/views/globalMenuView.js +45 -0
- package/app/modules/limiteduser/index.js +17 -0
- package/app/modules/limiteduser/less/limitedUser.less +29 -0
- package/app/modules/limiteduser/templates/limitedUser.hbs +8 -0
- package/app/modules/limiteduser/views/limitedUserView.js +12 -0
- package/app/modules/modal/index.js +13 -0
- package/app/modules/modal/less/modal.less +61 -0
- package/app/modules/modal/models/modalModel.js +14 -0
- package/app/modules/modal/templates/modal.hbs +34 -0
- package/app/modules/modal/views/modalView.js +102 -0
- package/app/modules/notify/index.js +32 -0
- package/app/modules/notify/plugins/alert/assets/sweetalert.css +932 -0
- package/app/modules/notify/plugins/alert/index.js +117 -0
- package/app/modules/notify/plugins/alert/less/alert.less +74 -0
- package/app/modules/notify/plugins/alert/sweetalert2-11.1.7.all.min.js +2 -0
- package/app/modules/notify/plugins/console/index.js +18 -0
- package/app/modules/notify/plugins/snackbar/index.js +69 -0
- package/app/modules/notify/plugins/snackbar/less/snackbar.less +40 -0
- package/app/modules/notify/plugins/toast/index.js +70 -0
- package/app/modules/notify/plugins/toast/less/toast.less +62 -0
- package/app/modules/pluginManagement/index.js +36 -0
- package/app/modules/pluginManagement/less/pluginManagement.less +23 -0
- package/app/modules/pluginManagement/less/pluginType.less +25 -0
- package/app/modules/pluginManagement/templates/pluginManagement.hbs +43 -0
- package/app/modules/pluginManagement/templates/pluginManagementSidebar.hbs +40 -0
- package/app/modules/pluginManagement/templates/pluginManagementUpload.hbs +12 -0
- package/app/modules/pluginManagement/templates/pluginManagementUploadSidebar.hbs +13 -0
- package/app/modules/pluginManagement/templates/pluginType.hbs +43 -0
- package/app/modules/pluginManagement/views/pluginManagementSidebarView.js +48 -0
- package/app/modules/pluginManagement/views/pluginManagementUploadSidebarView.js +25 -0
- package/app/modules/pluginManagement/views/pluginManagementUploadView.js +52 -0
- package/app/modules/pluginManagement/views/pluginManagementView.js +104 -0
- package/app/modules/pluginManagement/views/pluginTypeView.js +105 -0
- package/app/modules/projects/assets/origami-project.jpg +0 -0
- package/app/modules/projects/index.js +82 -0
- package/app/modules/projects/less/projects.less +152 -0
- package/app/modules/projects/less/qproject.less +143 -0
- package/app/modules/projects/templates/project.hbs +63 -0
- package/app/modules/projects/templates/projects.hbs +6 -0
- package/app/modules/projects/templates/projectsSidebar.hbs +42 -0
- package/app/modules/projects/views/projectView.js +167 -0
- package/app/modules/projects/views/projectsSidebarView.js +172 -0
- package/app/modules/projects/views/projectsView.js +271 -0
- package/app/modules/scaffold/backboneFormsOverrides.js +284 -0
- package/app/modules/scaffold/index.js +342 -0
- package/app/modules/scaffold/lang/en.json +9 -0
- package/app/modules/scaffold/less/codeEditor.less +6 -0
- package/app/modules/scaffold/less/colourPicker.less +141 -0
- package/app/modules/scaffold/less/displayTitle.less +17 -0
- package/app/modules/scaffold/less/forms.less +174 -0
- package/app/modules/scaffold/less/list.less +35 -0
- package/app/modules/scaffold/less/modal.less +45 -0
- package/app/modules/scaffold/less/scaffoldAsset.less +23 -0
- package/app/modules/scaffold/less/scaffoldAssetItem.less +50 -0
- package/app/modules/scaffold/less/selectize.less +29 -0
- package/app/modules/scaffold/less/textArea.less +9 -0
- package/app/modules/scaffold/less/users.less +6 -0
- package/app/modules/scaffold/templates/field.hbs +25 -0
- package/app/modules/scaffold/templates/fieldset.hbs +10 -0
- package/app/modules/scaffold/templates/form.hbs +6 -0
- package/app/modules/scaffold/templates/list.hbs +4 -0
- package/app/modules/scaffold/templates/listItem.hbs +5 -0
- package/app/modules/scaffold/templates/scaffoldAsset.hbs +65 -0
- package/app/modules/scaffold/templates/scaffoldAssetItem.hbs +35 -0
- package/app/modules/scaffold/templates/scaffoldDisplayTitle.hbs +8 -0
- package/app/modules/scaffold/templates/scaffoldEditHtml.hbs +1 -0
- package/app/modules/scaffold/templates/scaffoldFile.hbs +1 -0
- package/app/modules/scaffold/templates/scaffoldItemsModal.hbs +14 -0
- package/app/modules/scaffold/templates/scaffoldModalOverlay.hbs +1 -0
- package/app/modules/scaffold/templates/scaffoldUsersOption.hbs +8 -0
- package/app/modules/scaffold/views/scaffoldAssetItemView.js +203 -0
- package/app/modules/scaffold/views/scaffoldAssetView.js +157 -0
- package/app/modules/scaffold/views/scaffoldCodeEditorView.js +64 -0
- package/app/modules/scaffold/views/scaffoldColourPickerView.js +70 -0
- package/app/modules/scaffold/views/scaffoldDisplayTitleView.js +112 -0
- package/app/modules/scaffold/views/scaffoldFileView.js +18 -0
- package/app/modules/scaffold/views/scaffoldItemsModalView.js +100 -0
- package/app/modules/scaffold/views/scaffoldListView.js +158 -0
- package/app/modules/scaffold/views/scaffoldTagsView.js +71 -0
- package/app/modules/scaffold/views/scaffoldUsersView.js +89 -0
- package/app/modules/sidebar/index.js +22 -0
- package/app/modules/sidebar/less/sidebar.less +298 -0
- package/app/modules/sidebar/less/sidebarFilter.less +91 -0
- package/app/modules/sidebar/templates/sidebar.hbs +7 -0
- package/app/modules/sidebar/templates/sidebarBreadcrumb.hbs +3 -0
- package/app/modules/sidebar/templates/sidebarDivide.hbs +5 -0
- package/app/modules/sidebar/templates/sidebarFieldsetFilter.hbs +6 -0
- package/app/modules/sidebar/templates/sidebarFilter.hbs +30 -0
- package/app/modules/sidebar/templates/sidebarRowFilter.hbs +4 -0
- package/app/modules/sidebar/templates/sidebarUpdateButton.hbs +3 -0
- package/app/modules/sidebar/views/sidebarFieldsetFilterView.js +43 -0
- package/app/modules/sidebar/views/sidebarFilterView.js +132 -0
- package/app/modules/sidebar/views/sidebarItemView.js +172 -0
- package/app/modules/sidebar/views/sidebarView.js +71 -0
- package/app/modules/user/assets/adapt-learning-logo.png +0 -0
- package/app/modules/user/assets/adapt-logo.png +0 -0
- package/app/modules/user/assets/login_bg.jpg +0 -0
- package/app/modules/user/index.js +75 -0
- package/app/modules/user/less/forgotPassword.less +14 -0
- package/app/modules/user/less/login.less +138 -0
- package/app/modules/user/less/logout.less +3 -0
- package/app/modules/user/less/resetPassword.less +7 -0
- package/app/modules/user/less/userProfile.less +49 -0
- package/app/modules/user/models/userProfileModel.js +32 -0
- package/app/modules/user/templates/forgotPassword.hbs +36 -0
- package/app/modules/user/templates/login.hbs +29 -0
- package/app/modules/user/templates/resetPassword.hbs +29 -0
- package/app/modules/user/templates/userProfile.hbs +71 -0
- package/app/modules/user/templates/userProfileSidebar.hbs +16 -0
- package/app/modules/user/views/forgotPasswordView.js +63 -0
- package/app/modules/user/views/loginView.js +93 -0
- package/app/modules/user/views/resetPasswordView.js +78 -0
- package/app/modules/user/views/userProfileSidebarView.js +32 -0
- package/app/modules/user/views/userProfileView.js +107 -0
- package/app/modules/userManagement/collections/userCollection.js +65 -0
- package/app/modules/userManagement/helpers.js +46 -0
- package/app/modules/userManagement/index.js +67 -0
- package/app/modules/userManagement/less/userManagement.less +268 -0
- package/app/modules/userManagement/models/userModel.js +34 -0
- package/app/modules/userManagement/templates/addUser.hbs +35 -0
- package/app/modules/userManagement/templates/addUserSidebar.hbs +9 -0
- package/app/modules/userManagement/templates/user.hbs +126 -0
- package/app/modules/userManagement/templates/userManagement.hbs +49 -0
- package/app/modules/userManagement/templates/userManagementFilter.hbs +19 -0
- package/app/modules/userManagement/templates/userManagementSidebar.hbs +13 -0
- package/app/modules/userManagement/views/addUserSidebarView.js +25 -0
- package/app/modules/userManagement/views/addUserView.js +85 -0
- package/app/modules/userManagement/views/filterView.js +49 -0
- package/app/modules/userManagement/views/userManagementSidebarView.js +33 -0
- package/app/modules/userManagement/views/userManagementView.js +104 -0
- package/app/modules/userManagement/views/userView.js +324 -0
- package/conf/config.schema.json +18 -0
- package/docs/migrating-from-legacy.md +19 -0
- package/docs/plugins/index-ui.md +17 -0
- package/docs/plugins/uidocs.js +54 -0
- package/docs/ui-extensions.md +15 -0
- package/index.js +1 -0
- package/lib/UiBuild.js +391 -0
- package/lib/UiModule.js +158 -0
- package/npm_hooks/postinstall.js +4 -0
- package/package.json +27 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
@import 'colours';
|
|
2
|
+
|
|
3
|
+
html {
|
|
4
|
+
overflow-y: hidden;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
body {
|
|
8
|
+
background-color:@ui-content-color;
|
|
9
|
+
color: @tertiary-color;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
#app {
|
|
13
|
+
margin-top:60px;
|
|
14
|
+
margin-left:250px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.app-inner {
|
|
18
|
+
position:relative;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
span.error {
|
|
22
|
+
color: @alert-color;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Loading overlay styling
|
|
26
|
+
// =======================
|
|
27
|
+
|
|
28
|
+
@loading-icon-size: 8px;
|
|
29
|
+
|
|
30
|
+
.loading {
|
|
31
|
+
width: 100vw;
|
|
32
|
+
height: 100vh;
|
|
33
|
+
position: fixed;
|
|
34
|
+
top: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
z-index: 5;
|
|
37
|
+
text-align: center;
|
|
38
|
+
opacity:1;
|
|
39
|
+
transition: opacity 0.3s;
|
|
40
|
+
background-color: @ui-content-color;
|
|
41
|
+
|
|
42
|
+
&.fade-out {
|
|
43
|
+
opacity: 0;
|
|
44
|
+
}
|
|
45
|
+
&.cover-top-bar {
|
|
46
|
+
position:fixed;
|
|
47
|
+
z-index:50000;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.loading-inner {
|
|
51
|
+
margin-top: 25%;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.loading-logo {
|
|
55
|
+
margin-bottom: @loading-icon-size;
|
|
56
|
+
img {
|
|
57
|
+
height: 50px;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.loading-anim {
|
|
62
|
+
margin: 0 auto 15px auto;
|
|
63
|
+
text-align: center;
|
|
64
|
+
|
|
65
|
+
> div {
|
|
66
|
+
width: @loading-icon-size;
|
|
67
|
+
height: @loading-icon-size;
|
|
68
|
+
background-color: @tertiary-color;
|
|
69
|
+
margin: 0 @loading-icon-size/3 0 @loading-icon-size/3;
|
|
70
|
+
|
|
71
|
+
border-radius: 100%;
|
|
72
|
+
display: inline-block;
|
|
73
|
+
-webkit-animation: sk-bouncedelay 1.8s infinite ease-in-out both;
|
|
74
|
+
animation: sk-bouncedelay 1.8s infinite ease-in-out both;
|
|
75
|
+
}
|
|
76
|
+
.circle1 {
|
|
77
|
+
-webkit-animation-delay: -0.32s;
|
|
78
|
+
animation-delay: -0.32s;
|
|
79
|
+
}
|
|
80
|
+
.circle2 {
|
|
81
|
+
-webkit-animation-delay: -0.16s;
|
|
82
|
+
animation-delay: -0.16s;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@-webkit-keyframes sk-bouncedelay {
|
|
87
|
+
0%, 80%, 100% { -webkit-transform: scale(0) }
|
|
88
|
+
40% { -webkit-transform: scale(1.0) }
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@keyframes sk-bouncedelay {
|
|
92
|
+
0%, 80%, 100% {
|
|
93
|
+
-webkit-transform: scale(0);
|
|
94
|
+
transform: scale(0);
|
|
95
|
+
} 40% {
|
|
96
|
+
-webkit-transform: scale(1.0);
|
|
97
|
+
transform: scale(1.0);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
@import 'colours';
|
|
2
|
+
|
|
3
|
+
button {
|
|
4
|
+
border:none;
|
|
5
|
+
background:none;
|
|
6
|
+
padding:10px 12px;
|
|
7
|
+
&:hover, &:focus {
|
|
8
|
+
outline:none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&.warning-color {
|
|
12
|
+
background:@button-warning-color!important;
|
|
13
|
+
color:@button-warning-text-color!important;
|
|
14
|
+
&:hover {
|
|
15
|
+
background:@button-warning-hover-color!important;
|
|
16
|
+
color:@button-warning-hover-text-color!important;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.alert-color {
|
|
21
|
+
background:@button-alert-color!important;
|
|
22
|
+
color:@button-alert-text-color!important;
|
|
23
|
+
&:hover {
|
|
24
|
+
background:@button-alert-hover-color!important;
|
|
25
|
+
color:@button-alert-hover-text-color!important;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.disabled-color {
|
|
30
|
+
background:@button-disabled-color!important;
|
|
31
|
+
color:@button-disabled-text-color!important;
|
|
32
|
+
&:hover {
|
|
33
|
+
background:@button-disabled-color!important;
|
|
34
|
+
color:@button-disabled-text-color!important;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
&:disabled {
|
|
38
|
+
cursor: auto;
|
|
39
|
+
opacity: 0.5;
|
|
40
|
+
border-color:@button-disabled-color!important;
|
|
41
|
+
background:@button-disabled-color!important;
|
|
42
|
+
color:@button-disabled-text-color!important;
|
|
43
|
+
&:hover {
|
|
44
|
+
background:@button-disabled-color!important;
|
|
45
|
+
color:@button-disabled-text-color!important;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.btn {
|
|
51
|
+
display:inline-block;
|
|
52
|
+
padding:10px 12px;
|
|
53
|
+
background:none;
|
|
54
|
+
border:@button-border;
|
|
55
|
+
border-radius:@button-radius;
|
|
56
|
+
font-weight: @font-weight-bold;
|
|
57
|
+
text-decoration: none;
|
|
58
|
+
transition:all 0.3s;
|
|
59
|
+
|
|
60
|
+
&:hover, &:focus {
|
|
61
|
+
outline:none;
|
|
62
|
+
color:@button-hover-text-color;
|
|
63
|
+
border:@button-hover-border;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.primary {
|
|
68
|
+
background-color:@button-primary-color;
|
|
69
|
+
color:@button-primary-text-color;
|
|
70
|
+
border-color: @button-primary-color;
|
|
71
|
+
i {
|
|
72
|
+
color:@button-primary-text-color;
|
|
73
|
+
&:hover, &:focus {
|
|
74
|
+
color:@button-primary-hover-text-color;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
&:hover, &:focus {
|
|
78
|
+
background-color:@button-primary-hover-color;
|
|
79
|
+
color:@button-primary-hover-text-color;
|
|
80
|
+
border-color:@button-primary-hover-color;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.primary-hollow {
|
|
85
|
+
background-color:@button-transparent;
|
|
86
|
+
color: @button-primary-color;
|
|
87
|
+
border-color:@button-primary-color;
|
|
88
|
+
i {
|
|
89
|
+
color:@button-primary-text-color;
|
|
90
|
+
&:hover, &:focus {
|
|
91
|
+
color:@button-primary-hover-text-color;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
&:hover, &:focus {
|
|
95
|
+
color: @button-primary-text-color;
|
|
96
|
+
background-color: @button-primary-color;
|
|
97
|
+
border-color:@button-primary-color;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.secondary {
|
|
102
|
+
background-color:@button-secondary-color;
|
|
103
|
+
color:@button-secondary-text-color;
|
|
104
|
+
border-color:@button-secondary-color;
|
|
105
|
+
i {
|
|
106
|
+
color:@button-secondary-text-color;
|
|
107
|
+
&:hover, &:focus {
|
|
108
|
+
color:@button-secondary-hover-text-color;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
&:hover, &:focus {
|
|
112
|
+
background-color:@button-secondary-hover-color;
|
|
113
|
+
color:@button-secondary-hover-text-color;
|
|
114
|
+
border-color:@button-secondary-hover-color;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.secondary-hollow {
|
|
119
|
+
background-color:@button-transparent;
|
|
120
|
+
color: @button-secondary-color;
|
|
121
|
+
border-color:@button-secondary-color;
|
|
122
|
+
i {
|
|
123
|
+
color:@button-secondary-text-color;
|
|
124
|
+
&:hover, &:focus {
|
|
125
|
+
color:@button-secondary-hover-text-color;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
&:hover, &:focus {
|
|
129
|
+
color: @button-secondary-text-color;
|
|
130
|
+
background-color: @button-secondary-color;
|
|
131
|
+
border-color:@button-secondary-color;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.tertiary {
|
|
136
|
+
background-color:@button-tertiary-color;
|
|
137
|
+
color:@button-tertiary-text-color;
|
|
138
|
+
border-color:@button-tertiary-color;
|
|
139
|
+
i {
|
|
140
|
+
color:@button-tertiary-text-color;
|
|
141
|
+
&:hover, &:focus {
|
|
142
|
+
color:@button-tertiary-hover-text-color;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
&:hover, &:focus {
|
|
146
|
+
background-color:@button-tertiary-hover-color;
|
|
147
|
+
color:@button-tertiary-hover-text-color;
|
|
148
|
+
border-color:@button-tertiary-hover-color;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.tertiary-hollow {
|
|
153
|
+
background-color:@button-transparent;
|
|
154
|
+
color:@button-tertiary-color;
|
|
155
|
+
border-color:@button-tertiary-color;
|
|
156
|
+
i {
|
|
157
|
+
color:@button-tertiary-text-color;
|
|
158
|
+
&:hover, &:focus {
|
|
159
|
+
color:@button-tertiary-hover-text-color;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
&:hover, &:focus {
|
|
163
|
+
color: @button-tertiary-text-color;
|
|
164
|
+
background-color: @button-tertiary-color;
|
|
165
|
+
border-color:@button-tertiary-color;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.quaternary {
|
|
170
|
+
background-color:@button-quaternary-color;
|
|
171
|
+
color:@button-quaternary-text-color;
|
|
172
|
+
border-color:@button-quaternary-color;
|
|
173
|
+
i {
|
|
174
|
+
color:@button-quaternary-text-color;
|
|
175
|
+
&:hover, &:focus {
|
|
176
|
+
color:@button-quaternary-hover-text-color;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
&:hover, &:focus {
|
|
180
|
+
background-color:@button-quaternary-hover-color;
|
|
181
|
+
color:@button-quaternary-hover-text-color;
|
|
182
|
+
border-color:@button-quaternary-hover-color;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.quaternary-hollow {
|
|
187
|
+
background-color:@button-transparent;
|
|
188
|
+
color:@button-quaternary-color;
|
|
189
|
+
border-color:@button-quaternary-color;
|
|
190
|
+
i {
|
|
191
|
+
color:@button-quaternary-text-color;
|
|
192
|
+
&:hover, &:focus {
|
|
193
|
+
color:@button-quaternary-hover-text-color;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
&:hover, &:focus {
|
|
197
|
+
color:@button-quaternary-text-color;
|
|
198
|
+
background-color:@button-quaternary-color;
|
|
199
|
+
border-color:@button-quaternary-color;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.white-hollow {
|
|
204
|
+
background-color:@button-transparent;
|
|
205
|
+
color:@button-white-hollow-text-color;
|
|
206
|
+
border-color:@button-white-hollow-text-color;
|
|
207
|
+
&:hover, &:focus {
|
|
208
|
+
color:@button-white-hollow-hover-text-color;
|
|
209
|
+
background-color:@button-white-hollow-hover-color;
|
|
210
|
+
border-color:@button-white-hollow-hover-color;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/*
|
|
215
|
+
* Action buttons
|
|
216
|
+
*/
|
|
217
|
+
// Use these attributes to easily configure the sidebar buttons
|
|
218
|
+
&.action-primary {
|
|
219
|
+
.secondary;
|
|
220
|
+
}
|
|
221
|
+
&.action-secondary {
|
|
222
|
+
.primary-hollow;
|
|
223
|
+
}
|
|
224
|
+
&.action-tertiary {
|
|
225
|
+
.primary;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.warning {
|
|
229
|
+
background-color:@button-warning-color;
|
|
230
|
+
color:@button-warning-text-color;
|
|
231
|
+
border-color:@button-warning-color;
|
|
232
|
+
&:hover, &:focus {
|
|
233
|
+
background-color:@button-warning-hover-color;
|
|
234
|
+
color:@button-warning-text-color;
|
|
235
|
+
border-color:@button-warning-hover-color;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.alert {
|
|
240
|
+
background-color:@button-alert-color;
|
|
241
|
+
color:@button-alert-text-color;
|
|
242
|
+
border-color:@button-alert-color;
|
|
243
|
+
&:hover, &:focus {
|
|
244
|
+
background-color:@button-alert-hover-color;
|
|
245
|
+
color:@button-alert-hover-text-color;
|
|
246
|
+
border-color:@button-alert-hover-color;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.btn-social {
|
|
251
|
+
width: 160px;
|
|
252
|
+
position: relative;
|
|
253
|
+
overflow: hidden;
|
|
254
|
+
text-align: left;
|
|
255
|
+
padding-left: 56px;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.btn-social > :first-child {
|
|
259
|
+
position: absolute;
|
|
260
|
+
left: 10px;
|
|
261
|
+
top: 0;
|
|
262
|
+
bottom: 0;
|
|
263
|
+
width: 18px;
|
|
264
|
+
line-height: 34px;
|
|
265
|
+
font-size: 1.6em;
|
|
266
|
+
text-align: center;
|
|
267
|
+
border-right: 1px solid rgba(0,0,0,0.2);
|
|
268
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@colorlabel-1: #616161;
|
|
2
|
+
@colorlabel-2: #BDBDBD;
|
|
3
|
+
@colorlabel-3: #D32F2F;
|
|
4
|
+
@colorlabel-4: #EF9A9A;
|
|
5
|
+
@colorlabel-5: #7B1FA2;
|
|
6
|
+
@colorlabel-6: #CE93D8;
|
|
7
|
+
@colorlabel-7: #1976D2;
|
|
8
|
+
@colorlabel-8: #90CAF9;
|
|
9
|
+
@colorlabel-9: #388E3C;
|
|
10
|
+
@colorlabel-10: #A5D6A7;
|
|
11
|
+
@colorlabel-11: #F57C00;
|
|
12
|
+
@colorlabel-12: #FFCC80;
|
|
13
|
+
@colorlabel-13: #5D4037;
|
|
14
|
+
@colorlabel-14: #BCAAA4;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
// Use this file to change the feel of the interface
|
|
2
|
+
|
|
3
|
+
/*///////////
|
|
4
|
+
// Colors
|
|
5
|
+
/////////*/
|
|
6
|
+
|
|
7
|
+
/*///////////
|
|
8
|
+
// Default adapt variables. (please don't touch!) If you don't like us then comment us out and edit the colors below!
|
|
9
|
+
/////////*/
|
|
10
|
+
@adapt-primary-color:#34bee0; // light blue (used in most places such as buttons)
|
|
11
|
+
@adapt-secondary-color:#00dd95; // green (used as a secondary button)
|
|
12
|
+
@adapt-tertiary-color:#263944; // dark blue (used in sidebar)
|
|
13
|
+
@adapt-quaternary-color:#36cde8; //
|
|
14
|
+
@adapt-white:#fff;
|
|
15
|
+
////////////
|
|
16
|
+
|
|
17
|
+
/*///////////
|
|
18
|
+
// Editable variables
|
|
19
|
+
//
|
|
20
|
+
// Changes you make here will pull through the whole of the Authoring Tool.
|
|
21
|
+
/////////*/
|
|
22
|
+
@primary-color:@adapt-primary-color;
|
|
23
|
+
@secondary-color:@adapt-secondary-color;
|
|
24
|
+
@tertiary-color:@adapt-tertiary-color;
|
|
25
|
+
@quaternary-color:@adapt-quaternary-color;
|
|
26
|
+
@white:@adapt-white;
|
|
27
|
+
///////////
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
@ui-content-header-color:#e0e8f7;
|
|
31
|
+
@ui-content-color:#f3fcfe;
|
|
32
|
+
|
|
33
|
+
@alert-color: #ff5567;
|
|
34
|
+
@warning-color: #ffa08d;
|
|
35
|
+
@info-color: lighten(@primary-color, 10%);
|
|
36
|
+
@success-color: @secondary-color;
|
|
37
|
+
|
|
38
|
+
@disabled-color: #454545;
|
|
39
|
+
|
|
40
|
+
/*///////////
|
|
41
|
+
// Layout colors
|
|
42
|
+
/////////*/
|
|
43
|
+
|
|
44
|
+
@appHeader-text-color: @white;
|
|
45
|
+
@appHeader-hover-text-color: darken(@appHeader-text-color, 2%);
|
|
46
|
+
|
|
47
|
+
@sidebar-title-text-color: @white;
|
|
48
|
+
@sidebar-color: @tertiary-color;
|
|
49
|
+
@sidebar-text-color: @primary-color;
|
|
50
|
+
@sidebar-item-hover-color: lighten(@tertiary-color, 10%);
|
|
51
|
+
@sidebar-item-hover-text-color: @white;
|
|
52
|
+
@sidebar-input-text-color: @white;
|
|
53
|
+
@sidebar-input-placeholder-color: #9fa8ad;
|
|
54
|
+
@sidebar-input-color: #627178;
|
|
55
|
+
@sidebar-input-border-color: lighten(@sidebar-input-color, 10%);
|
|
56
|
+
@sidebar-input-button-color: @sidebar-input-text-color;
|
|
57
|
+
|
|
58
|
+
@contentHeader-title:#000;
|
|
59
|
+
@contentHeader-background-color:@white;
|
|
60
|
+
|
|
61
|
+
@option-color: @primary-color;
|
|
62
|
+
@option-hover-color: darken(@option-color, 10%);
|
|
63
|
+
@option-selected-color: darken(@option-color, 20%);
|
|
64
|
+
|
|
65
|
+
/*///////////
|
|
66
|
+
// Buttons
|
|
67
|
+
/////////*/
|
|
68
|
+
|
|
69
|
+
// Default button
|
|
70
|
+
@button-hover-text-color:#000000;
|
|
71
|
+
@button-hover-color:@white;
|
|
72
|
+
@button-radius: 3px;
|
|
73
|
+
@button-border:1px solid #000000;
|
|
74
|
+
@button-hover-border: 1px solid #000000;
|
|
75
|
+
|
|
76
|
+
@button-transparent:transparent;
|
|
77
|
+
|
|
78
|
+
// Primary button
|
|
79
|
+
@button-primary-color:@primary-color;
|
|
80
|
+
@button-primary-hover-color:darken(@primary-color, 5%);
|
|
81
|
+
|
|
82
|
+
@button-primary-text-color:@white;
|
|
83
|
+
@button-primary-hover-text-color:@white;
|
|
84
|
+
|
|
85
|
+
// Secondary button
|
|
86
|
+
@button-secondary-color:@secondary-color;
|
|
87
|
+
@button-secondary-hover-color:darken(@secondary-color, 3%);
|
|
88
|
+
|
|
89
|
+
@button-secondary-text-color:@white;
|
|
90
|
+
@button-secondary-hover-text-color:@white;
|
|
91
|
+
|
|
92
|
+
// tertiary button
|
|
93
|
+
@button-tertiary-color:@tertiary-color;
|
|
94
|
+
@button-tertiary-hover-color:darken(@tertiary-color, 5%);
|
|
95
|
+
|
|
96
|
+
@button-tertiary-text-color:@white;
|
|
97
|
+
@button-tertiary-hover-text-color:@white;
|
|
98
|
+
|
|
99
|
+
// quaternary button
|
|
100
|
+
@button-quaternary-color:@quaternary-color;
|
|
101
|
+
@button-quaternary-hover-color:darken(@quaternary-color, 5%);
|
|
102
|
+
|
|
103
|
+
@button-quaternary-text-color:@white;
|
|
104
|
+
@button-quaternary-hover-text-color:@white;
|
|
105
|
+
|
|
106
|
+
// white hollow button
|
|
107
|
+
@button-white-hollow-hover-color:@white;
|
|
108
|
+
|
|
109
|
+
@button-white-hollow-text-color:@white;
|
|
110
|
+
@button-white-hollow-hover-text-color:@primary-color;
|
|
111
|
+
|
|
112
|
+
// Warning button
|
|
113
|
+
@button-warning-color:@warning-color;
|
|
114
|
+
@button-warning-hover-color:darken(@button-warning-color, 15%);
|
|
115
|
+
|
|
116
|
+
@button-warning-text-color:@white;
|
|
117
|
+
@button-warning-hover-text-color:@white;
|
|
118
|
+
|
|
119
|
+
// Alert button
|
|
120
|
+
@button-alert-color:@alert-color;
|
|
121
|
+
@button-alert-hover-color:darken(@alert-color, 10%);
|
|
122
|
+
|
|
123
|
+
@button-alert-text-color:@white;
|
|
124
|
+
@button-alert-hover-text-color:@white;
|
|
125
|
+
|
|
126
|
+
// Disabled button
|
|
127
|
+
@button-disabled-color:@disabled-color;
|
|
128
|
+
@button-disabled-text-color:@white;
|
|
129
|
+
|
|
130
|
+
// Tag colors
|
|
131
|
+
@tag-background-color:@button-primary-color;
|
|
132
|
+
@tag-title-color:@white;
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/* Contains styling for columns */
|
|
2
|
+
.col-row {
|
|
3
|
+
zoom: 1;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
&:before, &:after {
|
|
7
|
+
content: "\0020"; display: block; height: 0; overflow: hidden;
|
|
8
|
+
}
|
|
9
|
+
&:after {
|
|
10
|
+
clear: both;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.col-centered {
|
|
14
|
+
text-align:center;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/*Two column layout*/
|
|
18
|
+
.col-1-2 {
|
|
19
|
+
float:left;
|
|
20
|
+
width:0%;
|
|
21
|
+
min-height:1px;
|
|
22
|
+
}
|
|
23
|
+
.col-2-2 {
|
|
24
|
+
float:left;
|
|
25
|
+
width:50%;
|
|
26
|
+
min-height:1px;
|
|
27
|
+
}
|
|
28
|
+
/*Three column layout*/
|
|
29
|
+
.col-1-3 {
|
|
30
|
+
float:left;
|
|
31
|
+
width:0%;
|
|
32
|
+
min-height:1px;
|
|
33
|
+
}
|
|
34
|
+
.col-2-3 {
|
|
35
|
+
float:left;
|
|
36
|
+
width:33.3%;
|
|
37
|
+
min-height:1px;
|
|
38
|
+
}
|
|
39
|
+
.col-3-3 {
|
|
40
|
+
float:left;
|
|
41
|
+
width:66.6%;
|
|
42
|
+
min-height:1px;
|
|
43
|
+
}
|
|
44
|
+
/*Four column layout*/
|
|
45
|
+
.col-1-4,
|
|
46
|
+
.col-2-4,
|
|
47
|
+
.col-3-4,
|
|
48
|
+
.col-4-4 {
|
|
49
|
+
float:left;
|
|
50
|
+
width:25%;
|
|
51
|
+
min-height:1px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/*Five column layout*/
|
|
55
|
+
.col-1-5,
|
|
56
|
+
.col-2-5,
|
|
57
|
+
.col-3-5,
|
|
58
|
+
.col-4-5,
|
|
59
|
+
.col-5-5 {
|
|
60
|
+
float:left;
|
|
61
|
+
width:20%;
|
|
62
|
+
min-height:1px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/*Six column layout*/
|
|
66
|
+
@col-6:16.6%;
|
|
67
|
+
.col-1-6 {
|
|
68
|
+
float:left;
|
|
69
|
+
width:@col-6;
|
|
70
|
+
min-height:1px;
|
|
71
|
+
}
|
|
72
|
+
.col-2-6 {
|
|
73
|
+
float:left;
|
|
74
|
+
width:(@col-6 * 2);
|
|
75
|
+
min-height:1px;
|
|
76
|
+
}
|
|
77
|
+
.col-3-6 {
|
|
78
|
+
float:left;
|
|
79
|
+
width:(@col-6 * 3);
|
|
80
|
+
min-height:1px;
|
|
81
|
+
}
|
|
82
|
+
.col-4-6 {
|
|
83
|
+
float:left;
|
|
84
|
+
width:(@col-6 * 4);
|
|
85
|
+
min-height:1px;
|
|
86
|
+
}
|
|
87
|
+
.col-5-6 {
|
|
88
|
+
float:left;
|
|
89
|
+
width:(@col-6 * 5);
|
|
90
|
+
min-height:1px;
|
|
91
|
+
}
|
|
92
|
+
.col-6-6 {
|
|
93
|
+
float:left;
|
|
94
|
+
width:(@col-6 * 6);
|
|
95
|
+
min-height:1px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/*Adjustable widths*/
|
|
99
|
+
|
|
100
|
+
.col-100 {
|
|
101
|
+
float:left;
|
|
102
|
+
width:100%;
|
|
103
|
+
min-height:1px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.col-90 {
|
|
107
|
+
float:left;
|
|
108
|
+
width:90%;
|
|
109
|
+
min-height:1px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.col-80 {
|
|
113
|
+
float:left;
|
|
114
|
+
width:80%;
|
|
115
|
+
min-height:1px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.col-70 {
|
|
119
|
+
float:left;
|
|
120
|
+
width:70%;
|
|
121
|
+
min-height:1px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.col-60 {
|
|
125
|
+
float:left;
|
|
126
|
+
width:60%;
|
|
127
|
+
min-height:1px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.col-50 {
|
|
131
|
+
float:left;
|
|
132
|
+
width:50%;
|
|
133
|
+
min-height:1px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.col-40 {
|
|
137
|
+
float:left;
|
|
138
|
+
width:40%;
|
|
139
|
+
min-height:1px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.col-30 {
|
|
143
|
+
float:left;
|
|
144
|
+
width:30%;
|
|
145
|
+
min-height:1px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.col-20 {
|
|
149
|
+
float:left;
|
|
150
|
+
width:20%;
|
|
151
|
+
min-height:1px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.col-10 {
|
|
155
|
+
float:left;
|
|
156
|
+
width:10%;
|
|
157
|
+
min-height:1px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.col-25 {
|
|
161
|
+
float:left;
|
|
162
|
+
width:25%;
|
|
163
|
+
min-height:1px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.col-75 {
|
|
167
|
+
float:left;
|
|
168
|
+
width:75%;
|
|
169
|
+
min-height:1px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.col-6th {
|
|
173
|
+
float:left;
|
|
174
|
+
width:@col-6;
|
|
175
|
+
min-height:1px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.col-5 {
|
|
179
|
+
float:left;
|
|
180
|
+
width:5%;
|
|
181
|
+
min-height:1px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.col-15 {
|
|
185
|
+
float:left;
|
|
186
|
+
width:15%;
|
|
187
|
+
min-height:1px;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
}
|