diff --git a/config/config.yml b/config/config.yml index 63da9f6a..4d85f3fd 100644 --- a/config/config.yml +++ b/config/config.yml @@ -131,6 +131,7 @@ oro_layout: enabled_themes: - default - acme + - new oro_locale: formatting_code: en diff --git a/src/Training/Bundle/NewThemeBundle/DependencyInjection/Configuration.php b/src/Training/Bundle/NewThemeBundle/DependencyInjection/Configuration.php new file mode 100755 index 00000000..3d38ed25 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/DependencyInjection/Configuration.php @@ -0,0 +1,32 @@ +getRootNode(); + + SettingsBuilder::append( + $rootNode, + [ + 'store_phone' => ['value' => '+19012345678'], + 'store_support_email' => ['value' => 'mail@example.com'], + 'store_youtube_channel' => ['value' => 'https://www.youtube.com/'] + ] + ); + + return $treeBuilder; + } +} diff --git a/src/Training/Bundle/NewThemeBundle/DependencyInjection/TrainingNewThemeExtension.php b/src/Training/Bundle/NewThemeBundle/DependencyInjection/TrainingNewThemeExtension.php new file mode 100755 index 00000000..8028687e --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/DependencyInjection/TrainingNewThemeExtension.php @@ -0,0 +1,26 @@ +load('services.yml'); + + $config = $this->processConfiguration($this->getConfiguration($configs, $container), $configs); + $container->prependExtensionConfig($this->getAlias(), SettingsBuilder::getSettings($config)); + } + + public function getAlias(): string + { + return Configuration::ROOT_NODE; + } +} diff --git a/src/Training/Bundle/NewThemeBundle/Migrations/Data/ORM/LoadContentBlocksData.php b/src/Training/Bundle/NewThemeBundle/Migrations/Data/ORM/LoadContentBlocksData.php new file mode 100644 index 00000000..7b9e9f1a --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Migrations/Data/ORM/LoadContentBlocksData.php @@ -0,0 +1,173 @@ +getFirstUser($manager); + + $contentBlockRepository = $manager->getRepository(ContentBlock::class); + $rows = Yaml::parse(file_get_contents($this->getFilePathsFromLocator($this->blocksConfigPath))); + + foreach ($rows as $blockName => $blockData) { + $contentBlock = $contentBlockRepository->findOneBy(['alias' => $blockName]); + if ($contentBlock) { + $this->updateExistingBlock($contentBlock, $blockData, $manager); + continue; + } + + $this->createNewBlock($blockName, $blockData, $manager, $user); + } + + $manager->flush(); + } + + private function updateExistingBlock(ContentBlock $contentBlock, array $blockData, ObjectManager $manager): void + { + $title = $contentBlock->getDefaultTitle(); + $title->setString($blockData['title']); + + $variants = $contentBlock->getContentVariants(); + foreach ($variants as $variant) { + if (!$variant->isDefault()) { + continue; + } + $variant->setContent($blockData['content']); + } + $manager->persist($contentBlock); + } + + private function createNewBlock(string $blockName, array $blockData, ObjectManager $manager, User $user): void + { + $title = new LocalizedFallbackValue(); + $title->setString($blockData['title']); + $manager->persist($title); + + $variant = new TextContentVariant(); + $variant->setDefault(true); + $variant->setContent($blockData['content']); + + $manager->persist($variant); + + $contentBlock = new ContentBlock(); + $contentBlock->setOrganization($user->getOrganization()); + $contentBlock->setOwner($user->getOwner()); + $contentBlock->setAlias($blockName); + $contentBlock->addTitle($title); + $contentBlock->addContentVariant($variant); + $manager->persist($contentBlock); + } + + protected function getFilePathsFromLocator(string $path): array|string + { + $locator = $this->container->get('file_locator'); + return $locator->locate($path); + } + + protected function createImage( + ObjectManager $manager, + User $user, + string $fileRoot, + string $filename, + string $fileExtension + ): AttachmentFile { + $locator = $this->container->get('file_locator'); + + $imagePath = $locator->locate(sprintf('%s/%s.%s', $fileRoot, $filename, $fileExtension)); + if (is_array($imagePath)) { + $imagePath = current($imagePath); + } + + $file = $this->container->get('oro_attachment.file_manager')->createFileEntity($imagePath); + $file->setOwner($user); + $manager->persist($file); + + $imageTitle = new LocalizedFallbackValue(); + $imageTitle->setString($filename); + $manager->persist($imageTitle); + + $digitalAsset = new DigitalAsset(); + $digitalAsset->addTitle($imageTitle) + ->setSourceFile($file) + ->setOwner($user) + ->setOrganization($user->getOrganization()); + $manager->persist($digitalAsset); + + $image = new AttachmentFile(); + $image->setDigitalAsset($digitalAsset); + $manager->persist($image); + $manager->flush(); + + $this->writeDigitalAssets($file, $locator, $fileRoot, $filename, $fileExtension, 'original'); + + return $image; + } + + protected function writeDigitalAssets( + AttachmentFile $file, + FileLocator $locator, + string $fileRoot, + string $filename, + string $fileExtension, + string $filter + ): void { + $storagePath = $this->container->get('oro_attachment.provider.resized_image_path') + ->getPathForFilteredImage($file, $filter); + + $rootPath = $locator->locate($fileRoot); + if (is_array($rootPath)) { + $rootPath = current($rootPath); + } + + $filesystem = new Filesystem(new Local($rootPath, false, 0600)); + + $file = $filesystem->get(sprintf('%s.%s', $filename, $fileExtension)); + + $this->container->get('oro_attachment.manager.protected_mediacache') + ->writeToStorage($file->getContent(), $storagePath); + } +} diff --git a/src/Training/Bundle/NewThemeBundle/Migrations/Data/ORM/data/content_blocks.yml b/src/Training/Bundle/NewThemeBundle/Migrations/Data/ORM/data/content_blocks.yml new file mode 100644 index 00000000..6d13d237 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Migrations/Data/ORM/data/content_blocks.yml @@ -0,0 +1,12 @@ +footer-social: + title: Footer Social + content: > + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/config/oro/app.yml b/src/Training/Bundle/NewThemeBundle/Resources/config/oro/app.yml new file mode 100644 index 00000000..8c5a418e --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/config/oro/app.yml @@ -0,0 +1,11 @@ +oro_theme: + themes: + oro: + logo: bundles/trainingnewtheme/oro/images/logo.svg + icon: bundles/trainingnewtheme/oro/images/favicons/favicon.ico + +oro_layout: + active_theme: new + enabled_themes: + - new + - default diff --git a/src/Training/Bundle/NewThemeBundle/Resources/config/oro/assets.yml b/src/Training/Bundle/NewThemeBundle/Resources/config/oro/assets.yml new file mode 100644 index 00000000..95d10c91 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/config/oro/assets.yml @@ -0,0 +1,4 @@ +css: + inputs: + # Styles + - 'bundles/trainingnewtheme/oro/css/scss/main.scss' diff --git a/src/Training/Bundle/NewThemeBundle/Resources/config/oro/bundles.yml b/src/Training/Bundle/NewThemeBundle/Resources/config/oro/bundles.yml new file mode 100644 index 00000000..79f2dbfc --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/config/oro/bundles.yml @@ -0,0 +1,2 @@ +bundles: + - { name: Training\Bundle\NewThemeBundle\TrainingNewThemeBundle, priority: 1001 } diff --git a/src/Training/Bundle/NewThemeBundle/Resources/config/oro/system_configuration.yml b/src/Training/Bundle/NewThemeBundle/Resources/config/oro/system_configuration.yml new file mode 100644 index 00000000..ce0c1b60 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/config/oro/system_configuration.yml @@ -0,0 +1,49 @@ +system_configuration: + groups: + store_media_settings: + title: training.theme.system_configuration.groups.store_media_settings.title + + fields: + training_new_theme.store_phone: + data_type: string + type: Symfony\Component\Form\Extension\Core\Type\TextType + search_type: text + priority: 100 + options: + label: training.theme.system_configuration.store_media_settings.store_phone.label + required: false + + training_new_theme.store_support_email: + data_type: string + type: Symfony\Component\Form\Extension\Core\Type\TextType + search_type: text + priority: 90 + options: + label: training.theme.system_configuration.store_media_settings.store_email.label + required: false + + training_new_theme.store_youtube_channel: + data_type: string + type: Symfony\Component\Form\Extension\Core\Type\TextType + search_type: text + priority: 90 + options: + label: training.theme.system_configuration.store_media_settings.store_youtube_channel.label + required: false + constraints: + - Url: ~ + + tree: + system_configuration: + commerce: + children: + design: + children: + theme: + children: + store_media_settings: + priority: -200 + children: + - training_new_theme.store_phone + - training_new_theme.store_support_email + - training_new_theme.store_youtube_channel diff --git a/src/Training/Bundle/NewThemeBundle/Resources/config/services.yml b/src/Training/Bundle/NewThemeBundle/Resources/config/services.yml new file mode 100644 index 00000000..3a56ef3e --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/config/services.yml @@ -0,0 +1,6 @@ +services: + new_theme.provider.new_image_placeholder.default: + parent: oro_layout.provider.image_placeholder.default.abstract + public: false + arguments: + - '/bundles/trainingnewtheme/new/images/no_image.svg' diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/fonts/PTSans/PTSans-Bold.woff2 b/src/Training/Bundle/NewThemeBundle/Resources/public/new/fonts/PTSans/PTSans-Bold.woff2 new file mode 100644 index 00000000..e69de29b diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/fonts/PTSans/PTSans-Italic.woff2 b/src/Training/Bundle/NewThemeBundle/Resources/public/new/fonts/PTSans/PTSans-Italic.woff2 new file mode 100644 index 00000000..e69de29b diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/fonts/PTSans/PTSans-Regular.woff2 b/src/Training/Bundle/NewThemeBundle/Resources/public/new/fonts/PTSans/PTSans-Regular.woff2 new file mode 100644 index 00000000..e69de29b diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/facebook.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/facebook.svg new file mode 100644 index 00000000..887ec18d --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/facebook.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/apple-touch-icon.png b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/apple-touch-icon.png new file mode 100644 index 00000000..918586ac Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/apple-touch-icon.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/favicon-96x96.png b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/favicon-96x96.png new file mode 100644 index 00000000..6d2284d5 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/favicon-96x96.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/favicon.ico b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/favicon.ico new file mode 100644 index 00000000..e9b67a70 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/favicon.ico differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/favicon.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/favicon.svg new file mode 100644 index 00000000..074bb077 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/favicon.svg @@ -0,0 +1 @@ +RealFaviconGeneratorhttps://realfavicongenerator.net \ No newline at end of file diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/site.webmanifest b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/site.webmanifest new file mode 100644 index 00000000..ccf313a3 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/site.webmanifest @@ -0,0 +1,21 @@ +{ + "name": "MyWebSite", + "short_name": "MySite", + "icons": [ + { + "src": "/web-app-manifest-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "/web-app-manifest-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} \ No newline at end of file diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/web-app-manifest-192x192.png b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/web-app-manifest-192x192.png new file mode 100644 index 00000000..f036f535 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/web-app-manifest-192x192.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/web-app-manifest-512x512.png b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/web-app-manifest-512x512.png new file mode 100644 index 00000000..a2e61a6f Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/favicons/web-app-manifest-512x512.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/linkedin.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/linkedin.svg new file mode 100644 index 00000000..48f7479b --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/linkedin.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/login.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/login.svg new file mode 100644 index 00000000..f2ec041f --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/login.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/logo-small.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/logo-small.svg new file mode 100644 index 00000000..d292ae5c --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/logo-small.svg @@ -0,0 +1 @@ + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/logo.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/logo.svg new file mode 100644 index 00000000..d292ae5c --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/logo.svg @@ -0,0 +1 @@ + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/no_image.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/no_image.svg new file mode 100644 index 00000000..d292ae5c --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/no_image.svg @@ -0,0 +1 @@ + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/twitter.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/twitter.svg new file mode 100644 index 00000000..17889005 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/twitter.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/youtube.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/youtube.svg new file mode 100644 index 00000000..1ee2d2bb --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/images/youtube.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/components/general.scss b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/components/general.scss new file mode 100644 index 00000000..f17f4e65 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/components/general.scss @@ -0,0 +1,10 @@ +/* @theme: new-theme; */ + + +@include breakpoint('tablet') { + +} + +@include breakpoint('mobile') { + +} diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/components/social-links-footer.scss b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/components/social-links-footer.scss new file mode 100644 index 00000000..23b20abc --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/components/social-links-footer.scss @@ -0,0 +1,12 @@ +/* @theme: new-theme; */ +.social-links { + list-style: none; + color: get-color('text', 'secondary'); + border: 1px solid get-color('alternative', 'main'); + padding: 20px; + margin: 0 8px; + a { + color: get-color('primary', 'main'); + } + +} diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/_colors.scss b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/_colors.scss new file mode 100644 index 00000000..59c5e834 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/_colors.scss @@ -0,0 +1,72 @@ +/* @theme: new-theme; */ + +$custom-color-palette: ( + 'primary': ( + 'main': #006769, + 'hover': #40A578, + 'active': #9DDE8B, + 'disabled': #7d999e, + 'light': #e8fcff + ), + 'alternative': ( + 'main': #c45420, + 'hover': #ad4524, + 'active': #993d20, + 'disabled': #c78465, + 'light': #ffefe8 + ), + 'secondary': ( + 'c1': #DBB5B5, + 'c2': #987070, + 'c3': #6e98dc, + 'c4': #7ea6a4, + 'c5': #197b30, + 'sale': #9c0067 + ), + 'neutral': ( + 'white-100': #fff, + 'white-50': rgb(255 255 255 / .5), + 'white-30': rgb(255 255 255 / .3), + 'white-15': rgb(255 255 255 / .15), + 'grey1': #f0f3f5, + 'grey2': #d4dcdd, + 'grey3': #c3cfcf, + 'dark': #002434, + 'focus': #1a69fe + ), + 'text': ( + 'primary': #5A72A0, + 'secondary': #45606e, + 'disabled': #819299, + 'inverse': #fff, + 'inverse-70': rgb(255 255 255 / .7), + 'link': #1642e4, + 'link-hover': #0d77d6, + 'link-hover-on-dark': #4cb4fe + ), + 'destructive': ( + 'light': #ffebed, + 'light-on-dark': rgb(255 107 107 / .3), + 'base': #de0b07, + 'main': #b50400, + 'main-on-dark': #ff6b6b, + 'dark': #9c0000, + 'disabled': #d17573 + ), + 'success': ( + 'light': #e2fbe9, + 'dark': #005e1f + ), + 'warning': ( + 'light': #fff7d1, + 'base': #f19500, + 'dark': #8f3700 + ), + 'info': ( + 'light': #edf5ff, + 'dark': #143dd4 + ) +) ; + + +$color-palette: map_merge($color-palette, $custom-color-palette); diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/_sizes.scss b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/_sizes.scss new file mode 100644 index 00000000..e2695b23 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/_sizes.scss @@ -0,0 +1,37 @@ +/* @theme: new-theme; */ + +$site-width: 1440px; + +/* @theme: default; */ + + +// @Notice! Named Breakpoints have been chosen due to its names are used in configuration for menu, GrapesJS, Viewport manager, etc. +$breakpoint-desktop: 1366px !default; +$breakpoint-desktop-small: 1280px !default; +$breakpoint-tablet: $breakpoint-desktop-small - 1px !default; +$breakpoint-tablet-small: 992px !default; +$breakpoint-mobile-big: 767px !default; +$breakpoint-mobile-landscape: 640px !default; +// iPhone 15 Pro Max (430 * 932) +$breakpoint-mobile: 430px !default; + +// Spacing System +$base-spacing: 16px !default; + +$spacing-multipliers: ( + xs: .25, + sm: .5, + xmd: .625, + md: .75, + base: 1, + lg: 1.5, + xl: 2, + xxl: 2.5, + xxxl: 3, + huge: 3.5, + massive: 4, + gigantic: 5, + enormous: 5.5, + colossal: 6, + immense: 7.5 +) !default; diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/_typography.scss b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/_typography.scss new file mode 100644 index 00000000..bc5e4b66 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/_typography.scss @@ -0,0 +1,31 @@ +/* @theme: new-theme; */ + +$custom-theme-fonts: ( + 'main': ( + 'family': 'PTSans', + 'variants': ( + ( + 'path': '#{$global-url}/trainingnewtheme/new/fonts/PTSans/PTSans-Regular', + 'weight': 400, + 'style': normal + ), + ( + 'path': '#{$global-url}/trainingnewtheme/new/fonts/PTSans/PTSans-Bold', + 'weight': 700, + 'style': normal + ), + ( + 'path': '#{$global-url}/trainingnewtheme/new/fonts/PTSans/PTSans-Italic', + 'weight': 400, + 'style': italic + ) + ), + 'formats': ('woff2') + ) +); + +$theme-fonts: map_merge($theme-fonts, $custom-theme-fonts); + +$base-font: get-font-name('main'), sans-serif; + + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/bootstrap/variables.scss b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/bootstrap/variables.scss new file mode 100644 index 00000000..29e1b2aa --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/bootstrap/variables.scss @@ -0,0 +1 @@ +/* @theme: new-theme; */ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/global-settings.scss b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/global-settings.scss new file mode 100644 index 00000000..b9a786e6 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/settings/global-settings.scss @@ -0,0 +1,8 @@ +/* @theme: new-theme; */ + +@import 'colors'; +@import 'typography'; +@import 'sizes'; + +// bootstrap variables is using vars from above files. Should be imported after them +@import 'bootstrap/variables'; diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/styles.scss b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/styles.scss new file mode 100644 index 00000000..897006c4 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/scss/styles.scss @@ -0,0 +1,5 @@ +/* @theme: new-theme; */ + +@import 'components/general'; +@import 'components/social-links-footer'; + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/envelope.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/envelope.svg new file mode 100644 index 00000000..f49b1a9a --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/envelope.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/facebook.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/facebook.svg new file mode 100644 index 00000000..ef8f70b4 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/facebook.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/linkedin.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/linkedin.svg new file mode 100644 index 00000000..68eeeec8 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/linkedin.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/phone.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/phone.svg new file mode 100644 index 00000000..e71d781f --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/phone.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/xtwitter.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/xtwitter.svg new file mode 100644 index 00000000..0c0e3cb4 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/xtwitter.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/youtube.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/youtube.svg new file mode 100644 index 00000000..f5765c69 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/new/svg-icons/youtube.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/css/scss/main.scss b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/css/scss/main.scss new file mode 100644 index 00000000..bfdb799b --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/css/scss/main.scss @@ -0,0 +1,4 @@ +.desktop-version a.app-logo { + background: url('#{$global-url}/trainingnewtheme/new/images/logo-small.svg') no-repeat center center; + background-size: 32px; +} diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-144x144.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-144x144.png new file mode 100644 index 00000000..4f1a4aa3 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-144x144.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-192x192.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-192x192.png new file mode 100644 index 00000000..306ed127 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-192x192.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-256x256.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-256x256.png new file mode 100644 index 00000000..d1df0a84 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-256x256.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-36x36.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-36x36.png new file mode 100644 index 00000000..a29e6533 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-36x36.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-384x384.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-384x384.png new file mode 100644 index 00000000..bf26f60f Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-384x384.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-48x48.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-48x48.png new file mode 100644 index 00000000..e1b4af66 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-48x48.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-512x512.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-512x512.png new file mode 100644 index 00000000..9057b8dd Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-512x512.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-72x72.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-72x72.png new file mode 100644 index 00000000..42a333cb Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-72x72.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-96x96.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-96x96.png new file mode 100644 index 00000000..244908ae Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/android-chrome-96x96.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-114x114-precomposed.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-114x114-precomposed.png new file mode 100644 index 00000000..1ee6337d Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-114x114-precomposed.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-114x114.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-114x114.png new file mode 100644 index 00000000..2dbbbcfb Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-114x114.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-120x120-precomposed.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-120x120-precomposed.png new file mode 100644 index 00000000..1fd990a8 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-120x120-precomposed.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-120x120.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-120x120.png new file mode 100644 index 00000000..be9aae6c Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-120x120.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-144x144-precomposed.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-144x144-precomposed.png new file mode 100644 index 00000000..1efdc059 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-144x144-precomposed.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-144x144.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-144x144.png new file mode 100644 index 00000000..16c3a6bd Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-144x144.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-152x152-precomposed.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-152x152-precomposed.png new file mode 100644 index 00000000..010e20af Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-152x152-precomposed.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-152x152.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-152x152.png new file mode 100644 index 00000000..057192d0 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-152x152.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-180x180-precomposed.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-180x180-precomposed.png new file mode 100644 index 00000000..31a46d98 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-180x180-precomposed.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-180x180.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-180x180.png new file mode 100644 index 00000000..9d87391d Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-180x180.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-57x57-precomposed.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-57x57-precomposed.png new file mode 100644 index 00000000..bc0baf93 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-57x57-precomposed.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-57x57.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-57x57.png new file mode 100644 index 00000000..57bd4ae8 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-57x57.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-60x60-precomposed.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-60x60-precomposed.png new file mode 100644 index 00000000..ea270f9a Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-60x60-precomposed.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-60x60.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-60x60.png new file mode 100644 index 00000000..bd890272 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-60x60.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-72x72-precomposed.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-72x72-precomposed.png new file mode 100644 index 00000000..0abd3b98 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-72x72-precomposed.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-72x72.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-72x72.png new file mode 100644 index 00000000..ea0984db Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-72x72.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-76x76-precomposed.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-76x76-precomposed.png new file mode 100644 index 00000000..488a3e79 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-76x76-precomposed.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-76x76.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-76x76.png new file mode 100644 index 00000000..d88ca0c8 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-76x76.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-precomposed.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-precomposed.png new file mode 100644 index 00000000..31a46d98 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon-precomposed.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon.png new file mode 100644 index 00000000..9d87391d Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/apple-touch-icon.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/browserconfig.xml b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/browserconfig.xml new file mode 100644 index 00000000..5811d97a --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/browserconfig.xml @@ -0,0 +1,12 @@ + + + + + + + + + #da532c + + + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/favicon-16x16.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/favicon-16x16.png new file mode 100644 index 00000000..04649cf9 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/favicon-16x16.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/favicon-32x32.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/favicon-32x32.png new file mode 100644 index 00000000..e962c286 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/favicon-32x32.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/favicon.ico b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/favicon.ico new file mode 100644 index 00000000..4a9716dc Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/favicon.ico differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-144x144.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-144x144.png new file mode 100644 index 00000000..dd37b1ae Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-144x144.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-150x150.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-150x150.png new file mode 100644 index 00000000..70447c90 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-150x150.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-310x150.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-310x150.png new file mode 100644 index 00000000..36abc8e6 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-310x150.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-310x310.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-310x310.png new file mode 100644 index 00000000..6a6c8181 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-310x310.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-70x70.png b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-70x70.png new file mode 100644 index 00000000..08dddfc6 Binary files /dev/null and b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/mstile-70x70.png differ diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/safari-pinned-tab.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/safari-pinned-tab.svg new file mode 100644 index 00000000..75f77f6f --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/safari-pinned-tab.svg @@ -0,0 +1,85 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + + + + + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/site.webmanifest b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/site.webmanifest new file mode 100644 index 00000000..6f36a30c --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/favicons/site.webmanifest @@ -0,0 +1,54 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/android-chrome-36x36.png", + "sizes": "36x36", + "type": "image/png" + }, + { + "src": "/android-chrome-48x48.png", + "sizes": "48x48", + "type": "image/png" + }, + { + "src": "/android-chrome-72x72.png", + "sizes": "72x72", + "type": "image/png" + }, + { + "src": "/android-chrome-96x96.png", + "sizes": "96x96", + "type": "image/png" + }, + { + "src": "/android-chrome-144x144.png", + "sizes": "144x144", + "type": "image/png" + }, + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-256x256.png", + "sizes": "256x256", + "type": "image/png" + }, + { + "src": "/android-chrome-384x384.png", + "sizes": "384x384", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/logo-small.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/logo-small.svg new file mode 100644 index 00000000..d292ae5c --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/logo-small.svg @@ -0,0 +1 @@ + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/logo.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/logo.svg new file mode 100644 index 00000000..d292ae5c --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/logo.svg @@ -0,0 +1 @@ + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/no_image.svg b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/no_image.svg new file mode 100644 index 00000000..d292ae5c --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/public/oro/images/no_image.svg @@ -0,0 +1 @@ + diff --git a/src/Training/Bundle/NewThemeBundle/Resources/translations/messages.en.yml b/src/Training/Bundle/NewThemeBundle/Resources/translations/messages.en.yml new file mode 100644 index 00000000..cf7b9468 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/translations/messages.en.yml @@ -0,0 +1,33 @@ +oro_frontend: + logo: + alt: + label: New theme + +oro: + copyright: © {{year}} New Inc. All Rights Reserved. + + logo: + alt: + label: New theme + +training: + theme: + system_configuration: + groups: + store_media_settings: + title: Store Info + + store_media_settings: + store_phone: + label: Store phone + store_email: + label: Store email + store_youtube_channel: + label: Store Youtube Channel + storefront: + store_phone: + label: Store phone + store_email: + label: Store email + store_youtube_channel: + label: Store Youtube Channel diff --git a/src/Training/Bundle/NewThemeBundle/Resources/views/layouts/new/config/assets.yml b/src/Training/Bundle/NewThemeBundle/Resources/views/layouts/new/config/assets.yml new file mode 100644 index 00000000..b8bda63e --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/views/layouts/new/config/assets.yml @@ -0,0 +1,6 @@ +styles: + inputs: + - 'bundles/trainingnewtheme/new/scss/settings/global-settings.scss' + - 'bundles/trainingnewtheme/new/scss/styles.scss' + + output: 'css/styles.css' diff --git a/src/Training/Bundle/NewThemeBundle/Resources/views/layouts/new/page/footer.html.twig b/src/Training/Bundle/NewThemeBundle/Resources/views/layouts/new/page/footer.html.twig new file mode 100644 index 00000000..a056ac5d --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/views/layouts/new/page/footer.html.twig @@ -0,0 +1,47 @@ +{% block _footer_contact_info_box_widget %} + {% set attr = layout_attr_defaults(attr, { + '~class': ' contact-info-holder page-area-container page-footer-container' + }) %} + + {% set website_phone = oro_config_value('training_new_theme.store_phone') %} + {% set website_support_email = oro_config_value('training_new_theme.store_support_email') %} + {% set website_youtube_chanel = oro_config_value('training_new_theme.store_youtube_channel') %} + +
+ {{ block_widget(block) }} + +
+{% endblock %} diff --git a/src/Training/Bundle/NewThemeBundle/Resources/views/layouts/new/page/footer.yml b/src/Training/Bundle/NewThemeBundle/Resources/views/layouts/new/page/footer.yml new file mode 100644 index 00000000..b022ae22 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/views/layouts/new/page/footer.yml @@ -0,0 +1,19 @@ +layout: + actions: + - '@setBlockTheme': + themes: 'footer.html.twig' + + - '@add': + id: footer_social + parentId: page_footer_side + blockType: content_block + options: + alias: footer-social + vars: + hideTitle: true + + - '@add': + id: footer_contact_info_box + parentId: page_footer + prepend: true + blockType: container diff --git a/src/Training/Bundle/NewThemeBundle/Resources/views/layouts/new/theme.yml b/src/Training/Bundle/NewThemeBundle/Resources/views/layouts/new/theme.yml new file mode 100644 index 00000000..a0314111 --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/Resources/views/layouts/new/theme.yml @@ -0,0 +1,997 @@ +parent: default +label: New theme +description: 'New theme for training purposes' +groups: [ commerce ] +icon: bundles/trainingnewtheme/new/images/favicons/favicon.ico +favicons_path: bundles/trainingnewtheme/new/images/favicons/ +logo: bundles/trainingnewtheme/new/images/logo.svg +logo_small: bundles/trainingnewtheme/new/images/logo-small.svg +rtl_support: true + +image_placeholders: + product: '/bundles/trainingnewtheme/new/images/no_image.svg' + category: '/bundles/trainingnewtheme/new/images/no_image.svg' +fonts: + extra: + preload: true + family: 'PTSans' + variants: + - path: '/bundles/trainingnewtheme/new/fonts/PTSans/PTSans-Regular' + weight: 'normal' + style: 'normal' + + - path: '/bundles/trainingnewtheme/new/fonts/PTSans/PTSans-Bold' + weight: '600' + style: 'normal' + + - path: '/bundles/trainingnewtheme/new/fonts/PTSans/PTSans-Italic' + weight: '400' + style: 'italic' + formats: + - 'woff2' +configuration: + sections: + customer_user_dashboard: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.label' + options: + show_dashboard_quick_access_menu: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.show_dashboard_quick_access_menu.label' + type: checkbox + default: checked + options: + tooltip: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.show_dashboard_quick_access_menu.tooltip' + + show_purchase_volume_chart: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.show_purchase_volume_chart.label' + type: checkbox + default: checked + options: + tooltip: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.show_purchase_volume_chart.tooltip' + + content_widget: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.content_widget.label' + type: content_widget_selector + options: + required: false + widgetTypes: + - customer_dashboard_datagrid + + content_widget_2: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.content_widget_2.label' + type: content_widget_selector + options: + required: false + widgetTypes: + - customer_dashboard_datagrid + + content_widget_3: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.content_widget_3.label' + type: content_widget_selector + options: + required: false + widgetTypes: + - customer_dashboard_datagrid + + content_widget_4: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.content_widget_4.label' + type: content_widget_selector + options: + required: false + widgetTypes: + - customer_dashboard_datagrid + + content_widget_5: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.content_widget_5.label' + type: content_widget_selector + options: + required: false + widgetTypes: + - customer_dashboard_datagrid + + content_widget_6: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.content_widget_6.label' + type: content_widget_selector + options: + required: false + widgetTypes: + - customer_dashboard_datagrid + + recommended_products: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.recommended_products.label' + type: content_widget_selector + options: + tooltip: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.content_widget.tooltip' + required: false + widgetTypes: + - product_segment + + recommended_products_2: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.recommended_products_2.label' + type: content_widget_selector + options: + tooltip: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.content_widget.tooltip' + required: false + widgetTypes: + - product_segment + + promotional_content_block: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.promotional_content_block.label' + type: content_block_selector + options: + tooltip: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.content_block.tooltip' + required: false + + promotional_content_block_2: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.promotional_content_block_2.label' + type: content_block_selector + options: + tooltip: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.content_block.tooltip' + required: false + + scorecard_widget: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.scorecard_widget.label' + type: content_widget_selector + options: + required: false + widgetTypes: + - scorecard + + scorecard_widget_2: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.scorecard_widget_2.label' + type: content_widget_selector + options: + required: false + widgetTypes: + - scorecard + + scorecard_widget_3: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.scorecard_widget_3.label' + type: content_widget_selector + options: + required: false + widgetTypes: + - scorecard + + scorecard_widget_4: + label: 'oro.customer.frontend.theme.default.configuration.customer_user_dashboard.scorecard_widget_4.label' + type: content_widget_selector + options: + required: false + widgetTypes: + - scorecard + + header: + label: 'oro_frontend.theme.default.configuration.header.label' + options: + promotional_content: + label: 'oro_frontend.theme.default.configuration.header.promotional_content.label' + type: content_block_selector + options: + required: false + tooltip: 'oro_frontend.theme.default.configuration.header.promotional_content.tooltip' + previews: + promotional-content: 'bundles/orofrontend/images/previews/promotional-content.png' + top_navigation_menu: + label: 'oro_frontend.theme.default.configuration.header.top_navigation_menu.label' + type: menu_selector + previews: + _default: 'bundles/orofrontend/images/previews/top-navigation-menu.png' + options: + required: false + scope_type: 'menu_frontend_visibility' + configs: + allowClear: true + placeholder: 'oro_frontend.theme.default.configuration.header.top_navigation_menu.placeholder' + quick_links: + label: 'oro_frontend.theme.default.configuration.header.quick_links.label' + type: menu_selector + default: commerce_quick_access_refreshing_teal + previews: + _default: 'bundles/orofrontend/images/previews/quick-links.png' + options: + required: false + scope_type: 'menu_frontend_visibility' + configs: + allowClear: true + placeholder: 'oro_frontend.theme.default.configuration.header.quick_links.placeholder' + quick_access_button: + label: 'oro_frontend.theme.default.configuration.header.quick_access_button.label' + type: quick_access_button_config + previews: + _default: 'bundles/orofrontend/images/previews/quick-access-button.png' + options: + required: false + language_and_currency_switchers: + label: 'oro_frontend.theme.default.configuration.header.language_and_currency_switchers.label' + type: select + default: always_in_hamburger_menu + values: + above_header: 'oro_frontend.theme.default.configuration.header.language_and_currency_switchers.choices.above_the_header' + always_in_hamburger_menu: 'oro_frontend.theme.default.configuration.header.language_and_currency_switchers.choices.hamburger' + previews: + above_header: 'bundles/orofrontend/images/previews/lang-crnc-switchers-header.png' + always_in_hamburger_menu: 'bundles/orofrontend/images/previews/lang-crnc-switchers-hamburger.png' + standalone_main_menu: + label: 'oro_frontend.theme.default.configuration.header.standalone_main_menu.label' + type: checkbox + default: unchecked + previews: + unchecked: 'bundles/orofrontend/images/previews/menu-hamburger.png' + checked: 'bundles/orofrontend/images/previews/menu-standalone.png' + search_on_smaller_screens: + label: 'oro_frontend.theme.default.configuration.header.search_on_smaller_screens.label' + type: select + default: integrated + values: + integrated: 'oro_frontend.theme.default.configuration.header.search_on_smaller_screens.choices.integrated' + standalone: 'oro_frontend.theme.default.configuration.header.search_on_smaller_screens.choices.standalone' + previews: + _default: 'bundles/orofrontend/images/previews/search-smaller-screens.png' + datagrid: + label: oro_frontend.theme.default.configuration.datagrid.label + options: + pagination_threshold: + label: oro_frontend.theme.default.configuration.datagrid.pagination_threshold.label + type: integer + default: 100 + previews: + _default: 'bundles/orofrontend/images/previews/default_pagination_with_input_field.png' + product_listing: + label: 'oro.product.theme.default.configuration.product_listing.label' + options: + filters_position: + label: 'oro.product.theme.default.configuration.product_listing.filters_position.label' + type: radio + default: top + values: + top: 'oro.product.theme.default.configuration.product_listing.filters_position.values.top' + sidebar: 'oro.product.theme.default.configuration.product_listing.filters_position.values.sidebar' + overlay: 'oro.product.theme.default.configuration.product_listing.filters_position.values.overlay' + previews: + top: 'bundles/oroproduct/images/previews/filter-panel-top.png' + sidebar: 'bundles/oroproduct/images/previews/filter-panel-sidebar.png' + overlay: 'bundles/oroproduct/images/previews/filter-panel-overlay.png' + + shopping_list: + label: 'oro.frontend.shoppinglist.configuration.shopping_list.label' + options: + quantity_inputs: + label: 'oro.frontend.shoppinglist.configuration.shopping_list.quantity_inputs.label' + type: select + default: with_stepper_buttons + values: + with_stepper_buttons: 'oro.frontend.shoppinglist.configuration.shopping_list.quantity_inputs.values.with_stepper_buttons' + plain: 'oro.frontend.shoppinglist.configuration.shopping_list.quantity_inputs.values.plain' + previews: + _default: 'bundles/oroshoppinglist/images/previews/quantity-inputs.png' + contact_us: + label: 'oro.contact_us_bridge.frontend.theme.default.configuration.contact_us.label' + options: + contact_us_form: + label: 'oro.contact_us_bridge.frontend.theme.default.configuration.contact_us.contact_us_form.label' + type: content_widget_selector + options: + tooltip: 'oro.contact_us_bridge.frontend.theme.default.configuration.contact_us.contact_us_form.tooltip' + widgetTypes: + - contact_us_form + + page_styles: + label: 'oro_frontend.theme.default.configuration.page_styles.label' + options: + base_font_size: + label: 'oro_frontend.theme.default.configuration.page_styles.base_font_size.label' + type: css_font_size + base_line_height: + label: 'oro_frontend.theme.default.configuration.page_styles.base_line_height.label' + type: css_line_height + body_background_color: + label: 'oro_frontend.theme.default.configuration.page_styles.body_background_color.label' + type: css_color + body_color: + label: 'oro_frontend.theme.default.configuration.page_styles.body_color.label' + type: css_color + footer_background: + label: 'oro_frontend.theme.default.configuration.page_styles.footer_background.label' + type: css_background + page_header_background_color: + label: 'oro_frontend.theme.default.configuration.page_styles.page_header_background_color.label' + type: css_color + product_details: + label: 'oro.product.theme.default.configuration.product_details.label' + options: + template: + label: 'oro.product.theme.default.configuration.product_details.template.label' + type: product_page_template + values: + tabs: 'oro.product.theme.default.configuration.product_details.template.values.tabs' + wide: 'oro.product.theme.default.configuration.product_details.template.values.wide' + previews: + _default: 'bundles/oroproduct/images/previews/page-templates-default.png' + tabs: 'bundles/oroproduct/images/previews/page-templates-tabs.png' + wide: 'bundles/oroproduct/images/previews/page-templates-wide.png' + display_price_tiers_as: + label: 'oro.product.theme.default.configuration.product_details.display_price_tiers_as.label' + type: select + default: multi-unit-table + options: + required: true + tooltip: 'oro.product.theme.default.configuration.product_details.display_price_tiers_as.tooltip' + values: + multi-unit-table: oro.product.theme.default.configuration.product_details.display_price_tiers_as.choice.multi-unit-table.label + single-unit-table: oro.product.theme.default.configuration.product_details.display_price_tiers_as.choice.single-unit-table.label + previews: + multi-unit-table: 'bundles/oroproduct/images/previews/price-tiers-multi-unit.png' + single-unit-table: 'bundles/oroproduct/images/previews/price-tiers-single-unit.png' + image_zoom_type: + label: 'oro.product.theme.default.configuration.product_details.image_zoom_type.label' + type: select + default: window + options: + tooltip: 'oro.product.theme.default.configuration.product_details.image_zoom_type.tooltip' + values: + window: oro.product.theme.default.configuration.product_details.image_zoom_type.choice.window.label + inner: oro.product.theme.default.configuration.product_details.image_zoom_type.choice.inner.label + lens: oro.product.theme.default.configuration.product_details.image_zoom_type.choice.lens.label + disabled: oro.product.theme.default.configuration.product_details.image_zoom_type.choice.lens.disabled + image_zoom_tint: + label: 'oro.product.theme.default.configuration.product_details.image_zoom_tint.label' + type: checkbox + default: unchecked + options: + tooltip: 'oro.product.theme.default.configuration.product_details.image_zoom_tint.tooltip' + image_zoom_scroll: + label: 'oro.product.theme.default.configuration.product_details.image_zoom_scroll.label' + type: checkbox + default: checked + options: + tooltip: 'oro.product.theme.default.configuration.product_details.image_zoom_scroll.tooltip' + + images_display_mode: + label: 'oro.product.theme.default.configuration.product_details.display_image_group_position.label' + type: select + default: horizontal + values: + horizontal: oro.product.theme.default.configuration.product_details.display_image_group_position.choice.horizontal + vertical: oro.product.theme.default.configuration.product_details.display_image_group_position.choice.vertical + previews: + horizontal: 'bundles/oroproduct/images/previews/images-display-mode-horizontal.png' + vertical: 'bundles/oroproduct/images/previews/images-display-mode-vertical.png' + + + color_palette: + label: 'oro_frontend.theme.default.configuration.color_palette.label' + options: + primary_main: + label: 'oro_frontend.theme.default.configuration.color_palette.primary_main.label' + type: css_color + primary_hover: + label: 'oro_frontend.theme.default.configuration.color_palette.primary_hover.label' + type: css_color + primary_active: + label: 'oro_frontend.theme.default.configuration.color_palette.primary_active.label' + type: css_color + primary_disabled: + label: 'oro_frontend.theme.default.configuration.color_palette.primary_disabled.label' + type: css_color + primary_light: + label: 'oro_frontend.theme.default.configuration.color_palette.primary_light.label' + type: css_color + alternative_main: + label: 'oro_frontend.theme.default.configuration.color_palette.alternative_main.label' + type: css_color + alternative_hover: + label: 'oro_frontend.theme.default.configuration.color_palette.alternative_hover.label' + type: css_color + alternative_active: + label: 'oro_frontend.theme.default.configuration.color_palette.alternative_active.label' + type: css_color + alternative_disabled: + label: 'oro_frontend.theme.default.configuration.color_palette.alternative_disabled.label' + type: css_color + alternative_light: + label: 'oro_frontend.theme.default.configuration.color_palette.alternative_light.label' + type: css_color + secondary_c1: + label: 'oro_frontend.theme.default.configuration.color_palette.secondary_c1.label' + type: css_color + secondary_c2: + label: 'oro_frontend.theme.default.configuration.color_palette.secondary_c2.label' + type: css_color + secondary_c3: + label: 'oro_frontend.theme.default.configuration.color_palette.secondary_c3.label' + type: css_color + secondary_c4: + label: 'oro_frontend.theme.default.configuration.color_palette.secondary_c4.label' + type: css_color + secondary_c5: + label: 'oro_frontend.theme.default.configuration.color_palette.secondary_c5.label' + type: css_color + secondary_sale: + label: 'oro_frontend.theme.default.configuration.color_palette.secondary_sale.label' + type: css_color + neutral_white_100: + label: 'oro_frontend.theme.default.configuration.color_palette.neutral_white_100.label' + type: css_color + neutral_white_50: + label: 'oro_frontend.theme.default.configuration.color_palette.neutral_white_50.label' + type: css_color + neutral_white_30: + label: 'oro_frontend.theme.default.configuration.color_palette.neutral_white_30.label' + type: css_color + neutral_white_15: + label: 'oro_frontend.theme.default.configuration.color_palette.neutral_white_15.label' + type: css_color + neutral_grey1: + label: 'oro_frontend.theme.default.configuration.color_palette.neutral_grey1.label' + type: css_color + neutral_grey2: + label: 'oro_frontend.theme.default.configuration.color_palette.neutral_grey2.label' + type: css_color + neutral_grey3: + label: 'oro_frontend.theme.default.configuration.color_palette.neutral_grey3.label' + type: css_color + neutral_dark: + label: 'oro_frontend.theme.default.configuration.color_palette.neutral_dark.label' + type: css_color + neutral_focus: + label: 'oro_frontend.theme.default.configuration.color_palette.neutral_focus.label' + type: css_color + text_primary: + label: 'oro_frontend.theme.default.configuration.color_palette.text_primary.label' + type: css_color + text_secondary: + label: 'oro_frontend.theme.default.configuration.color_palette.text_secondary.label' + type: css_color + text_disabled: + label: 'oro_frontend.theme.default.configuration.color_palette.text_disabled.label' + type: css_color + text_inverse: + label: 'oro_frontend.theme.default.configuration.color_palette.text_inverse.label' + type: css_color + text_inverse_70: + label: 'oro_frontend.theme.default.configuration.color_palette.text_inverse_70.label' + type: css_color + text_link: + label: 'oro_frontend.theme.default.configuration.color_palette.text_link.label' + type: css_color + text_link_hover: + label: 'oro_frontend.theme.default.configuration.color_palette.text_link_hover.label' + type: css_color + text_link_hover_on_dark: + label: 'oro_frontend.theme.default.configuration.color_palette.text_link_hover_on_dark.label' + type: css_color + destructive_light: + label: 'oro_frontend.theme.default.configuration.color_palette.destructive_light.label' + type: css_color + destructive_light_on_dark: + label: 'oro_frontend.theme.default.configuration.color_palette.destructive_light_on_dark.label' + type: css_color + destructive_base: + label: 'oro_frontend.theme.default.configuration.color_palette.destructive_base.label' + type: css_color + destructive_main: + label: 'oro_frontend.theme.default.configuration.color_palette.destructive_main.label' + type: css_color + destructive_main_on_dark: + label: 'oro_frontend.theme.default.configuration.color_palette.destructive_main_on_dark.label' + type: css_color + destructive_dark: + label: 'oro_frontend.theme.default.configuration.color_palette.destructive_dark.label' + type: css_color + destructive_disabled: + label: 'oro_frontend.theme.default.configuration.color_palette.destructive_disabled.label' + type: css_color + success_light: + label: 'oro_frontend.theme.default.configuration.color_palette.success_light.label' + type: css_color + success_dark: + label: 'oro_frontend.theme.default.configuration.color_palette.success_dark.label' + type: css_color + warning_light: + label: 'oro_frontend.theme.default.configuration.color_palette.warning_light.label' + type: css_color + warning_base: + label: 'oro_frontend.theme.default.configuration.color_palette.warning_base.label' + type: css_color + warning_dark: + label: 'oro_frontend.theme.default.configuration.color_palette.warning_dark.label' + type: css_color + info_light: + label: 'oro_frontend.theme.default.configuration.color_palette.info_light.label' + type: css_color + info_dark: + label: 'oro_frontend.theme.default.configuration.color_palette.info_dark.label' + type: css_color + + button_styles: + label: 'oro_frontend.theme.default.configuration.button_styles.label' + options: + btn_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_background.label' + type: css_background + btn_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_color.label' + type: css_color + btn_font_size: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_font_size.label' + type: css_font_size + btn_line_height: + type: css_line_height + label: 'oro_frontend.theme.default.configuration.button_styles.btn_line_height.label' + btn_min_height: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_min_height.label' + type: css_min_height + btn_padding: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_padding.label' + type: css_padding + btn_gap: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_gap.label' + type: css_gap + btn_border_width: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_border_width.label' + type: css_length + btn_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_border_color.label' + type: css_color + btn_border_radius: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_border_radius.label' + type: css_border_radius + btn_hover_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_hover_background.label' + type: css_background + btn_hover_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_hover_border_color.label' + type: css_color + btn_hover_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_hover_color.label' + type: css_color + btn_focus_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_focus_background.label' + type: css_background + btn_focus_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_focus_border_color.label' + type: css_color + btn_focus_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_focus_color.label' + type: css_color + btn_active_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_active_background.label' + type: css_background + btn_active_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_active_border_color.label' + type: css_color + btn_active_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_active_color.label' + type: css_color + btn_disabled_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_disabled_background.label' + type: css_background + btn_disabled_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_disabled_border_color.label' + type: css_color + btn_disabled_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_disabled_color.label' + type: css_color + btn_outlined_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_background.label' + type: css_background + btn_outlined_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_border_color.label' + type: css_color + btn_outlined_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_color.label' + type: css_color + btn_outlined_hover_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_hover_background.label' + type: css_background + btn_outlined_hover_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_hover_border_color.label' + type: css_color + btn_outlined_hover_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_hover_color.label' + type: css_color + btn_outlined_focus_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_focus_background.label' + type: css_background + btn_outlined_focus_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_focus_border_color.label' + type: css_color + btn_outlined_focus_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_focus_color.label' + type: css_color + btn_outlined_active_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_active_background.label' + type: css_background + btn_outlined_active_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_active_border_color.label' + type: css_color + btn_outlined_active_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_active_color.label' + type: css_color + btn_outlined_disabled_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_disabled_background.label' + type: css_background + btn_outlined_disabled_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_disabled_border_color.label' + type: css_color + btn_outlined_disabled_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_disabled_color.label' + type: css_color + btn_destructive_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_background.label' + type: css_background + btn_destructive_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_border_color.label' + type: css_color + btn_destructive_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_color.label' + type: css_color + btn_destructive_hover_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_hover_background.label' + type: css_background + btn_destructive_hover_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_hover_border_color.label' + type: css_color + btn_destructive_hover_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_hover_color.label' + type: css_color + btn_destructive_focus_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_focus_background.label' + type: css_background + btn_destructive_focus_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_focus_border_color.label' + type: css_color + btn_destructive_focus_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_focus_color.label' + type: css_color + btn_destructive_active_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_active_background.label' + type: css_background + btn_destructive_active_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_active_border_color.label' + type: css_color + btn_destructive_active_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_active_color.label' + type: css_color + btn_destructive_disabled_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_disabled_background.label' + type: css_background + btn_destructive_disabled_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_disabled_border_color.label' + type: css_color + btn_destructive_disabled_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_disabled_color.label' + type: css_color + btn_destructive_outlined_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_background.label' + type: css_background + btn_destructive_outlined_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_border_color.label' + type: css_color + btn_destructive_outlined_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_color.label' + type: css_color + btn_destructive_outlined_hover_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_hover_background.label' + type: css_background + btn_destructive_outlined_hover_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_hover_border_color.label' + type: css_color + btn_destructive_outlined_hover_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_hover_color.label' + type: css_color + btn_destructive_outlined_focus_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_focus_background.label' + type: css_background + btn_destructive_outlined_focus_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_focus_border_color.label' + type: css_color + btn_destructive_outlined_focus_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_focus_color.label' + type: css_color + btn_destructive_outlined_active_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_active_background.label' + type: css_background + btn_destructive_outlined_active_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_active_border_color.label' + type: css_color + btn_destructive_outlined_active_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_active_color.label' + type: css_color + btn_destructive_outlined_disabled_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_disabled_background.label' + type: css_background + btn_destructive_outlined_disabled_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_disabled_border_color.label' + type: css_color + btn_destructive_outlined_disabled_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_destructive_outlined_disabled_color.label' + type: css_color + btn_plain_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_plain_background.label' + type: css_background + btn_plain_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_plain_border_color.label' + type: css_color + btn_plain_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_plain_color.label' + type: css_color + btn_plain_hover_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_plain_hover_background.label' + type: css_background + btn_plain_hover_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_plain_hover_border_color.label' + type: css_color + btn_plain_hover_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_plain_hover_color.label' + type: css_color + btn_plain_focus_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_plain_focus_background.label' + type: css_background + btn_plain_focus_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_plain_focus_border_color.label' + type: css_color + btn_plain_focus_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_plain_focus_color.label' + type: css_color + btn_plain_active_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_plain_active_background.label' + type: css_background + btn_plain_active_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_plain_active_border_color.label' + type: css_color + btn_plain_active_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_plain_active_color.label' + type: css_color + btn_neutral_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_background.label' + type: css_background + btn_neutral_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_border_color.label' + type: css_color + btn_neutral_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_color.label' + type: css_color + btn_neutral_hover_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_hover_background.label' + type: css_background + btn_neutral_hover_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_hover_border_color.label' + type: css_color + btn_neutral_hover_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_hover_color.label' + type: css_color + btn_neutral_focus_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_focus_background.label' + type: css_background + btn_neutral_focus_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_focus_border_color.label' + type: css_color + btn_neutral_focus_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_focus_color.label' + type: css_color + btn_neutral_active_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_active_background.label' + type: css_background + btn_neutral_active_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_active_border_color.label' + type: css_color + btn_neutral_active_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_active_color.label' + type: css_color + btn_neutral_dark_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_background.label' + type: css_background + btn_neutral_dark_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_border_color.label' + type: css_color + btn_neutral_dark_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_color.label' + type: css_color + btn_neutral_dark_hover_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_hover_background.label' + type: css_background + btn_neutral_dark_hover_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_hover_border_color.label' + type: css_color + btn_neutral_dark_hover_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_hover_color.label' + type: css_color + btn_neutral_dark_focus_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_focus_background.label' + type: css_background + btn_neutral_dark_focus_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_focus_border_color.label' + type: css_color + btn_neutral_dark_focus_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_focus_color.label' + type: css_color + btn_neutral_dark_focus_outline: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_focus_outline.label' + type: css_outline + btn_neutral_dark_focus_outline_offset: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_focus_outline_offset.label' + type: css_length + btn_neutral_dark_focus_box_shadow: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_focus_box_shadow.label' + type: css_box_shadow + btn_neutral_dark_active_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_active_background.label' + type: css_background + btn_neutral_dark_active_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_active_border_color.label' + type: css_color + btn_neutral_dark_active_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_active_color.label' + type: css_color + btn_neutral_dark_disabled_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_disabled_background.label' + type: css_background + btn_neutral_dark_disabled_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_disabled_border_color.label' + type: css_color + btn_neutral_dark_disabled_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_neutral_dark_disabled_color.label' + type: css_color + btn_colored_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_background.label' + type: css_background + btn_colored_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_border_color.label' + type: css_color + btn_colored_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_color.label' + type: css_color + btn_colored_hover_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_hover_background.label' + type: css_background + btn_colored_hover_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_hover_border_color.label' + type: css_color + btn_colored_hover_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_hover_color.label' + type: css_color + btn_colored_focus_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_focus_background.label' + type: css_background + btn_colored_focus_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_focus_border_color.label' + type: css_color + btn_colored_focus_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_focus_color.label' + type: css_color + btn_colored_active_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_active_background.label' + type: css_background + btn_colored_active_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_active_border_color.label' + type: css_color + btn_colored_active_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_active_color.label' + type: css_color + btn_inverse_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_background.label' + type: css_background + btn_inverse_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_border_color.label' + type: css_color + btn_inverse_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_color.label' + type: css_color + btn_inverse_hover_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_hover_background.label' + type: css_background + btn_inverse_hover_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_hover_border_color.label' + type: css_color + btn_inverse_hover_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_hover_color.label' + type: css_color + btn_inverse_focus_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_focus_background.label' + type: css_background + btn_inverse_focus_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_focus_border_color.label' + type: css_color + btn_inverse_focus_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_focus_color.label' + type: css_color + btn_inverse_active_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_active_background.label' + type: css_background + btn_inverse_active_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_active_border_color.label' + type: css_color + btn_inverse_active_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_active_color.label' + type: css_color + btn_inverse_disabled_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_disabled_background.label' + type: css_background + btn_inverse_disabled_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_disabled_border_color.label' + type: css_color + btn_inverse_disabled_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_inverse_disabled_color.label' + type: css_color + btn_outlined_inverse_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_background.label' + type: css_background + btn_outlined_inverse_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_border_color.label' + type: css_color + btn_outlined_inverse_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_color.label' + type: css_color + btn_outlined_inverse_hover_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_hover_background.label' + type: css_background + btn_outlined_inverse_hover_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_hover_border_color.label' + type: css_color + btn_outlined_inverse_hover_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_hover_color.label' + type: css_color + btn_outlined_inverse_focus_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_focus_background.label' + type: css_background + btn_outlined_inverse_focus_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_focus_border_color.label' + type: css_color + btn_outlined_inverse_focus_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_focus_color.label' + type: css_color + btn_outlined_inverse_active_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_active_background.label' + type: css_background + btn_outlined_inverse_active_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_active_border_color.label' + type: css_color + btn_outlined_inverse_active_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_active_color.label' + type: css_color + btn_outlined_inverse_disabled_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_disabled_background.label' + type: css_background + btn_outlined_inverse_disabled_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_disabled_border_color.label' + type: css_color + btn_outlined_inverse_disabled_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_outlined_inverse_disabled_color.label' + type: css_color + btn_colored_inverse_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_inverse_background.label' + type: css_background + btn_colored_inverse_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_inverse_border_color.label' + type: css_color + btn_colored_inverse_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_inverse_color.label' + type: css_color + btn_colored_inverse_hover_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_inverse_hover_background.label' + type: css_background + btn_colored_inverse_hover_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_inverse_hover_border_color.label' + type: css_color + btn_colored_inverse_hover_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_inverse_hover_color.label' + type: css_color + btn_colored_inverse_focus_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_inverse_focus_background.label' + type: css_background + btn_colored_inverse_focus_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_inverse_focus_border_color.label' + type: css_color + btn_colored_inverse_focus_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_inverse_focus_color.label' + type: css_color + btn_colored_inverse_active_background: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_inverse_active_background.label' + type: css_background + btn_colored_inverse_active_border_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_inverse_active_border_color.label' + type: css_color + btn_colored_inverse_active_color: + label: 'oro_frontend.theme.default.configuration.button_styles.btn_colored_inverse_active_color.label' + type: css_color diff --git a/src/Training/Bundle/NewThemeBundle/TrainingNewThemeBundle.php b/src/Training/Bundle/NewThemeBundle/TrainingNewThemeBundle.php new file mode 100644 index 00000000..f4db35cc --- /dev/null +++ b/src/Training/Bundle/NewThemeBundle/TrainingNewThemeBundle.php @@ -0,0 +1,9 @@ +