Skip to content

Commit

Permalink
style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
echenley committed Jul 26, 2015
1 parent 6ee99c9 commit d8e4d5f
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions example/src/example.less
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ h1, h2, h3, h4, h5, h6 {
color: #999;
}

.login-status {
a {
float: right;
}
}

.posts {
margin-top: 20px;
padding-top: 20px;
Expand All @@ -69,7 +75,7 @@ h1, h2, h3, h4, h5, h6 {
padding: 10px 15px;

h2,
.react-upvote {
.votes {
display: table-cell;
vertical-align: middle;
}
Expand All @@ -80,38 +86,35 @@ h1, h2, h3, h4, h5, h6 {
}
}

.login-status {
a {
float: right;
}
}

.react-upvote {
.votes {
width: 60px;
line-height: 32px;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;

&-icons,
.upvote-count {
&-buttons,
&-count {
display: inline-block;
vertical-align: middle;
}

&-count {
margin-left: 10px;
}

.downvote,
.upvote {
line-height: 1;
cursor: pointer;
}

&.downvoted .downvote-icon,
&.upvoted .upvote-icon {
color: #f00;
&.downvoted .icon-downvote {
color: #39f;
}

.upvote-count {
margin-left: 10px;
&.upvoted .icon-upvote {
color: #f00;
}
}

Expand Down

0 comments on commit d8e4d5f

Please sign in to comment.