_bootstrap_extend.scss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. /* ------------------------------------------------------------------------------------------------------------------------------------------
  2. BOOTSTRAP EXTEND
  3. ------------------------------------------------------------------------------------------------------------------------------------------ */
  4. /* Add New Grid Tier FOR NON BOXED LAYOUT */
  5. html.scroll,
  6. html.fixed {
  7. @media (min-width: $screen-xl) {
  8. .container {
  9. width: $screen-xl - $grid-gutter-width;
  10. }
  11. }
  12. .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 {
  13. position: relative;
  14. min-height: 1px;
  15. padding-right: 15px;
  16. padding-left: 15px;
  17. }
  18. @media (min-width: $screen-xl) {
  19. .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 {
  20. float: left;
  21. }
  22. .col-xl-12 {
  23. width: 100%;
  24. }
  25. .col-xl-11 {
  26. width: 91.66666667%;
  27. }
  28. .col-xl-10 {
  29. width: 83.33333333%;
  30. }
  31. .col-xl-9 {
  32. width: 75%;
  33. }
  34. .col-xl-8 {
  35. width: 66.66666667%;
  36. }
  37. .col-xl-7 {
  38. width: 58.33333333%;
  39. }
  40. .col-xl-6 {
  41. width: 50%;
  42. }
  43. .col-xl-5 {
  44. width: 41.66666667%;
  45. }
  46. .col-xl-4 {
  47. width: 33.33333333%;
  48. }
  49. .col-xl-3 {
  50. width: 25%;
  51. }
  52. .col-xl-2 {
  53. width: 16.66666667%;
  54. }
  55. .col-xl-1 {
  56. width: 8.33333333%;
  57. }
  58. .col-xl-pull-12 {
  59. right: 100%;
  60. }
  61. .col-xl-pull-11 {
  62. right: 91.66666667%;
  63. }
  64. .col-xl-pull-10 {
  65. right: 83.33333333%;
  66. }
  67. .col-xl-pull-9 {
  68. right: 75%;
  69. }
  70. .col-xl-pull-8 {
  71. right: 66.66666667%;
  72. }
  73. .col-xl-pull-7 {
  74. right: 58.33333333%;
  75. }
  76. .col-xl-pull-6 {
  77. right: 50%;
  78. }
  79. .col-xl-pull-5 {
  80. right: 41.66666667%;
  81. }
  82. .col-xl-pull-4 {
  83. right: 33.33333333%;
  84. }
  85. .col-xl-pull-3 {
  86. right: 25%;
  87. }
  88. .col-xl-pull-2 {
  89. right: 16.66666667%;
  90. }
  91. .col-xl-pull-1 {
  92. right: 8.33333333%;
  93. }
  94. .col-xl-pull-0 {
  95. right: auto;
  96. }
  97. .col-xl-push-12 {
  98. left: 100%;
  99. }
  100. .col-xl-push-11 {
  101. left: 91.66666667%;
  102. }
  103. .col-xl-push-10 {
  104. left: 83.33333333%;
  105. }
  106. .col-xl-push-9 {
  107. left: 75%;
  108. }
  109. .col-xl-push-8 {
  110. left: 66.66666667%;
  111. }
  112. .col-xl-push-7 {
  113. left: 58.33333333%;
  114. }
  115. .col-xl-push-6 {
  116. left: 50%;
  117. }
  118. .col-xl-push-5 {
  119. left: 41.66666667%;
  120. }
  121. .col-xl-push-4 {
  122. left: 33.33333333%;
  123. }
  124. .col-xl-push-3 {
  125. left: 25%;
  126. }
  127. .col-xl-push-2 {
  128. left: 16.66666667%;
  129. }
  130. .col-xl-push-1 {
  131. left: 8.33333333%;
  132. }
  133. .col-xl-push-0 {
  134. left: auto;
  135. }
  136. .col-xl-offset-12 {
  137. margin-left: 100%;
  138. }
  139. .col-xl-offset-11 {
  140. margin-left: 91.66666667%;
  141. }
  142. .col-xl-offset-10 {
  143. margin-left: 83.33333333%;
  144. }
  145. .col-xl-offset-9 {
  146. margin-left: 75%;
  147. }
  148. .col-xl-offset-8 {
  149. margin-left: 66.66666667%;
  150. }
  151. .col-xl-offset-7 {
  152. margin-left: 58.33333333%;
  153. }
  154. .col-xl-offset-6 {
  155. margin-left: 50%;
  156. }
  157. .col-xl-offset-5 {
  158. margin-left: 41.66666667%;
  159. }
  160. .col-xl-offset-4 {
  161. margin-left: 33.33333333%;
  162. }
  163. .col-xl-offset-3 {
  164. margin-left: 25%;
  165. }
  166. .col-xl-offset-2 {
  167. margin-left: 16.66666667%;
  168. }
  169. .col-xl-offset-1 {
  170. margin-left: 8.33333333%;
  171. }
  172. .col-xl-offset-0 {
  173. margin-left: 0;
  174. }
  175. }
  176. .visible-xl {
  177. display: none !important;
  178. }
  179. .visible-xl-block,
  180. .visible-xl-inline,
  181. .visible-xl-inline-block {
  182. display: none !important;
  183. }
  184. @media (min-width: $screen-lg) and (max-width: $screen-lg-max) {
  185. .visible-lg {
  186. display: block !important;
  187. }
  188. table.visible-lg {
  189. display: table;
  190. }
  191. tr.visible-lg {
  192. display: table-row !important;
  193. }
  194. th.visible-lg,
  195. td.visible-lg {
  196. display: table-cell !important;
  197. }
  198. .visible-lg-block {
  199. display: block !important;
  200. }
  201. .visible-lg-inline {
  202. display: inline !important;
  203. }
  204. .visible-lg-inline-block {
  205. display: inline-block !important;
  206. }
  207. .hidden-lg {
  208. display: none !important;
  209. }
  210. }
  211. /* UNDO original bootrap LG helper classes*/
  212. @media (min-width: $screen-xl) {
  213. .visible-lg-block {
  214. display: none !important;
  215. }
  216. .visible-lg-inline {
  217. display: none !important;
  218. }
  219. .visible-lg-inline-block {
  220. display: none !important;
  221. }
  222. }
  223. /* Helper classes for XL */
  224. @media (min-width: $screen-xl) {
  225. .visible-xl {
  226. display: block !important;
  227. }
  228. table.visible-xl {
  229. display: table;
  230. }
  231. tr.visible-xl {
  232. display: table-row !important;
  233. }
  234. th.visible-xl,
  235. td.visible-xl {
  236. display: table-cell !important;
  237. }
  238. .visible-xl-block {
  239. display: block !important;
  240. }
  241. .visible-xl-inline {
  242. display: inline !important;
  243. }
  244. .visible-xl-inline-block {
  245. display: inline-block !important;
  246. }
  247. .hidden-xl {
  248. display: none !important;
  249. }
  250. }
  251. }
  252. @media screen and (max-width: 991px) {
  253. .table-responsive {
  254. width: 100%;
  255. margin-bottom: 15px;
  256. overflow-x: auto;
  257. overflow-y: hidden;
  258. -webkit-overflow-scrolling: touch;
  259. -ms-overflow-style: -ms-autohiding-scrollbar;
  260. border: 1px solid #ddd;
  261. }
  262. .table-responsive > .table {
  263. margin-bottom: 0;
  264. }
  265. .table-responsive > .table > thead > tr > th,
  266. .table-responsive > .table > tbody > tr > th,
  267. .table-responsive > .table > tfoot > tr > th,
  268. .table-responsive > .table > thead > tr > td,
  269. .table-responsive > .table > tbody > tr > td,
  270. .table-responsive > .table > tfoot > tr > td {
  271. white-space: nowrap;
  272. }
  273. .table-responsive > .table-bordered {
  274. border: 0;
  275. }
  276. .table-responsive > .table-bordered > thead > tr > th:first-child,
  277. .table-responsive > .table-bordered > tbody > tr > th:first-child,
  278. .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  279. .table-responsive > .table-bordered > thead > tr > td:first-child,
  280. .table-responsive > .table-bordered > tbody > tr > td:first-child,
  281. .table-responsive > .table-bordered > tfoot > tr > td:first-child {
  282. border-left: 0;
  283. }
  284. .table-responsive > .table-bordered > thead > tr > th:last-child,
  285. .table-responsive > .table-bordered > tbody > tr > th:last-child,
  286. .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  287. .table-responsive > .table-bordered > thead > tr > td:last-child,
  288. .table-responsive > .table-bordered > tbody > tr > td:last-child,
  289. .table-responsive > .table-bordered > tfoot > tr > td:last-child {
  290. border-right: 0;
  291. }
  292. .table-responsive > .table-bordered > tbody > tr:last-child > th,
  293. .table-responsive > .table-bordered > tfoot > tr:last-child > th,
  294. .table-responsive > .table-bordered > tbody > tr:last-child > td,
  295. .table-responsive > .table-bordered > tfoot > tr:last-child > td {
  296. border-bottom: 0;
  297. }
  298. }
  299. /* Fix img-thumbnail - IE10 and below */
  300. .img-thumbnail {
  301. width: auto \9;
  302. }