Commit c37a8a02 by Scott

Convert some files to tab indentation

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