UNPKG

turnilo

Version:

Business intelligence, data exploration and visualization web application for Druid, formerly known as Swiv and Pivot

1 lines 6.63 kB
{"version":3,"sources":["webpack:///./src/client/visualizations/totals/total.scss","webpack:///./src/client/utils/styles/_tech-mixins.scss","webpack:///./src/client/visualizations/totals/totals.scss"],"names":[],"mappings":"AAoBA,OACE,oBAAqB,CACrB,iBAAkB,CAClB,cAAe,CACf,kBAAmB,CAJrB,qBC6FE,kBAAmB,CACnB,iBAAkB,CAClB,sBAAuB,CDvFrB,eAVe,CAWf,cAAe,CACf,cAAe,CACf,kBAAmB,CACnB,UAAW,CACX,gBAAiB,CAClB,2DAdH,qBC2FI,kBAAmB,CD7EpB,CAdH,sBAiBI,cAAe,CACf,eApBe,CAqBf,cAAe,CACf,gBAAiB,CACjB,kBAAmB,CArBvB,gCAwBM,cAAe,CAxBrB,4BA6BI,cAAe,CACf,cAAe,CA9BnB,gCAmCM,cAAe,CACf,cAAe,CACf,mBAAoB,CArC1B,iCAyCM,cAAe,CACf,kBAAmB,CA1CzB,2CA6CQ,cAAe,CA7CvB,sDAiDQ,cAAe,CACf,cAAe,CErDvB,yBAEI,eAAgB,CAChB,YAAa,CACb,kBAAmB,CACnB,sBAAuB,CACvB,kBAAmB,CACnB,oBAAqB","file":"totals.css","sourcesContent":["/*\n * Copyright 2015-2016 Imply Data, Inc.\n * Copyright 2017-2019 Allegro.pl\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n@import '../../imports';\n\n$total-width: 176px;\n\n.total {\n display: inline-block;\n text-align: center;\n padding: 0 10px;\n margin-bottom: 34px;\n\n .measure-name {\n @include ellipsis;\n max-width: $total-width;\n cursor: default;\n font-size: 15px;\n padding-bottom: 8px;\n color: #999;\n user-select: text;\n }\n\n .measure-value {\n cursor: default;\n min-width: $total-width;\n font-size: 30px;\n user-select: text;\n margin-bottom: 12px;\n\n &--previous {\n font-size: 24px;\n }\n }\n\n .measure-delta-value {\n font-size: 15px;\n margin-top: 5px;\n }\n\n &:only-child {\n .measure-name {\n max-width: none;\n font-size: 22px;\n padding-bottom: 11px;\n }\n\n .measure-value {\n font-size: 44px;\n margin-bottom: 18px;\n\n &--previous {\n font-size: 30px;\n }\n\n .measure-delta-value {\n font-size: 24px;\n margin-top: 8px;\n }\n }\n }\n}\n","/*\n * Copyright 2015-2016 Imply Data, Inc.\n * Copyright 2017-2019 Allegro.pl\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n@import './browser-type';\n\n// positioning\n@mixin pin-full {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n@mixin pin-top($height) {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: $height;\n}\n\n@mixin pin-bottom($height) {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: $height;\n}\n\n@mixin pin-left($width) {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: $width;\n}\n\n@mixin pin-right($width) {\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n width: $width;\n}\n\n@mixin unpin-full($distance, $right: $distance, $bottom: $distance, $left: $distance) {\n position: absolute;\n top: $distance;\n bottom: $bottom;\n left: $left;\n right: $right;\n}\n\n@mixin unpin-top($top) {\n position: absolute;\n top: $top;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n@mixin unpin-bottom($bottom) {\n position: absolute;\n top: 0;\n bottom: $bottom;\n left: 0;\n right: 0;\n}\n\n@mixin unpin-left($left) {\n position: absolute;\n top: 0;\n bottom: 0;\n left: $left;\n right: 0;\n}\n\n@mixin unpin-right($right) {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: $right;\n}\n\n@mixin center($width, $height) {\n position: absolute;\n top: 50%;\n left: 50%;\n width: $width;\n height: $height;\n margin-left: -$width / 2;\n margin-top: -$height / 2;\n}\n\n@mixin ellipsis {\n @include internet-explorer {\n overflow-x: visible;\n }\n white-space: nowrap;\n overflow-x: hidden;\n text-overflow: ellipsis;\n}\n\n// for the shpitz\n@mixin triangle($direction, $base, $altitude, $color) {\n @if $direction == up {\n @include border-css-variable('border-bottom', $altitude, solid, $color);\n width: 0;\n height: 0;\n border-top: 0;\n border-left: $altitude solid transparent;\n border-right: $altitude solid transparent;\n }\n\n @if $direction == down {\n @include border-css-variable('border-top', $altitude, solid, $color);\n width: 0;\n height: 0;\n border-bottom: 0;\n border-left: $base solid transparent;\n border-right: $base solid transparent;\n }\n\n @if $direction == left {\n @include border-css-variable('border-right', $altitude, solid, $color);\n width: 0;\n height: 0;\n border-top: $base solid transparent;\n border-bottom: $base solid transparent;\n border-left: 0;\n }\n\n @if $direction == right {\n @include border-css-variable('border-left', $altitude, solid, $color);\n width: 0;\n height: 0;\n border-top: $base solid transparent;\n border-bottom: $base solid transparent;\n border-right: 0;\n }\n}\n\n","/*\n * Copyright 2015-2016 Imply Data, Inc.\n * Copyright 2017-2019 Allegro.pl\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.totals {\n .total-container {\n margin: 60px 10%;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-flow: row wrap;\n align-content: center;\n }\n}\n"],"sourceRoot":""}