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
e2336ef0
Commit
e2336ef0
authored
Jul 07, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove specific values for the fluid grid system and instead use LESS's percentage() function
parent
6d447079
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
228 additions
and
252 deletions
+228
-252
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap-responsive.css
+146
-146
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+74
-74
docs/download.html
docs/download.html
+0
-13
docs/templates/pages/download.mustache
docs/templates/pages/download.mustache
+0
-13
less/variables.less
less/variables.less
+8
-6
No files found.
docs/assets/css/bootstrap-responsive.css
View file @
e2336ef0
This diff is collapsed.
Click to expand it.
docs/assets/css/bootstrap.css
View file @
e2336ef0
...
...
@@ -318,8 +318,8 @@ a:hover {
float
:
left
;
width
:
100%
;
min-height
:
28px
;
margin-left
:
2.127659574%
;
*
margin-left
:
2.07446808
46382977
%
;
margin-left
:
2.127659574
468085
%
;
*
margin-left
:
2.07446808
5106383
%
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
@@ -330,183 +330,183 @@ a:hover {
}
.row-fluid
.span12
{
width
:
99.99999998999999
%
;
*
width
:
99.9468085
0063828
%
;
width
:
100
%
;
*
width
:
99.9468085
1063829
%
;
}
.row-fluid
.span11
{
width
:
91.489361
693
%
;
*
width
:
91.4361702
036383
%
;
width
:
91.489361
70212765
%
;
*
width
:
91.4361702
1276594
%
;
}
.row-fluid
.span10
{
width
:
82.978723
39599999
%
;
*
width
:
82.9255319
0663828
%
;
width
:
82.978723
40425532
%
;
*
width
:
82.9255319
1489361
%
;
}
.row-fluid
.span9
{
width
:
74.468085
099
%
;
*
width
:
74.4148936
096383
%
;
width
:
74.468085
10638297
%
;
*
width
:
74.4148936
1702126
%
;
}
.row-fluid
.span8
{
width
:
65.95744680
199999
%
;
*
width
:
65.90425531
263828
%
;
width
:
65.95744680
851064
%
;
*
width
:
65.90425531
914893
%
;
}
.row-fluid
.span7
{
width
:
57.4468085
05
%
;
*
width
:
57.3936170
156383
%
;
width
:
57.4468085
1063829
%
;
*
width
:
57.3936170
2127659
%
;
}
.row-fluid
.span6
{
width
:
48.9361702
0799999
%
;
*
width
:
48.8829787
1863829
%
;
width
:
48.9361702
1276595
%
;
*
width
:
48.8829787
2340425
%
;
}
.row-fluid
.span5
{
width
:
40.42553191
1
%
;
*
width
:
40.37234042
16383
%
;
width
:
40.42553191
489362
%
;
*
width
:
40.37234042
553192
%
;
}
.row-fluid
.span4
{
width
:
31.91489361
4
%
;
*
width
:
31.86170212
46383
%
;
width
:
31.91489361
7021278
%
;
*
width
:
31.86170212
7659576
%
;
}
.row-fluid
.span3
{
width
:
23.40425531
7
%
;
*
width
:
23.35106382
7638
3%
;
width
:
23.40425531
9148934
%
;
*
width
:
23.35106382
978723
3%
;
}
.row-fluid
.span2
{
width
:
14.89361702%
;
*
width
:
14.84042553
06383
%
;
width
:
14.89361702
1276595
%
;
*
width
:
14.84042553
1914894
%
;
}
.row-fluid
.span1
{
width
:
6.382978723%
;
*
width
:
6.32978723
3638298
%
;
width
:
6.382978723
404255
%
;
*
width
:
6.32978723
4042553
%
;
}
.row-fluid
.offset12
{
margin-left
:
104.2553191
3799999
%
;
*
margin-left
:
104.1489361
5927657
%
;
margin-left
:
104.2553191
4893617
%
;
*
margin-left
:
104.1489361
7021275
%
;
}
.row-fluid
.offset12
:first-child
{
margin-left
:
102.1276595
64
%
;
*
margin-left
:
102.0212765
8527658
%
;
margin-left
:
102.1276595
7446808
%
;
*
margin-left
:
102.0212765
9574467
%
;
}
.row-fluid
.offset11
{
margin-left
:
95.7446808
41
%
;
*
margin-left
:
95.6382978
6227659
%
;
margin-left
:
95.7446808
5106382
%
;
*
margin-left
:
95.6382978
723404
%
;
}
.row-fluid
.offset11
:first-child
{
margin-left
:
93.6170212
6700001
%
;
*
margin-left
:
93.5106382
882766
%
;
margin-left
:
93.6170212
7659574
%
;
*
margin-left
:
93.5106382
9787232
%
;
}
.row-fluid
.offset10
{
margin-left
:
87.2340425
439999
9%
;
*
margin-left
:
87.1276595
652765
7%
;
margin-left
:
87.2340425
531914
9%
;
*
margin-left
:
87.1276595
744680
7%
;
}
.row-fluid
.offset10
:first-child
{
margin-left
:
85.10638297%
;
*
margin-left
:
84.99999999
127658
%
;
margin-left
:
85.10638297
87234
%
;
*
margin-left
:
84.99999999
999999
%
;
}
.row-fluid
.offset9
{
margin-left
:
78.7234042
47
%
;
*
margin-left
:
78.6170212
6827659
%
;
margin-left
:
78.7234042
5531914
%
;
*
margin-left
:
78.6170212
7659572
%
;
}
.row-fluid
.offset9
:first-child
{
margin-left
:
76.5957446
7300001
%
;
*
margin-left
:
76.489361
6942766
%
;
margin-left
:
76.5957446
8085106
%
;
*
margin-left
:
76.489361
70212764
%
;
}
.row-fluid
.offset8
{
margin-left
:
70.2127659
4999999
%
;
*
margin-left
:
70.10638297
127657
%
;
margin-left
:
70.2127659
574468
%
;
*
margin-left
:
70.10638297
872339
%
;
}
.row-fluid
.offset8
:first-child
{
margin-left
:
68.0851063
76
%
;
*
margin-left
:
67.978723
39727658
%
;
margin-left
:
68.0851063
8297872
%
;
*
margin-left
:
67.978723
4042553
%
;
}
.row-fluid
.offset7
{
margin-left
:
61.70212765
3
%
;
*
margin-left
:
61.5957446
74276595
%
;
margin-left
:
61.70212765
957446
%
;
*
margin-left
:
61.5957446
8085106
%
;
}
.row-fluid
.offset7
:first-child
{
margin-left
:
59.5744680
79
%
;
*
margin-left
:
59.46808510
0276596
%
;
margin-left
:
59.5744680
85106375
%
;
*
margin-left
:
59.46808510
638297
%
;
}
.row-fluid
.offset6
{
margin-left
:
53.1914893
5599999
%
;
*
margin-left
:
53.0851063
7727659
%
;
margin-left
:
53.1914893
61702125
%
;
*
margin-left
:
53.0851063
82978715
%
;
}
.row-fluid
.offset6
:first-child
{
margin-left
:
51.06382978
199999
%
;
*
margin-left
:
50.95744680
327659
%
;
margin-left
:
51.06382978
7234035
%
;
*
margin-left
:
50.95744680
851063
%
;
}
.row-fluid
.offset5
{
margin-left
:
44.6808510
5
9%
;
*
margin-left
:
44.57446808
0276596
%
;
margin-left
:
44.6808510
638297
9%
;
*
margin-left
:
44.57446808
510638
%
;
}
.row-fluid
.offset5
:first-child
{
margin-left
:
42.55319148
5
%
;
*
margin-left
:
42.4468085
062766
%
;
margin-left
:
42.55319148
93617
%
;
*
margin-left
:
42.4468085
106383
%
;
}
.row-fluid
.offset4
{
margin-left
:
36.17021276
2
%
;
*
margin-left
:
36.06382978
3276596
%
;
margin-left
:
36.17021276
5957444
%
;
*
margin-left
:
36.06382978
723405
%
;
}
.row-fluid
.offset4
:first-child
{
margin-left
:
34.0425531
88
%
;
*
margin-left
:
33.9361702
09276
6%
;
margin-left
:
34.0425531
9148936
%
;
*
margin-left
:
33.9361702
127659
6%
;
}
.row-fluid
.offset3
{
margin-left
:
27.65957446
5
%
;
*
margin-left
:
27.55319148
6276596
%
;
margin-left
:
27.65957446
8085104
%
;
*
margin-left
:
27.55319148
93617
%
;
}
.row-fluid
.offset3
:first-child
{
margin-left
:
25.53191489
1
%
;
*
margin-left
:
25.42553191
2276597
%
;
margin-left
:
25.53191489
361702
%
;
*
margin-left
:
25.42553191
4893618
%
;
}
.row-fluid
.offset2
{
margin-left
:
19.1489361
68
%
;
*
margin-left
:
19.0425531
8927659
6%
;
margin-left
:
19.1489361
70212764
%
;
*
margin-left
:
19.0425531
914893
6%
;
}
.row-fluid
.offset2
:first-child
{
margin-left
:
17.02127659
4
%
;
*
margin-left
:
16.91489361
5276597
%
;
margin-left
:
17.02127659
574468
%
;
*
margin-left
:
16.91489361
7021278
%
;
}
.row-fluid
.offset1
{
margin-left
:
10.63829787
0999999
%
;
*
margin-left
:
10.53191489
2276596
%
;
margin-left
:
10.63829787
2340425
%
;
*
margin-left
:
10.53191489
361702
%
;
}
.row-fluid
.offset1
:first-child
{
margin-left
:
8.510638297%
;
*
margin-left
:
8.40425531
8276597
%
;
margin-left
:
8.510638297
87234
%
;
*
margin-left
:
8.40425531
9148938
%
;
}
.container
{
...
...
docs/download.html
View file @
e2336ef0
...
...
@@ -286,19 +286,6 @@
<input
type=
"text"
class=
"span3"
placeholder=
"42px"
>
<label>
@gridGutterWidth768
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"20px"
>
<h3>
Fluid grid system
</h3>
<label>
@fluidGridColumnWidth
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"6.382978723%"
>
<label>
@fluidGridGutterWidth
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"2.127659574%"
>
<label>
@fluidGridColumnWidth1200
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"5.982905983%"
>
<label>
@fluidGridGutterWidth1200
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"2.564102564%"
>
<label>
@fluidGridColumnWidth768
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"5.801104972%"
>
<label>
@fluidGridGutterWidth768
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"2.762430939%"
>
<h3>
Typography
</h3>
<label>
@sansFontFamily
</label>
...
...
docs/templates/pages/download.mustache
View file @
e2336ef0
...
...
@@ -209,19 +209,6 @@
<input
type=
"text"
class=
"span3"
placeholder=
"42px"
>
<label>
@gridGutterWidth768
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"20px"
>
<h3>
{{
_i
}}
Fluid grid system
{{/
i
}}
</h3>
<label>
@fluidGridColumnWidth
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"6.382978723%"
>
<label>
@fluidGridGutterWidth
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"2.127659574%"
>
<label>
@fluidGridColumnWidth1200
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"5.982905983%"
>
<label>
@fluidGridGutterWidth1200
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"2.564102564%"
>
<label>
@fluidGridColumnWidth768
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"5.801104972%"
>
<label>
@fluidGridGutterWidth768
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"2.762430939%"
>
<h3>
{{
_i
}}
Typography
{{/
i
}}
</h3>
<label>
@sansFontFamily
</label>
...
...
less/variables.less
View file @
e2336ef0
...
...
@@ -213,21 +213,23 @@
// 1200px min
@gridColumnWidth1200: 70px;
@gridGutterWidth1200: 30px;
@gridRowWidth1200: (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1));
// 768px-979px
@gridColumnWidth768: 42px;
@gridGutterWidth768: 20px;
@gridRowWidth768: (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));
// Fluid grid
// -------------------------
@fluidGridColumnWidth:
6.382978723%
;
@fluidGridGutterWidth:
2.127659574%
;
@fluidGridColumnWidth:
percentage(@gridColumnWidth/@gridRowWidth)
;
@fluidGridGutterWidth:
percentage(@gridGutterWidth/@gridRowWidth)
;
// 1200px min
@fluidGridColumnWidth1200:
5.982905983%
;
@fluidGridGutterWidth1200:
2.564102564%
;
@fluidGridColumnWidth1200:
percentage(@gridColumnWidth1200/@gridRowWidth1200)
;
@fluidGridGutterWidth1200:
percentage(@gridGutterWidth1200/@gridRowWidth1200)
;
// 768px-979px
@fluidGridColumnWidth768:
5.801104972%
;
@fluidGridGutterWidth768:
2.762430939%
;
@fluidGridColumnWidth768:
percentage(@gridColumnWidth768/@gridRowWidth768)
;
@fluidGridGutterWidth768:
percentage(@gridGutterWidth768/@gridRowWidth768)
;
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