diff --git a/src/index.html b/src/index.html index 843cbfc5ea428..c0c7a0ac84518 100644 --- a/src/index.html +++ b/src/index.html @@ -13,7 +13,7 @@ -
+ + + + \ No newline at end of file diff --git a/src/kibana/styles/_notify.less b/src/kibana/styles/_notify.less index 73a936a768abb..c5cff9d85fc25 100644 --- a/src/kibana/styles/_notify.less +++ b/src/kibana/styles/_notify.less @@ -3,12 +3,8 @@ } .toaster-container { - position: absolute; - top: 0px; - left: 0px; - z-index: 1; - visibility: hidden; - width: 85%; + visibility: visible; + width: 100%; .toaster { margin: 0; @@ -17,34 +13,22 @@ } .alert { - -webkit-box-shadow: 3px 0px 19px 0px rgba(50, 50, 50, 0.67); - -moz-box-shadow: 3px 0px 19px 0px rgba(50, 50, 50, 0.67); - box-shadow: 3px 0px 19px 0px rgba(50, 50, 50, 0.67); padding: 0.00001px 15px; - margin: 0 0 10px 0; + margin: 0; border: none; - - button.btn { - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; - border: none; - } - - table { - width: 100%; - td { - vertical-align: middle; - - // :not(:first-child) - text-align: right; - - - &:first-child { - text-align: left; - } + border-radius: 0; + min-height: 40px; + + .toaster-controls { + button.btn { + border-top-left-radius: 0px; + border-top-right-radius: 0px; + border-top:0px } + } + .toaster-stack { + padding-bottom: 10px; } pre { diff --git a/src/kibana/styles/main.css b/src/kibana/styles/main.css index 435b2ea425cb3..447853fa7384b 100644 --- a/src/kibana/styles/main.css +++ b/src/kibana/styles/main.css @@ -7017,12 +7017,8 @@ kbn-table tr.even td { margin: 15px; } .toaster-container { - position: absolute; - top: 0px; - left: 0px; - z-index: 1; - visibility: hidden; - width: 85%; + visibility: visible; + width: 100%; } .toaster-container .toaster { margin: 0; @@ -7030,28 +7026,19 @@ kbn-table tr.even td { list-style: none; } .toaster-container .alert { - -webkit-box-shadow: 3px 0px 19px 0px rgba(50, 50, 50, 0.67); - -moz-box-shadow: 3px 0px 19px 0px rgba(50, 50, 50, 0.67); - box-shadow: 3px 0px 19px 0px rgba(50, 50, 50, 0.67); padding: 0.00001px 15px; - margin: 0 0 10px 0; - border: none; -} -.toaster-container .alert button.btn { - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; + margin: 0; border: none; + border-radius: 0; + min-height: 40px; } -.toaster-container .alert table { - width: 100%; +.toaster-container .alert .toaster-controls button.btn { + border-top-left-radius: 0px; + border-top-right-radius: 0px; + border-top: 0px; } -.toaster-container .alert table td { - vertical-align: middle; - text-align: right; -} -.toaster-container .alert table td:first-child { - text-align: left; +.toaster-container .alert .toaster-stack { + padding-bottom: 10px; } .toaster-container .alert pre { display: inline-block;