_main.scss 1.5 KB

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