Skip to content

Commit

Permalink
Add X and checkmark to CQL query badge.
Browse files Browse the repository at this point in the history
  • Loading branch information
ihodes committed Nov 23, 2014
1 parent 45c6af8 commit 7121863
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions cycledash/static/css/examine.css
Original file line number Diff line number Diff line change
Expand Up @@ -321,22 +321,37 @@ text {
left: 10px;
top: 50%;
margin-top: -8px;
width: 16px;
height: 16px;
width: 18px;
height: 18px;
z-index: 1;
border-radius: 20px;
}
.query-status.good {
background: rgb(125, 236, 182);
}
.query-status.good:before {
content: "✓";
position: relative;
left: 3px;
bottom: 2px;
color: white;
}
.query-status.bad {
background: rgb(243, 45, 45);
}
.query-status.bad:before {
content: "×";
position: relative;
left: 3px;
bottom: 8px;
font-size: 1.5em;
color: white;
}
.tt-hint {
color: gray;
}
.error-message {
min-height: 20px;
display: none;
}

/* Styles from http://stackoverflow.com/a/20205623/388951 */
Expand Down

0 comments on commit 7121863

Please sign in to comment.