_main.scss 1.5 KB

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