/* Overlays */ .ui-widget-overlay { position: fixed; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; } .ui-widget-overlay { opacity: 0.75; } .ui-dialog { position: absolute; overflow: hidden; padding: 1em; min-width: 300px; border-radius: .5em; border: solid 1px $gris200; background-color: white; @include noBorderShadow(1px, 2px); .ui-dialog-titlebar { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: .5em; margin-bottom: 1em; border-bottom: 1px solid $brand100; } .ui-dialog-title { font-weight: 700; font-size: 1.2em; } .ui-dialog-content.ui-widget-content { height: unset; overflow: hidden; } // BUttons at the bottom of overlay dialog &-buttonpane { div.ui-dialog-buttonset { display: flex; justify-content: center; button.ui-button { margin-bottom: 0; } } .ui-button.ui-dialog-button-cancel { @include buttonSecondary; } } .pageDescription { margin-bottom: 2em; } .formControls { display: flex; // Workaround pour que les tests robotframework passent margin: 1em -1px 0; input.om-button.boutonFormulaire { margin-bottom: 0; } :not(#portlet-actions) .delete-16 { @include buttonDanger; } } p.ui-button:not(.ui-datepicker-trigger):not(.httpclickbutton):not([id*="search"]), input.ui-button:not(.ui-datepicker-trigger):not(.httpclickbutton):not([id*="search"]) { display: inline-block; } p.ui-button:not(.ui-datepicker-trigger):not(.httpclickbutton):not([id*="search"]) { @include buttonSecondary; a { color: $brand700; margin: 0 .5em; } } #archive_download_link { @include buttonPrimary; margin: 1em 0; } #sousform-donnees_techniques #portlet-actions { margin: 0; margin-top: -4.4em; .portlet-list { justify-content: flex-end; } &:after { display: block; content: ""; clear: both; } } #sousform-petitionnaire, #sousform-delegataire, #sousform-proprietaire, #sousform-architecte_lc, #sousform-paysagiste, #sousform-bailleur, #sousform-plaignant, #sousform-requerant, #sousform-avocat, #sousform-contrevenant { input[type="checkbox"] { width: auto; } } } /* * jQuery UI Dialog 1.8.14 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Dialog#theming */ .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; } .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } .ui-draggable .ui-dialog-titlebar { cursor: move; } div.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-draggable.ui-resizable:not(.alert_regle_action), div.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-draggable:not(.alert_regle_action) { width: auto; height: auto !important; top: 5vh !important; left: 50% !important; transform: translateX(-50%); } .alert_regle_action { width: auto !important; padding: .5em 0; } [aria-labelledby="ui-dialog-title-sousform-document_numerise_preview_edition"] { .ui-dialog-titlebar { margin: 0; cursor: default; } #sousform-document_numerise_preview_edition { .ui-dialog .ui-dialog-content { padding: 0 1em; } .formControls-top { margin-top: 0; a.retour { margin: 0; } } .field.field-type-previsualiser { grid-template-columns: 1fr; } } } [aria-labelledby="ui-dialog-title-sousform-normalize_address"] { .field.field-type-text:not([class$="field-type-hidden"]):not([class$="field-type-hiddendate"]):not(.field-type-previsualiser_pdf):not([class*="field-type-html"]) { display: flex; position: relative; } } body:not(.mainrubrik-parametrage-dossiers) .ui-widget-overlay { position: fixed; } body:not(.mainrubrik-parametrage-dossiers) div.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-draggable.ui-resizable { max-width: 100vw; width: auto; height: auto !important; top: 5vh !important; left: 50% !important; transform: translateX(-50%); }