Adds styles for debates voted and no voted

This commit is contained in:
Alberto Garcia Cabeza
2015-08-10 12:08:43 +02:00
parent 85e3e4439c
commit 6c0dd32ed1
3 changed files with 41 additions and 13 deletions

View File

@@ -255,6 +255,7 @@ header {
border-color: white;
color: white;
cursor: pointer;
opacity: 1 !important;
}
&:active {
@@ -278,6 +279,7 @@ header {
border-color: white;
color: white;
cursor: pointer;
opacity: 1 !important;
}
&:active {
@@ -304,6 +306,28 @@ header {
@extend .like;
}
.voted {
.icon-like {
@extend .icon-like;
background: $votes-like;
border-color: white;
color: white;
}
.icon-unlike {
@extend .icon-unlike;
background: $votes-unlike;
border-color: white;
color: white;
}
}
.no-voted {
.icon-like, .icon-unlike {
opacity: .5;
}
}
.total-votes {
color: $votes-text;
float: right;
@@ -388,6 +412,10 @@ header {
margin-top: $line-height;
overflow: hidden;
position: relative;
a {
color: $text-color;
}
}
.truncate {
@@ -489,8 +517,8 @@ header {
// - - - - - - - - - - - -
.debate-show {
margin-top: $line-height;
padding: 0 rem-calc(12);
background: white;
padding: rem-calc(24) rem-calc(12) 0 rem-calc(12);
.back {
@include back;
@@ -542,9 +570,9 @@ header {
}
h3 {
border-bottom: 1px solid $border;
border-bottom: 2px solid $votes-border;
font-size: rem-calc(18);
margin: 0 0 $line-height 0;
margin: 0;
text-transform: uppercase;
}

View File

@@ -26,7 +26,7 @@ $comments-info: #A5B2B9;
$comments-text: #3F4549;
$header-color: #292B33;
$link: #2895F1;//#0077B9;
$link: #2895F1;
$link-hover: #2178BF;
$tags-bg: #FAFAFA;
@@ -38,8 +38,8 @@ $text-medium: #999999;
$text-light: #A3A6AD;
$votes: #31708f;
$votes-background: #26AEEE;//#0081B3;
$votes-border: #1F94CB;//#005b80;
$votes-background: #26AEEE;
$votes-border: #1F94CB;
$votes-like: #7BD2A8;
$votes-like-act: #5D9E7F;
$votes-neutral: #CCCCCC;