From e28f646cef8f9ffa2ce694954f7d8374e90dccdd Mon Sep 17 00:00:00 2001 From: Ilya Daynatovich Date: Thu, 8 Sep 2016 09:35:35 +0300 Subject: [PATCH] Fixed styles for unsupported browser page --- .gitignore | 2 ++ Makefile | 3 +++ css/{_unsupported_browser.scss => unsupported_browser.scss} | 2 ++ package.json | 1 + 4 files changed, 8 insertions(+) rename css/{_unsupported_browser.scss => unsupported_browser.scss} (98%) diff --git a/.gitignore b/.gitignore index ccffffc3ed..2576c16522 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,6 @@ node_modules deploy-local.sh libs/ all.css +*css.map +unsupported_browser.css .remote-sync.json diff --git a/Makefile b/Makefile index 12e520810b..c53f325e9e 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ UGLIFYJS = ./node_modules/.bin/uglifyjs EXORCIST = ./node_modules/.bin/exorcist CLEANCSS = ./node_modules/.bin/cleancss STYLES_MAIN = css/main.scss +STYLES_UNSUPPORTED_BROWSER = css/unsupported_browser.scss STYLES_BUNDLE = css/all.bundle.css STYLES_DESTINATION = css/all.css DEPLOY_DIR = libs @@ -47,7 +48,9 @@ deploy-lib-jitsi-meet: $(LIBJITSIMEET_DIR)/lib-jitsi-meet.js.map \ $(LIBJITSIMEET_DIR)/connection_optimization/external_connect.js \ $(DEPLOY_DIR) + deploy-css: + $(NODE_SASS) css/unsupported_browser.scss css/unsupported_browser.css ; \ $(NODE_SASS) $(STYLES_MAIN) $(STYLES_BUNDLE) && \ $(CLEANCSS) $(STYLES_BUNDLE) > $(STYLES_DESTINATION) ; \ rm $(STYLES_BUNDLE) diff --git a/css/_unsupported_browser.scss b/css/unsupported_browser.scss similarity index 98% rename from css/_unsupported_browser.scss rename to css/unsupported_browser.scss index e1407b7b0b..b9c2c5cac6 100644 --- a/css/_unsupported_browser.scss +++ b/css/unsupported_browser.scss @@ -1,3 +1,5 @@ +@import 'variables'; + body { width:100%; height:100%; diff --git a/package.json b/package.json index d83b6e3349..7cb18d0b18 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "browserify": { "transform": [ "browserify-shim", + "browserify-css", [ "babelify", {