Fixed styles for unsupported browser page

This commit is contained in:
Ilya Daynatovich 2016-09-08 09:35:35 +03:00 committed by damencho
parent fb63ed92a8
commit e28f646cef
4 changed files with 8 additions and 0 deletions

2
.gitignore vendored
View File

@ -6,4 +6,6 @@ node_modules
deploy-local.sh
libs/
all.css
*css.map
unsupported_browser.css
.remote-sync.json

View File

@ -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)

View File

@ -1,3 +1,5 @@
@import 'variables';
body {
width:100%;
height:100%;

View File

@ -58,6 +58,7 @@
"browserify": {
"transform": [
"browserify-shim",
"browserify-css",
[
"babelify",
{