_main.scss 1.5 KB

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