From aeacfb2acca273d1909f01621b8096c91a257819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Tue, 12 Nov 2013 14:36:00 +0100 Subject: [PATCH] widened the edit title/category --- .../stylesheets/desktop/topic-post.scss | 17 +-------- app/assets/stylesheets/desktop/topic.scss | 38 +++++++++++++++---- 2 files changed, 31 insertions(+), 24 deletions(-) diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 90525a649..8461d189a 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -388,21 +388,6 @@ span.post-count { } } -#topic-title { - z-index: 1000; - padding: 14px 0 8px 0; - h1 { - line-height: 1.2em; - overflow: hidden; - } - .topic-statuses { - margin-top: -2px; - .icon-pushpin {margin-top: -1px;} - } - .star {font-size: 20px; margin-top: 8px;} - .chzn-container {vertical-align: middle;} -} - article.boxed { img, svg { max-width: 100%; @@ -680,7 +665,7 @@ blockquote { /* solo quotes */ position: relative; width: 720px; padding: 10px 10px 15px 20px; - + .highlighted { background-color: lighten(yellow, 45%) !important; } diff --git a/app/assets/stylesheets/desktop/topic.scss b/app/assets/stylesheets/desktop/topic.scss index f2fc108e0..3d6992ab2 100644 --- a/app/assets/stylesheets/desktop/topic.scss +++ b/app/assets/stylesheets/desktop/topic.scss @@ -32,22 +32,44 @@ .edits {margin-right: 5px;} #topic-title { + z-index: 1000; + padding: 14px 0 8px 0; margin-bottom: 20px; - .star {margin-right: 8px;} - h1 { - font-size: 2em; - margin: 0; - a.badge-category {vertical-align: top;} - a.edit-topic {font-size: 15px; position: absolute; margin-left: 8px;} + .star { + font-size: 20px; + margin-top: 8px; + margin-right: 8px; } + #edit-title { width: 500px; } + .category-combobox { + width: 250px; + .chzn-drop { + left: -9000px; + width: 248px; + } + .chzn-search input { + width: 198px; + } + } + h1 { + font-size: 2em; + margin: 0; + line-height: 1.2em; + overflow: hidden; + a.badge-category { vertical-align: top; } + a.edit-topic { font-size: 15px; position: absolute; margin-left: 8px; } + } + .topic-statuses { + margin-top: -2px; + .icon-pushpin { margin-top: -1px; } + } + .chzn-container { vertical-align: middle; } } #topic-closing-info { margin-left: 10px; } - - #topic-progress-wrapper { position: fixed; right: 50%;