Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
07768a11
Commit
07768a11
authored
Oct 24, 2014
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Ask page class
parent
bf93a21b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
39 deletions
+40
-39
qa-theme-base.php
qa-include/qa-theme-base.php
+1
-1
snow-core.css
qa-theme/SnowFlat/css/snow-core.css
+39
-38
No files found.
qa-include/qa-theme-base.php
View file @
07768a11
...
...
@@ -2355,7 +2355,7 @@
$this
->
output
(
'<div class="qa-ask-similar">'
);
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
->
output
(
'</div>'
);
...
...
qa-theme/SnowFlat/css/snow-core.css
View file @
07768a11
...
...
@@ -2157,9 +2157,43 @@ input[type="submit"], button {
.qa-template-ask
.qa-part-form
table
tbody
tr
:hover
{
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
{
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 ]------*/
...
...
@@ -2389,45 +2423,12 @@ input[type="submit"], button {
margin
:
-10px
-10px
5px
-10px
;
}
/*------[ ask ]------*/
.qa-template-ask
.qa-part-form
table
tbody
tr
td
{
border
:
none
;
}
#similar
.qa-ask-similar
{
.qa-favorite-image
{
width
:
16px
;
height
:
16px
;
display
:
inline-block
;
background-color
:
#ecf0f1
;
padding
:
10px
;
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
;
background-image
:
url('../images/favorite-icon-15x15.png?1407059306')
;
}
.qa-suggest-next
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment