_info-areas.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. .icon-shape {
  2. width: $icon-md-width;
  3. height: $icon-md-width;
  4. background-position: $icon-shape-bg-position;
  5. border-radius: $border-radius-lg;
  6. i {
  7. color: $white;
  8. opacity: $icon-shape-icon-opacity;
  9. top: $info-icon-top;
  10. position: $info-icon-position;
  11. }
  12. .ni {
  13. top: 14px;
  14. }
  15. }
  16. .icon-xxs {
  17. width: $icon-xxs-width;
  18. height: $icon-xxs-height;
  19. i {
  20. top: $info-icon-top-xxs;
  21. font-size: .5rem;
  22. }
  23. }
  24. .icon-xs {
  25. width: $icon-xs-width;
  26. height: $icon-xs-height;
  27. i {
  28. top: $info-icon-top-xs;
  29. font-size: .5rem;
  30. }
  31. }
  32. .icon-sm {
  33. width: $icon-sm-width;
  34. height: $icon-sm-height;
  35. i {
  36. top: $info-icon-top-sm;
  37. font-size: .65rem;
  38. }
  39. }
  40. .icon-md {
  41. width: $icon-md-width;
  42. height: $icon-md-height;
  43. i {
  44. top: $info-icon-top-md;
  45. font-size: $font-size-sm;
  46. }
  47. &.icon-striped {
  48. background-position-x: $icon-striped-bg-md;
  49. background-position-y: $icon-striped-bg-md;
  50. i {
  51. top: 11%;
  52. margin-left: -10px;
  53. font-size: $font-size-sm;
  54. }
  55. }
  56. }
  57. .icon-lg {
  58. width: $icon-lg-width;
  59. height: $icon-lg-height;
  60. i {
  61. top: $info-icon-top-lg;
  62. font-size: $font-size-xl;
  63. }
  64. &.icon-striped {
  65. background-position-x: $icon-striped-bg-lg;
  66. background-position-y: $icon-striped-bg-lg;
  67. i {
  68. top: 21%;
  69. margin-left: -15px;
  70. }
  71. }
  72. }
  73. .icon-xl {
  74. width: $icon-xl-width;
  75. height: $icon-xl-height;
  76. border-radius: $border-radius-lg;
  77. i {
  78. top: $info-icon-top-xl;
  79. font-size: 1.6rem;
  80. }
  81. &.icon-striped {
  82. background-position-x: $icon-striped-bg-xl;
  83. background-position-y: $icon-striped-bg-xl;
  84. i {
  85. top: 30%;
  86. margin-left: -15px;
  87. }
  88. }
  89. }
  90. .info-horizontal {
  91. text-align: left !important;
  92. .icon {
  93. float: left;
  94. }
  95. .description {
  96. overflow: hidden;
  97. }
  98. }
  99. // Icon SVG fill color change
  100. svg.text-primary {
  101. .color-foreground {
  102. fill: $primary-gradient;
  103. }
  104. .color-background {
  105. fill: $primary-gradient-state;
  106. }
  107. }
  108. svg.text-secondary {
  109. .color-foreground {
  110. fill: $secondary-gradient;
  111. }
  112. .color-background {
  113. fill: $secondary-gradient-state;
  114. }
  115. }
  116. svg.text-info {
  117. .color-foreground {
  118. fill: $info-gradient;
  119. }
  120. .color-background {
  121. fill: $info-gradient-state;
  122. }
  123. }
  124. svg.text-warning {
  125. .color-foreground {
  126. fill: $warning-gradient;
  127. }
  128. .color-background {
  129. fill: $warning-gradient-state;
  130. }
  131. }
  132. svg.text-danger {
  133. .color-foreground {
  134. fill: $danger-gradient;
  135. }
  136. .color-background {
  137. fill: $danger-gradient-state;
  138. }
  139. }
  140. svg.text-success {
  141. .color-foreground {
  142. fill: $success-gradient;
  143. }
  144. .color-background {
  145. fill: $success-gradient-state;
  146. }
  147. }
  148. svg.text-dark {
  149. .color-foreground {
  150. fill: $dark-gradient;
  151. }
  152. .color-background {
  153. fill: $dark-gradient-state;
  154. }
  155. }