Commit ceb8d4bf by Kyle Fiedler

fix some small css bugs in askbot

parent cec1ecf9
...@@ -46,6 +46,36 @@ h1.top-header { ...@@ -46,6 +46,36 @@ h1.top-header {
} }
} }
.light-button, a.light-button {
@include box-shadow(inset 0 1px 0 #fff);
@include linear-gradient(#fff, lighten(#888, 40%));
@include border-radius(3px);
border: 1px solid #ccc;
padding: 4px 8px;
color: #666;
font: normal $body-font-size $body-font-family;
text-decoration: none;
cursor: pointer;
-webkit-font-smoothing: antialiased;
&:hover, &:focus {
@include linear-gradient(#fff, lighten(#888, 37%));
border: 1px solid #ccc;
text-decoration: none;
}
}
.action-link {
a {
color: $mit-red;
&:hover {
text-decoration: none;
color: darken($mit-red, 20%);
}
}
}
.content { .content {
@include box-shadow(inset 0 0 2px 3px #f3f3f3); @include box-shadow(inset 0 0 2px 3px #f3f3f3);
@include box-sizing(border-box); @include box-sizing(border-box);
......
// Base extends (Merge with main stylesheet later)
.light-button, a.light-button {
@include box-shadow(inset 0 1px 0 #fff);
@include linear-gradient(#fff, lighten(#888, 40%));
@include border-radius(3px);
border: 1px solid #ccc;
padding: 4px 8px;
color: #666;
font: normal $body-font-size $body-font-family;
text-decoration: none;
cursor: pointer;
-webkit-font-smoothing: antialiased;
&:hover, &:focus {
@include linear-gradient(#fff, lighten(#888, 37%));
border: 1px solid #ccc;
text-decoration: none;
}
}
.action-link {
a {
color: $mit-red;
&:hover {
text-decoration: none;
color: darken($mit-red, 20%);
}
}
}
// Layout // Layout
body.askbot { body.askbot {
......
...@@ -105,8 +105,8 @@ ul.question-list, div#question-list { ...@@ -105,8 +105,8 @@ ul.question-list, div#question-list {
li.single-question { li.single-question {
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
list-style: none; list-style: none;
padding: 10px 3%; padding: 10px lh();
margin-left: -3%; margin-left: (-(lh()));
width: 100%; width: 100%;
&:hover { &:hover {
......
...@@ -288,6 +288,7 @@ div.discussion-wrapper aside { ...@@ -288,6 +288,7 @@ div.discussion-wrapper aside {
border-top: 0; border-top: 0;
@include box-shadow(none); @include box-shadow(none);
} }
a { a {
width: 100%; width: 100%;
@include box-sizing(border-box); @include box-sizing(border-box);
...@@ -295,6 +296,7 @@ div.discussion-wrapper aside { ...@@ -295,6 +296,7 @@ div.discussion-wrapper aside {
padding: 10px; padding: 10px;
display: block; display: block;
margin-top: 10px; margin-top: 10px;
@extend .light-button;
&:first-child { &:first-child {
margin-top: 0; margin-top: 0;
......
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