mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Merge branch '2.0-wip' of https://github.com/twitter/bootstrap into 2.0-wip
Conflicts: docs/assets/bootstrap.zip
This commit is contained in:
commit
0de951f4f4
Binary file not shown.
@ -707,6 +707,13 @@ form.well {
|
|||||||
.subnav .nav > li + li > a {
|
.subnav .nav > li + li > a {
|
||||||
border-top: 1px solid #e5e5e5;
|
border-top: 1px solid #e5e5e5;
|
||||||
}
|
}
|
||||||
|
.subnav .nav > li:first-child > a,
|
||||||
|
.subnav .nav > li:first-child > a:hover {
|
||||||
|
-webkit-border-radius: 4px 4px 0 0;
|
||||||
|
-moz-border-radius: 4px 4px 0 0;
|
||||||
|
border-radius: 4px 4px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Popovers */
|
/* Popovers */
|
||||||
.large-bird {
|
.large-bird {
|
||||||
|
@ -758,7 +758,7 @@
|
|||||||
<a class="brand" href="#">Project name</a>
|
<a class="brand" href="#">Project name</a>
|
||||||
|
|
||||||
<!-- Everything you want hidden at 940px or less, place within here -->
|
<!-- Everything you want hidden at 940px or less, place within here -->
|
||||||
<div class="nav-collapse collapse">
|
<div class="nav-collapse">
|
||||||
<!-- .nav, .navbar-search, .navbar-form, etc -->
|
<!-- .nav, .navbar-search, .navbar-form, etc -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
2
docs/templates/pages/components.mustache
vendored
2
docs/templates/pages/components.mustache
vendored
@ -686,7 +686,7 @@
|
|||||||
<a class="brand" href="#">{{_i}}Project name{{/i}}</a>
|
<a class="brand" href="#">{{_i}}Project name{{/i}}</a>
|
||||||
|
|
||||||
<!-- Everything you want hidden at 940px or less, place within here -->
|
<!-- Everything you want hidden at 940px or less, place within here -->
|
||||||
<div class="nav-collapse collapse">
|
<div class="nav-collapse">
|
||||||
<!-- .nav, .navbar-search, .navbar-form, etc -->
|
<!-- .nav, .navbar-search, .navbar-form, etc -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -2,31 +2,6 @@
|
|||||||
// -----------
|
// -----------
|
||||||
|
|
||||||
|
|
||||||
// Default grid sizing
|
|
||||||
// -------------------
|
|
||||||
@gridColumns: 12;
|
|
||||||
@gridColumnWidth: 60px;
|
|
||||||
@gridGutterWidth: 20px;
|
|
||||||
|
|
||||||
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
|
||||||
@gridTotalWidth: @gridRowWidth;
|
|
||||||
|
|
||||||
|
|
||||||
// Columns and offseting mixins
|
|
||||||
// ----------------------------
|
|
||||||
.columns(@columns: 1) {
|
|
||||||
//width: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1));
|
|
||||||
width: @gridTotalWidth * ((((@gridGutterWidth+@gridColumnWidth)*@columns)-@gridGutterWidth)/@gridRowWidth);
|
|
||||||
}
|
|
||||||
.offset(@columns: 1) {
|
|
||||||
margin-left: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1)) + (@gridGutterWidth * 2);
|
|
||||||
}
|
|
||||||
// Necessary grid styles for every column to make them appear next to each other horizontally
|
|
||||||
.gridColumn() {
|
|
||||||
float: left;
|
|
||||||
margin-left: @gridGutterWidth;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Grid rows and columns
|
// Grid rows and columns
|
||||||
// ---------------------
|
// ---------------------
|
||||||
.row {
|
.row {
|
||||||
|
@ -139,6 +139,21 @@
|
|||||||
.clearfix();
|
.clearfix();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Columns and offseting mixins
|
||||||
|
// ----------------------------
|
||||||
|
.columns(@columns: 1) {
|
||||||
|
//width: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1));
|
||||||
|
width: @gridTotalWidth * ((((@gridGutterWidth+@gridColumnWidth)*@columns)-@gridGutterWidth)/@gridRowWidth);
|
||||||
|
}
|
||||||
|
.offset(@columns: 1) {
|
||||||
|
margin-left: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1)) + (@gridGutterWidth * 2);
|
||||||
|
}
|
||||||
|
// Necessary grid styles for every column to make them appear next to each other horizontally
|
||||||
|
.gridColumn() {
|
||||||
|
float: left;
|
||||||
|
margin-left: @gridGutterWidth;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// CSS3 PROPERTIES
|
// CSS3 PROPERTIES
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// GRID SYSTEM VARIABLES
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
@gridColumns: 12;
|
||||||
|
@gridColumnWidth: 60px;
|
||||||
|
@gridGutterWidth: 20px;
|
||||||
|
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
||||||
|
@gridTotalWidth: @gridRowWidth;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// COMPONENT VARIABLES
|
// COMPONENT VARIABLES
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user