diff --git a/src/plugins/kibana/public/visualize/editor/styles/_editor.less b/src/plugins/kibana/public/visualize/editor/styles/_editor.less index 7936b8a0d24ee..2046483b45d63 100644 --- a/src/plugins/kibana/public/visualize/editor/styles/_editor.less +++ b/src/plugins/kibana/public/visualize/editor/styles/_editor.less @@ -26,13 +26,20 @@ &:before { display: none; } + &:hover { + background-color: transparent; + } } + > li { > a { padding: 4px 0; margin: 0 10px; color: @kibanaGray2; } + > a:hover { + border-bottom: 2px solid @kibanaGray2; + } } .danger { @@ -104,7 +111,7 @@ .index-pattern, nav { - min-height: 34px; + min-height: @app-icon-height; border-radius: 0px; } diff --git a/src/plugins/kibana/public/visualize/styles/main.less b/src/plugins/kibana/public/visualize/styles/main.less index f3011427ca48c..ccb1169e698cf 100644 --- a/src/plugins/kibana/public/visualize/styles/main.less +++ b/src/plugins/kibana/public/visualize/styles/main.less @@ -3,44 +3,98 @@ @import (reference) "~ui/styles/list-group-menu"; .vis-wizard { - h1 { - margin-top: 45px; - } -} + margin-right: 0; + margin-left: 0; + padding-left: 0; + padding-right: 0; + + @media (min-width: @screen-lg) { + .wizard { + padding: 0; + display: flex; -.wizard-vis-type { - .list-group-item(); - .list-group-menu .list-group-menu-item(); + .wizard-column { + flex: 1; + display: flex; + flex-direction: column; + padding: 0px 2.5px; + + .wizard-row { + flex: 1; + background-color: @kibanaGray6; + } + } + } + } - // overrided for tablet and desktop - @media (min-width: @screen-md-min) { - display: flex; - align-items: flex-start; + h3 { + margin-top: 35px; + padding: 0px 15px; } - &-heading { - flex: 0 0 200px; - display: flex; - align-items: center; - font-size: 1.2em; - - .fa { - flex: 0 0 auto; - margin-right: @padding-base-horizontal; - font-size: 1.5em; - text-align: center; + .wizard-row { + .panel { + margin-bottom: 0; + border: none; + } + + .panel-default > .panel-heading { + background-color: @kibanaGray6; + } + + .list-group { + margin-bottom: 0; + + .list-group-item { + border-radius: 0; + border: none; + } } - h4 { - flex: 1 0 auto; + .striped { + li:nth-child(odd) { + background-color: @white; + } + + li:nth-child(even) { + background-color: @kibanaGray6; + } } } - &-description { - flex: 1 1 auto; - color: @wizard-vis-type-description-color; + .wizard-type { + flex: 1; + .list-group-item(); + .list-group-menu .list-group-menu-item(); + + border: none; + border-radius: 0; + background-color: @kibanaGray6; + + &-heading { + flex: 0 0 200px; + display: flex; + align-items: center; + font-size: 1.2em; + + .fa { + flex: 0 0 auto; + margin-right: @padding-base-horizontal; + font-size: 1.5em; + text-align: center; + color: @saved-object-finder-icon-color; + } + + h4 { + flex: 1 0 auto; + } + } + + &-description { + flex: 1 1 auto; + color: @wizard-vis-type-description-color; + } } } - @import "../editor/styles/_editor.less"; diff --git a/src/plugins/kibana/public/visualize/wizard/step_1.html b/src/plugins/kibana/public/visualize/wizard/step_1.html index f435e5faeaddd..0a982eb5739db 100644 --- a/src/plugins/kibana/public/visualize/wizard/step_1.html +++ b/src/plugins/kibana/public/visualize/wizard/step_1.html @@ -1,24 +1,22 @@ -