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
c9ce348a
Commit
c9ce348a
authored
Jan 29, 2016
by
Scott
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pr/314--snowflatranking' into 1.8
Switch to block layout in SnowFlat. Closes #314.
parents
0d4e2366
7b4c6313
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
5 deletions
+34
-5
qa-styles.css
qa-theme/SnowFlat/qa-styles.css
+31
-4
qa-theme.php
qa-theme/SnowFlat/qa-theme.php
+3
-1
No files found.
qa-theme/SnowFlat/qa-styles.css
View file @
c9ce348a
...
@@ -31,7 +31,8 @@
...
@@ -31,7 +31,8 @@
.qa-a-list-item
:after
,
.qa-a-item-buttons
:after
,
.qa-a-item-content
:after
,
.qa-a-list-item
:after
,
.qa-a-item-buttons
:after
,
.qa-a-item-content
:after
,
.qa-c-item-buttons
:after
,
.qa-c-item-clear
:after
,
.qa-c-item-buttons
:after
,
.qa-c-item-clear
:after
,
.qam-footer-row
:after
,
.qam-qa-list-meta-box
:after
,
.qam-footer-row
:after
,
.qam-qa-list-meta-box
:after
,
.qa-nav-footer-list
:after
,
.qa-footer-clear
:after
{
.qa-nav-footer-list
:after
,
.qa-footer-clear
:after
,
.qa-part-ranking
:after
,
.qa-ranking-item
:after
{
content
:
" "
;
content
:
" "
;
display
:
table
;
display
:
table
;
clear
:
both
;
clear
:
both
;
...
@@ -1503,13 +1504,39 @@ blockquote p {
...
@@ -1503,13 +1504,39 @@ blockquote p {
overflow-y
:
hidden
;
overflow-y
:
hidden
;
}
}
}
}
.qa-ranking-item
{
display
:
inline-block
;
position
:
relative
;
margin
:
5px
;
padding
:
5px
;
}
.qa-top-users-label
.qa-avatar-link
{
.qa-top-users-item
{
width
:
100%
;
max-width
:
320px
;
}
.qa-top-tags-item
{
width
:
100%
;
max-width
:
150px
;
}
@media
only
screen
and
(
min-width
:
992px
)
{
/* two column layout for Desktops and above*/
.qa-top-users-item
{
width
:
48%
;
max-width
:
none
;
}
.qa-top-tags-item
{
width
:
23%
;
max-width
:
none
;
}
}
.qa-top-users-avatar
.qa-avatar-link
{
display
:
block
;
display
:
block
;
float
:
left
;
float
:
left
;
margin-right
:
1em
;
margin-right
:
1em
;
}
}
.qa-top-users-
label
.qa-avatar-link
img
{
.qa-top-users-
avatar
.qa-avatar-link
img
{
border
:
1px
solid
#cbd7e3
;
border
:
1px
solid
#cbd7e3
;
}
}
.qa-top-users-label
.qa-user-link
{
.qa-top-users-label
.qa-user-link
{
...
@@ -1529,7 +1556,7 @@ blockquote p {
...
@@ -1529,7 +1556,7 @@ blockquote p {
content
:
""
;
content
:
""
;
position
:
absolute
;
position
:
absolute
;
left
:
-5px
;
left
:
-5px
;
top
:
5px
;
top
:
30%
;
display
:
block
;
display
:
block
;
width
:
0
;
width
:
0
;
height
:
0
;
height
:
0
;
...
...
qa-theme/SnowFlat/qa-theme.php
View file @
c9ce348a
...
@@ -49,6 +49,9 @@ class qa_html_theme extends qa_html_theme_base
...
@@ -49,6 +49,9 @@ class qa_html_theme extends qa_html_theme_base
// Size of the user avatar in the navigation bar
// Size of the user avatar in the navigation bar
private
$nav_bar_avatar_size
=
52
;
private
$nav_bar_avatar_size
=
52
;
// use new block layout in rankings
protected
$ranking_block_layout
=
true
;
/**
/**
* Adding aditional meta for responsive design
* Adding aditional meta for responsive design
*
*
...
@@ -660,5 +663,4 @@ class qa_html_theme extends qa_html_theme_base
...
@@ -660,5 +663,4 @@ class qa_html_theme extends qa_html_theme_base
'</div>'
.
'</div>'
.
'</div>'
;
'</div>'
;
}
}
}
}
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