From f7879c4aa659ef0e446629278c881c5892726216 Mon Sep 17 00:00:00 2001 From: Augusto Cravo Silva Date: Mon, 30 Jul 2018 16:33:49 +0200 Subject: [PATCH 1/2] Compile CSS and small fixes --- style.css | 35 +++++++++++++++++++++++++---------- styles/_article.scss | 5 ++++- templates/article_page.hbs | 32 ++++++++++++++++---------------- 3 files changed, 45 insertions(+), 27 deletions(-) diff --git a/style.css b/style.css index ddf6bb720..9952645e0 100644 --- a/style.css +++ b/style.css @@ -344,6 +344,12 @@ ul { text-decoration: none; } +.form-field .hc-multiselect-toggle:focus { + outline: none; + border: 1px solid $brand_color; + text-decoration: none; +} + .form-field textarea { vertical-align: middle; } @@ -480,9 +486,13 @@ ul { } .nav-wrapper .icon-menu { + border: 0; + color: $link_color; + cursor: pointer; display: inline-block; margin-right: 10px; - color: $link_color; + padding: 0; + width: auto; } @media (min-width: 768px) { @@ -496,6 +506,11 @@ ul { margin-right: 0; } +.nav-wrapper .icon-menu:hover, .nav-wrapper .icon-menu:focus, .nav-wrapper .icon-menu:active { + background-color: transparent; + color: $link_color; +} + /***** User info in header *****/ .user-info { display: inline-block; @@ -561,7 +576,6 @@ ul { .avatar { display: inline-block; position: relative; - margin-right: 10px; } .avatar img { @@ -680,7 +694,7 @@ ul { top: 50%; transform: translateY(-50%); background-color: #fff; - color: #ddd; + color: #777; content: "\1F50D"; font-size: 18px; position: absolute; @@ -1157,11 +1171,10 @@ ul { @media (min-width: 1024px) { .article { - flex: 1; + flex: 1 0 66%; max-width: 66%; min-width: 640px; padding: 0 30px; - margin: 0 auto; } } @@ -1193,6 +1206,10 @@ ul { } } +.article-avatar { + margin-right: 10px; +} + .article-author { margin-bottom: 10px; } @@ -1204,10 +1221,6 @@ ul { } } -.article-title.no-author { - margin-bottom: 0.067em; -} - .article-title .icon-lock::before { content: "\1F512"; font-size: 20px; @@ -2212,7 +2225,7 @@ ul { } .status-label-open { - background-color: #e03b30; + background-color: #cc3340; } .status-label-closed { @@ -2341,6 +2354,7 @@ ul { .post-meta { display: inline-block; flex: 1; + margin-left: 10px; vertical-align: middle; } @@ -3453,6 +3467,7 @@ ul { color: $brand_text_color; line-height: normal; padding: 8px 20px; + outline-color: $brand_color; } .profile-header .description { diff --git a/styles/_article.scss b/styles/_article.scss index d87c9558e..35c2518f6 100644 --- a/styles/_article.scss +++ b/styles/_article.scss @@ -38,6 +38,10 @@ margin-top: 20px; } + &-avatar { + margin-right: 10px; + } + &-author { margin-bottom: 10px; } @@ -68,7 +72,6 @@ &-meta { display: inline-block; - margin-left: 10px; vertical-align: middle; } diff --git a/templates/article_page.hbs b/templates/article_page.hbs index a4d4e1789..39385287e 100644 --- a/templates/article_page.hbs +++ b/templates/article_page.hbs @@ -6,27 +6,27 @@
- {{#if settings.show_articles_in_section}} -
-

+

{{article.title}} {{#if article.internal}} From 421cb5645f38fd558d44e071c42ed913fb0eee12 Mon Sep 17 00:00:00 2001 From: Augusto Cravo Silva Date: Mon, 30 Jul 2018 16:34:06 +0200 Subject: [PATCH 2/2] v1.4.1 --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index ff51ce079..68f0d9a88 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "Copenhagen", "author": "Zendesk", - "version": "1.4.0", + "version": "1.4.1", "api_version": 1, "default_locale": "en-us", "settings": [{