|
| 1 | +// Bootstrap core |
| 2 | +@import "../../../../../media/vendor/bootstrap/scss/functions"; |
| 3 | +@import "../../../../../media/vendor/bootstrap/scss/variables"; |
| 4 | +@import "../vendor/bootstrap/mixins"; |
| 5 | + |
| 6 | +// Bettum Variables and Mixins |
| 7 | +@import "../mixins"; |
| 8 | +@import "../variables"; |
| 9 | + |
| 10 | + |
| 11 | +@media (max-width: 480px) { |
| 12 | + .js-stools .js-stools-container-filters { |
| 13 | + display: block; |
| 14 | + } |
| 15 | + .js-stools .js-stools-container-filters .btn-group { |
| 16 | + display: block; |
| 17 | + } |
| 18 | + .js-stools .js-stools-container-filters .btn-wrapper { |
| 19 | + width: 100% |
| 20 | + } |
| 21 | + .js-stools .js-stools-container-bar { |
| 22 | + margin-top: 20px; |
| 23 | + } |
| 24 | +} |
| 25 | + |
| 26 | +@media (min-width: 768px) and (max-width: 979px) { |
| 27 | + .js-stools .js-stools-container-selector, |
| 28 | + .js-stools .js-stools-container-bar, |
| 29 | + .js-stools .js-stools-container-list { |
| 30 | + display: block; |
| 31 | + } |
| 32 | +} |
| 33 | + |
| 34 | +.js-stools { |
| 35 | + position: relative; |
| 36 | + width: 100%; |
| 37 | + padding: .25rem 0 0; |
| 38 | + margin-bottom: .5rem; |
| 39 | + |
| 40 | + > div { |
| 41 | + margin-bottom: .5rem; |
| 42 | + } |
| 43 | + |
| 44 | + .js-stools-container-filters { |
| 45 | + display: none; |
| 46 | + flex-direction: row; |
| 47 | + flex-wrap: wrap; |
| 48 | + margin-top: .5rem; |
| 49 | + margin-bottom: 1rem; |
| 50 | + width: 100%; |
| 51 | + |
| 52 | + &.js-filters-show { |
| 53 | + display: flex; |
| 54 | + } |
| 55 | + |
| 56 | + .chzn-container-single { |
| 57 | + display: block; |
| 58 | + |
| 59 | + .chzn-single { |
| 60 | + display: block; |
| 61 | + font-size: 1rem; |
| 62 | + } |
| 63 | + } |
| 64 | + } |
| 65 | + |
| 66 | + .js-stools-field-filter { |
| 67 | + margin-right: .5rem; |
| 68 | + margin-bottom: .5rem; |
| 69 | + |
| 70 | + @include media-breakpoint-down(sm) { |
| 71 | + width: 100%; |
| 72 | + } |
| 73 | + } |
| 74 | + |
| 75 | + .js-stools-container-selector { |
| 76 | + float: left; |
| 77 | + margin-right: .5rem; |
| 78 | + } |
| 79 | + |
| 80 | + .js-stools-container-selector-first { |
| 81 | + margin-right: .5rem; |
| 82 | + } |
| 83 | + |
| 84 | + .js-stools-container-selector, |
| 85 | + .js-stools-container-selector-first { |
| 86 | + |
| 87 | + @include media-breakpoint-down(sm) { |
| 88 | + float: none !important; |
| 89 | + width: 100%; |
| 90 | + margin-right: 0; |
| 91 | + } |
| 92 | + |
| 93 | + .js-stools-field-selector { |
| 94 | + @include media-breakpoint-down(sm) { |
| 95 | + max-width: 100%; |
| 96 | + margin-right: 0; |
| 97 | + } |
| 98 | + } |
| 99 | + } |
| 100 | + |
| 101 | + .js-stools-container-list { |
| 102 | + float: right; |
| 103 | + text-align: right; |
| 104 | + } |
| 105 | + .js-stools-container-filters-visible { |
| 106 | + display: flex; |
| 107 | + } |
| 108 | + |
| 109 | + .chzn-container-single .chzn-single span { |
| 110 | + overflow: visible; |
| 111 | + } |
| 112 | + |
| 113 | + .js-stools-field-list, |
| 114 | + .js-stools-field-filter { |
| 115 | + display: inline-block; |
| 116 | + } |
| 117 | + |
| 118 | + .js-stools-container-list .js-stools-field-list:last-child { |
| 119 | + margin-right: 0; |
| 120 | + } |
| 121 | + |
| 122 | + .js-stools-container-bar { |
| 123 | + |
| 124 | + .btn-toolbar { |
| 125 | + justify-content: flex-end; |
| 126 | + |
| 127 | + .js-stools-btn-filter { |
| 128 | + border: 1px solid $border-color; |
| 129 | + } |
| 130 | + |
| 131 | + .js-stools-btn-filter { |
| 132 | + border-right: 1px solid $border-color; |
| 133 | + |
| 134 | + .fa { |
| 135 | + margin-left: .25rem; |
| 136 | + } |
| 137 | + } |
| 138 | + } |
| 139 | + |
| 140 | + .js-stools-field-list { |
| 141 | + margin-bottom: 0; |
| 142 | + |
| 143 | + .custom-select { |
| 144 | + box-shadow: none; |
| 145 | + } |
| 146 | + } |
| 147 | + } |
| 148 | +} |
| 149 | + |
| 150 | +.js-stools-button-sort { |
| 151 | + cursor: pointer; |
| 152 | + background: none; |
| 153 | + border: 0; |
| 154 | +} |
0 commit comments