Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
0de951f4
Commit
0de951f4
authored
Jan 29, 2012
by
Jacob Thornton
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.0-wip' of
https://github.com/twitter/bootstrap
into 2.0-wip
Conflicts: docs/assets/bootstrap.zip
parents
fae04c8a
2ba1b01f
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
35 additions
and
27 deletions
+35
-27
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/assets/css/docs.css
docs/assets/css/docs.css
+7
-0
docs/components.html
docs/components.html
+1
-1
docs/templates/pages/components.mustache
docs/templates/pages/components.mustache
+1
-1
less/grid.less
less/grid.less
+0
-25
less/mixins.less
less/mixins.less
+15
-0
less/variables.less
less/variables.less
+11
-0
No files found.
docs/assets/bootstrap.zip
View file @
0de951f4
No preview for this file type
docs/assets/css/docs.css
View file @
0de951f4
...
...
@@ -707,6 +707,13 @@ form.well {
.subnav
.nav
>
li
+
li
>
a
{
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 */
.large-bird
{
...
...
docs/components.html
View file @
0de951f4
...
...
@@ -758,7 +758,7 @@
<
a class="brand" href="#"
>
Project name
<
/a
>
<
!-- 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 --
>
<
/div
>
...
...
docs/templates/pages/components.mustache
View file @
0de951f4
...
...
@@ -686,7 +686,7 @@
<
a class="brand" href="#"
>
{{
_i
}}
Project name
{{/
i
}}
<
/a
>
<
!-- 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 --
>
<
/div
>
...
...
less/grid.less
View file @
0de951f4
...
...
@@ -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
// ---------------------
.row {
...
...
less/mixins.less
View file @
0de951f4
...
...
@@ -139,6 +139,21 @@
.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
...
...
less/variables.less
View file @
0de951f4
...
...
@@ -40,6 +40,17 @@
// GRID SYSTEM VARIABLES
// --------------------------------------------------
@gridColumns: 12;
@gridColumnWidth: 60px;
@gridGutterWidth: 20px;
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
@gridTotalWidth: @gridRowWidth;
// COMPONENT VARIABLES
// --------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment