123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582 |
- /**
- * 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.
- */
- @import './less/index.less';
- @import './less/variables.less';
- @import './less/index.less';
- @datasource-sql-expression-width: 450px;
- .alert.alert-danger > .debugger {
- color: @danger;
- }
- .label {
- font-size: 100%;
- }
- .no-wrap {
- white-space: nowrap;
- }
- input.form-control {
- background-color: @lightest;
- }
- .chart-header a.danger {
- color: @danger;
- }
- .disabledButton {
- pointer-events: none;
- }
- .col-left-fixed {
- width: 350px;
- position: absolute;
- float: left;
- }
- .col-offset {
- margin-left: 365px;
- }
- .slice_description {
- padding: 8px;
- margin: 5px 0;
- border: 1px solid @gray-light;
- background-color: @gray-bg;
- border-radius: @border-radius-large;
- font-size: @font-size-s;
- }
- .slice_info {
- cursor: pointer;
- }
- .padded {
- padding: 10px;
- }
- .intable-longtext {
- max-height: 200px;
- overflow: auto;
- }
- .container-fluid {
- text-align: left;
- }
- input[type='checkbox'] {
- display: inline-block;
- width: 16px;
- height: 16px;
- }
- .widget-is-cached {
- display: none;
- }
- .header span.label {
- margin-left: 5px;
- margin-right: 5px;
- }
- #timer {
- width: 80px;
- text-align: right;
- }
- .notbtn {
- cursor: default;
- box-shadow: none;
- border: 1px solid @gray;
- }
- hr {
- margin-top: 15px;
- margin-bottom: 15px;
- }
- span.title-block {
- background-color: @gray-bg;
- border-radius: @border-radius-large;
- padding: 6px 12px;
- margin: 0px 10px;
- font-size: @font-size-xl;
- }
- .nvtooltip {
- table td {
- font-size: @font-size-s !important;
- }
- }
- div.navbar {
- .dropdown-menu .fineprint {
- line-height: 1.5rem;
- padding: 10px 20px 5px 20px;
- color: @gray-light;
- font-size: @font-size-m;
- div {
- white-space: nowrap;
- }
- }
- }
- .datasource {
- form {
- div.form-control,
- input.form-control {
- margin-bottom: 5px !important;
- }
- }
- .tooltip-inner {
- max-width: 350px;
- }
- }
- img.loading {
- width: 40px;
- position: relative;
- margin: 10px;
- }
- img.viz-thumb-option {
- width: 100px;
- border: 1px solid @gray;
- margin-right: 5px;
- border-radius: @border-radius-large;
- }
- .select2-drop.bigdrop .select2-results {
- max-height: 700px;
- }
- .chart-header .header-text {
- font-size: @font-size-xl;
- line-height: 22px;
- padding-bottom: 8px;
- border-bottom: 1px solid @gray;
- margin-top: 10px;
- margin-left: 10px;
- margin-right: 10px;
- }
- #is_cached {
- display: none;
- }
- .slice_container.faded {
- opacity: 0.2;
- }
- .navbar .alert {
- padding: 5px 10px;
- margin-top: 8px;
- margin-bottom: 0;
- }
- .table-condensed {
- font-size: @font-size-s;
- }
- .table-condensed input[type='checkbox'] {
- float: left;
- }
- table.table-no-hover tr:hover {
- background-color: initial;
- }
- .editable-title input {
- outline: none;
- background: transparent;
- border: none;
- box-shadow: none;
- padding: 0;
- cursor: initial;
- }
- .editable-title textarea {
- outline: none;
- background: transparent;
- box-shadow: none;
- cursor: initial;
- border: 1px solid @gray;
- border-radius: @border-radius-normal;
- }
- .editable-title input[type='text'] {
- border: 1px solid @gray;
- border-radius: @border-radius-normal;
- padding: 2px;
- }
- .editable-title.datasource-sql-expression {
- font-family: @font-family-monospace;
- display: inline-block;
- min-width: @datasource-sql-expression-width;
- }
- .editable-title.datasource-sql-expression input {
- width: 95%;
- padding-bottom: 5px;
- }
- .editable-title.datasource-sql-expression textarea {
- width: 95%;
- }
- .editable-title input[type='button'] {
- border-color: transparent;
- background: transparent;
- font-size: inherit;
- white-space: normal;
- text-align: left;
- cursor: initial;
- }
- .editable-title.editable-title--editable input[type='button'] {
- cursor: pointer;
- }
- .editable-title.editable-title--editing input[type='button'] {
- cursor: text;
- }
- .anchor-link-container {
- position: absolute;
- .btn.btn-sm,
- .btn.btn-sm:active {
- border: none;
- padding-top: 0;
- padding-bottom: 0;
- background: none;
- box-shadow: none;
- }
- .fa.fa-link {
- position: relative;
- top: 2px;
- right: 0;
- visibility: hidden;
- font-size: @font-size-s;
- text-align: center;
- vertical-align: middle;
- }
- }
- .nav.nav-tabs li .anchor-link-container {
- top: 0;
- right: -32px;
- }
- .dashboard-component.dashboard-component-header .anchor-link-container {
- .fa.fa-link {
- font-size: @font-size-l;
- }
- }
- .nav.nav-tabs li:hover,
- .dashboard-component.dashboard-component-header:hover {
- .anchor-link-container {
- cursor: pointer;
- .fa.fa-link {
- visibility: visible;
- }
- }
- }
- .m-r-5 {
- margin-right: 5px;
- }
- .m-r-3 {
- margin-right: 3px;
- }
- .m-t-4 {
- margin-top: 4px;
- }
- .m-t-5 {
- margin-top: 5px;
- }
- .m-t-10 {
- margin-top: 10px;
- }
- .m-b-10 {
- margin-bottom: 10px;
- }
- .m-l-5 {
- margin-left: 5px;
- }
- .m-l-10 {
- margin-left: 10px;
- }
- .m-l-25 {
- margin-left: 25px;
- }
- .p-l-0 {
- padding-left: 0;
- }
- .p-t-8 {
- padding-top: 8;
- }
- .p-r-2 {
- padding-right: 2;
- }
- .Select-menu-outer {
- z-index: @z-index-dropdown !important;
- }
- /** not found record **/
- .panel b {
- display: inline-block;
- width: 98%;
- padding: 2rem;
- margin: 0 1% 20px 1%;
- background: @gray-bg;
- }
- /** table on both sides of the gap **/
- .panel .table-responsive {
- padding: 0 1%;
- }
- @media screen and (max-width: 767px) {
- .panel .table-responsive {
- width: 98%;
- }
- }
- .list-container {
- position: relative;
- }
- .list-search-container {
- position: relative;
- }
- .list-search-container .dropdown-toggle {
- position: absolute;
- top: -43px;
- right: 25px;
- border: 0;
- padding: 0 18px;
- }
- .list-search-container .fa-filter {
- position: relative;
- left: -8px;
- }
- .list-search-container .dropdown-menu {
- top: -19px;
- right: 0;
- left: auto;
- float: none;
- }
- .list-container .pagination-container {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: center;
- align-items: center;
- padding-bottom: 20px;
- }
- .list-container .pagination-container .pagination {
- margin: 0 15px;
- }
- .list-container .pagination-container strong {
- margin-right: 5px;
- }
- .list-container .list-add-action {
- position: absolute;
- top: -30px;
- right: 15px;
- }
- .list-container .form-actions-container {
- padding: 0 0 20px 10px;
- display: inline;
- }
- .form-actions-container button {
- display: flex;
- .caret {
- margin: 0 8px;
- }
- }
- .list-container .filter-action {
- margin: 10px 10px 0 10px;
- padding-bottom: 15px;
- }
- .list-add-action .btn.btn-sm {
- padding: 5px 6px;
- font-size: @font-size-xs;
- line-height: 2px;
- border-radius: 50%;
- box-shadow: 2px 2px 4px -1px fade(@darkest, @opacity-light);
- }
- iframe {
- border: none;
- width: 100%;
- }
- .text-transparent {
- color: transparent;
- }
- .dimmed {
- opacity: 0.5;
- }
- .pointer {
- cursor: pointer;
- }
- .PopoverSection {
- padding-bottom: 10px;
- }
- .popover {
- max-width: 500px;
- }
- .float-left {
- float: left;
- }
- .float-right {
- float: right;
- }
- g.annotation-container {
- line {
- stroke: @brand-primary;
- }
- rect.annotation {
- stroke: @brand-primary;
- fill-opacity: 0.1;
- stroke-width: 1;
- }
- }
- .stroke-primary {
- stroke: @brand-primary;
- }
- .reactable-header-sortable {
- position: relative;
- padding-right: 40px;
- &::after {
- font: normal normal normal 14px/1 FontAwesome;
- content: '\f0dc';
- margin-left: 10px;
- color: @brand-primary;
- }
- }
- .reactable-header-sort-asc::after {
- content: '\f0de';
- color: @brand-primary;
- }
- .reactable-header-sort-desc::after {
- content: '\f0dd';
- color: @brand-primary;
- }
- tr.reactable-column-header th.reactable-header-sortable {
- padding-right: 17px;
- }
- .explore-chart-overlay {
- position: absolute;
- z-index: @z-index-above-dashboard-charts;
- display: flex;
- align-items: center;
- justify-content: center;
- text-align: center;
- }
- .refresh-overlay-btn {
- font-weight: @font-weight-bold;
- margin-right: 10px;
- }
- .dismiss-overlay-btn {
- font-weight: @font-weight-bold;
- background: @lightest;
- color: @brand-primary;
- border-color: @brand-primary;
- }
- .fave-unfave-icon {
- .fa-star-o,
- .fa-star {
- &,
- &:hover,
- &:active {
- color: @almost-black;
- }
- }
- }
- .metric-edit-popover-label-input {
- border-radius: @border-radius-large;
- height: 30px;
- padding-left: 10px;
- }
- .align-right {
- text-align: right;
- }
- td.filtered {
- background-color: lighten(desaturate(@brand-primary, 50%), 50%);
- }
- .table-name {
- font-size: @font-size-l;
- }
|