| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440 |
- @import "submenu.less";
- @import "bootstrap-tagsinput.less";
- .grafana-dashboard-hide-controls {
- padding: 0;
- .grafana-row {
- display: none;
- }
- }
- // Search
- .grafana-search-panel {
- padding: 6px 10px;
- .search-field-wrapper {
- input {
- width: 100%;
- }
- button {
- margin: 0 2px 0 0;
- }
- > span {
- display: block;
- overflow: hidden;
- padding-right: 25px;
- }
- }
- .selected td, tr.selected:nth-child(odd)>td {
- background: @blue;
- color: white;
- text-shadow: -1px -1px 1px rgba(0,0,0,0.3);
- a {
- color: white;
- }
- }
- .selected-tag .label-tag {
- background-color: @blue;
- }
- }
- .search-tagview-switch {
- position: absolute;
- top: 15px;
- right: 180px;
- color: darken(@linkColor, 30%);
- &.active {
- color: @linkColor;
- }
- }
- .row-button {
- width: 24px;
- }
- .modal {
- margin: 5%;
- width: 90%;
- }
- .grafana-search-metric-actions {
- visibility: hidden;
- padding-left: 20px;
- }
- .grafana-search-metric-name {
- white-space: nowrap;
- }
- .grafana-search-metric-result:hover {
- .grafana-search-metric-actions {
- visibility: visible;
- }
- .grafana-search-metric-name {
- color: @blue;
- }
- }
- .yaxisLabel {
- top: 50%;
- left: -20px;
- transform: rotate(-90deg);
- -o-transform: rotate(-90deg);
- -ms-transform: rotate(-90deg);
- -moz-transform: rotate(-90deg);
- -webkit-transform: rotate(-90deg);
- transform-origin: 0 0;
- -o-transform-origin: 0 0;
- -ms-transform-origin: 0 0;
- -moz-transform-origin: 0 0;
- -webkit-transform-origin: 0 0;
- }
- .axisLabel {
- color: @textColor;
- font-size: @fontSizeSmall;
- position: absolute;
- text-align: center;
- font-size: 12px;
- }
- .hidden-series {
- a {
- color: darken(@linkColor, 45%);
- }
- }
- .panel-fullscreen {
- z-index: 1500;
- display: block !important;
- position: fixed;
- left: 0px;
- right: 0px;
- top: 54px;
- height: 100%;
- padding: 0 10px;
- background: @kibanaPanelBackground;
- overflow-y: scroll;
- height: 100%;
- .panel-content {
- padding-bottom: 130px;
- }
- }
- .dashboard-fullscreen .container-fluid.main {
- height: 0px;
- width: 0px;
- position: fixed;
- right: -10000px;
- }
- // Graphite Graph Legends
- .grafana-legend-container {
- margin: 4px 15px;
- text-align: left;
- }
- .grafana-legend-container .popover-content {
- padding: 0;
- }
- .histogram-legend {
- display:inline-block;
- padding: 0 4px;
- i {
- position: relative;
- top: 2px;
- }
- }
- .histogram-legend-dot {
- display:inline-block;
- height:10px;
- width:10px;
- border-radius:5px;
- }
- .histogram-legend-item {
- display:inline-block;
- }
- .histogram-chart {
- position:relative;
- }
- .histogram-legend-popover {
- width: 200px;
- label {
- display: inline-block;
- }
- .btn {
- padding: 1px 3px;
- margin-right: 0px;
- line-height: initial;
- }
- .close {
- margin-right: 5px;
- color: @linkColor;
- opacity: 0.7;
- text-shadow: none;
- }
- .editor-row {
- padding: 5px;
- }
- }
- .panel-full-edit-tabs {
- margin-top: 10px;
- min-height: 250px;
- margin-left: -10px;
- margin-right: -10px;
- background-color: @fullEditBackground;
- border-top: 1px solid @fullEditBorder;
- .tabs {
- .nav-tabs {
- margin: 0;
- background: @fullEditTabsBackground;
- border-top: 1px solid @fullEditTabsBorder;
- }
- .tab-content {
- display: none;
- }
- }
- .tab-content {
- overflow: visible;
- padding: 15px;
- }
- .nav-tabs > li > a {
- line-height: 15px;
- padding-top: 6px;
- padding-bottom: 6px;
- font-size: 0.8rem;
- }
- }
- .grafana-target:last-child {
- border-bottom: 1px solid @grafanaTargetBorder;
- }
- .grafana-target-inner-wrapper {
- width: 100%;
- }
- .grafana-target-inner {
- border-top: 1px solid @grafanaTargetBorder;
- border-left: 1px solid @grafanaTargetBorder;
- border-right: 1px solid @grafanaTargetBorder;
- background: @grafanaTargetBackground;
- width: 100%;
- }
- .grafana-target-onoff {
- display: inline-block;
- padding: 5px 7px;
- display: inline-block;
- }
- .grafana-segment-list {
- list-style: none;
- margin: 0;
- margin-right: 90px;
- margin-left: 30px;
- >li {
- float: left;
- }
- }
- // fix for fixed positioned panel & scrolling
- .grafana-segment-dropdown-menu {
- margin-bottom: 70px;
- }
- .grafana-target-segment {
- padding: 5px 7px;
- display: inline-block;
- font-weight: normal;
- border-right: 1px solid @grafanaTargetSegmentBorder;
- color: @grafanaTargetColor;
- display: inline-block;
- .grafana-target-hidden & {
- color: @grafanaTargetColorHide;
- }
- &:hover, &:focus {
- text-decoration: none;
- }
- &:hover {
- background: @grafanaTargetFuncBackground;
- }
- }
- .grafana-target-function {
- background: @grafanaTargetFuncBackground;
- &:hover {
- background: @grafanaTargetFuncHightlight;
- }
- }
- .grafana-target-controls-left {
- list-style: none;
- float: left;
- width: 30px;
- margin: 0px;
- }
- .grafana-target-controls {
- width: 120px;
- float: right;
- list-style: none;
- margin: 0;
- text-align: right;
- >li {
- display: inline-block;
- white-space: nowrap;
- }
- a {
- padding: 5px 7px;
- position: relative;
- top: 5px;
- color: @grafanaTargetColor;
- .grafana-target-hidden & {
- color: @grafanaTargetColorHide;
- }
- &:hover, &:focus {
- text-decoration: none;
- }
- }
- }
- input[type=text].grafana-target-text-input {
- padding: 5px 7px;
- border: 1px solid @grafanaTargetSegmentBorder;
- margin: 0px;
- background: transparent;
- width: 80%;
- float: left;
- color: @grafanaTargetColor;
- border-radius: 0;
- }
- .grafana-target .dropdown {
- padding: 0; margin: 0;
- }
- input[type=text].func-param {
- border: none;
- background: inherit;
- width: 30px;
- border-radius: none;
- padding: 0;
- margin: 0;
- }
- .grafana-target {
- .popover-content {
- padding: 0;
- }
- }
- .grafana-func-editor {
- min-width: 140px;
- .grafana-func-editor-header {
- background: @grafanaTargetFuncHightlight;
- text-align: center;
- border-bottom: 1px solid @grafanaTargetFuncBackground;
- padding: 3px 5px;
- white-space: nowrap;
- }
- .editor-row {
- padding: 5px;
- }
- }
- .scrollable {
- max-height: 300px;
- overflow: auto;
- }
- //
- // Srollbars
- //
- ::-webkit-scrollbar {
- width: 8px;
- height: 8px;
- }
- ::-webkit-scrollbar:hover {
- height: 8px;
- }
- ::-webkit-scrollbar-button:start:decrement,
- ::-webkit-scrollbar-button:end:increment { display: none; }
- ::-webkit-scrollbar-button:horizontal:decrement { display: none; }
- ::-webkit-scrollbar-button:horizontal:increment { display: none; }
- ::-webkit-scrollbar-button:vertical:decrement { display: none; }
- ::-webkit-scrollbar-button:vertical:increment { display: none; }
- ::-webkit-scrollbar-button:horizontal:decrement:active { background-image: none; }
- ::-webkit-scrollbar-button:horizontal:increment:active { background-image: none; }
- ::-webkit-scrollbar-button:vertical:decrement:active { background-image: none; }
- ::-webkit-scrollbar-button:vertical:increment:active {background-image: none; }
- ::-webkit-scrollbar-track-piece { background-color: grayDark; }
- ::-webkit-scrollbar-thumb:vertical {
- height: 50px;
- background: -webkit-gradient(linear, left top, right top, color-stop(0%, #3a3a3a), color-stop(100%, #222222));
- border: 1px solid #0d0d0d;
- border-top: 1px solid #666666;
- border-left: 1px solid #666666;
- }
- ::-webkit-scrollbar-thumb:horizontal {
- width: 50px;
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3a3a3a), color-stop(100%, #222222));
- border: 1px solid #1f1f1f;
- border-top: 1px solid #666666;
- border-left: 1px solid #666666;
- }
- // SPECTRUM CSS overrides
- .sp-replacer {
- background: inherit;
- border: none;
- color: inherit;
- }
- .sp-replacer:hover, .sp-replacer.sp-active {
- border-color: inherit;
- color: inherit;
- }
- .sp-container {
- border-radius: 0;
- background-color: @heroUnitBackground;
- border: none;
- padding: 0;
- }
- .sp-palette-container, .sp-picker-container {
- border: none;
- }
|