.icn-round { width: 20px; height: 20px; text-align: center; display: inline-block; padding: 0; @include border-radius(10px); background-color: $defaultBackgroundColor; border: 1px solid $defaultBorderColor; // vertical-align: middle; } /* Variations _________________________________________________________________ */ .icn-info { background-color: $blue; color: white; border: none; } .icn-error { background-color: $red; color: white; border: none; } .icn-success { border: none; background-color: $green; color: white; } .icn-warning { border: none; background-color: $yellow; color: white; } /* Small icons _________________________________________________________________ */ .icn-round.icn-small, .icn-round.icn-small.glyphicons { font-size: 15px; height: 15px; width: 16px; line-height: 1em; vertical-align: middle; text-align: center; padding: 0px 0px 1px 0px; } .icn-round.icn-small:before { font-size: 10px; display: inline; vertical-align: middle; } .spin-me { -webkit-animation: spin 2s infinite linear; -moz-animation: spin 2s infinite linear; -o-animation: spin 2s infinite linear; animation: spin 2s infinite linear; } @-moz-keyframes spin { 0% { -moz-transform: rotate(0deg); } 100% { -moz-transform: rotate(359deg); } } @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); } } @-o-keyframes spin { 0% { -o-transform: rotate(0deg); } 100% { -o-transform: rotate(359deg); } } @-ms-keyframes spin { 0% { -ms-transform: rotate(0deg); } 100% { -ms-transform: rotate(359deg); } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(359deg); } }