From: Calin Crisan Date: Sat, 5 Oct 2013 11:13:03 +0000 (+0300) Subject: bye bye png X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=15819e375d486939fdcffc26134b50185fef7f3a;p=motioneye-debian bye bye png --- diff --git a/artwork/combo-box-arrow.svg b/artwork/combo-box-arrow.svg deleted file mode 100644 index 5f57b93..0000000 --- a/artwork/combo-box-arrow.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/artwork/motioneye.svg b/artwork/motioneye.svg deleted file mode 100644 index 9f66e92..0000000 --- a/artwork/motioneye.svg +++ /dev/null @@ -1,3976 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - SCOPIAN - - - - - - - - - - - - - - diff --git a/artwork/settings.svg b/artwork/settings.svg deleted file mode 100644 index 683f538..0000000 --- a/artwork/settings.svg +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/artwork/slider-arrow.svg b/artwork/slider-arrow.svg deleted file mode 100644 index 543e0e9..0000000 --- a/artwork/slider-arrow.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/artwork/top-bar-buttons.svg b/artwork/top-bar-buttons.svg deleted file mode 100644 index cc54fdc..0000000 --- a/artwork/top-bar-buttons.svg +++ /dev/null @@ -1,199 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/artwork/validation-error.svg b/artwork/validation-error.svg deleted file mode 100644 index 6c4d5da..0000000 --- a/artwork/validation-error.svg +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - diff --git a/doc/todo.txt b/doc/todo.txt index 52385e1..0b81b5b 100644 --- a/doc/todo.txt +++ b/doc/todo.txt @@ -20,4 +20,5 @@ -> add a previewer for movies -> add a previewer for snapshots -> other todos --> use svg instead of pngs for icons \ No newline at end of file +-> use svg instead of pngs for icons +-> add a motioneye.svg icon \ No newline at end of file diff --git a/static/css/main.css b/static/css/main.css index 2bfd409..a95a9ce 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -253,6 +253,19 @@ div.check-box.section { float: left; } +div.check-box.section div.check-box-button { + background-color: #515151; +} + +div.check-box.on.section div.check-box-button { + background-color: #317CAD; +} + +div.check-box.on.section:FOCUS div.check-box-button, +div.check-box.on.section:HOVER div.check-box-button { + background-color: #3498db; +} + input[type=text].working-schedule.number { width: 50px; } @@ -298,7 +311,7 @@ div.camera-button { display: inline-block; width: 16px; height: 16px; - background-image: url(../img/top-bar-buttons.png); + background-image: url(../img/top-bar-buttons.svg); margin-left: 3px; cursor: pointer; opacity: 1; diff --git a/static/css/ui.css b/static/css/ui.css index 3fcc012..eba130f 100644 --- a/static/css/ui.css +++ b/static/css/ui.css @@ -154,7 +154,7 @@ input[type=text].number { input[type=text].error, input[type=password].error { - background-image: url(../img/validation-error.png); + background-image: url(../img/validation-error.svg); background-position: center right; background-repeat: no-repeat; } @@ -178,7 +178,7 @@ select.styled { font-family: inherit; font-size: 0.8em; margin: 2px; - background-image: url(../img/combo-box-arrow.png); + background-image: url(../img/combo-box-arrow.svg); background-repeat: no-repeat; background-position: right center; cursor: pointer; @@ -258,7 +258,7 @@ div.slider:FOCUS div.slider-bar-inside { } div.slider-cursor { - background-image: url(../img/slider-arrow.png); + background-image: url(../img/slider-arrow.svg); width: 11px; height: 18px; position: absolute; @@ -310,7 +310,7 @@ div.modal-close-button { right: 0.3em; width: 16px; height: 16px; - background-image: url(../img/top-bar-buttons.png); + background-image: url(../img/top-bar-buttons.svg); opacity: 1; transition: all 0.1s linear; cursor: pointer; diff --git a/static/img/combo-box-arrow.png b/static/img/combo-box-arrow.png deleted file mode 100644 index 3d7d201..0000000 Binary files a/static/img/combo-box-arrow.png and /dev/null differ diff --git a/static/img/combo-box-arrow.svg b/static/img/combo-box-arrow.svg new file mode 100644 index 0000000..5f57b93 --- /dev/null +++ b/static/img/combo-box-arrow.svg @@ -0,0 +1,78 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/static/img/motioneye.png b/static/img/motioneye.png deleted file mode 100644 index 909fcc9..0000000 Binary files a/static/img/motioneye.png and /dev/null differ diff --git a/static/img/settings.png b/static/img/settings.png deleted file mode 100644 index bc8094a..0000000 Binary files a/static/img/settings.png and /dev/null differ diff --git a/static/img/settings.svg b/static/img/settings.svg new file mode 100644 index 0000000..683f538 --- /dev/null +++ b/static/img/settings.svg @@ -0,0 +1,87 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/static/img/slider-arrow.png b/static/img/slider-arrow.png deleted file mode 100644 index 05b4930..0000000 Binary files a/static/img/slider-arrow.png and /dev/null differ diff --git a/static/img/slider-arrow.svg b/static/img/slider-arrow.svg new file mode 100644 index 0000000..543e0e9 --- /dev/null +++ b/static/img/slider-arrow.svg @@ -0,0 +1,78 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/static/img/top-bar-buttons.png b/static/img/top-bar-buttons.png deleted file mode 100644 index 871543b..0000000 Binary files a/static/img/top-bar-buttons.png and /dev/null differ diff --git a/static/img/top-bar-buttons.svg b/static/img/top-bar-buttons.svg new file mode 100644 index 0000000..a65569a --- /dev/null +++ b/static/img/top-bar-buttons.svg @@ -0,0 +1,137 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/static/img/validation-error.png b/static/img/validation-error.png deleted file mode 100644 index 57e02c3..0000000 Binary files a/static/img/validation-error.png and /dev/null differ diff --git a/static/img/validation-error.svg b/static/img/validation-error.svg new file mode 100644 index 0000000..6c4d5da --- /dev/null +++ b/static/img/validation-error.svg @@ -0,0 +1,82 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/static/img/video1.jpg b/static/img/video1.jpg deleted file mode 100644 index a7bb4f4..0000000 Binary files a/static/img/video1.jpg and /dev/null differ diff --git a/static/img/video2.jpg b/static/img/video2.jpg deleted file mode 100644 index 63bda85..0000000 Binary files a/static/img/video2.jpg and /dev/null differ diff --git a/templates/main.html b/templates/main.html index 5d07a3d..810cf68 100644 --- a/templates/main.html +++ b/templates/main.html @@ -16,14 +16,14 @@
- +
Apply