| /** |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| .dashboard-component-chart-holder { |
| width: 100%; |
| height: 100%; |
| color: @gray-dark; |
| background-color: @lightest; |
| position: relative; |
| padding: 16px; |
| overflow-y: visible; |
| |
| // transitionable traits for when a filter is being actively focused |
| transition: opacity 0.2s, border-color 0.2s, box-shadow 0.2s; |
| border: 2px solid transparent; |
| |
| .missing-chart-container { |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| overflow-y: auto; |
| justify-content: center; |
| |
| .missing-chart-body { |
| font-size: @font-size-s; |
| position: relative; |
| display: flex; |
| } |
| } |
| |
| &.fade-in { |
| border-radius: @border-radius-large; |
| box-shadow: inset 0 0 0 2px @shadow-highlight, |
| 0 0 0 3px fade(@shadow-highlight, @opacity-light); |
| transition: box-shadow 1s ease-in-out; |
| } |
| |
| &.fade-out { |
| border-radius: @border-radius-large; |
| box-shadow: none; |
| transition: box-shadow 1s ease-in-out; |
| } |
| } |
| |
| .dashboard-chart { |
| overflow: hidden; |
| position: relative; |
| } |
| |
| .dashboard-chart.dashboard-chart--overflowable { |
| overflow: visible; |
| } |
| |
| .dashboard--editing { |
| .dashboard-component-chart-holder { |
| &:after { |
| content: ''; |
| position: absolute; |
| width: 100%; |
| height: 100%; |
| top: 0px; |
| left: 0px; |
| z-index: @z-index-chart; |
| pointer-events: none; |
| border: 1px solid transparent; |
| } |
| |
| &:hover:after { |
| border: 1px dashed @indicator-color; |
| z-index: @z-index-chart--dragging; |
| } |
| } |
| |
| .resizable-container { |
| &:hover, |
| &.resizable-container--resizing:hover { |
| & > .dashboard-component-chart-holder:after { |
| border: 1px dashed @indicator-color; |
| } |
| } |
| } |
| |
| .resizable-container .dashboard-component-chart-holder { |
| .dashboard-chart { |
| .chart-container { |
| cursor: move; |
| opacity: 0.2; |
| } |
| |
| .slice_container { |
| /* disable chart interactions in edit mode */ |
| pointer-events: none; |
| } |
| } |
| |
| &:hover .dashboard-chart .chart-container { |
| opacity: 0.7; |
| } |
| } |
| } |
| |
| .dot { |
| @dot-diameter: 4px; |
| |
| height: @dot-diameter; |
| width: @dot-diameter; |
| border-radius: @dot-diameter / 2; |
| margin: @dot-diameter / 2 0; |
| |
| background-color: @gray; |
| display: inline-block; |
| |
| a[role='menuitem'] & { |
| width: 8px; |
| height: 8px; |
| margin-right: 8px; |
| } |
| } |
| |
| .time-filter-tabs > .nav-tabs { |
| margin-bottom: 8px; |
| } |
| |
| .time-filter-tabs > .nav-tabs > li > a { |
| padding: 4px; |
| } |
| |
| .full-size { |
| position: fixed; |
| z-index: @z-index-max; |
| left: 0; |
| top: 0; |
| } |