KNACSS/css/05-icons.css

165 lines
2.5 KiB
CSS
Raw Permalink Normal View History

/* ----------------------------- */
2014-05-03 14:38:58 +02:00
/* ==icons and bullets */
2014-05-03 14:38:58 +02:00
/* ----------------------------- */
2014-05-03 14:38:58 +02:00
.icon {
display: inline-block;
}
2014-05-03 14:38:58 +02:00
.icon:before,
.icon.after:after {
content: "";
display: inline-block;
vertical-align: middle;
position: relative;
top: -0.1em;
margin: 0 0.3em 0 0;
font: 1.4em/1 sans-serif;
color: #000;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
speak: none;
}
2014-05-03 14:38:58 +02:00
2014-04-20 19:56:47 +02:00
@media (min-device-width: 480px) {
.icon:before,
.icon.after:after {
font: 1em/0.6 sans-serif;
-webkit-transform: rotateZ(0.05deg);
}
}
2014-05-03 14:38:58 +02:00
.icon.after:after {
margin: 0 0 0 8px;
}
2014-05-03 14:38:58 +02:00
.icon.after:before {
content: "" !important;
}
2014-05-03 14:38:58 +02:00
.icon-rate:before,
.icon-rate.after:after {
content: "\2605";
}
2014-05-03 14:38:58 +02:00
.icon-unrate:before,
.icon-unrate.after:after {
content: "\2606";
}
2014-05-03 14:38:58 +02:00
.icon-check:before,
.icon-check.after:after {
content: "\2713";
}
2014-05-03 14:38:58 +02:00
.icon-uncheck:before,
.icon-uncheck.after:after {
content: "\2717";
}
2014-05-03 14:38:58 +02:00
.icon-cloud:before,
.icon-cloud.after:after {
content: "\2601";
}
2014-05-03 14:38:58 +02:00
.icon-dl:before,
.icon-dl.after:after {
content: "\21E3";
font-weight: bold;
}
2014-05-03 14:38:58 +02:00
.icon-cross:before,
.icon-cross.after:after {
content: "\2716";
font-weight: bold;
}
2014-05-03 14:38:58 +02:00
.icon-arrow1:before,
.icon-arrow1.after:after {
content: "\2192";
position: relative;
top: -0.15em;
}
2014-05-03 14:38:58 +02:00
.icon-arrow2:before,
.icon-arrow2.after:after {
content: "\279E";
}
2014-05-03 14:38:58 +02:00
.icon-arrow3:before,
.icon-arrow3.after:after {
content: "\279A";
}
2014-05-03 14:38:58 +02:00
.icon-bracket1:before,
.icon-bracket1.after:after {
content: "\2039";
font-weight: bold;
font-size: 1.6em;
position: relative;
top: -0.15em;
}
2014-05-03 14:38:58 +02:00
.icon-bracket2:before,
.icon-bracket2.after:after {
content: "\203A";
font-weight: bold;
font-size: 1.6em;
position: relative;
top: -0.15em;
}
2014-05-03 14:38:58 +02:00
.icon-up:before,
.icon-up.after:after {
content: "\25B2";
}
2014-05-03 14:38:58 +02:00
.icon-down:before,
.icon-down.after:after {
content: "\25BC";
}
2014-05-03 14:38:58 +02:00
.icon-bull:before,
.icon-bull.after:after {
content: "\2022";
font-size: 1.2em;
top: -0.05em;
}
2014-05-03 14:38:58 +02:00
.icon-bull2:before,
.icon-bull2.after:after {
content: "\25E6";
top: -0.05em;
}
2014-05-03 14:38:58 +02:00
.icon-bull3:before,
.icon-bull3.after:after {
content: "\2023";
font-size: 1.6em;
top: -0.05em;
}
2014-05-03 14:38:58 +02:00
.icon-nav:before,
.icon-nav.after:after {
content: "\2261";
font-weight: bold;
}
2014-05-03 14:38:58 +02:00
.icon-losange:before,
.icon-losange.after:after {
content: "\25C6";
}
2014-05-03 14:38:58 +02:00
.icon-asteri:before,
.icon-asteri.after:after {
content: "\2731";
font-weight: bold;
}
2014-05-03 14:38:58 +02:00
.icon-mail:before,
.icon-mail.after:after {
content: "\2709";
font-size: 1.6em;
top: -0.05em;
2014-05-03 14:38:58 +02:00
}