Commit 8d84f6ef by Reda Lemeden

Minor visual bug fixes in Askbot

parent 3f7c4ada
...@@ -1165,13 +1165,13 @@ body.anon #searchbar { ...@@ -1165,13 +1165,13 @@ body.anon #searchbar {
font-weight: normal; font-weight: normal;
cursor: help; } cursor: help; }
.question-options { // .question-options {
margin-top: 1px; // margin-top: 1px;
color: #666; // color: #666;
line-height: 13px; // line-height: 13px;
margin-bottom: 5px; // margin-bottom: 5px;
label { // label {
vertical-align: text-bottom; } } // vertical-align: text-bottom; } }
// .edit-content-html { // .edit-content-html {
// border-top: 1px dotted #d8d2a9; // border-top: 1px dotted #d8d2a9;
......
// Base extends (Merge with main stylesheet later) // Base extends (Merge with main stylesheet later)
.light-button { .light-button, a.light-button {
@include box-shadow(inset 0 1px 0 #fff); @include box-shadow(inset 0 1px 0 #fff);
@include linear-gradient(#fff, lighten(#888, 40%)); @include linear-gradient(#fff, lighten(#888, 40%));
@include border-radius(3px); @include border-radius(3px);
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
&:hover, &:focus { &:hover, &:focus {
@include linear-gradient(#fff, lighten(#888, 30%)); @include linear-gradient(#fff, lighten(#888, 37%));
border: 1px solid #ccc; border: 1px solid #ccc;
text-decoration: none; text-decoration: none;
} }
...@@ -43,7 +43,7 @@ body.askbot { ...@@ -43,7 +43,7 @@ body.askbot {
vertical-align: top; vertical-align: top;
width: flex-grid(9) + flex-gutter(); width: flex-grid(9) + flex-gutter();
.tabula-rasa { a.tabula-rasa, .tabula-rasa{
@extend .light-button; @extend .light-button;
@include border-radius(5px); @include border-radius(5px);
display: block; display: block;
...@@ -58,6 +58,7 @@ body.askbot { ...@@ -58,6 +58,7 @@ body.askbot {
&:first-child { &:first-child {
margin-top: 70px; margin-top: 70px;
} }
&:last-child { &:last-child {
margin-bottom: 70px; margin-bottom: 70px;
} }
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
} }
#wmd-button-bar { #wmd-button-bar {
background: url(/static/images/askbot/editor-toolbar-background.png) repeat-x bottom;
border: 1px solid #ddd; border: 1px solid #ddd;
height:36px; height:36px;
float:left; float:left;
......
...@@ -3,7 +3,6 @@ form.answer-form { ...@@ -3,7 +3,6 @@ form.answer-form {
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
overflow: hidden; overflow: hidden;
padding-left: flex-grid(1.1); padding-left: flex-grid(1.1);
// padding-top: 20px;
textarea { textarea {
@include box-sizing(border-box); @include box-sizing(border-box);
...@@ -105,12 +104,8 @@ input.after-editor { ...@@ -105,12 +104,8 @@ input.after-editor {
form.question-form { form.question-form {
@extend .answer-form; @extend .answer-form;
border: none; border: none;
padding: 0; padding: 15px 0 0 0;
margin-top: -15px;
h1 a {
float: right;
}
input[type="text"] { input[type="text"] {
@include box-sizing(border-box); @include box-sizing(border-box);
...@@ -121,4 +116,3 @@ form.question-form { ...@@ -121,4 +116,3 @@ form.question-form {
margin-top: 10px; margin-top: 10px;
} }
} }
...@@ -2,7 +2,7 @@ body.user-profile-page { ...@@ -2,7 +2,7 @@ body.user-profile-page {
section.questions { section.questions {
h1 { h1 {
@extend .top-header; margin: 0;
} }
} }
......
...@@ -5,6 +5,14 @@ div.question-list-header { ...@@ -5,6 +5,14 @@ div.question-list-header {
width: flex-grid(9,9); width: flex-grid(9,9);
@extend h1.top-header; @extend h1.top-header;
h1 {
margin: 0;
> a.light-button {
}
}
section.question-list-meta { section.question-list-meta {
display: block; display: block;
overflow: hidden; overflow: hidden;
...@@ -121,7 +129,6 @@ ul.question-list, div#question-list { ...@@ -121,7 +129,6 @@ ul.question-list, div#question-list {
&.question-body { &.question-body {
@include box-sizing(border-box); @include box-sizing(border-box);
margin-right: flex-gutter(); margin-right: flex-gutter();
padding-left: 10px;
width: flex-grid(5.5,9); width: flex-grid(5.5,9);
h2 { h2 {
......
...@@ -271,4 +271,22 @@ div.discussion-wrapper aside { ...@@ -271,4 +271,22 @@ div.discussion-wrapper aside {
margin: 0; margin: 0;
} }
} }
div.view-profile {
h2 {
border-top: 0;
@include box-shadow(none);
}
a {
width: 100%;
@include box-sizing(border-box);
text-align: center;
padding: 10px;
display: block;
span {
font-weight: bold;
}
}
}
} }
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