Skip to content

Commit

Permalink
Merge pull request #27 from zendesk/avecerek_add_ootb_settings_v2
Browse files Browse the repository at this point in the history
Add OOTB settings V2
  • Loading branch information
vecerek authored Jul 23, 2018
2 parents f4ba6c8 + 9fc39ca commit 0b232d3
Show file tree
Hide file tree
Showing 9 changed files with 283 additions and 142 deletions.
110 changes: 109 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Copenhagen",
"author": "Zendesk",
"version": "1.2.0",
"version": "1.3.0",
"api_version": 1,
"default_locale": "en-us",
"settings": [{
Expand Down Expand Up @@ -119,5 +119,113 @@
"description": "community_image_description",
"label": "community_image_label"
}]
}, {
"label": "search_group_label",
"variables":[{
"identifier": "instant_search",
"type": "checkbox",
"description": "instant_search_description",
"label": "instant_search_label",
"value": true
}, {
"identifier": "scoped_kb_search",
"type": "checkbox",
"description": "scoped_knowledge_base_search_description",
"label": "scoped_knowledge_base_search_label",
"value": true
}, {
"identifier": "scoped_community_search",
"type": "checkbox",
"description": "scoped_community_search_description",
"label": "scoped_community_search_label",
"value": true
}]
}, {
"label": "home_page_group_label",
"variables": [{
"identifier": "show_recent_activity",
"type": "checkbox",
"description": "recent_activity_description",
"label": "recent_activity_label",
"value": true
}]
}, {
"label": "article_page_group_label",
"variables": [{
"identifier": "show_articles_in_section",
"type": "checkbox",
"description": "articles_in_section_description",
"label": "articles_in_section_label",
"value": true
}, {
"identifier": "show_article_author",
"type": "checkbox",
"description": "article_author_description",
"label": "article_author_label",
"value": true
}, {
"identifier": "show_article_comments",
"type": "checkbox",
"description": "article_comments_description",
"label": "article_comments_label",
"value": true
}, {
"identifier": "show_follow_article",
"type": "checkbox",
"description": "follow_article_description",
"label": "follow_article_label",
"value": true
}, {
"identifier": "show_recently_viewed_articles",
"type": "checkbox",
"description": "recently_viewed_articles_description",
"label": "recently_viewed_articles_label",
"value": true
}, {
"identifier": "show_related_articles",
"type": "checkbox",
"description": "related_articles_description",
"label": "related_articles_label",
"value": true
}, {
"identifier": "show_article_sharing",
"type": "checkbox",
"description": "article_sharing_description",
"label": "article_sharing_label",
"value": true
}]
}, {
"label": "section_page_group_label",
"variables": [{
"identifier": "show_follow_section",
"type": "checkbox",
"description": "follow_section_description",
"label": "follow_section_label",
"value": true
}]
}, {
"label": "community_post_group_label",
"variables": [{
"identifier": "show_follow_post",
"type": "checkbox",
"description": "follow_post_description",
"label": "follow_post_label",
"value": true
}, {
"identifier": "show_post_sharing",
"type": "checkbox",
"description": "post_sharing_description",
"label": "post_sharing_label",
"value": true
}]
}, {
"label": "community_topic_group_label",
"variables": [{
"identifier": "show_follow_topic",
"type": "checkbox",
"description": "follow_topic_description",
"label": "follow_topic_label",
"value": true
}]
}]
}
10 changes: 7 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ ul {
.avatar {
display: inline-block;
position: relative;
margin-right: 10px;
}

.avatar img {
Expand Down Expand Up @@ -1156,10 +1157,11 @@ ul {

@media (min-width: 1024px) {
.article {
flex: 1 0 66%;
flex: 1;
max-width: 66%;
min-width: 640px;
padding: 0 30px;
margin: 0 auto;
}
}

Expand Down Expand Up @@ -1202,6 +1204,10 @@ ul {
}
}

.article-title.no-author {
margin-bottom: 0.067em;
}

.article-title .icon-lock::before {
content: "\1F512";
font-size: 20px;
Expand All @@ -1228,7 +1234,6 @@ ul {

.article-meta {
display: inline-block;
margin-left: 10px;
vertical-align: middle;
}

Expand Down Expand Up @@ -2336,7 +2341,6 @@ ul {
.post-meta {
display: inline-block;
flex: 1;
margin-left: 10px;
vertical-align: middle;
}

Expand Down
Loading

0 comments on commit 0b232d3

Please sign in to comment.