Merge pull request #2165 from awesomerobot/master

a few simple style clean-ups
This commit is contained in:
Jeff Atwood 2014-03-22 14:52:46 -07:00
commit 7804b33dbf
2 changed files with 32 additions and 57 deletions

View File

@ -4,11 +4,11 @@
.gap { .gap {
background-color: lighten($secondary_background_color, 76%); background-color: lighten($secondary_background_color, 76%);
padding: 5px 10px; padding: 5px 0;
color: lighten($primary_text_color, 35%); color: lighten($primary_text_color, 35%);
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
width: 822px; width: 80%;
&:hover { &:hover {
background-color: lighten($secondary_background_color, 76%); background-color: lighten($secondary_background_color, 76%);
@ -106,27 +106,31 @@ section.post-menu-area, .post-actions {
nav.post-controls { nav.post-controls {
padding: 0; padding: 0;
button {color: lighten($primary_text_color, 50%); button {
color: lighten($primary_text_color, 50%);
margin-right: 2px; margin-right: 2px;
} }
span.badge-posts { span.badge-posts {
margin-right: 5px; margin-right: 5px;
color: lighten($primary_text_color, 50%); transition: all linear 0.15s;
} }
.show-replies { .show-replies {
background: lighten($secondary_background_color, 76%);
padding: 8px 15px;
padding-bottom: 20px;
margin-left: 0;
span.badge-posts {color: lighten($primary_text_color, 50%);}
&:hover {
background: lighten($secondary_background_color, 76%);
span.badge-posts {color: $primary_text_color;}
}
i { i {
margin-left: 5px; margin-left: 5px;
} }
} }
button.show-replies {
padding: 8px 15px;
margin-left: 0;
}
button.create { button.create {
margin-right: 0; margin-right: 0;
color: $link-color; color: $link-color;
@ -209,13 +213,11 @@ nav.post-controls {
.embedded-posts { .embedded-posts {
background: lighten($secondary_background_color, 76%); background: lighten($secondary_background_color, 76%);
.quote .title {background: lighten($secondary_background_color, 60%);} .quote .title, blockquote, .onebox, .onebox-result {
blockquote {background: lighten($secondary_background_color, 60%);} background: lighten($secondary_background_color, 70%);
.onebox { border-left: 5px solid lighten($secondary_background_color, 60%);
background: lighten($secondary_background_color, 60%);
border-left: 5px solid lighten($secondary_background_color, 35%);
.quote-controls, .quote-controls a {color: $link-color;}
} }
&.bottom { margin-top: -11px;} &.bottom { margin-top: -11px;}
.topic-meta-data h5 {margin: 5px;} .topic-meta-data h5 {margin: 5px;}
.topic-meta-data-inside { .topic-meta-data-inside {
@ -225,6 +227,16 @@ nav.post-controls {
.topic-meta-data {padding-top: 20px;} .topic-meta-data {padding-top: 20px;}
} }
.bottom-round nav.post-controls .show-replies {
background: lighten($secondary_background_color, 76%);
margin-bottom: 0;
padding-bottom: 8px;
&:hover {background: lighten($secondary_background_color, 76%);
}
}
.post-action { .post-action {
.relative-date { .relative-date {
margin-left: 5px; margin-left: 5px;
@ -328,7 +340,6 @@ a.star {
border-top: 1px solid $primary_border_color; border-top: 1px solid $primary_border_color;
} }
.participants { // PMs // .participants { // PMs //
.user {float: left; margin: 7px 20px 7px 0;} .user {float: left; margin: 7px 20px 7px 0;}
} }
@ -354,7 +365,7 @@ a.star {
color: $primary_text_color; color: $primary_text_color;
border: none !important; border: none !important;
border-bottom: 1px solid lighten($secondary_background_color, 60%) !important; border-bottom: 1px solid lighten($secondary_background_color, 60%) !important;
span.badge-posts {color: $primary_text_color;}
} }
&.collapsed { &.collapsed {
@ -451,8 +462,6 @@ iframe {
} }
} }
/**/
@include small-width { @include small-width {
.extra-info-wrapper { .extra-info-wrapper {
@ -460,7 +469,6 @@ iframe {
} }
} }
.extra-info { .extra-info {
h1 { h1 {
margin: 5px 0 0 0; margin: 5px 0 0 0;
@ -629,10 +637,7 @@ iframe {
} }
.topic-admin-menu { .topic-admin-menu {
h3 {margin-top: 0;} h3 {margin-top: 0;}
} }
.deleted-user-avatar { .deleted-user-avatar {
@ -679,7 +684,7 @@ blockquote { /* solo quotes */
margin: 14px 0; margin: 14px 0;
padding: 12px; padding: 12px;
a.mention {background: lighten($secondary_background_color, 60%);} a.mention {background: lighten($secondary_background_color, 70%);}
p:first-of-type {margin-top: 0;} p:first-of-type {margin-top: 0;}
p:last-of-type {margin-bottom: 0;} p:last-of-type {margin-bottom: 0;}
} }
@ -702,9 +707,6 @@ blockquote { /* solo quotes */
} }
} }
.quote-controls { .quote-controls {
float: right; float: right;
color: $secondary_text_color; color: $secondary_text_color;
@ -728,8 +730,6 @@ blockquote { /* solo quotes */
} }
} }
.gutter { .gutter {
float: left; float: left;
@ -770,9 +770,7 @@ blockquote { /* solo quotes */
} }
} }
.bottom-round.contents.regular { .bottom-round.contents.regular {
-webkit-transition: background-color .25s linear; -webkit-transition: background-color .25s linear;
transition: background-color .25s linear; transition: background-color .25s linear;
@ -800,7 +798,7 @@ blockquote { /* solo quotes */
.embedded-posts { .embedded-posts {
h1, h2, h3 {margin: 10px 0;} h1, h2, h3 {margin: 10px 0;}
a.mention {background: lighten($secondary_background_color, 60%);} a.mention {background: lighten($secondary_background_color, 70%);}
&.bottom { &.bottom {
.topic-meta-data {padding-left: 13px;} .topic-meta-data {padding-left: 13px;}
&.hidden {display: block; opacity: 0; } &.hidden {display: block; opacity: 0; }
@ -828,28 +826,6 @@ blockquote { /* solo quotes */
.reply:first-of-type .row {border-top: none;} .reply:first-of-type .row {border-top: none;}
} }
.contents.regular {
button.show-replies {
background: lighten($secondary_background_color, 76%);
padding-bottom: 20px;
&:hover {background: lighten($secondary_background_color, 76%);
.badge-posts {color: $secondary_text_color;}
}
}
&.bottom-round button.show-replies {
background: lighten($secondary_background_color, 76%);
margin-bottom: 0;
padding-bottom: 8px;
&:hover {background: lighten($secondary_background_color, 76%);
.badge-posts {color: $secondary_text_color;}
}
}
}
.dropdown { .dropdown {
position: relative; position: relative;
} }
@ -1019,7 +995,6 @@ clear: both;
} }
} }
a.attachment:before { a.attachment:before {
display: inline-block; display: inline-block;
margin-right: 4px; margin-right: 4px;

View File

@ -133,7 +133,7 @@ a:hover.reply-new {
z-index: 1; z-index: 1;
} }
button { button {
padding: 3px 0 0 0; padding: 3px 1px 0 0;
cursor: pointer; cursor: pointer;
z-index: 1000; z-index: 1000;
position: absolute; position: absolute;