grafana/public/app/features/dashboard/components/AddPanelWidget/_AddPanelWidget.scss
Torkel Ödegaard 5a4f690807
NewPanelEditor: Enable new edit mode (#23405)
* WIP: initial commit to transition to new edit mode

* More old edit cleanup

* Minor update

* Refactoring url edit/fullscreen state to simplify logic, now seperate states

* Fixed tests and part of the explore integration

* Updated snapshot

* Fix alert rule links

* Fixed issue going back from explore

* Updated snapshots

* Fixes and changes

* Fixed bridge srv issue

* Fixed add panel issue

* Removed console log

* Removed render

* Tests: fixes e2e smoketest

* Make description optional

* Fixed typings

* e2e fixes

* removed import

* updated snapshot

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2020-04-10 16:37:26 +02:00

87 lines
1.5 KiB
SCSS

.add-panel-widget-container {
height: 100%;
}
.add-panel-widget {
height: 100%;
}
.add-panel-widget__header {
top: 0;
position: absolute;
padding: 0 15px;
display: flex;
align-items: center;
width: 100%;
cursor: move;
background: $page-header-bg;
box-shadow: $page-header-shadow;
border-bottom: 1px solid $page-header-border-color;
.gicon {
font-size: 30px;
margin-right: $space-md;
}
&:hover {
transition: background-color 0.1s ease-in-out;
background-color: $panel-header-hover-bg;
}
}
.add-panel-widget__title {
font-size: $font-size-md;
font-weight: $font-weight-semi-bold;
margin-right: $space-xl;
}
.add-panel-widget__link {
margin: 0 $space-sm;
width: 170px;
height: 88px !important;
flex-direction: column !important;
}
.add-panel-widget__icon {
margin-bottom: $space-sm;
.gicon {
color: white;
height: 44px;
width: 53px;
position: relative;
left: 5px;
}
}
.add-panel-widget__close {
margin-left: auto;
background-color: transparent;
border: 0;
font-size: 16px;
margin-right: -10px;
}
.add-panel-widget__create {
display: inherit;
margin-bottom: $space-lg;
// this is to have the big button appear centered
margin-top: 55px;
}
.add-panel-widget__actions {
display: inherit;
}
.add-panel-widget__action {
margin: 0 $space-xs;
}
.add-panel-widget__btn-container {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}