diff --git a/app/assets/javascripts/discourse/templates/topic.hbs b/app/assets/javascripts/discourse/templates/topic.hbs index 81c24093ccd..f8e805bfbf0 100644 --- a/app/assets/javascripts/discourse/templates/topic.hbs +++ b/app/assets/javascripts/discourse/templates/topic.hbs @@ -17,10 +17,12 @@ {{#if editingTopic}} {{#if isPrivateMessage}} {{fa-icon envelope}} + {{text-field id='edit-title' value=newTitle maxLength=maxTitleLength}} {{else}} + {{text-field id='edit-title' value=newTitle maxLength=maxTitleLength}} +
{{category-chooser valueAttribute="id" value=newCategoryId source=category_id}} {{/if}} - {{text-field id='edit-title' value=newTitle maxLength=maxTitleLength}} diff --git a/app/assets/stylesheets/common/base/combobox.scss b/app/assets/stylesheets/common/base/combobox.scss index eab08e6e680..93d0ae38a43 100644 --- a/app/assets/stylesheets/common/base/combobox.scss +++ b/app/assets/stylesheets/common/base/combobox.scss @@ -8,7 +8,7 @@ display: inline-block; } .highlighted .topic-count, .select2-highlighted .category-desc { - color: $secondary; + color: $primary; } .category-desc { color: scale-color($primary, $lightness: 45%); diff --git a/app/assets/stylesheets/common/base/header.scss b/app/assets/stylesheets/common/base/header.scss index c04860ea234..183a9a27c62 100644 --- a/app/assets/stylesheets/common/base/header.scss +++ b/app/assets/stylesheets/common/base/header.scss @@ -12,7 +12,7 @@ } .contents { - margin: 10px 0; + margin: 8px 0; } .title { diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index e5724ba07c7..4bf3ce5a3a8 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -560,7 +560,7 @@ iframe { } .badge-wrapper { - margin: 0; + margin: 0 0 0 2px; padding: 0; .badge-category { diff --git a/app/assets/stylesheets/desktop/topic.scss b/app/assets/stylesheets/desktop/topic.scss index f839c4a4806..a120918aef4 100644 --- a/app/assets/stylesheets/desktop/topic.scss +++ b/app/assets/stylesheets/desktop/topic.scss @@ -26,7 +26,7 @@ } #edit-title { width: 500px; } .category-combobox { - width: 250px; + width: 350px; .select2-drop { left: -9000px; width: 248px; diff --git a/app/assets/stylesheets/vendor/select2.scss b/app/assets/stylesheets/vendor/select2.scss index 7b2dd44ff53..aa3d61372ab 100644 --- a/app/assets/stylesheets/vendor/select2.scss +++ b/app/assets/stylesheets/vendor/select2.scss @@ -331,8 +331,8 @@ Version: @@ver@@ Timestamp: @@timestamp@@ .select2-results-dept-7 .select2-result-label { padding-left: 120px } .select2-results .select2-highlighted { - background: #3875d7; - color: #fff; + background: dark-light-diff($highlight, $secondary, 50%, -80%); + color: $primary; } .select2-results li em {