mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
new plugin "collapse" for collapsible lists and "accordion" like support
This commit is contained in:
+15
-8
@@ -631,14 +631,6 @@ input[type=submit].btn {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// PATTERN ANIMATIONS
|
||||
// ------------------
|
||||
|
||||
@@ -650,6 +642,21 @@ input[type=submit].btn {
|
||||
}
|
||||
}
|
||||
|
||||
.collapse {
|
||||
position:relative;
|
||||
overflow:hidden;
|
||||
&.height {
|
||||
.transition(height .35s ease);
|
||||
height: 0;
|
||||
&.in { height: auto; }
|
||||
}
|
||||
&.width {
|
||||
.transition(width .35s ease);
|
||||
width: 0;
|
||||
&.in { width: auto; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// LABELS
|
||||
// ------
|
||||
|
||||
Reference in New Issue
Block a user