Partition.css 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /**
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing,
  13. * software distributed under the License is distributed on an
  14. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. * KIND, either express or implied. See the License for the
  16. * specific language governing permissions and limitations
  17. * under the License.
  18. */
  19. .superset-legacy-chart-partition {
  20. position: relative;
  21. }
  22. .superset-legacy-chart-partition .chart {
  23. display: block;
  24. margin: auto;
  25. font-size: 11px;
  26. }
  27. .superset-legacy-chart-partition rect {
  28. stroke: #eee;
  29. fill: #aaa;
  30. fill-opacity: 0.8;
  31. transition: fill-opacity 180ms linear;
  32. cursor: pointer;
  33. }
  34. .superset-legacy-chart-partition rect:hover {
  35. fill-opacity: 1;
  36. }
  37. .superset-legacy-chart-partition g text {
  38. font-weight: bold;
  39. fill: rgba(0, 0, 0, 0.8);
  40. }
  41. .superset-legacy-chart-partition g:hover text {
  42. fill: rgba(0, 0, 0, 1);
  43. }
  44. .superset-legacy-chart-partition .partition-tooltip {
  45. position: absolute;
  46. top: 0;
  47. left: 0;
  48. opacity: 0;
  49. padding: 5px;
  50. pointer-events: none;
  51. background-color: rgba(255, 255, 255, 0.75);
  52. border-radius: 5px;
  53. }
  54. .partition-tooltip td {
  55. padding-left: 5px;
  56. font-size: 11px;
  57. }