123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290 |
- /*
- * Misc: Miscellaneous
- * -------------------
- */
- .border-transparent {
- border-color: transparent !important;
- }
- // Description Blocks
- .description-block {
- display: block;
- margin: 10px 0;
- text-align: center;
- &.margin-bottom {
- margin-bottom: 25px;
- }
- > .description-header {
- font-size: 16px;
- font-weight: 600;
- margin: 0;
- padding: 0;
- }
- > .description-text {
- text-transform: uppercase;
- }
- }
- // Description Block Extension
- .description-block {
- .description-icon {
- font-size: 16px;
- }
- }
- // List utility classes
- .list-group-unbordered {
- > .list-group-item {
- border-left: 0;
- border-radius: 0;
- border-right: 0;
- padding-left: 0;
- padding-right: 0;
- }
- }
- .list-header {
- color: $gray-600;
- font-size: 15px;
- font-weight: bold;
- padding: 10px 4px;
- }
- .list-seperator {
- background: $card-border-color;
- height: 1px;
- margin: 15px 0 9px 0;
- }
- .list-link {
- > a {
- color: $gray-600;
- padding: 4px;
- &:hover {
- color: $gray-900;
- }
- }
- }
- // User block
- .user-block {
- @include clearfix;
- img {
- float: left;
- height: 40px;
- width: 40px;
- }
- .username,
- .description,
- .comment {
- display: block;
- margin-left: 50px;
- }
- .username {
- font-size: 16px;
- font-weight: 600;
- }
- .description {
- color: #999;
- font-size: 13px;
- }
- &.user-block-sm {
- img {
- @extend .img-sm;
- }
- .username,
- .description,
- .comment {
- margin-left: 40px;
- }
- .username {
- font-size: 14px;
- }
- }
- }
- // Image sizes
- .img-sm,
- .img-md,
- .img-lg {
- float: left;
- }
- .img-sm {
- height: 30px !important;
- width: 30px !important;
- + .img-push {
- margin-left: 40px;
- }
- }
- .img-md {
- width: 60px;
- height: 60px;
- + .img-push {
- margin-left: 70px;
- }
- }
- .img-lg {
- width: 100px;
- height: 100px;
- + .img-push {
- margin-left: 110px;
- }
- }
- // Image bordered
- .img-bordered {
- border: 3px solid $gray-500;
- padding: 3px;
- }
- .img-bordered-sm {
- border: 2px solid $gray-500;
- padding: 2px;
- }
- // Rounded and Circle Images
- .img-rounded {
- @include border-radius($border-radius)
- }
- .img-circle {
- @include border-radius(50%);
- }
- // Image sizes
- .img-size-64,
- .img-size-50,
- .img-size-32 {
- height: auto;
- }
- .img-size-64 {
- width: 64px;
- }
- .img-size-50 {
- width: 50px;
- }
- .img-size-32 {
- width: 32px;
- }
- // Block sizes
- .size-32,
- .size-40,
- .size-50 {
- display: block;
- text-align: center;
- }
- .size-32 {
- height: 32px;
- line-height: 32px;
- width: 32px;
- }
- .size-40 {
- height: 40px;
- line-height: 40px;
- width: 40px;
- }
- .size-50 {
- height: 50px;
- line-height: 50px;
- width: 50px;
- }
- // General attachemnt block
- .attachment-block {
- background: $gray-100;
- border: 1px solid $card-border-color;
- margin-bottom: 10px;
- padding: 5px;
- .attachment-img {
- float: left;
- height: auto;
- max-height: 100px;
- max-width: 100px;
- }
- .attachment-pushed {
- margin-left: 110px;
- }
- .attachment-heading {
- margin: 0;
- }
- .attachment-text {
- color: #555;
- }
- }
- // Overlays for Card, InfoBox & SmallBox
- .card,
- .overlay-wrapper,
- .info-box,
- .small-box {
- // Box overlay for LOADING STATE effect
- > .overlay,
- > .loading-img {
- height: 100%;
- left: 0;
- position: absolute;
- top: 0;
- width: 100%;
- }
- .overlay {
- @include border-radius($border-radius);
- align-items: center;
- background: rgba($white, 0.7);
- display: flex;
- justify-content: center;
- z-index: 50;
- > .fa,
- > .fas,
- > .far,
- > .fab,
- > .glyphicon,
- > .ion {
- color: $gray-800;
- }
- &.dark {
- background: rgba($black, 0.5);
- > .fa,
- > .fas,
- > .far,
- > .fab,
- > .glyphicon,
- > .ion {
- color: $gray-400;
- }
- }
- }
- }
|