]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - theme/neo/css/display.css
Style cleanup for QnA.
[quix0rs-gnu-social.git] / theme / neo / css / display.css
index d460a5d71dac4cdc06e02a47ad938335feec3c0f..22634b40eade7eb904c26fc293578470d2353393 100644 (file)
@@ -413,7 +413,6 @@ div.entry-content a.response:after {
 
 .notice-options {
     margin-top: 4px;
-    margin-bottom: 10px;
 }
 
 #content .threaded-replies .notice .author .photo {
@@ -1175,7 +1174,7 @@ td.entity_profile {
 }
 
 label[for=event-starttime], label[for=event-endtime] {
-    display: none;
+    display: none !important;
 }
 
 #event-starttime, #event-endtime {
@@ -1224,10 +1223,6 @@ label[for=event-starttime], label[for=event-endtime] {
 
 /* QnA specific styles */
 
-#content .question .entry-title, #content .qna-full-question .entry-title {
-    min-height: 1px;
-}
-
 .question div.question-description {
     font-size: 1em;
     line-height: 1.36em;
@@ -1236,95 +1231,17 @@ label[for=event-starttime], label[for=event-endtime] {
 }
 
 .question div.answer-content, .qna-full-question div.answer-content {
-    opacity: 1;
-}
-
-.question .answer-count, .qna-full-question .answer-count {
-    display: block;
-    clear: left;
-}
-
-.question .answer-count:before, .qna-full-question .answer-count:before {
-    content: '(';
-}
-
-.question .answer-count:after, .qna-full-question .answer-count:after {
-    content: ')';
-}
-
-.question .notice-answer {
-    margin-left: 10px;
-    padding-bottom: 10px;
-}
-
-ul.qna-dummy {
-    clear: left;
-    float: left;
-    list-style-type: none;
-    width: 458px;
-    margin-left: 59px;
-    padding-right: 2px;
-    border-left: 3px solid #ECECF2;
-    background: #fafafa;
     font-size: 1em;
+    opacity: 1;
 }
 
-ul.qna-dummy + ul.threaded-replies li.notice:first-child {
-    border-top: 2px dotted #eee;
-    margin-top: -10px;
-    padding-top: 10px;
-}
-
-.qna-dummy-placeholder input {
-    margin: 10px;
-    width: 426px;
-    padding: 4px 4px 4px 6px;
-    border: 1px solid #a6a6a6;
-    -webkit-border-radius: 4px;
-    -moz-border-radius: 4px;
-    border-radius: 4px;
-    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
-    -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
-    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
-    color: #888;
-}
-
-li.notice-answer + li.notice {
-    border-top: 2px dotted #eee;
-    margin-top: -10px;
-    padding-top: 10px;
-}
-
-.question fieldset, .qna-full-question fieldset {
-    margin: 0px;
-}
-
-.question fieldset legend, .qna-full-question fieldset legend, .answer fieldset legend {
-    display: none;
-}
-
-.question label[for=qna-answer], .qna-full-question label[for=qna-answer] {
-    display: none;
-}
-
-.question #qna-answer, .qna-full-question #qna-answer {
-    width: 426px;
-    height: 54px;
-    padding: 6px 5px;
-    border: 1px solid #a6a6a6;
+.qna-dummy-placeholder input, .question #qna-answer, .qna-full-question #qna-answer {
     -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
     border-radius: 4px;
     box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
     -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: 10px;
-    margin-bottom: 10px;
-}
-
-.qna-full-question textarea {
-    width: 508px;
 }
 
 .question-description input.submit, .answer-content input.submit {
@@ -1367,6 +1284,10 @@ li.notice-answer + li.notice {
     padding-left: 20px;
 }
 
+.question p.best:before, .answer p.best:before {
+    content: none !important;
+}
+
 /* Blog specific styles */
 
 label[for=blog-entry-content] {