kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
27 lines (26 loc) • 4.16 kB
JavaScript
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _templateObject; // SPDX-License-Identifier: MIT
// Copyright contributors to the kepler.gl project
var Toolbar = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n flex-direction: row;\n background-color: ", ";\n box-shadow: ", ";\n font-size: 12px;\n transition: ", ";\n margin-top: ", ";\n opacity: ", ";\n transform: translateX(calc(-50% + 20px));\n pointer-events: ", ";\n z-index: 1000;\n\n .panel-header-dropdown__inner {\n box-shadow: none;\n background-color: transparent;\n display: flex;\n }\n"])), function (props) {
return props.theme.dropdownListBgd;
}, function (props) {
return props.theme.dropdownListShadow;
}, function (props) {
return props.theme.transitionSlow;
}, function (props) {
return props.show ? '6px' : '20px';
}, function (props) {
return props.show ? 1 : 0;
}, function (props) {
return props.show ? 'all' : 'none';
});
Toolbar.displayName = 'Toolbar';
var _default = exports["default"] = Toolbar;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfc3R5bGVkQ29tcG9uZW50cyIsIl9pbnRlcm9wUmVxdWlyZURlZmF1bHQiLCJyZXF1aXJlIiwiX3RlbXBsYXRlT2JqZWN0IiwiVG9vbGJhciIsInN0eWxlZCIsImRpdiIsIl90YWdnZWRUZW1wbGF0ZUxpdGVyYWwyIiwicHJvcHMiLCJ0aGVtZSIsImRyb3Bkb3duTGlzdEJnZCIsImRyb3Bkb3duTGlzdFNoYWRvdyIsInRyYW5zaXRpb25TbG93Iiwic2hvdyIsImRpc3BsYXlOYW1lIiwiX2RlZmF1bHQiLCJleHBvcnR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