src/ztfy/myams/resources/less/modal.less
changeset 118 c87d242a1176
parent 62 2f2dadb6b993
child 130 e3cb023c73b6
--- a/src/ztfy/myams/resources/less/modal.less	Fri Mar 27 15:59:45 2015 +0100
+++ b/src/ztfy/myams/resources/less/modal.less	Fri Mar 27 16:00:30 2015 +0100
@@ -2,7 +2,36 @@
  * UI modal dialog
  */
 
+.modal-backdrop,
+.modal-backdrop.fade.in {
+	position: fixed;
+	width: 100%;
+	height: 100%;
+}
+
 .modal-dialog {
+	&.modal-max {
+		width: 98%;
+		max-width: 98%;
+	}
+	&.modal-large {
+		@media only screen and (min-width: 768px) {
+			width: 80%;
+			max-width: 900px;
+		}
+	}
+	&.modal-medium {
+		@media only screen and (min-width: 768px) {
+			width: 60%;
+			max-width: 650px;
+		}
+	}
+	&.modal-small {
+		@media only screen and (min-width: 768px) {
+			width: 40%;
+			max-width: 450px;
+		}
+	}
 	.suffix {
 		.alert {
 			margin-bottom: 0;