_progress.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. // Disable animation if transitions are disabled
  2. @if $enable-transitions {
  3. @keyframes progress-bar-stripes {
  4. from {
  5. background-position: $progress-height 0;
  6. }
  7. to {
  8. background-position: 0 0;
  9. }
  10. }
  11. }
  12. .progress {
  13. display: flex;
  14. height: $progress-height;
  15. overflow: hidden; // force rounded corners by cropping it
  16. line-height: 0;
  17. @include font-size($progress-font-size);
  18. background-color: $progress-bg;
  19. @include border-radius($progress-border-radius);
  20. @include box-shadow($progress-box-shadow);
  21. }
  22. .progress-bar {
  23. display: flex;
  24. flex-direction: column;
  25. justify-content: center;
  26. overflow: hidden;
  27. color: $progress-bar-color;
  28. text-align: center;
  29. white-space: nowrap;
  30. background-color: $progress-bar-bg;
  31. @include transition($progress-bar-transition);
  32. }
  33. .progress-bar-striped {
  34. @include gradient-striped();
  35. background-size: $progress-height $progress-height;
  36. }
  37. @if $enable-transitions {
  38. .progress-bar-animated {
  39. animation: $progress-bar-animation-timing progress-bar-stripes;
  40. @if $enable-prefers-reduced-motion-media-query {
  41. @media (prefers-reduced-motion: reduce) {
  42. animation: none;
  43. }
  44. }
  45. }
  46. }
  47. .BA-logo {
  48. width: 250px;
  49. margin-left: auto;
  50. margin-right: auto;
  51. padding-bottom: 10px;
  52. }
  53. .BA-header {
  54. font-family: "Times New Roman", Times, serif;
  55. text-align: center;
  56. padding-bottom: 20px;
  57. }
  58. .BA-div {
  59. padding-top: 100px;
  60. }
  61. .BA-p p {
  62. padding: 10px;
  63. }
  64. .BA-body {
  65. font-family: "Times New Roman", Times, serif;
  66. padding-top: 0px;
  67. padding-left: 50px;
  68. padding-right: 50px;
  69. }
  70. .demo {
  71. border: 1px solid #C0C0C0;
  72. border-collapse: collapse;
  73. padding: 5px;
  74. margin-left: auto;
  75. margin-right: auto;
  76. }
  77. .demo th {
  78. border: 1px solid #C0C0C0;
  79. padding: 5px;
  80. background: #F0F0F0;
  81. text-align: center;
  82. }
  83. .demo td {
  84. border: 1px solid #C0C0C0;
  85. padding: 5px;
  86. height: 100px;
  87. min-width: 200px;
  88. }
  89. .table-a {
  90. border: 1px solid #C0C0C0;
  91. border-collapse: collapse;
  92. margin-top: 20px;
  93. margin-bottom: 20px;
  94. padding: 5px;
  95. margin-left: -128px auto;
  96. margin-right: auto;
  97. table-layout: fixed;
  98. }
  99. .table-a th {
  100. border: 1px solid #C0C0C0;
  101. padding: 5px;
  102. background: #F0F0F0;
  103. text-align: center;
  104. }
  105. .table-a td {
  106. border: 1px solid #C0C0C0;
  107. padding: 5px;
  108. word-wrap: break-word;
  109. max-width: 150px;
  110. }
  111. #footer {
  112. position: fixed;
  113. width: 100%;
  114. bottom: 0;
  115. left: 0;
  116. right: 0;
  117. text-align: center;
  118. color: #979595;
  119. }
  120. ////////////////////////////-----SuratBA_A
  121. // body {
  122. // margin: 0;
  123. // padding: 0;
  124. // background-color: #FAFAFA;
  125. // font: 12pt "Tahoma";
  126. // }
  127. // * {
  128. // box-sizing: border-box;
  129. // -moz-box-sizing: border-box;
  130. // }
  131. // .page {
  132. // width: 21cm;
  133. // min-height: 29.7cm;
  134. // padding: 2cm;
  135. // margin: 1cm auto;
  136. // border: 1px #D3D3D3 solid;
  137. // border-radius: 5px;
  138. // background: white;
  139. // box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  140. // }
  141. // .subpage {
  142. // padding: 1cm;
  143. // border: 5px red solid;
  144. // height: 256mm;
  145. // outline: 2cm #FFEAEA solid;
  146. // }
  147. // @page {
  148. // size: A4;
  149. // margin: 0;
  150. // }
  151. // @media print {
  152. // body,
  153. // page[size="A4"] {
  154. // margin: 0;
  155. // box-shadow: 0;
  156. // }
  157. // }