_images.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. // Responsive images (ensure images don't scale beyond their parents)
  2. //
  3. // This is purposefully opt-in via an explicit class rather than being the default for all `<img>`s.
  4. // We previously tried the "images are responsive by default" approach in Bootstrap v2,
  5. // and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps)
  6. // which weren't expecting the images within themselves to be involuntarily resized.
  7. // See also https://github.com/twbs/bootstrap/issues/18178
  8. .img-fluid {
  9. @include img-fluid();
  10. }
  11. // Image thumbnails
  12. .img-thumbnail {
  13. padding: $thumbnail-padding;
  14. background-color: $thumbnail-bg;
  15. border: $thumbnail-border-width solid $thumbnail-border-color;
  16. @include border-radius($thumbnail-border-radius);
  17. @include box-shadow($thumbnail-box-shadow);
  18. // Keep them at most 100% wide
  19. @include img-fluid();
  20. }
  21. //
  22. // Figures
  23. //
  24. .figure {
  25. // Ensures the caption's text aligns with the image.
  26. display: inline-block;
  27. }
  28. .figure-img {
  29. margin-bottom: $spacer / 2;
  30. line-height: 1;
  31. }
  32. .figure-caption {
  33. @include font-size($figure-caption-font-size);
  34. color: $figure-caption-color;
  35. }
  36. .icon-pemantauan {
  37. width: 35px;
  38. height: 35px;
  39. margin-right: -20px;
  40. }
  41. .icon-buatlaporan {
  42. width: 35px;
  43. height: 35px;
  44. margin-right: -20px;
  45. }
  46. .img-text-vputih {
  47. width: 55px;
  48. height: 20px;
  49. margin-left: 10px;
  50. }
  51. .icon-triangle {
  52. width: 20px;
  53. margin-right: 15px;
  54. margin-left: 15px;
  55. border-radius: 5px;
  56. }
  57. .identitas-pelapor {
  58. width: 830px;
  59. height: 50px;
  60. }
  61. .icon-pemantauan {
  62. width: 30px;
  63. height: 30px;
  64. // margin-right: -20px;
  65. }
  66. .icon-buatlaporan {
  67. width: 30px;
  68. height: 30px;
  69. // margin-right: -20px;
  70. }
  71. .img-text-vputih {
  72. width: 55px;
  73. height: 20px;
  74. margin-left: 10px;
  75. }
  76. .icon-triangle {
  77. width: 20px;
  78. margin-right: 10px;
  79. margin-left: 15px;
  80. }
  81. .icon-triangle-onModalPT {
  82. width: 30px;
  83. margin-right: 10px;
  84. margin-left: 15px;
  85. }
  86. .identitas-pelapor {
  87. width: 830px;
  88. height: 50px;
  89. }
  90. // .img-fluid {
  91. // position: relative;
  92. // max-width: 100%;
  93. // height: auto;
  94. // width: 72px;
  95. // height: 37px; }
  96. .logo-nav {
  97. width: 60%;
  98. }
  99. .img-login-1 {
  100. width: 97%;
  101. margin-left: auto;
  102. margin-right: auto;
  103. }
  104. .icon-next {
  105. margin-right: 15px;
  106. margin-top: 5px;
  107. }
  108. .float-rigt {
  109. float: right;
  110. }
  111. .float-left {
  112. float: left;
  113. }
  114. .icon-eksport {
  115. margin-top: 5px;
  116. }
  117. .width-133 {
  118. width: 133px;
  119. height: auto;
  120. }
  121. .width-50 {
  122. width: 60px;
  123. }
  124. // .responsive-1{
  125. // min-height: 500px;
  126. // width: 100%;
  127. // }
  128. @media screen and (max-width: 1320px) {
  129. .responsive-1 {
  130. width: 170%
  131. }
  132. @media screen and (max-width: 991px) {
  133. .responsive-1 {
  134. width: 100%
  135. }
  136. }
  137. }
  138. @media screen and (max-width: 1320px) {
  139. .responsive-2 {
  140. width: 170%
  141. }
  142. @media screen and (max-width: 991px) {
  143. .responsive-2 {
  144. width: 100%
  145. }
  146. }
  147. }