diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..ec44aacbe --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +package-lock.json + +node_modules/ diff --git a/README.md b/README.md index e8e4ea159..63f901dad 100644 --- a/README.md +++ b/README.md @@ -19,4 +19,42 @@ Lista de recursos usados em aula para este projeto | Cloud Functions | https://firebase.google.com/docs/functions/?hl=pt-br | | Cloud Storage | https://firebase.google.com/docs/storage/?authuser=0 | | PDF.js | https://mozilla.github.io/pdf.js/ | -| MediaDevices.getUserMedia() | https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia | \ No newline at end of file +| MediaDevices.getUserMedia() | https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia | + + +### Instalação de Dependências + +Atualização do npm: +```bash +npm install -g npm +``` + +Inicialização do npm: +```bash +npm init +``` + +Webpack 3.1.0 e Webpack Dev Server 2.5.1: +```bash +npm install webpack@3.1.0 --save +npm install webpack-dev-server@2.5.1 --save +npm install firebase --save +npm i firebase@9.0.0-beta.7 +``` + +### Alterando o arquivo package.json + +Adicione as seguintes linhas em "script" no arquivo package.json, logo abaixo de "test": +```js +"build": "webpack --config webpack.config.js", +"start": "webpack-dev-server" +``` + +### Executando + +Rodando no servidor +```bash +npm run start +``` + +Acesse: http://localhost:8080/ diff --git a/css/style.css b/css/style.css index 8f16af928..ca4f37367 100644 --- a/css/style.css +++ b/css/style.css @@ -3356,7 +3356,7 @@ html[dir=rtl] ._3DeDN{ height:100% } html[dir] ._3qlW9{ - background-color:#f7f9fa; + background-color:#052433 /* #f7f9fa */; cursor:default; padding-bottom:28px; padding-top:28px @@ -16136,3 +16136,12 @@ html[dir=rtl] ._2ICcy:after{ #main { display:none; } +._2oKVP{ + display: flex; + justify-content: center; +} +#picture-camera { + height: 100%; + width: auto; + text-align: center; +} \ No newline at end of file diff --git a/index.html b/index.html index a847b69bc..53c70a046 100644 --- a/index.html +++ b/index.html @@ -126,7 +126,7 @@ -