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
c37a8a02
Commit
c37a8a02
authored
Oct 29, 2014
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert some files to tab indentation
parent
ad9db8be
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
241 additions
and
252 deletions
+241
-252
qa-styles.css
qa-theme/Snow/qa-styles.css
+3
-3
qa-styles-rtl.css
qa-theme/SnowFlat/qa-styles-rtl.css
+220
-220
qa-theme.php
qa-theme/SnowFlat/qa-theme.php
+18
-29
No files found.
qa-theme/Snow/qa-styles.css
View file @
c37a8a02
...
...
@@ -110,7 +110,7 @@ form, fieldset {
}
input
[
type
=
"text"
]
.qa-search-field
{
padding
:
4px
5px
;
padding
:
4px
5px
;
}
input
[
type
=
"text"
],
input
[
type
=
"password"
],
textarea
,
select
,
checkbox
,
radio
{
...
...
@@ -221,7 +221,7 @@ img {
}
.qa-q-view-follows-link
{
color
:
#3B5998
!important
;
color
:
#3B5998
!important
;
}
p
{
...
...
@@ -2008,7 +2008,7 @@ a.qa-browse-cat-link:visited {
opacity
:
0.5px
;
}
/* Answer view
*/
/* Answer view */
.qa-a-list-item
{
background
:
#fff
;
zoom
:
1
;
...
...
qa-theme/SnowFlat/qa-styles-rtl.css
View file @
c37a8a02
...
...
@@ -2,475 +2,475 @@
/*------[ variables css ]------*/
/*------[ mixins ]------*/
body
{
direction
:
rtl
;
direction
:
rtl
;
}
pre
{
border-left
:
0
;
border-right
:
11px
solid
#3498db
;
margin
:
1.7em
0.3em
1.7em
0
;
padding
:
0.1em
0.7em
0.3em
0.5em
;
border-left
:
0
;
border-right
:
11px
solid
#3498db
;
margin
:
1.7em
0.3em
1.7em
0
;
padding
:
0.1em
0.7em
0.3em
0.5em
;
}
blockquote
{
border-left
:
0
;
border-right
:
11px
solid
#3498db
;
border-left
:
0
;
border-right
:
11px
solid
#3498db
;
}
h1
{
padding
:
8px
20px
8px
52px
;
padding
:
8px
20px
8px
52px
;
}
.qa-search-field
{
margin
:
0
0
0
-40px
;
padding
:
0
0
0
40px
;
margin
:
0
0
0
-40px
;
padding
:
0
0
0
40px
;
}
.qa-search-button
{
position
:
relative
;
position
:
relative
;
}
.qam-title-rss
{
float
:
left
;
float
:
left
;
}
.entry-content
th
,
.entry-content
td
,
.qa-c-item-content
th
,
.qa-c-item-content
td
{
text-align
:
right
;
text-align
:
right
;
}
.entry-content
ul
,
.qa-c-item-content
ul
{
margin
:
20px
20px
20px
0
;
margin
:
20px
20px
20px
0
;
}
.entry-content
ul
>
li
:before
,
.qa-c-item-content
ul
>
li
:before
{
left
:
auto
;
right
:
-1.6em
;
left
:
auto
;
right
:
-1.6em
;
}
.entry-content
ul
>
li
>
ul
,
.qa-c-item-content
ul
>
li
>
ul
{
margin
:
0
20px
0
0
;
margin
:
0
20px
0
0
;
}
.entry-content
ol
,
.qa-c-item-content
ol
{
margin
:
20px
20px
20px
0
;
margin
:
20px
20px
20px
0
;
}
.entry-content
ol
>
li
>
ol
,
.qa-c-item-content
ol
>
li
>
ol
{
margin
:
0
20px
0
0
;
margin
:
0
20px
0
0
;
}
.qa-favoriting
{
right
:
auto
;
left
:
10px
;
right
:
auto
;
left
:
10px
;
}
@media
(
max-width
:
979px
)
{
.qam-search-mobile
{
border-left
:
0
;
border-right
:
1px
solid
#1dd2af
;
}
.qam-search-mobile.orange
{
border-right-color
:
#f4a62a
;
}
.qam-search-mobile.carrot
{
border-right-color
:
#e98b39
;
}
.qam-search-mobile.alizarin
{
border-right-color
:
#ea6153
;
}
.qam-search-mobile.turquoise
{
border-right-color
:
#1dd2af
;
}
.qam-search-mobile.emerald
{
border-right-color
:
#40d47e
;
}
.qam-search-mobile.peter-river
{
border-right-color
:
#4aa3df
;
}
.qam-search-mobile.amethyst
{
border-right-color
:
#a66bbe
;
}
.qam-search-mobile.wet-asphalt
{
border-right-color
:
#3d566e
;
}
.qam-search-mobile
{
border-left
:
0
;
border-right
:
1px
solid
#1dd2af
;
}
.qam-search-mobile.orange
{
border-right-color
:
#f4a62a
;
}
.qam-search-mobile.carrot
{
border-right-color
:
#e98b39
;
}
.qam-search-mobile.alizarin
{
border-right-color
:
#ea6153
;
}
.qam-search-mobile.turquoise
{
border-right-color
:
#1dd2af
;
}
.qam-search-mobile.emerald
{
border-right-color
:
#40d47e
;
}
.qam-search-mobile.peter-river
{
border-right-color
:
#4aa3df
;
}
.qam-search-mobile.amethyst
{
border-right-color
:
#a66bbe
;
}
.qam-search-mobile.wet-asphalt
{
border-right-color
:
#3d566e
;
}
}
@media
(
max-width
:
979px
)
{
.qam-menu-toggle
{
float
:
right
;
margin
:
0
0
0
10px
;
}
.qam-menu-toggle
{
float
:
right
;
margin
:
0
0
0
10px
;
}
}
.qa-logo
{
margin
:
0
0
0
1px
;
margin
:
0
0
0
1px
;
}
@media
(
min-width
:
980px
)
{
.qa-logo
{
float
:
right
;
}
.qa-logo
{
float
:
right
;
}
}
@media
(
max-width
:
979px
)
{
.qa-nav-main
{
right
:
0
;
}
.qa-nav-main
{
right
:
0
;
}
}
@media
(
min-width
:
980px
)
{
.qa-nav-main
{
float
:
right
;
}
.qa-nav-main
{
float
:
right
;
}
}
@media
(
min-width
:
980px
)
{
.qa-nav-main-item
{
float
:
right
;
}
.qa-nav-main-item
{
float
:
right
;
}
}
@media
(
min-width
:
980px
)
{
.qa-nav-main-item-opp
{
float
:
left
;
}
.qa-nav-main-item-opp
:last-child
{
margin
:
0
50px
0
0
;
}
.qa-nav-main-item-opp
{
float
:
left
;
}
.qa-nav-main-item-opp
:last-child
{
margin
:
0
50px
0
0
;
}
}
@media
(
max-width
:
979px
)
{
.qa-nav-main-link
:before
{
margin
:
0
0
0
15px
;
}
.qa-nav-main-link
:before
{
margin
:
0
0
0
15px
;
}
}
@media
(
max-width
:
979px
)
{
.qa-nav-sub-item
{
float
:
right
;
}
.qa-nav-sub-item
{
float
:
right
;
}
}
@media
(
max-width
:
979px
)
{
.qam-account-items-wrapper
{
right
:
auto
;
left
:
8px
;
}
.qam-account-items-wrapper
{
right
:
auto
;
left
:
8px
;
}
}
@media
(
min-width
:
980px
)
{
.qam-account-items-wrapper
{
float
:
left
;
}
.qam-account-items-wrapper
{
float
:
left
;
}
}
.qam-account-items
{
right
:
auto
;
left
:
0
;
right
:
auto
;
left
:
0
;
}
.qa-logged-in
:before
{
margin
:
0
0
0
10px
;
margin
:
0
0
0
10px
;
}
.qam-logged-in-points
:before
{
margin
:
0
0
0
10px
;
margin
:
0
0
0
10px
;
}
.qa-nav-user-updates
:before
{
margin
:
0
0
0
10px
;
margin
:
0
0
0
10px
;
}
.qa-nav-user-logout
:before
{
margin
:
0
0
0
10px
;
margin
:
0
0
0
10px
;
}
.qa-q-list-item.qa-q-favorited
{
border-right
:
1px
solid
#8e44ad
;
border-right
:
1px
solid
#8e44ad
;
}
.qa-q-item-stats
{
float
:
right
;
float
:
right
;
}
@media
(
min-width
:
800px
)
{
.qa-voting
{
float
:
right
;
}
.qa-voting
{
float
:
right
;
}
}
@media
(
min-width
:
800px
)
{
.qa-a-count
,
.qa-view-count
{
float
:
right
;
}
.qa-a-count
,
.qa-view-count
{
float
:
right
;
}
}
.qa-q-item-main
{
float
:
right
;
padding-right
:
10px
;
float
:
right
;
padding-right
:
10px
;
}
@media
(
max-width
:
240px
)
{
.qa-q-item-main
{
padding-right
:
0
;
}
.qa-q-item-main
{
padding-right
:
0
;
}
}
.qam-q-list-close-icon
{
float
:
right
;
margin
:
5px
0
0
5px
;
float
:
right
;
margin
:
5px
0
0
5px
;
}
.qa-q-item-avatar
{
margin
:
0
0
0
5px
;
margin
:
0
0
0
5px
;
}
@media
(
min-width
:
480px
)
{
.qa-q-item-avatar
{
float
:
right
;
}
.qa-q-item-avatar
{
float
:
right
;
}
}
.qa-q-item-meta
{
float
:
right
;
float
:
right
;
}
.qa-q-item-meta
.qa-category-link.qa-cat-favorited
{
padding-right
:
14px
;
padding-right
:
14px
;
}
.qa-q-item-meta
.qa-category-link.qa-cat-favorited
:before
{
right
:
0
;
right
:
0
;
}
.qa-q-item-meta
.qa-user-link.qa-user-favorited
{
padding-right
:
14px
;
padding-right
:
14px
;
}
.qa-q-item-meta
.qa-user-link.qa-user-favorited
:before
{
right
:
0
;
right
:
0
;
}
.qa-tag-link.qa-tag-favorited
,
.qa-widget-side
.qa-q-view-tag-item.qa-tag-favorited
,
.qa-widget-side
>
div
>
a
.qa-tag-favorited
{
padding-right
:
25px
;
padding-right
:
25px
;
}
.qa-tag-link.qa-tag-favorited
:before
,
.qa-widget-side
.qa-q-view-tag-item.qa-tag-favorited
:before
,
.qa-widget-side
>
div
>
a
.qa-tag-favorited
:before
{
right
:
0
;
right
:
0
;
}
.qa-top-users-label
.qa-avatar-link
{
float
:
right
;
margin-left
:
1em
;
float
:
right
;
margin-left
:
1em
;
}
.qa-top-users-label
.qa-user-link
{
float
:
right
;
float
:
right
;
}
@media
(
min-width
:
980px
)
{
.qa-top-users-label
.qa-user-link
:hover:after
,
.qa-top-users-label
.qa-user-link
:focus:after
{
-ms-transform
:
translate
(
-80px
,
0
);
-webkit-transform
:
translate
(
-80px
,
0
);
transform
:
translate
(
-80px
,
0
);
}
.qa-top-users-label
.qa-user-link
:hover:after
,
.qa-top-users-label
.qa-user-link
:focus:after
{
-ms-transform
:
translate
(
-80px
,
0
);
-webkit-transform
:
translate
(
-80px
,
0
);
transform
:
translate
(
-80px
,
0
);
}
}
.qa-top-users-label
.qa-user-link
:before
{
right
:
-5px
;
border-left
:
5px
solid
#e74c3c
;
right
:
-5px
;
border-left
:
5px
solid
#e74c3c
;
}
@media
(
min-width
:
980px
)
{
.qa-top-users-label
.qa-user-link
:after
{
left
:
0
;
border-right
:
7px
solid
#e74c3c
;
}
.qa-top-users-label
.qa-user-link
:after
{
left
:
0
;
border-right
:
7px
solid
#e74c3c
;
}
}
.qa-top-users-label
.qa-user-link.qa-user-favorited
{
padding-right
:
22px
;
padding-right
:
22px
;
}
.qam-user-score-icon
{
padding
:
2px
1.8em
2px
6px
;
float
:
left
;
padding
:
2px
1.8em
2px
6px
;
float
:
left
;
}
.qam-user-score-icon
:before
{
right
:
0
;
right
:
0
;
}
.qa-browse-cat-link
:before
{
left
:
-5px
;
border-right
:
5px
solid
#c0392b
;
left
:
-5px
;
border-right
:
5px
solid
#c0392b
;
}
.qa-browse-cat-note
a
{
left
:
5px
;
padding
:
2px
2em
2px
10px
;
left
:
5px
;
padding
:
2px
2em
2px
10px
;
}
.qa-browse-cat-note
a
:before
{
right
:
0
;
right
:
0
;
}
@media
(
min-width
:
980px
)
{
.qa-part-form-profile
{
float
:
right
;
}
.qa-part-form-profile
{
float
:
right
;
}
}
@media
(
min-width
:
980px
)
{
.qa-template-user
.qa-part-form-activity
,
.qa-template-user
.qa-part-message-list
{
float
:
left
;
clear
:
left
;
}
.qa-template-user
.qa-part-form-activity
,
.qa-template-user
.qa-part-message-list
{
float
:
left
;
clear
:
left
;
}
}
.qa-form-light-button
{
float
:
left
;
margin
:
0
5px
0
0
;
float
:
left
;
margin
:
0
5px
0
0
;
}
.qa-form-light-button-answer
{
float
:
right
;
margin
:
0
0
0
5px
;
float
:
right
;
margin
:
0
0
0
5px
;
}
.qa-form-light-button-comment
{
float
:
right
;
float
:
right
;
}
.qa-q-view-stats
{
float
:
right
;
float
:
right
;
}
.qam-q-view-close-icon
{
float
:
right
;
margin
:
8px
0
5px
0
;
float
:
right
;
margin
:
8px
0
5px
0
;
}
.qa-q-view-avatar
{
left
:
20px
;
left
:
20px
;
}
@media
(
max-width
:
979px
)
{
.qa-q-view-meta
{
clear
:
right
;
}
.qa-q-view-meta
{
clear
:
right
;
}
}
@media
(
min-width
:
980px
)
{
.qa-q-view-main
{
float
:
right
;
margin
:
0
20px
0
0
;
}
.qa-q-view-main
{
float
:
right
;
margin
:
0
20px
0
0
;
}
}
.qa-q-view-closed
{
padding
:
10px
54px
10px
10px
;
padding
:
10px
54px
10px
10px
;
}
.qa-q-view-closed
:before
{
right
:
0
;
right
:
0
;
}
.qa-q-view-closed
:hover
{
padding
:
10px
54px
10px
10px
;
margin-bottom
:
5px
;
background
:
#e74c3c
;
color
:
#fff
;
padding
:
10px
54px
10px
10px
;
margin-bottom
:
5px
;
background
:
#e74c3c
;
color
:
#fff
;
}
.qa-q-view-closed
:hover
a
{
color
:
#fff
;
border-bottom
:
1px
dotted
#fff
;
color
:
#fff
;
border-bottom
:
1px
dotted
#fff
;
}
.qa-q-view-closed
:hover
a
:hover
{
color
:
#fff
;
border-bottom
:
0
;
color
:
#fff
;
border-bottom
:
0
;
}
@media
(
min-width
:
980px
)
{
.qa-a-item-main
{
float
:
right
;
margin
:
0
20px
0
0
;
}
.qa-a-item-main
{
float
:
right
;
margin
:
0
20px
0
0
;
}
}
.qa-a-item-avatar
{
left
:
20px
;
left
:
20px
;
}
.qa-a-selection
{
position
:
absolute
;
position
:
absolute
;
}
@media
(
max-width
:
979px
)
{
.qa-a-selection
{
right
:
100px
;
}
.qa-a-selection
{
right
:
100px
;
}
}
@media
(
min-width
:
980px
)
{
.qa-a-selection
{
right
:
20px
;
}
.qa-a-selection
{
right
:
20px
;
}
}
.qa-a-selection
.qa-waiting
{
right
:
50%
;
margin
:
-7px
-7px
0
0
;
right
:
50%
;
margin
:
-7px
-7px
0
0
;
}
.qa-c-list-item
.qa-form-light-button
{
float
:
left
;
margin
:
0
5px
0
0
;
float
:
left
;
margin
:
0
5px
0
0
;
}
.qa-c-list-item
.qa-form-light-button-comment
{
float
:
right
;
float
:
right
;
}
.qa-c-item-avatar
{
left
:
10px
;
left
:
10px
;
}
.qa-activity-count-item
{
float
:
right
;
float
:
right
;
}
.qa-nav-cat-link.qa-nav-cat-favorited
{
padding-right
:
20px
;
padding-right
:
20px
;
}
.qa-nav-cat-link.qa-nav-cat-favorited
:before
{
right
:
0
;
right
:
0
;
}
.qa-nav-cat-note
{
float
:
left
;
float
:
left
;
}
.qa-feed-link
:before
{
float
:
right
;
margin-left
:
15px
;
float
:
right
;
margin-left
:
15px
;
}
@media
(
min-width
:
980px
)
{
.qam-footer-col
{
float
:
right
;
}
.qam-footer-col
{
float
:
right
;
}
}
@media
(
min-width
:
480px
)
{
.qa-nav-footer
{
float
:
right
;
}
.qa-nav-footer
{
float
:
right
;
}
}
.qa-nav-footer-item
{
float
:
right
;
float
:
right
;
}
.qa-nav-footer-link
{
padding
:
0
0
0
5px
;
border-width
:
0
0
0
1px
;
padding
:
0
0
0
5px
;
border-width
:
0
0
0
1px
;
}
@media
(
min-width
:
480px
)
{
.qa-attribution
{
float
:
left
;
border-left
:
1px
solid
rgba
(
255
,
255
,
255
,
0.5
);
}
.qa-attribution
{
float
:
left
;
border-left
:
1px
solid
rgba
(
255
,
255
,
255
,
0.5
);
}
}
@media
(
min-width
:
480px
)
{
.qam-attribution
{
float
:
left
;
padding
:
0
5px
0
0
;
}
.qam-attribution
{
float
:
left
;
padding
:
0
5px
0
0
;
}
}
@media
(
min-width
:
980px
)
{
.qa-main
{
float
:
right
;
}
.qa-main
{
float
:
right
;
}
}
@media
(
min-width
:
980px
)
{
.qa-sidepanel
{
float
:
left
;
}
.qa-sidepanel
{
float
:
left
;
}
}
qa-theme/SnowFlat/qa-theme.php
View file @
c37a8a02
<?php
/*
Snow Theme for Question2Answer Package
Copyright (C) 2014 Q2A Market <http://www.q2amarket.com>
File: qa-theme.php
Version: Snow 1.4
Description: Q2A theme class
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Snow Theme for Question2Answer Package
Copyright (C) 2014 Q2A Market <http://www.q2amarket.com>
File: qa-theme.php
Version: Snow 1.4
Description: Q2A theme class
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
...
...
@@ -268,9 +265,9 @@ class qa_html_theme extends qa_html_theme_base
}
// search and replace within the string
$search
=
array
(
' - <'
,
'> - '
);
$search
=
array
(
' - <'
,
'> - '
);
$replace
=
array
(
' <'
,
'> '
);
$output
=
$this
->
output
(
'<span class="qa-'
.
$class
.
'-note '
.
$qam_note_class
.
'">'
.
str_replace
(
$search
,
$replace
,
$navlink
[
'note'
])
.
'</span>'
);
$output
=
$this
->
output
(
'<span class="qa-'
.
$class
.
'-note '
.
$qam_note_class
.
'">'
.
str_replace
(
$search
,
$replace
,
$navlink
[
'note'
])
.
'</span>'
);
}
}
...
...
@@ -336,18 +333,10 @@ class qa_html_theme extends qa_html_theme_base
$this
->
output
(
$qam_snow
->
footer_custom_content
);
$this
->
output
(
'<div class="qam-footer-box">'
);
// footer columns
// $this->output($qam_snow->footers['footer_columns']);
$this
->
output
(
'<div class="qam-footer-row">'
);
$this
->
widgets
(
'full'
,
'bottom'
);
// for ($i = 0; $i < 4; $i++)
// $this->output('<div class="qam-footer-col">' . $i . '</div>');
$this
->
output
(
'</div> <!-- END qam-footer-row -->'
);
// key to icons in footer
// $this->output($this->icons_info());
qa_html_theme_base
::
footer
();
$this
->
output
(
'</div> <!-- END qam-footer-box -->'
,
''
);
}
...
...
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