diff --git a/gadjo/static/css/_jqueryui.scss b/gadjo/static/css/_jqueryui.scss index cb4671b..b835e79 100644 --- a/gadjo/static/css/_jqueryui.scss +++ b/gadjo/static/css/_jqueryui.scss @@ -214,6 +214,26 @@ div.ui-dialog { width: auto; } } + + // one line dialog + // add this class on widget to remove titlebar, position the close button to the left of content + &.oneline-dialog { + .ui-dialog-titlebar { + float: right; + padding-top: 5px; + } + .ui-dialog-title { + display: none; + } + .ui-dialog-titlebar-close { + display: block; + } + // visual feedback when open dialog + transition: box-shadow 800ms ease 200ms; + &.feedback-on-open { + box-shadow: $primary-color 0px 0px 20px 2px; + } + } } .ui-tooltip {