Commit 07768a11 by Scott

Update Ask page class

parent bf93a21b
...@@ -2355,7 +2355,7 @@ ...@@ -2355,7 +2355,7 @@
$this->output('<div class="qa-ask-similar">'); $this->output('<div class="qa-ask-similar">');
if (strlen($pretext) > 0) if (strlen($pretext) > 0)
$this->output('<p>'.$pretext.'</p>'); $this->output('<p class="qa-ask-similar-title">'.$pretext.'</p>');
$this->q_title_list($q_list, 'target="_blank"'); $this->q_title_list($q_list, 'target="_blank"');
$this->output('</div>'); $this->output('</div>');
......
...@@ -2157,9 +2157,43 @@ input[type="submit"], button { ...@@ -2157,9 +2157,43 @@ input[type="submit"], button {
.qa-template-ask .qa-part-form table tbody tr:hover { .qa-template-ask .qa-part-form table tbody tr:hover {
background-color: transparent; background-color: transparent;
.qa-ask-similar {
background-color: #ecf0f1;
padding: 10px;
margin-bottom: 5px;
border: 1px solid #dde4e6;
} }
.qa-template-ask .qa-part-form table tbody tr td { .qa-template-ask .qa-part-form table tbody tr td {
border: none; border: none;
.qa-ask-similar-title {
background: #e74c3c;
color: white;
padding: 10px;
margin-bottom: 5px;
margin: -10px -10px 10px -10px;
}
.qa-ask-similar-title a {
color: white;
border-bottom: 1px dotted white;
}
.qa-ask-similar-title a:hover {
color: white;
border-bottom: 0;
}
.qa-q-title-list {
list-style: none;
margin: 0;
padding: 0;
}
.qa-q-title-item {
padding: 2px 0;
border-bottom: 1px solid #d9dcde;
}
.qa-q-title-item:last-child {
border-bottom: none;
} }
/*------[ users ]------*/ /*------[ users ]------*/
...@@ -2389,45 +2423,12 @@ input[type="submit"], button { ...@@ -2389,45 +2423,12 @@ input[type="submit"], button {
margin: -10px -10px 5px -10px; margin: -10px -10px 5px -10px;
} }
/*------[ ask ]------*/ .qa-favorite-image {
.qa-template-ask .qa-part-form table tbody tr td { width: 16px;
border: none; height: 16px;
} display: inline-block;
#similar .qa-ask-similar {
background-color: #ecf0f1; background-color: #ecf0f1;
padding: 10px; background-image: url('../images/favorite-icon-15x15.png?1407059306');
margin-bottom: 5px;
border: 1px solid #dde4e6;
}
#similar .qa-ask-similar p {
background: #e74c3c;
color: white;
padding: 10px;
margin-bottom: 5px;
margin: -10px -10px 10px -10px;
}
#similar .qa-ask-similar p a {
color: white;
font-weight: bold;
border-bottom: 2px dotted white;
}
#similar .qa-ask-similar p a:hover {
color: white;
font-weight: bold;
border-bottom: none;
}
#similar .qa-ask-similar .qa-q-title-list {
list-style: none;
margin: 0;
padding: 0;
}
#similar .qa-ask-similar .qa-q-title-list .qa-q-title-item {
padding: 2px 0;
border-bottom: 1px solid #d9dcde;
}
#similar .qa-ask-similar .qa-q-title-list .qa-q-title-item:last-child {
border-bottom: none;
} }
.qa-suggest-next { .qa-suggest-next {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment