/* Overlays */ .ui-widget-overlay { position:fixed; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; } .ui-dialog { position: absolute; overflow: hidden; padding: 1em; /* width: unset !important; */ min-width: 300px; border-radius: .5em; border: solid 1px $gris10; background-color: white; @include noBorderShadow(1px, 2px); /* border-radius: 1em; */ .ui-dialog-titlebar { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: .5em; margin-bottom: 1em; border-bottom: 1px solid $brand200; } .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: $brandDark; 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; } /* [id*="-etat-civil"], [id*="-personne-morale"] { .fieldsetContent { display: grid; grid-template-columns: repeat(2, 1fr); .bloc.group.search_fields, .bloc.group { flex-direction: row; grid-column: 1/-1; gap: 1.5em; .field { grid-template-columns: max-content auto; width: 100%; gap: 5px; &.field-type-date { width: 55%; } } } } } */ } } /* * 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-titlebar { padding: .4em 1em; position: relative; } // .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } //.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } // .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } // .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } .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"] { /* #address { // fix pour test 035 margin-left: 1px; } */ .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%); }