This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function map(x, inMin, inMax, outMin, outMax) { | |
| return (x-inMin) * (outMax-outMin) / (inMax-inMin) + outMin; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('.panel').on('hidden.bs.collapse', function () { | |
| $(this).addClass('collapsed'); | |
| }).on('show.bs.collapse', function () { | |
| $(this).removeClass('collapsed'); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Extra small devices only (phones, less than 768px) */ | |
| @media (max-width: 767px) { ... } | |
| /* Small devices only (tablets, @screen-sm-min) */ | |
| @media (min-width: 768px) and (max-width: 991px) { ... } | |
| /* Medium devices only (desktops, @screen-md-min) */ | |
| @media (min-width: 992px) and (max-width: 1199px) { ... } | |
| /* Large devices only (large desktops, @screen-lg-min) */ |
NewerOlder