From a02da55eac53d85c0e3b50dfa54637597182d361 Mon Sep 17 00:00:00 2001 From: Samantha Doherty Date: Tue, 5 Apr 2011 09:10:20 -0400 Subject: [PATCH] A little more style for QnA. --- theme/neo/css/display.css | 65 ++++++++++++++++++++++++++++++--------- 1 file changed, 51 insertions(+), 14 deletions(-) diff --git a/theme/neo/css/display.css b/theme/neo/css/display.css index 1932a4a1a2..5659ca3ae1 100644 --- a/theme/neo/css/display.css +++ b/theme/neo/css/display.css @@ -1248,35 +1248,47 @@ table.profile_list tr.alt { /* QnA specific styles */ -#content .question .entry-title { +#content .question .entry-title, #content .qna-full-question .entry-title { min-height: 1px; } .question div.question-description { font-size: 1em; line-height: 1.36em; + margin-top: 0px; opacity: 1; } -.question fieldset { - margin: 0px; +.question div.answer-content, .qna-full-question div.answer-content { + opacity: 1; } -.question fieldset legend { - display: none; +.question .answer-count, .qna-full-question .answer-count { + display: block; + clear: left; } -.question p.answer { - margin-top: 4px; - margin-bottom: 4px; - font-style: italic; +.question .answer-count:before, .qna-full-question .answer-count:before { + content: '('; +} + +.question .answer-count:after, .qna-full-question .answer-count:after { + content: ')'; +} + +.question fieldset, .qna-full-question fieldset { + margin: 0px; +} + +.question fieldset legend, .qna-full-question fieldset legend { + display: none; } -.question label[for=answer] { +.question label[for=answer], .qna-full-question label[for=answer] { display: none; } -.question textarea { +.question textarea, .qna-full-question textarea { width: 100%; height: 42px; padding: 6px 10px 18px 10px; @@ -1288,18 +1300,43 @@ table.profile_list tr.alt { -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2); font-size: 1.2em; + margin-top: 15px; margin-bottom: 10px; } -.question #answer-form input.submit { +.qna-full-question textarea { + width: 473px; +} + +.question-description input.submit, .answer-content input.submit { height: auto; padding: 0px 10px; - margin-left: 0px; - margin-bottom: 10px; + margin: 6px 0px 10px 0px; color:#fff; font-weight: bold; text-transform: uppercase; font-size: 1.1em; + text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2); + border: 1px solid #d7621c; + border-radius: 4px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + background: #FB6104; + background: -moz-linear-gradient(top, #ff9d63 , #FB6104); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff9d63), color-stop(100%,#FB6104)); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9d63', endColorstr='#FB6104',GradientType=0 ); +} + +.question .question-description input.submit:hover, .question .answer-content input.submit:hover { + text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.6); + background: #ff9d63; + background: -moz-linear-gradient(top, #FB6104 , #fc8035); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FB6104), color-stop(100%,#fc8035)); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FB6104', endColorstr='#fc8035',GradientType=0 ); +} + +.question .question-description #answer-form input.submit { + margin-top: 0px; } }/*end of @media screen, projection, tv*/ -- 2.39.2