Added classes for divs with given height
authorThierry Florac <thierry.florac@onf.fr>
Wed, 07 Jun 2017 10:10:23 +0200
changeset 182 25fc888b0b7e
parent 181 2a582df9842b
child 183 35776420c332
Added classes for divs with given height
src/pyams_skin/resources/less/typo.less
--- a/src/pyams_skin/resources/less/typo.less	Tue Apr 18 11:59:50 2017 +0200
+++ b/src/pyams_skin/resources/less/typo.less	Wed Jun 07 10:10:23 2017 +0200
@@ -405,6 +405,52 @@
 	}
 }
 
+.height {
+	&-nomin {
+		min-height: 0!important;
+	}
+	&-20 {
+		height: 20px;
+		max-height: 20px;
+	}
+	&-40 {
+		height: 40px;
+		max-height: 40px;
+	}
+	&-50 {
+		height: 50px;
+		max-height: 50px;
+	}
+	&-60 {
+		height: 60px;
+		max-height: 60px;
+	}
+	&-80 {
+		height: 80px;
+		max-height: 80px;
+	}
+	&-100 {
+		height: 100px;
+		max-height: 100px;
+	}
+	&-200 {
+		height: 200px;
+		max-height: 200px;
+	}
+	&-300 {
+		height: 300px;
+		max-height: 300px;
+	}
+	&-400 {
+		height: 400px;
+		max-height: 400px;
+	}
+	&-500 {
+		height: 500px;
+		max-height: 500px;
+	}
+}
+
 .padding {
 	&-5 {
 		padding: 5px!important;