Added "small" and "tiny" nav tabs classes
authorThierry Florac <tflorac@ulthar.net>
Tue, 03 Jun 2014 23:36:22 +0200
changeset 35 b5b31a376dd0
parent 34 7b2783dcbad5
child 36 1552937b5ea9
Added "small" and "tiny" nav tabs classes
src/ztfy/myams/resources/less/tabs.less
--- a/src/ztfy/myams/resources/less/tabs.less	Tue Jun 03 23:35:47 2014 +0200
+++ b/src/ztfy/myams/resources/less/tabs.less	Tue Jun 03 23:36:22 2014 +0200
@@ -51,6 +51,22 @@
 			}
 		}
 	}
+	&.small {
+		>li {
+			>a {
+				padding: 2px 8px;
+				font-size: 90%;
+			}
+		}
+	}
+	&.tiny {
+		>li {
+			>a {
+				padding: 1px 6px;
+				font-size: 75%;
+			}
+		}
+	}
 	>li.active {
 		>a {
 			-webkit-box-shadow: 0 -2px 0 #57889c;
@@ -212,6 +228,10 @@
 	&.transparent {
 		background-color: transparent;
 	}
+	&.bordered,
+	&.bordered:hover {
+		border-top: 0;
+	}
 }
 
 .ams-widget >header >.nav-tabs.pull-left >li:first-child a {