diff --git a/client/app/assets/less/inc/schema-browser.less b/client/app/assets/less/inc/schema-browser.less index dc18c2343f..c077e7142c 100644 --- a/client/app/assets/less/inc/schema-browser.less +++ b/client/app/assets/less/inc/schema-browser.less @@ -62,6 +62,8 @@ div.table-name { } &:hover { + background: fade(@redash-gray, 10%); + .copy-to-editor { display: flex; } diff --git a/client/app/assets/less/redash/query.less b/client/app/assets/less/redash/query.less index cc76d371d0..74c8ee73ce 100644 --- a/client/app/assets/less/redash/query.less +++ b/client/app/assets/less/redash/query.less @@ -79,7 +79,7 @@ edit-in-place p.editable:hover { } .filter-container { - margin-bottom: 5px; + margin-bottom: 10px; } .editor__control--right { diff --git a/client/app/assets/less/redash/redash-newstyle.less b/client/app/assets/less/redash/redash-newstyle.less index e74064f537..6c4784ac25 100644 --- a/client/app/assets/less/redash/redash-newstyle.less +++ b/client/app/assets/less/redash/redash-newstyle.less @@ -73,6 +73,43 @@ body { } } +.add-widget-container { + background: #fff; + border-radius: @redash-radius; + padding: 15px; + position: fixed; + left: 15px; + bottom: 20px; + width: calc(~'100% - 30px'); + z-index: 99; + box-shadow: fade(@redash-gray, 50%) 0px 7px 29px -3px; + display: flex; + justify-content: space-between; + + h2 { + margin: 0; + font-size: 14px; + line-height: 2.1; + font-weight: 400; + + .zmdi { + margin: 0; + margin-right: 5px; + font-size: 24px; + position: absolute; + bottom: 18px; + } + + span { + padding-left: 30px; + } + } + + .btn { + align-self: center; + } +} + body { .ace-tm .ace_gutter { background: #fff; @@ -285,6 +322,11 @@ page-header, .page-header--new { .label { border-radius: 2px; padding: 3px 6px 4px; + font-weight: 500; +} + +.label-default { + background: fade(@redash-gray, 85%); } .tab-nav > li > a { @@ -295,6 +337,21 @@ page-header, .page-header--new { text-transform: none; } +.dashboard-header { + position: -webkit-sticky; // required for Safari + position: sticky; + background: #f6f7f9; + z-index: 99; + width: 100%; + top: 0; +} + +.widget-wrapper { + .parameter-container { + padding: 0 15px; + } +} + .dashboard__control { margin: 8px 0; } @@ -310,6 +367,21 @@ page-header, .page-header--new { } } +.dashboard-header { + position: -webkit-sticky; // required for Safari + position: sticky; + background: #f6f7f9; + z-index: 99; + width: 100%; + top: 0; +} + +.widget-wrapper { + .parameter-container { + padding: 0 15px; + } +} + .bg-ace { background-color: fade(@redash-gray, 12%) !important; } diff --git a/client/app/components/dashboards/edit-dashboard-dialog.html b/client/app/components/dashboards/edit-dashboard-dialog.html index ea54aceb27..e216d569a4 100644 --- a/client/app/components/dashboards/edit-dashboard-dialog.html +++ b/client/app/components/dashboards/edit-dashboard-dialog.html @@ -6,13 +6,6 @@

- -

- -