Kill trailing whitespace in scss files

This commit is contained in:
小太
2013-03-19 23:32:39 +11:00
parent 3ce4c704d4
commit 0da58dcb79
34 changed files with 212 additions and 212 deletions

View File

@@ -4,7 +4,7 @@
// Reset.sass
// Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an
// adapted version here that cuts out some of the reset HTML elements we will
// adapted version here that cuts out some of the reset HTML elements we will
// never need here (i.e., dfn, samp, etc).
// ERIC MEYER RESET

View File

@@ -48,16 +48,16 @@ h1, h2, h3, h4, h5, h6 {
}
h1 {
font-size: $h1_size;
font-size: $h1_size;
}
h2 {
font-size: $h2_size;
h2 {
font-size: $h2_size;
}
h3, h4, h5, h6 {
font-weight: bold;
font-size: $h3_size;
font-size: $h3_size;
}
fieldset {
@@ -88,17 +88,17 @@ legend {
menu {
margin: 0;
padding: 0;
ul {
margin: 0;
padding: 0;
}
li {
margin: 0;
padding: 0 0.2em;
list-style-type: none;
display: inline;
display: inline;
}
}

View File

@@ -6,19 +6,19 @@ div.prose {
h1, h2, h3 {
line-height: 1em;
}
h1 {
padding: $h1_padding;
padding: $h1_padding;
}
h2 {
padding: $h2_padding;
h2 {
padding: $h2_padding;
}
h3 {
padding: $h3_padding;
h3 {
padding: $h3_padding;
}
h4, h5, h6 {
padding: 0;
}
@@ -26,12 +26,12 @@ div.prose {
ul {
margin-left: 1em;
margin-bottom: 1em;
ul {
margin-bottom: 0;
}
}
li {
list-style-type: disc;
}

View File

@@ -1,6 +1,6 @@
div.ui-dialog {
overflow: visible;
ul {
margin-left: 1em;
margin-bottom: 1em;

View File

@@ -7,62 +7,62 @@ div#search {
div#page {
overflow: visible;
margin: 0 30px;
div#upgrade-account-notice, div#sign-up-notice, div#tos-notice {
margin: 1em 0;
padding: 1em;
text-align: center;
position: relative;
h1 {
font-size: $h2_size;
font-weight: bold;
}
p {
margin: 0;
}
}
aside#sidebar {
width: 15em;
float: left;
position: absolute;
h1 {
font-size: $h3_size;
}
ul {
list-style-type: none;
}
input[type=text] {
width: 10em;
}
}
aside#sidebar > section {
margin-bottom: 1em;
}
aside#sidebar > section#blacklist-box ul {
margin-left: 1em;
li {
list-style-type: disc;
}
a {
color: $link_color;
cursor: pointer;
}
span {
color: #AAA;
}
}
section#content {
overflow: visible;
margin-left: 15em;
@@ -91,4 +91,4 @@ div#more-links {
padding: 0.2em 0.6em;
@include box-shadow(2px 2px 2px #ccc);
}

View File

@@ -4,7 +4,7 @@ div#news-updates {
border-bottom: 2px solid #666;
overflow: hidden;
font-size: 0.8em;
ul {
float: left;
margin: 0;

View File

@@ -1,7 +1,7 @@
div.error-messages {
margin: 1em 0;
padding: 1em;
h1 {
font-size: 1em;
color: #A00;

View File

@@ -5,34 +5,34 @@ header#top {
font-size: 2.5em;
margin: 5px 30px 0 30px;
}
menu {
margin-top: -2px;
background: $menu_color;
padding: 6px 20px;
form {
display: inline-block;
input {
width: 8em;
}
}
li {
margin: 0;
padding: 0;
}
li a {
padding: 6px 10px;
}
}
menu.main {
margin-top: 0px;
background: none;
li.current a {
background: $menu_color;
font-weight: bold;

View File

@@ -5,7 +5,7 @@ div.paginator {
padding: 2em 0 1em 0;
text-align: center;
clear: both;
li {
a {
margin: 0 0.25em;

View File

@@ -1,6 +1,6 @@
form.simple_form {
margin: 0 0 1em 0;
div.input.boolean {
label {
display: inline;
@@ -8,32 +8,32 @@ form.simple_form {
vertical-align: middle;
}
}
div.input {
margin-bottom: 1em;
input[type=text], input[type=file], input[type=password], input[type=email] {
width: 20em;
}
textarea {
width: 100%;
font-size: 1.2em;
}
label {
display: block;
cursor: pointer;
font-weight: bold;
line-height: 1.5em;
}
fieldset {
border: none;
display: inline;
margin: 0;
padding: 0;
label {
font-weight: normal;
width: auto;

View File

@@ -4,25 +4,25 @@ table.striped {
p {
margin: 0;
}
td, th {
padding: 4px 6px;
}
tbody {
tr {
border-bottom: 1px solid #CCC;
&:hover {
background-color: $highlight_color;
}
}
}
.number {
text-align: right;
}
thead {
tr {
border-bottom: 2px solid #666;
@@ -34,7 +34,7 @@ table.striped {
color: #333;
}
}
tr.even {
background-color: #FAFAFA;
}

View File

@@ -5,7 +5,7 @@ div#c-artists {
font-weight: bold;
color: #A00;
}
div#a-banned {
}
@@ -13,25 +13,25 @@ div#c-artists {
p.legend {
margin-bottom: 2em;
font-size: 0.8em;
font-style: italic;
font-style: italic;
}
}
div#a-edit, div#a-new {
textarea {
height: 5em;
}
}
div.recent-posts {
div.recent-posts {
margin-top: 1em;
h1 {
font-size: $h2_size;
margin: 0;
}
}
.hint {
display: block;
}

View File

@@ -4,7 +4,7 @@ div.comments-for-post {
div.notices {
margin: 1em 0;
}
p.info {
color: #AAA;
font-style: italic;
@@ -14,24 +14,24 @@ div.comments-for-post {
div.list-of-comments {
article.comment {
margin-bottom: 2em;
div.author {
width: 12em;
float: left;
overflow: hidden;
margin-right: 2em;
word-wrap: break-word;
word-wrap: break-word;
h1 {
display: block;
font-size: $h3_size;
}
}
div.content {
width: 40em;
float: left;
menu {
li {
margin-right: 1em;
@@ -39,14 +39,14 @@ div.comments-for-post {
}
}
}
article.comment.below-threshold {
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
filter: alpha(opacity=30);
zoom: 1;
opacity: 0.3;
}
article.comment.below-threshold:hover {
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
filter: alpha(opacity=100);
@@ -54,7 +54,7 @@ div.comments-for-post {
opacity: 1.0;
}
}
div.comment-preview {
margin-bottom: 2em;
}
@@ -70,18 +70,18 @@ div#c-comments {
strong, time {
margin-right: 0.3em;
}
div.list-of-tags {
a {
margin-right: 0.5em;
}
}
div.notices {
margin: 1em 0;
}
}
div.preview {
float: left;
width: 154px;
@@ -90,7 +90,7 @@ div#c-comments {
overflow: hidden;
text-align: center;
}
div.post {
margin-bottom: 4em;
@@ -99,7 +99,7 @@ div#c-comments {
width: 55em;
}
}
div.post.blacklisted {
display: none;
}

View File

@@ -4,17 +4,17 @@ div#c-dmails {
div#a-show {
max-width: 50em;
}
tr.read-false {
font-weight: bold;
}
div#preview {
margin: 1em 0;
border: 1px solid #CCC;
padding: 1em;
width: 40em;
h1 {
font-size: $h2_size;
}

View File

@@ -4,7 +4,7 @@ div#c-favorites {
section#content > h1 {
font-size: $h3_size;
}
div#posts {
margin-left: 0;
margin-right: 6.5em;

View File

@@ -7,20 +7,20 @@ div.list-of-forum-posts {
article {
margin-bottom: 3em;
div.author {
width: 12em;
float: left;
margin-right: 2em;
word-wrap: break-word;
}
div.content {
margin-left: 14em;
menu {
margin-top: 0.5em;
li {
margin-right: 1em;
}
@@ -29,21 +29,21 @@ div.list-of-forum-posts {
}
}
div.list-of-forum-posts+p {
margin-left: 14em;
div.list-of-forum-posts+p {
margin-left: 14em;
}
div#c-forum-topics {
div.single-forum-post {
}
div#a-show {
}
span.info {
color: #AAA;
}
span.new {
font-size: 80%;
color: red;
@@ -53,7 +53,7 @@ div#c-forum-topics {
a.last-page {
color: #666;
}
span.locked-topic {
color: #666;
}

View File

@@ -3,16 +3,16 @@
div#c-static {
div#a-keyboard-shortcuts {
overflow: visible;
section {
width: 20%;
float: left;
margin-bottom: 1em;
h1 {
font-size: $h3_size;
}
li {
margin-bottom: 0.5em;
}

View File

@@ -8,32 +8,32 @@ div#c-landings {
text-align: center;
font-size: 4em;
}
p.slogan {
text-align: center;
font-size: 1.5em;
font-weight: bold;
}
div.column {
width: 480px;
vertical-align: top;
float: left;
background-color: #000;
}
div.landing-post {
overflow: hidden;
}
div.landing-post:hover img {
opacity: 0.25;
}
div.landing-post:hover div.data {
opacity: 1.0;
}
div.landing-post div.data {
position: absolute;
color: white;

View File

@@ -5,7 +5,7 @@ div#c-moderator-post-queues {
margin-bottom: 4em;
overflow: hidden;
}
article.post-has-dup {
background: rgb(255, 255, 100);
}
@@ -13,26 +13,26 @@ div#c-moderator-post-queues {
article.post-neg-score {
background: rgb(255, 230, 230);
}
article.post-pos-score {
background: rgb(230, 255, 230);
}
aside {
float: left;
width: 220px;
text-align: right;
padding-right: 20px;
}
section {
float: left;
width: 600px;
}
div#moderation-guideline {
width: 900px;
h1 {
font-size: $h2_size;
}

View File

@@ -9,7 +9,7 @@ div#c-moderator-dashboards {
width: 45%;
float: left;
}
div.activity {
margin-bottom: 1em;
}
@@ -21,11 +21,11 @@ div#c-moderator-dashboards {
div#activity-search {
margin-bottom: 2em;
}
tr.feedback-category-positive {
background: #DDFFDD !important;
}
tr.feedback-category-negative {
background: #FFDDDD !important;
}

View File

@@ -1,7 +1,7 @@
div#note-container {
position: absolute;
z-index: 500;
div.note-body {
position: absolute;
border: 1px solid black;
@@ -13,29 +13,29 @@ div#note-container {
padding: 4px;
z-index: 1500;
overflow: auto;
h1, h2, h3, h4, h5, h6, a, span, div, blockquote, br, p, ul, li, ol, em, strong, small, big, b, i, font, u, s, code, center {
line-height: normal;
}
}
p.tn {
font-size: 0.8em;
color: gray;
}
b, strong {
font-weight: bold;
}
i, em {
font-style: italic;
}
small {
font-size: 0.8em;
}
}
div.note-box {
position: absolute;
border: 1px solid white;
@@ -45,12 +45,12 @@ div#note-container {
height: 100px;
cursor: move;
background: transparent;
div.note-box-inner-border {
border: 1px solid black;
background: #FFE;
}
div.note-box-inner-border.unsaved {
border: 1px solid red;
}

View File

@@ -3,16 +3,16 @@
div#c-pool-elements {
div#a-new {
font-size: 0.8em;
form {
margin-bottom: 1em;
}
li {
margin-left: 1em;
cursor: pointer;
}
h1 {
font-size: $h3_size;
}
@@ -23,15 +23,15 @@ div#c-pools {
h1 {
font-size: $h2_size;
}
p {
width: 30em;
}
textarea {
height: 10em;
}
span.inactive {
color: #AAA;
}
@@ -41,7 +41,7 @@ div#c-pool-orders {
h1 {
font-size: $h2_size;
}
div#a-edit {
ul.ui-sortable {
list-style-type: none;

View File

@@ -2,7 +2,7 @@ div#c-post-flags {
li {
list-style-type: disc;
}
tr.resolved-true {
background: #DDD !important;
}

View File

@@ -13,7 +13,7 @@ body.mode-add-fav {
body.mode-remove-fav {
background-color: "#FFA";
}
body.mode-rating-q {
background-color: "#AAA";
}

View File

@@ -8,7 +8,7 @@ article.post-preview {
overflow: hidden;
text-align: center;
@include inline-block;
img {
margin: auto;
}
@@ -120,7 +120,7 @@ div#c-posts {
font-size: 0.8em;
padding: 1em;
margin-bottom: 1em;
ul {
margin-left: 1em;
}
@@ -134,24 +134,24 @@ div#c-posts {
font-weight: bold;
}
}
div.nav-notice {
padding: 1em;
margin-bottom: 1em;
background: #EEE;
border: 1px solid #AAA;
position: relative;
p {
margin: 0;
text-align: center;
}
}
aside#sidebar #tag-list h2 {
font-size: $h4_size;
}
aside#sidebar > section#pool-sidebar {
span.ui-icon {
color: #666;
@@ -161,7 +161,7 @@ div#c-posts {
aside#sidebar > section > ul {
margin-bottom: 1em;
}
aside#sidebar > section > ul li {
list-style-type: none;
}
@@ -173,38 +173,38 @@ div#c-posts {
h1 {
font-size: $h3_size;
}
div#a-index {
div#posts {
margin-left: 0;
margin-right: 6.5em;
}
#content {
margin-left: 15em;
}
div#jlist-rss-ads-for-show {
float: right;
position: absolute;
top: 0;
right: 10px;
}
menu#post-sections {
margin-bottom: 0.5em;
font-size: $h3_size;
li {
padding: 0 1em 0.5em 0;
&.active {
font-weight: bold;
}
}
}
}
div#a-show {
.active {
font-weight: bold;
@@ -213,59 +213,59 @@ div#c-posts {
menu#post-sections {
margin: 0;
font-size: $h3_size;
li {
padding: 0 1em 0 0;
}
div.share a {
margin: 0;
}
}
div.notices {
margin: 1em 0;
}
section {
margin-top: 1em;
}
span.quick-mod {
float: right;
}
.pool-name, .search-name {
margin: 0 1em;
}
#nav-links {
margin: 1em 7em 1em 0;
padding: 1em 0.5em;
}
#pool-nav, #search-seq-nav, #nav-help {
li {
position: relative;
text-align: center;
height: 1.5em;
.prev {
position: absolute;
left: 1em;
}
.next {
position: absolute;
right: 1em;
}
&:hover {
background: rgb(250, 250, 250);
}
}
}
span.close-button {
position: absolute;
top: 5px;
@@ -273,7 +273,7 @@ div#c-posts {
cursor: pointer;
}
}
div#quick-edit-div {
textarea {
width: 100%;
@@ -288,13 +288,13 @@ div#c-post-versions {
a {
word-wrap: break-word
}
ins, ins a {
color: green;
text-decoration: none;
margin-right: 0.5em;
}
del, del a {
color: red;
text-decoration: line-through;
@@ -308,32 +308,32 @@ div#c-explore-posts {
font-weight: bold;
margin: 0 0.5em;
}
.period {
margin: 0 0.5em;
&:first-child {
margin-left: 0;
}
}
#blacklist-box {
margin-bottom: 1em;
}
#blacklist-list {
display: inline;
}
#blacklist-list li {
display: inline;
margin-right: 1em;
a {
color: $link_color;
cursor: pointer;
}
span {
color: #AAA;
}

View File

@@ -2,7 +2,7 @@
div#related-tags-container, div#artist-tags-container {
padding-right: 2em;
h1 {
font-size: $h3_size;
}
@@ -14,11 +14,11 @@ div#artist-tags {
margin-bottom: 1em;
padding: 1em;
background: #EEE;
div.artist {
margin-bottom: 1em;
}
div.artist:last-child {
margin-bottom: 0;
}
@@ -30,24 +30,24 @@ div#related-tags {
margin-bottom: 1em;
padding: 1em;
background: #EEE;
div.tag-column {
max-width: 15em;
margin-right: 2em;
float: left;
ul {
margin: 0;
li {
em {
font-weight: bold;
}
a {
min-width: 3em;
}
a.selected {
background-color: $link_color;
color: white;

View File

@@ -3,20 +3,20 @@
div#c-static {
div#a-site-map {
width: 80em;
h1 {
display: none;
}
section {
width: 20em;
float: left;
h1 {
display: block;
font-size: $h3_size;
}
ul {
margin-bottom: 1.5em;
}

View File

@@ -6,7 +6,7 @@ div#c-tag-subscriptions {
color: #AAA;
font-style: italic;
}
div#a-posts {
h1 {
font-size: $h3_size;

View File

@@ -4,7 +4,7 @@ div#c-tags {
width: 5em;
text-align: right;
}
td:nth-child(2), th:nth-child(2) {
padding-left: 1em;
width: 40em;

View File

@@ -2,24 +2,24 @@
div#terms-of-service {
width: 40em;
h1 {
font-size: $h2_size;
}
p {
margin-bottom: 1em;
}
ul {
margin-left: 1em;
margin-bottom: 1em;
}
li {
list-style-type: disc;
}
section {
margin-bottom: 2em;
}

View File

@@ -9,20 +9,20 @@ div#c-uploads {
display: inline;
}
}
textarea {
margin-bottom: 0.5em;
}
div#source-info {
margin: 1em 0;
padding: 1em;
border: 1px solid gray;
p {
margin: 0;
}
ul {
a {
margin-right: 1em;

View File

@@ -2,7 +2,7 @@ div#c-user-feedbacks {
tr.feedback-category-positive {
background: #DDFFDD !important;
}
tr.feedback-category-negative {
background: #FFDDDD !important;
}

View File

@@ -6,61 +6,61 @@ div#c-users {
h2, h3 {
color: #333;
}
margin-bottom: 2em;
}
/* clearfix hacks */
div.box:before, div.box:after {
content: "";
display: table;
}
div.box:after {
clear: both;
}
table.user-statistics {
tr {
height: 1.75em;
}
th {
width: 15%;
text-align: right;
padding-right: 1em;
vertical-align: top;
}
td {
width: 85%;
vertical-align: top;
}
p {
margin-bottom: 0.5em;
}
}
}
div#a-edit {
h1 {
margin-bottom: 0.5em;
}
div.input {
margin-bottom: 2em;
}
div.input span.hint {
display: block;
max-width: 30em;
}
}
div#a-new {
max-width: 60em;
p {
font-size: 1.2em;
margin-bottom: 1em;
@@ -73,50 +73,50 @@ div#c-users {
text-align: center;
display: block;
}
div#p2 ul {
margin-bottom: 2em;
}
}
div#a-upgrade-information {
max-width: 40em;
font-size: 1.2em;
div#feature-comparison {
overflow: hidden;
margin-bottom: 1em;
table {
width: 100%;
colgroup {
width: 10em;
}
colgroup#basic {
}
colgroup#gold {
background-color: #FFF380;
}
colgroup#platinum {
background-color: #eee;
}
td, th {
text-align: center;
vertical-align: top;
padding: 0.5em 0;
}
tbody {
tr {
border-bottom: 2px solid black;
}
}
p.cost-footnote {
font-size: 80%;
color: gray;

View File

@@ -2,7 +2,7 @@ div#c-wiki-pages {
span.version {
color: #AAA;
}
del {
background: #FCC;
text-decoration: none;
@@ -12,11 +12,11 @@ div#c-wiki-pages {
background: #CFC;
text-decoration: none;
}
table {
margin-bottom: 1em;
}
#content {
margin-left: 15em;
padding-left: 1em;