Skip to content

Commit

Permalink
update social summary for watson-developer-cloud#53
Browse files Browse the repository at this point in the history
  • Loading branch information
JAMES ZHANG committed May 13, 2016
1 parent 84cc89e commit ef92702
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
24 changes: 11 additions & 13 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1344,12 +1344,10 @@ pre[class*=" language-"] {
text-align: center;
color: #e71d32; }

.summary--header {
height: 2.4rem; }
.summary--emotion {
background-color: #f9f9f9;
padding: 1rem;
height: 17.5rem; }
height: 17rem; }
@media (min-width: 768px) {
.summary--emotion {
width: 31.91489%;
Expand All @@ -1360,15 +1358,15 @@ pre[class*=" language-"] {
margin-top: 0rem; } }
@media (min-width: 768px) {
.summary--emotion {
height: 18.5rem; } }
height: 17rem; } }
@media (min-width: 1200px) {
.summary--emotion {
height: 16.5rem; } }

.summary--writing {
background-color: #f9f9f9;
padding: 1rem;
height: 17.5rem; }
height: 17rem; }
@media (min-width: 768px) {
.summary--writing {
width: 31.91489%;
Expand All @@ -1379,15 +1377,15 @@ pre[class*=" language-"] {
margin-top: 0rem; } }
@media (min-width: 768px) {
.summary--writing {
height: 18.5rem; } }
height: 17rem; } }
@media (min-width: 1200px) {
.summary--writing {
height: 16.5rem; } }

.summary--social {
background-color: #f9f9f9;
padding: 1rem;
height: 17.5rem; }
height: 17rem; }
@media (min-width: 768px) {
.summary--social {
width: 31.91489%;
Expand All @@ -1398,7 +1396,7 @@ pre[class*=" language-"] {
margin-top: 0rem; } }
@media (min-width: 768px) {
.summary--social {
height: 18.5rem; } }
height: 17rem; } }
@media (min-width: 1200px) {
.summary--social {
height: 16.5rem; } }
Expand Down Expand Up @@ -1772,10 +1770,10 @@ pre[class*=" language-"] {
.summary-social-graph--tooltip br {
margin-top: 0rem; }
.summary-social-graph--bar-value {
background-color: #1AE5CD; }
background-color: #1cb4a0; }
.summary-social-graph--bar-tooltip {
position: absolute;
background-color: #17ceb9;
background-color: #1cb4a0;
padding: 1rem;
width: 5.5rem;
left: -2.75rem;
Expand All @@ -1793,14 +1791,14 @@ pre[class*=" language-"] {
left: 2rem;
border: 0.75rem solid transparent;
top: 100%;
border-top-color: #17ceb9; }
border-top-color: #1cb4a0; }
.summary-social-graph--bar-tooltip .base--a {
color: white; }
.summary-social-graph--bar-tooltip .base--a:hover {
color: #e0e0e0; }
.summary-social-graph--label-container .bar-graph--tooltip {
position: absolute;
background-color: #17ceb9;
background-color: #1cb4a0;
padding: 1rem;
width: 20rem;
left: -5rem;
Expand All @@ -1820,7 +1818,7 @@ pre[class*=" language-"] {
left: 9rem;
border: 1rem solid transparent;
top: 100%;
border-top-color: #17ceb9; }
border-top-color: #1cb4a0; }
.summary-social-graph--label-container .bar-graph--tooltip .base--a {
color: white; }
.summary-social-graph--label-container .bar-graph--tooltip .base--a:hover {
Expand Down
2 changes: 1 addition & 1 deletion views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<div class="summary-writing-graph"></div>
</div>
<div class="summary--social">
<h5 class="base--h5 summary--header">Social summary (raw score)</h5>
<h5 class="base--h5 summary--header">Social (raw score)</h5>
<div class="summary-social-graph bar-graph"></div>
</div>
</div>
Expand Down

0 comments on commit ef92702

Please sign in to comment.