_main.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. body {
  2. padding-top: 56px;
  3. }
  4. .card-header {
  5. background: #4caf50;
  6. border-color: #4caf50;
  7. color: white;
  8. }
  9. .block-link {
  10. &:hover {
  11. text-decoration: none;
  12. }
  13. }
  14. .stat {
  15. font-size: 2.5rem;
  16. line-height: 1;
  17. }
  18. .w-auto {
  19. width: auto;
  20. }
  21. .navbar .nav-link {
  22. font-weight: 500;
  23. text-transform: uppercase;
  24. }
  25. .badge-lg {
  26. font-size: 100%;
  27. }
  28. .img-cover {
  29. background-size: cover;
  30. background-repeat: no-repeat;
  31. background-position: center center;
  32. }
  33. .img-contain {
  34. background-size: contain;
  35. background-repeat: no-repeat;
  36. background-position: center center;
  37. }
  38. .carousel-item {
  39. img {
  40. min-height: 300px;
  41. background-size: cover;
  42. background-position: center center;
  43. background-repeat: no-repeat;
  44. }
  45. }
  46. .carousel-caption {
  47. bottom: 32px;
  48. h5 {
  49. font-weight: 300;
  50. font-size: 1.5rem;
  51. margin-bottom: 0;
  52. }
  53. @media screen and (min-width: 992px) {
  54. h5 {
  55. font-size: 2rem;
  56. }
  57. }
  58. .carousel-caption-inner {
  59. background: white;
  60. color: $brand-color;
  61. padding: 1rem 2rem;
  62. }
  63. }
  64. .breadcrumb-nav {
  65. position: sticky;
  66. top: 56px;
  67. z-index: 100;
  68. }
  69. ol.breadcrumb {
  70. border-radius: 0;
  71. li {
  72. font-size: 90%;
  73. }
  74. }
  75. .limit-height-1 {
  76. max-height: 256px;
  77. overflow: auto;
  78. }
  79. .limit-height-2 {
  80. max-height: 512px;
  81. overflow: auto;
  82. }
  83. input[required], select[required], textarea[required] {
  84. background-image: url(/img/bg_required.png);
  85. background-position: center right;
  86. background-repeat: no-repeat;
  87. }