diff --git a/Resources/Private/Sass/Backend/index.scss b/Resources/Private/Sass/Backend/index.scss new file mode 100644 index 0000000..c2c573d --- /dev/null +++ b/Resources/Private/Sass/Backend/index.scss @@ -0,0 +1,18 @@ +.typo3-login { + .panel, + .panel-footer { + background-color: rgba(0, 0, 0, .5); + } + input { + color: #9CD9F0; + border-color: #9CD9F0; + background-color: #2E3436; + + } + .form-control:focus { + border-color: #77DFD8; + } + a { + color: #fff; + } +} diff --git a/Resources/Private/Sass/_layout.scss b/Resources/Private/Sass/Frontend/_layout.scss similarity index 100% rename from Resources/Private/Sass/_layout.scss rename to Resources/Private/Sass/Frontend/_layout.scss diff --git a/Resources/Private/Sass/_variables.scss b/Resources/Private/Sass/Frontend/_variables.scss similarity index 100% rename from Resources/Private/Sass/_variables.scss rename to Resources/Private/Sass/Frontend/_variables.scss diff --git a/Resources/Private/Sass/components/_admonition.scss b/Resources/Private/Sass/Frontend/components/_admonition.scss similarity index 100% rename from Resources/Private/Sass/components/_admonition.scss rename to Resources/Private/Sass/Frontend/components/_admonition.scss diff --git a/Resources/Private/Sass/components/_ckeditor.scss b/Resources/Private/Sass/Frontend/components/_ckeditor.scss similarity index 100% rename from Resources/Private/Sass/components/_ckeditor.scss rename to Resources/Private/Sass/Frontend/components/_ckeditor.scss diff --git a/Resources/Private/Sass/components/_codeHighlighting.scss b/Resources/Private/Sass/Frontend/components/_codeHighlighting.scss similarity index 100% rename from Resources/Private/Sass/components/_codeHighlighting.scss rename to Resources/Private/Sass/Frontend/components/_codeHighlighting.scss diff --git a/Resources/Private/Sass/components/_feedit.scss b/Resources/Private/Sass/Frontend/components/_feedit.scss similarity index 100% rename from Resources/Private/Sass/components/_feedit.scss rename to Resources/Private/Sass/Frontend/components/_feedit.scss diff --git a/Resources/Private/Sass/index.scss b/Resources/Private/Sass/Frontend/index.scss similarity index 100% rename from Resources/Private/Sass/index.scss rename to Resources/Private/Sass/Frontend/index.scss diff --git a/Resources/Private/Sass/layout/_content.scss b/Resources/Private/Sass/Frontend/layout/_content.scss similarity index 100% rename from Resources/Private/Sass/layout/_content.scss rename to Resources/Private/Sass/Frontend/layout/_content.scss diff --git a/Resources/Private/Sass/layout/_elements.scss b/Resources/Private/Sass/Frontend/layout/_elements.scss similarity index 100% rename from Resources/Private/Sass/layout/_elements.scss rename to Resources/Private/Sass/Frontend/layout/_elements.scss diff --git a/Resources/Private/Sass/layout/_footer.scss b/Resources/Private/Sass/Frontend/layout/_footer.scss similarity index 100% rename from Resources/Private/Sass/layout/_footer.scss rename to Resources/Private/Sass/Frontend/layout/_footer.scss diff --git a/Resources/Private/Sass/layout/_header.scss b/Resources/Private/Sass/Frontend/layout/_header.scss similarity index 100% rename from Resources/Private/Sass/layout/_header.scss rename to Resources/Private/Sass/Frontend/layout/_header.scss diff --git a/Resources/Private/Sass/layout/page/_blogPost.scss b/Resources/Private/Sass/Frontend/layout/page/_blogPost.scss similarity index 100% rename from Resources/Private/Sass/layout/page/_blogPost.scss rename to Resources/Private/Sass/Frontend/layout/page/_blogPost.scss diff --git a/Resources/Public/Backend/Css/index.css b/Resources/Public/Backend/Css/index.css new file mode 100644 index 0000000..13eecef --- /dev/null +++ b/Resources/Public/Backend/Css/index.css @@ -0,0 +1 @@ +.typo3-login .panel,.typo3-login .panel-footer{background-color:rgba(0,0,0,.5)}.typo3-login input{color:#9cd9f0;border-color:#9cd9f0;background-color:#2e3436}.typo3-login .form-control:focus{border-color:#77dfd8}.typo3-login a{color:#fff} \ No newline at end of file diff --git a/Resources/Public/Backend/Logo.svg b/Resources/Public/Backend/Logo.svg new file mode 100644 index 0000000..533f05b --- /dev/null +++ b/Resources/Public/Backend/Logo.svg @@ -0,0 +1 @@ + diff --git a/Resources/Public/Backend/T3LoginBackgrund.png b/Resources/Public/Backend/T3LoginBackgrund.png new file mode 100644 index 0000000..2164205 Binary files /dev/null and b/Resources/Public/Backend/T3LoginBackgrund.png differ diff --git a/ext_tables.php b/ext_tables.php new file mode 100644 index 0000000..48d427b --- /dev/null +++ b/ext_tables.php @@ -0,0 +1,10 @@ + $extensionKey, + 'stylesheetDirectories' => [ + 'css' => 'EXT:' . $extensionKey . '/Resources/Public/Backend/Css/' + ] + ]; +})('ds_site'); diff --git a/gulpfile.js b/gulpfile.js index 0bb28b6..4450db7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -2,10 +2,11 @@ const { src, dest, parallel, watch } = require('gulp'); const sass = require('gulp-sass'); const minifyCSS = require('gulp-csso'); -const sassFolder = 'Resources/Private/Sass/'; +const frontendSassFolder = 'Resources/Private/Sass/Frontend/'; +const backendSassFolder = 'Resources/Private/Sass/Backend/'; -function css() { - return src(sassFolder + 'index.scss') +function frontendCss() { + return src(frontendSassFolder + 'index.scss') .pipe(sass({ includePaths: [ './node_modules/' @@ -14,9 +15,21 @@ function css() { .pipe(minifyCSS()) .pipe(dest('Resources/Public/Css/')) } +function backendCss() { + return src(backendSassFolder + 'index.scss') + .pipe(sass({ + includePaths: [ + './node_modules/' + ] + }).on('error', sass.logError)) + .pipe(minifyCSS()) + .pipe(dest('Resources/Public/Backend/Css/')) +} -exports.css = css; +exports.frontendCss = frontendCss; +exports.backendCss = backendCss; exports.watch = function () { - watch([sassFolder + '**/*.scss'], {ignoreInitial: false}, css); + watch([frontendSassFolder + '**/*.scss'], {ignoreInitial: false}, frontendCss); + watch([backendSassFolder + '**/*.scss'], {ignoreInitial: false}, backendCss); }; -exports.default = parallel(css); +exports.default = parallel(frontendCss, backendCss);