_badgelistgroupitem.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. .badge {
  2. @include border-radius(2px)
  3. }
  4. .list-group-item {
  5. @include border-radius(0);
  6. @include transition(.5s);
  7. }
  8. .list-group {
  9. .active {
  10. background-color: #2196F3;
  11. border-color: #2196F3;
  12. &:hover,
  13. &:focus,
  14. &:active {
  15. background-color: #2196F3;
  16. border-color: #2196F3;
  17. }
  18. .list-group-item-text {
  19. color: #dfe9f1;
  20. font-size: 13px;
  21. &:hover,
  22. &:active,
  23. &:focus {
  24. color: #dfe9f1;
  25. }
  26. }
  27. }
  28. .list-group-item.active {
  29. &:hover,
  30. &:focus,
  31. &:active {
  32. .list-group-item-text {
  33. color: #dfe9f1;
  34. }
  35. }
  36. }
  37. .list-group-item {
  38. &:first-child,
  39. &:last-child {
  40. @include border-radius(0);
  41. }
  42. .list-group-item-heading {
  43. font-weight: bold;
  44. font-size: 17px;
  45. }
  46. }
  47. .list-group-item-success {
  48. background-color: #2b982b;
  49. border: none;
  50. color: #fff;
  51. &:hover,
  52. &:focus {
  53. background-color: #2b982b;
  54. color: #fff;
  55. opacity: 0.8;
  56. }
  57. }
  58. .list-group-item-info {
  59. background-color: #00b0e4;
  60. border: none;
  61. color: #fff;
  62. &:hover,
  63. &:focus {
  64. background-color: #00b0e4;
  65. color: #fff;
  66. opacity: 0.8;
  67. }
  68. }
  69. .list-group-item-warning {
  70. background-color: #ff9600;
  71. border: none;
  72. color: #fff;
  73. &:hover,
  74. &:focus {
  75. background-color: #ff9600;
  76. color: #fff;
  77. opacity: 0.8;
  78. }
  79. }
  80. .list-group-item-danger {
  81. background-color: #fb483a;
  82. border: none;
  83. color: #fff;
  84. &:hover,
  85. &:focus {
  86. background-color: #fb483a;
  87. color: #fff;
  88. opacity: 0.8;
  89. }
  90. }
  91. @each $key, $val in $colors {
  92. .pl-#{$key} {
  93. stroke: $val;
  94. }
  95. .list-group-bg-#{$key} {
  96. background-color: $val;
  97. border: none;
  98. color: #fff;
  99. &:hover,
  100. &:focus {
  101. background-color: $val;
  102. color: #fff;
  103. opacity: 0.8;
  104. }
  105. }
  106. }
  107. }