diff --git a/api/router_static.go b/api/router_static.go index bcc6a99..ac7af10 100644 --- a/api/router_static.go +++ b/api/router_static.go @@ -53,8 +53,8 @@ func staticRouterInit(router *mux.Router) error { prefix := "" if dir == "/js" { - prefix = "window.commentoOrigin='" + os.Getenv("ORIGIN") + "';\n" - prefix += "window.commentoCdn='" + os.Getenv("CDN_PREFIX") + "';\n" + prefix = `window.commento = {origin: "` + os.Getenv("ORIGIN") + `", cdn: "` + os.Getenv("CDN_PREFIX") + `"}; +` } gzip := (os.Getenv("GZIP_STATIC") == "true") diff --git a/frontend/dashboard.html b/frontend/dashboard.html index b402c09..96da26a 100644 --- a/frontend/dashboard.html +++ b/frontend/dashboard.html @@ -21,10 +21,10 @@ @@ -41,7 +41,7 @@
- + Trouble logging in? Reset your password. Don't have an account yet? Sign up. diff --git a/frontend/logout.html b/frontend/logout.html index bb8bea3..b51e306 100644 --- a/frontend/logout.html +++ b/frontend/logout.html @@ -5,6 +5,6 @@ diff --git a/frontend/reset-password.html b/frontend/reset-password.html index 27e821b..e1e6aba 100644 --- a/frontend/reset-password.html +++ b/frontend/reset-password.html @@ -32,7 +32,7 @@
- + diff --git a/frontend/sass/commento-input.scss b/frontend/sass/commento-input.scss index 4fde262..454e020 100644 --- a/frontend/sass/commento-input.scss +++ b/frontend/sass/commento-input.scss @@ -188,18 +188,3 @@ textarea { .commento-button-margin { padding-bottom: 60px; } - -.commento-mod-tools-lock-button { - color: $gray-6; - background: none; - border: none; - font-weight: bold; - font-size: 12px; - text-transform: uppercase; - margin-left: 12px; - padding: 2px; -} - -.commento-mod-tools-lock-button:hover { - cursor: pointer; -} diff --git a/frontend/sass/commento.scss b/frontend/sass/commento.scss index ef40905..6e50321 100644 --- a/frontend/sass/commento.scss +++ b/frontend/sass/commento.scss @@ -5,13 +5,16 @@ } .commento-root { - font-family: "Source Sans Pro", "Segoe UI", Roboto, "Helvetica Neue", sans-serif; - font-size: 15px; - line-height: 1.5; - color: #50596c; overflow-x: hidden; - text-rendering: optimizeLegibility; - padding: 8px; + padding: 0px; + + * { + font-family: "Source Sans Pro", "Segoe UI", "Roboto", "Helvetica Neue", sans-serif; + font-size: 15px; + line-height: 1.5; + color: #50596c; + text-rendering: optimizeLegibility; + } @import "colors-main.scss"; @import "common-main.scss"; @@ -46,13 +49,24 @@ .commento-mod-tools { margin-bottom: 16px; + + button { + text-transform: uppercase; + color: $gray-7; + font-size: 13px; + font-weight: 700; + cursor: pointer; + margin-left: 12px; + background: none; + border: none; + } } .commento-mod-tools::before { - content: "Moderators"; + content: "Moderator Tools"; text-transform: uppercase; color: $indigo-8; - font-size: 12px; + font-size: 13px; font-weight: 700; } @@ -71,8 +85,8 @@ } .commento-avatar { - width: 34px; - height: 34px; + width: 38px; + height: 38px; border-radius: 50%; display: flex; justify-content: center; @@ -81,8 +95,7 @@ font-size: 22px; float: left; margin-right: 10px; - border: 1px solid #fff; - box-shadow: 0px 0px 0px 2px #f00; + border: 0px transparent; } .commento-avatar-img { diff --git a/frontend/signup.html b/frontend/signup.html index e881e4a..f869bee 100644 --- a/frontend/signup.html +++ b/frontend/signup.html @@ -16,8 +16,8 @@ @@ -54,7 +54,7 @@

- + Already have an account? Login instead.