Last active
February 14, 2019 15:38
-
-
Save Avotrix/bf5178d823a7c5fc230ea7d30183b2e2 to your computer and use it in GitHub Desktop.
CSS for Custom icon in tables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Custom Icons*/ | |
td.icon { | |
text-align: center; | |
} | |
td.icon i { | |
font-size: 25px; | |
text-shadow: 1px 1px #aaa; | |
} | |
td.icon .severe { | |
color: red; | |
} | |
td.icon .elevated { | |
color: orangered; | |
} | |
td.icon .low { | |
color: #006400; | |
} | |
/* Row Coloring */ | |
#highlight tr td { | |
background-color: #c1ffc3 !important; | |
} | |
#highlight tr.range-elevated td { | |
background-color: #ffc57a !important; | |
} | |
#highlight tr.range-severe td { | |
background-color: #d59392 !important; | |
} | |
#highlight .table td { | |
border-top: 1px solid #fff; | |
} | |
#highlight td.range-severe, td.range-elevated { | |
font-weight: bold; | |
} | |
.icon-inline i { | |
font-size: 18px; | |
margin-left: 5px; | |
} | |
.icon-inline i.icon-alert-circle { | |
color: #ef392c; | |
} | |
.icon-inline i.icon-alert { | |
color: #ff9c1a; | |
} | |
.icon-inline i.icon-check { | |
color: #5fff5e;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment