From 2d3217cc0b02e34206806cfef97f3dcee05347eb Mon Sep 17 00:00:00 2001 From: Sectimus Date: Sun, 15 Dec 2019 19:46:58 +0000 Subject: [PATCH] added tag addition functionality --- .vscode/settings.json | 37 +++++++++---------- public/.vscode/launch.json | 15 -------- public/.vscode/settings.json | 21 ----------- public/css/styles.min.css | 53 +-------------------------- public/css/styles.min.css.map | 2 +- public/index.html | 41 +++++++++++++++------ public/js/index.js | 44 ++++++++++++++++++++++- public/sass/styles.scss | 68 ++++++++++++++++++++++++++++++++--- 8 files changed, 157 insertions(+), 124 deletions(-) delete mode 100644 public/.vscode/launch.json delete mode 100644 public/.vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json index ea21af7..2d92d8d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,21 +1,18 @@ { - "editor.multiCursorModifier":"ctrlCmd", - "liveSassCompile.settings.formats":[ - { - "format": "expanded", - "extensionName": ".min.css", - "savePath": "/css" - }, - ], - "liveSassCompile.settings.excludeList": [ - "**/node_modules/**", - ".vscode/**", - ".git/**", - "**/sass/includes/**" - ], - "liveSassCompile.settings.generateMap": true, - "liveSassCompile.settings.autoprefix": [ - "> 1%", - "last 2 versions" - ] -} \ No newline at end of file + "editor.multiCursorModifier": "ctrlCmd", + "liveSassCompile.settings.formats": [ + { + "format": "compressed", + "extensionName": ".min.css", + "savePath": "/public/css" + } + ], + "liveSassCompile.settings.excludeList": [ + "**/node_modules/**", + ".vscode/**", + ".git/**", + "**/sass/includes/**" + ], + "liveSassCompile.settings.generateMap": true, + "liveSassCompile.settings.autoprefix": ["> 1%", "last 2 versions"] +} diff --git a/public/.vscode/launch.json b/public/.vscode/launch.json deleted file mode 100644 index f9507df..0000000 --- a/public/.vscode/launch.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "type": "chrome", - "request": "launch", - "name": "Launch Chrome against localhost", - "url": "http://localhost:5500", - "webRoot": "${workspaceFolder}" - } - ] -} \ No newline at end of file diff --git a/public/.vscode/settings.json b/public/.vscode/settings.json deleted file mode 100644 index ea21af7..0000000 --- a/public/.vscode/settings.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "editor.multiCursorModifier":"ctrlCmd", - "liveSassCompile.settings.formats":[ - { - "format": "expanded", - "extensionName": ".min.css", - "savePath": "/css" - }, - ], - "liveSassCompile.settings.excludeList": [ - "**/node_modules/**", - ".vscode/**", - ".git/**", - "**/sass/includes/**" - ], - "liveSassCompile.settings.generateMap": true, - "liveSassCompile.settings.autoprefix": [ - "> 1%", - "last 2 versions" - ] -} \ No newline at end of file diff --git a/public/css/styles.min.css b/public/css/styles.min.css index 1861c03..8b108e2 100644 --- a/public/css/styles.min.css +++ b/public/css/styles.min.css @@ -1,53 +1,2 @@ -* { - margin: 0; - padding: 0; - font-family: "montserrat", sans-serif; -} - -.card { - -webkit-transition: 250ms; - transition: 250ms; -} - -.card:hover { - background: #f2f2f2; - -webkit-transform: translateY(-10px); - transform: translateY(-10px); -} - -.card .over { - z-index: 2 !important; -} - -.card .ratings { - min-width: 110px; - display: inline-block; - position: relative; - cursor: pointer; -} - -.card .ratings .star.star-under { - color: #ddd; - vertical-align: top; - position: relative; -} - -.card .ratings .star.star-under:hover > .star-over { - color: gold; -} - -.card .ratings .star.star-under:hover { - color: gold; -} - -.card .ratings .star.star-over { - -webkit-transition: 100ms; - transition: 100ms; - color: #f80; - position: absolute; - left: 0; - top: 0; - width: 0%; - overflow: hidden; -} +*{margin:0;padding:0;font-family:"montserrat", sans-serif}.card{-webkit-transition:250ms;transition:250ms}.card:hover{background:#f2f2f2;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.card .tags form[for="newtags"]>.form-control{min-width:60px;width:60px;height:18px;padding-top:0.75rem;padding-bottom:0.75rem;background-color:#99caff;color:white}.card .tags form[for="newtags"]>.form-control::-webkit-input-placeholder{color:white;opacity:0.75}.card .tags form[for="newtags"]>.form-control:-ms-input-placeholder{color:white;opacity:0.75}.card .tags form[for="newtags"]>.form-control::-ms-input-placeholder{color:white;opacity:0.75}.card .tags form[for="newtags"]>.form-control::placeholder{color:white;opacity:0.75}.card .tags .icon{cursor:pointer;-webkit-transition:100ms;transition:100ms}.card .tags .icon:hover{color:#007bff;font-size:large}.card .bookmarks{cursor:pointer}.card .bookmarks .bookmark{font-size:1.75rem;right:-7px;top:-7px}.card .bookmarks .bookmark.bookmark-under{color:#ddd;vertical-align:top;position:relative}.card .bookmarks .bookmark.bookmark-under:hover>.bookmark-over:not([active]){color:gold;height:100%}.card .bookmarks .bookmark.bookmark-under:hover>.bookmark-over[active]{color:gold;height:0%}.card .bookmarks .bookmark.bookmark-over{width:21px;-webkit-transition:100ms;transition:100ms;color:#f80;position:absolute;left:0;top:0;height:0%;overflow:hidden}.card .bookmarks .bookmark.bookmark-over[active]{height:100%}.card .over{z-index:2 !important}.card .ratings{min-width:110px;display:inline-block;position:relative;cursor:pointer}.card .ratings .star.star-under{color:#ddd;vertical-align:top;position:relative}.card .ratings .star.star-under:hover>.star-over{color:gold}.card .ratings .star.star-under:hover{color:gold}.card .ratings .star.star-over{-webkit-transition:100ms;transition:100ms;color:#f80;position:absolute;left:0;top:0;width:0%;overflow:hidden} /*# sourceMappingURL=styles.min.css.map */ \ No newline at end of file diff --git a/public/css/styles.min.css.map b/public/css/styles.min.css.map index 87237a0..788fc87 100644 --- a/public/css/styles.min.css.map +++ b/public/css/styles.min.css.map @@ -1,6 +1,6 @@ { "version": 3, - "mappings": "AAEA,AAAA,CAAC,CAAC;EACA,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;EACV,WAAW,EAAE,wBAAwB;CACtC;;AACD,AAAA,KAAK,CAAC;EACJ,UAAU,EAAE,KAAK;CAuClB;;AAxCD,AAEE,KAFG,AAEF,MAAM,CAAC;EACN,UAAU,EAAE,OAAiB;EAC7B,SA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public/index.html b/public/index.html index d19db32..e12f240 100644 --- a/public/index.html +++ b/public/index.html @@ -9,6 +9,11 @@ + @@ -16,10 +21,6 @@ - @@ -44,24 +45,44 @@