Projet

Général

Profil

0001-scss-add-.oneline-dialog-modificator-for-jqueryUI-di.patch

Thomas Jund, 15 janvier 2021 13:40

Télécharger (1,08 ko)

Voir les différences:

Subject: [PATCH] scss: add .oneline-dialog modificator for jqueryUI dialog
 widget (#49585)

 gadjo/static/css/_jqueryui.scss | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
gadjo/static/css/_jqueryui.scss
214 214
			width: auto;
215 215
		}
216 216
	}
217

  
218
	// one line dialog
219
	// add this class on widget to remove titlebar, position the close button to the left of content
220
	&.oneline-dialog {
221
		.ui-dialog-titlebar {
222
			float: right;
223
			padding-top: 5px;
224
		}
225
		.ui-dialog-title {
226
			display: none;
227
		}
228
		.ui-dialog-titlebar-close {
229
			display: block;
230
		}
231
		// visual feedback when open dialog
232
		transition: box-shadow 800ms ease 200ms;
233
		&.feedback-on-open {
234
			box-shadow: $primary-color 0px 0px 20px 2px;
235
		}
236
	}
217 237
}
218 238

  
219 239
.ui-tooltip {
220
-