Added responsive classes to hide columns
authorThierry Florac <thierry.florac@onf.fr>
Fri, 26 Jan 2018 15:49:07 +0100
changeset 259 03a077f9b08d
parent 258 7447364d05d1
child 260 a013bb277b99
Added responsive classes to hide columns
src/pyams_skin/resources/less/typo.less
--- a/src/pyams_skin/resources/less/typo.less	Sun Jan 14 14:57:27 2018 +0100
+++ b/src/pyams_skin/resources/less/typo.less	Fri Jan 26 15:49:07 2018 +0100
@@ -647,6 +647,27 @@
 	}
 }
 
+&.col-xs-hide {
+	@media (max-width: 768px) {
+		display: none!important;
+	}
+}
+&.col-sm-hide {
+	@media (min-width: 768px) and (max-width: 992px) {
+		display: none!important;
+	}
+}
+&.col-md-hide {
+	@media (min-width: 992px) and (max-width: 1200px) {
+		display: none!important;
+	}
+}
+&.col-lg-hide {
+	@media (min-width: 1200px) {
+		display: none!important;
+	}
+}
+
 .no-padding {
 	padding: 0!important;