Commit 41e1415a by Reda Lemeden

New question list stylesheet

parent 9c1dc60b
...@@ -417,17 +417,17 @@ body.anon #searchBar { ...@@ -417,17 +417,17 @@ body.anon #searchBar {
padding-left: 0px; } padding-left: 0px; }
.contributorback { .contributorback {
background: #eceeeb url(../images/contributorsback.png) no-repeat center left; } background: #eceeeb url(../images/contributorsback.png) no-repeat center left; }
label { // label {
color: #707070; // color: #707070;
font-size: 15px; // font-size: 15px;
display: block; // display: block;
float: right; // float: right;
text-align: left; // text-align: left;
font-family: 'Yanone Kaffeesatz',sans-serif; // font-family: 'Yanone Kaffeesatz',sans-serif;
width: 80px; // width: 80px;
margin-right: 18px; } // margin-right: 18px; }
#displayTagFilterControl label { // #displayTagFilterControl label {
width: 160px; } // width: 160px; }
ul { ul {
margin-left: 22px; } margin-left: 22px; }
li { li {
...@@ -640,15 +640,15 @@ body.anon #searchBar { ...@@ -640,15 +640,15 @@ body.anon #searchBar {
// &:hover { // &:hover {
// color: #F4A731 !important; } } // color: #F4A731 !important; } }
#questionCount { // #questionCount {
font-weight: bold; // font-weight: bold;
font-size: 23px; // font-size: 23px;
color: #7ea9b3; // color: #7ea9b3;
width: 200px; // width: 200px;
float: left; // float: left;
margin-bottom: 8px; // margin-bottom: 8px;
padding-top: 6px; // padding-top: 6px;
font-family: 'Yanone Kaffeesatz',sans-serif; } // font-family: 'Yanone Kaffeesatz',sans-serif; }
#listSearchTags { #listSearchTags {
float: left; float: left;
...@@ -2679,29 +2679,29 @@ pre.prettyprint { ...@@ -2679,29 +2679,29 @@ pre.prettyprint {
padding: 3px; padding: 3px;
border: 0px solid #888; } border: 0px solid #888; }
@media print { // @media print {
.str { // .str {
color: #060; } // color: #060; }
.kwd { // .kwd {
color: #006; // color: #006;
font-weight: bold; } // font-weight: bold; }
.com { // .com {
color: #600; // color: #600;
font-style: italic; } // font-style: italic; }
.typ { // .typ {
color: #404; // color: #404;
font-weight: bold; } // font-weight: bold; }
.lit { // .lit {
color: #044; } // color: #044; }
.pun { // .pun {
color: #440; } // color: #440; }
.pln { // .pln {
color: #000; } // color: #000; }
.tag { // .tag {
color: #006; // color: #006;
font-weight: bold; } // font-weight: bold; }
.atn { // .atn {
color: #404; } // color: #404; }
.atv { // .atv {
color: #060; } } // color: #060; } }
...@@ -18,7 +18,7 @@ body.askbot { ...@@ -18,7 +18,7 @@ body.askbot {
&.question-filter { &.question-filter {
font-size:16px; font-size:16px;
margin-top: 4px; margin-top: 4px;
width: grid-width(4); width: flex-grid(4);
ul { ul {
@include border-radius(35px); @include border-radius(35px);
...@@ -52,26 +52,30 @@ body.askbot { ...@@ -52,26 +52,30 @@ body.askbot {
&.search-box { &.search-box {
margin-left:2%; margin-left:2%;
text-align:right; text-align:right;
width: grid-width(8); width: flex-grid(8);
input[type="text"] {
margin-right: 6px;
width: flex-grid(2,8);
}
} }
} }
} }
} }
.main-content { section.main-content {
.discussion-wrapper { div.discussion-wrapper {
display: table; @extend .table-wrapper;
width: 100%;
.discussion-content { div.discussion-content {
@include box-sizing(border-box); @include box-sizing(border-box);
display: table-cell; display: table-cell;
padding: $gw-gutter; padding: $gw-gutter;
vertical-align: top; vertical-align: top;
width: grid-width(9); width: flex-grid(9);
.order-sort { div.order-sort {
@include border-radius(35px); @include border-radius(35px);
background-color: lighten(#F6EFD4, 5%) ; background-color: lighten(#F6EFD4, 5%) ;
height: 30px; height: 30px;
...@@ -96,18 +100,21 @@ body.askbot { ...@@ -96,18 +100,21 @@ body.askbot {
} }
} }
.tabula-rasa { p.tabula-rasa {
@include border-radius(5px); @include border-radius(5px);
background-color: #f6f6f6; background-color: #f6f6f6;
color: #888; color: #888;
margin: 10px auto; margin: 10px auto;
padding: 20px; padding: 20px;
text-align: center; text-align: center;
width: grid-width(5); width: flex-grid(5);
&:first-child { &:first-child {
margin-top: 70px; margin-top: 70px;
} }
&:last-child {
margin-bottom: 70px;
}
a { a {
text-decoration: none; text-decoration: none;
...@@ -123,7 +130,7 @@ body.askbot { ...@@ -123,7 +130,7 @@ body.askbot {
border-left: 1px solid #d3d3d3; border-left: 1px solid #d3d3d3;
border-right: 1px solid #f6f6f6; border-right: 1px solid #f6f6f6;
padding: $gw-gutter; padding: $gw-gutter;
width: grid-width(3); width: flex-grid(3);
h2 { h2 {
font-size: 16px; font-size: 16px;
...@@ -135,7 +142,7 @@ body.askbot { ...@@ -135,7 +142,7 @@ body.askbot {
} }
input[type="text"] { input[type="text"] {
width: 68%; width: 76%;
} }
#displayTagFilterControl { #displayTagFilterControl {
...@@ -149,7 +156,7 @@ body.askbot { ...@@ -149,7 +156,7 @@ body.askbot {
margin: 0 auto; margin: 0 auto;
padding: 0; padding: 0;
.footer-wrapper { div.footer-wrapper {
@extend .clearfix; @extend .clearfix;
@extend .wrapper; @extend .wrapper;
@include box-shadow(0 1px 0 #fff); @include box-shadow(0 1px 0 #fff);
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
@import "wiki-create", "wiki"; @import "wiki-create", "wiki";
@import "activation"; @import "activation";
@import "help"; @import "help";
@import "discussion", "askbot-original"; @import "discussion", "discussion-questions", "askbot-original";
// left over // left over
@import "theme"; @import "theme";
......
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