bootstrap-custom.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /* ========================================================================
  2. Component: bootstrap-custom
  3. ========================================================================== */
  4. // Use this file to add custom css that may
  5. // depend on Bootstrap styles
  6. // Different container size to wrap content
  7. .container-sm {
  8. max-width: map-get($container-max-widths, "sm");
  9. width: auto;
  10. }
  11. .container-md {
  12. max-width: map-get($container-max-widths, "md");
  13. width: auto;
  14. }
  15. .container-lg {
  16. max-width: map-get($container-max-widths, "lg");
  17. width: auto;
  18. }
  19. // Remove padding and collapse columns
  20. .row-flush {
  21. margin: 0;
  22. >.col,
  23. >[class*="col-"] {
  24. padding-left: 0;
  25. padding-right: 0;
  26. }
  27. }
  28. // Breadcrumb variants
  29. .breadcrumb {
  30. font-weight: normal;
  31. border-radius: 0;
  32. color: $text-muted;
  33. padding: 10px 20px;
  34. }
  35. .content-heading {
  36. // Breadcrumb below title
  37. .breadcrumb {
  38. font-size: 0.8125rem;
  39. margin-bottom: 0;
  40. }
  41. // Breadcrumb next to view title
  42. +.breadcrumb {
  43. margin: -25px -25px 20px -20px;
  44. background-color: $content-heading-bg;
  45. border-top: 1px solid $content-heading-border;
  46. border-bottom: 1px solid $content-heading-border;
  47. }
  48. }
  49. // Different size of Progress bars
  50. $progress-height-sm: 15px;
  51. $progress-height-xs: 8px;
  52. .progress-sm {
  53. height: $progress-height-sm;
  54. }
  55. .progress-xs {
  56. height: $progress-height-xs;
  57. }
  58. // Extra badges
  59. .badge-inverse {
  60. @include badge-variant($inverse);
  61. }
  62. .badge-green {
  63. @include badge-variant($green);
  64. }
  65. .badge-pink {
  66. @include badge-variant($pink);
  67. }
  68. .badge-purple {
  69. @include badge-variant($purple);
  70. }
  71. // Extra alert
  72. .alert-purple {
  73. @include alert-variant($purple, $purple, #fff);
  74. }
  75. .alert-green {
  76. @include alert-variant($green, $green, #fff);
  77. }
  78. .alert-pink {
  79. @include alert-variant($pink, $pink, #fff);
  80. }
  81. .alert-inverse {
  82. @include alert-variant($inverse, $inverse, #fff);
  83. }
  84. // Form Rounded
  85. .form-control-rounded {
  86. border-radius: 100px;
  87. }