_lists.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /* Lists */
  2. ul,
  3. ol,
  4. dl {
  5. padding-left: 1rem;
  6. font-size: $default-font-size;
  7. li {
  8. line-height: 1.8;
  9. }
  10. }
  11. .list-ticked,
  12. .list-arrow,
  13. .list-star {
  14. list-style: none;
  15. padding: 0;
  16. li {
  17. padding-left: 1.5rem;
  18. &:before {
  19. font-family: "Material Design Icons";
  20. margin-left: -1.5rem;
  21. width: 1.5rem;
  22. margin-right: .5rem;
  23. }
  24. }
  25. }
  26. .list-ticked {
  27. li {
  28. &:before {
  29. content: '\F12D';
  30. color: theme-color(danger);
  31. }
  32. }
  33. }
  34. .list-arrow {
  35. li {
  36. &:before {
  37. content: '\F142';
  38. color: theme-color(success);
  39. }
  40. }
  41. }
  42. .list-star {
  43. li {
  44. &:before {
  45. content: '\F4CE';
  46. color: theme-color(warning);
  47. }
  48. }
  49. }
  50. .gradient-bullet-list {
  51. padding-left: 0;
  52. .rtl & {
  53. padding-right: 0;
  54. }
  55. li {
  56. position: relative;
  57. list-style-type: none;
  58. padding-left: 25px;
  59. line-height: 1;
  60. padding-bottom: 25px;
  61. &:before,
  62. &:after {
  63. content:"";
  64. position: absolute;
  65. }
  66. &:before {
  67. top: 0;
  68. left: 0;
  69. width: 15px;
  70. height: 15px;
  71. border-radius: 100%;
  72. }
  73. &:after {
  74. width: 11px;
  75. height: 11px;
  76. top: 2px;
  77. left: 2px;
  78. background: $white;
  79. border-radius: 100%;
  80. }
  81. &:nth-child(1) {
  82. &:before {
  83. background: theme-gradient-color(danger);
  84. }
  85. }
  86. &:nth-child(2) {
  87. &:before {
  88. background: theme-gradient-color(info);
  89. }
  90. }
  91. &:nth-child(3) {
  92. &:before {
  93. background: theme-gradient-color(warning);
  94. }
  95. }
  96. &:nth-child(4) {
  97. &:before {
  98. background: theme-gradient-color(success);
  99. }
  100. }
  101. &:nth-child(5) {
  102. &:before {
  103. background: theme-gradient-color(primary);
  104. }
  105. }
  106. }
  107. }