From f2a654bdec9ebb470fd32fe606c931b4c3bfea17 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 27 Sep 2020 19:47:21 +0200 Subject: [PATCH] Reset camera.android.ipcam stylesheet --- .../webpanel/plugins/camera.android.ipcam.css | 2 +- .../webpanel/plugins/camera.android.ipcam | 1 - .../plugins/camera.android.ipcam/index.scss | 39 +++++++++++++++++++ 3 files changed, 40 insertions(+), 2 deletions(-) delete mode 120000 platypush/backend/http/static/css/source/webpanel/plugins/camera.android.ipcam create mode 100644 platypush/backend/http/static/css/source/webpanel/plugins/camera.android.ipcam/index.scss diff --git a/platypush/backend/http/static/css/dist/webpanel/plugins/camera.android.ipcam.css b/platypush/backend/http/static/css/dist/webpanel/plugins/camera.android.ipcam.css index 1b515f923..5037c711c 100644 --- a/platypush/backend/http/static/css/dist/webpanel/plugins/camera.android.ipcam.css +++ b/platypush/backend/http/static/css/dist/webpanel/plugins/camera.android.ipcam.css @@ -1 +1 @@ -.camera{min-height:90%;margin-top:4%;overflow:auto;display:flex;flex-direction:column;align-items:center}.camera .camera-container{position:relative;background:#000;margin-bottom:1em}.camera .camera-container .frame,.camera .camera-container .no-frame{position:absolute;top:0;width:100%;height:100%}.camera .camera-container .frame{z-index:1}.camera .camera-container .no-frame{display:flex;background:rgba(0,0,0,0.1);color:#fff;align-items:center;justify-content:center;z-index:2}.camera .url{width:640px;display:flex;margin:1em}.camera .url .row{width:100%;display:flex;align-items:center}.camera .url .name{width:140px}.camera .url input{width:500px;font-weight:normal}.camera .params{margin-top:1em;padding:1em;width:640px;display:flex;flex-direction:column;border:1px solid #ccc;border-radius:1em}.camera .params label{font-weight:normal}.camera .params .head{display:flex;justify-content:center}.camera .params .head label{width:100%;display:flex;justify-content:right}.camera .params .head label .name{margin-right:1em}.camera .params .body{display:flex;flex-direction:column;margin:0 0 0 -1em}.camera .params .body .row{width:100%;display:flex;align-items:center;padding:.5em}.camera .params .body .row .name{width:30%}.camera .params .body .row input{width:70%}.camera .params .body .row:nth-child(even){background:#e4e4e4}.camera .params .body .row:hover{background:#def6ea} +.camera{min-height:90%;margin-top:4%;overflow:auto;display:flex;flex-direction:column;align-items:center}.camera .camera-container{min-width:640px;min-height:480px;position:relative;background:#000;margin-bottom:1em}.camera .camera-container .frame,.camera .camera-container .no-frame{position:absolute;top:0;width:100%;height:100%}.camera .camera-container .frame{z-index:1}.camera .camera-container .no-frame{display:flex;background:rgba(0,0,0,0.1);color:#fff;align-items:center;justify-content:center;z-index:2} diff --git a/platypush/backend/http/static/css/source/webpanel/plugins/camera.android.ipcam b/platypush/backend/http/static/css/source/webpanel/plugins/camera.android.ipcam deleted file mode 120000 index 5f839334f..000000000 --- a/platypush/backend/http/static/css/source/webpanel/plugins/camera.android.ipcam +++ /dev/null @@ -1 +0,0 @@ -camera \ No newline at end of file diff --git a/platypush/backend/http/static/css/source/webpanel/plugins/camera.android.ipcam/index.scss b/platypush/backend/http/static/css/source/webpanel/plugins/camera.android.ipcam/index.scss new file mode 100644 index 000000000..43387330c --- /dev/null +++ b/platypush/backend/http/static/css/source/webpanel/plugins/camera.android.ipcam/index.scss @@ -0,0 +1,39 @@ +@import 'common/vars'; + +.camera { + min-height: 90%; + margin-top: 4%; + overflow: auto; + display: flex; + flex-direction: column; + align-items: center; + + .camera-container { + min-width: 640px; + min-height: 480px; + position: relative; + background: black; + margin-bottom: 1em; + + .frame, .no-frame { + position: absolute; + top: 0; + width: 100%; + height: 100%; + } + + .frame { + z-index: 1; + } + + .no-frame { + display: flex; + background: rgba(0, 0, 0, 0.1); + color: white; + align-items: center; + justify-content: center; + z-index: 2; + } + } +} +