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
b6b19866
Commit
b6b19866
authored
Jan 25, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove some old -moz- prefixes from mixins while we're at it, dropping FF3.6 support
parent
af01d37a
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
117 additions
and
230 deletions
+117
-230
bootstrap-responsive.css
bootstrap-responsive.css
+1
-3
bootstrap-responsive.min.css
bootstrap-responsive.min.css
+1
-1
bootstrap.css
bootstrap.css
+26
-131
bootstrap.min.css
bootstrap.min.css
+85
-85
lib/mixins.less
lib/mixins.less
+4
-10
No files found.
bootstrap-responsive.css
View file @
b6b19866
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
}
}
.navbar
.nav
,
.navbar
.nav
>
li
:last-child
a
{
.navbar
.nav
,
.navbar
.nav
>
li
:last-child
a
{
-webkit-border-radius
:
0
0
4px
0
;
-webkit-border-radius
:
0
0
4px
0
;
-moz-border-radius
:
0
0
4px
0
;
border-radius
:
0
0
4px
0
;
border-radius
:
0
0
4px
0
;
}
}
.navbar
.nav
>
li
{
.navbar
.nav
>
li
{
...
@@ -47,9 +46,8 @@
...
@@ -47,9 +46,8 @@
border-left
:
4px
solid
transparent
;
border-left
:
4px
solid
transparent
;
border-right
:
4px
solid
transparent
;
border-right
:
4px
solid
transparent
;
border-top
:
4px
solid
#ffffff
;
border-top
:
4px
solid
#ffffff
;
filter
:
alpha
(
opacity
=
100
);
-moz-opacity
:
1
;
opacity
:
1
;
opacity
:
1
;
filter
:
alpha
(
opacity
=
100
);
content
:
"↓"
;
content
:
"↓"
;
}
}
.navbar
.nav
:hover
>
li
{
.navbar
.nav
:hover
>
li
{
...
...
bootstrap-responsive.min.css
View file @
b6b19866
.hidden
{
display
:
none
;
visibility
:
hidden
;}
.hidden
{
display
:
none
;
visibility
:
hidden
;}
@media
(
max-width
:
480px
){
.navbar
.nav
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
180px
;
padding-top
:
40px
;
list-style
:
none
;}
.navbar
.nav
,
.navbar
.nav
>
li
:last-child
a
{
-webkit-border-radius
:
0
0
4px
0
;
-moz-border-radius
:
0
0
4px
0
;
border-radius
:
0
0
4px
0
;}
.navbar
.nav
>
li
{
float
:
none
;
display
:
none
;}
.navbar
.nav
>
li
>
a
{
float
:
none
;
background-color
:
#222
;}
.navbar
.nav
>
.active
{
display
:
block
;
position
:
absolute
;
top
:
0
;
left
:
0
;}
.navbar
.nav
>
.active
>
a
{
background-color
:
transparent
;}
.navbar
.nav
>
.active
>
a
:hover
{
background-color
:
#333
;}
.navbar
.nav
>
.active
>
a
:after
{
display
:
inline-block
;
width
:
0
;
height
:
0
;
margin-top
:
8px
;
margin-left
:
6px
;
text-indent
:
-99999px
;
vertical-align
:
top
;
border-left
:
4px
solid
transparent
;
border-right
:
4px
solid
transparent
;
border-top
:
4px
solid
#ffffff
;
filter
:
alpha
(
opacity
=
100
);
-moz-opacity
:
1
;
opacity
:
1
;
content
:
"↓"
;}
.navbar
.nav
:hover
>
li
{
display
:
block
;}
.navbar
.nav
:hover
>
li
>
a
:hover
{
background-color
:
#333
;}
.form-horizontal
.control-group
>
label
{
float
:
none
;
width
:
auto
;
padding-top
:
0
;
text-align
:
left
;}
.form-horizontal
.controls
{
margin-left
:
0
;}
.form-horizontal
.control-list
{
padding-top
:
0
;}
.form-horizontal
.form-actions
{
padding-left
:
0
;}
.modal
{
position
:
absolute
;
top
:
20px
;
left
:
20px
;
right
:
20px
;
width
:
auto
;
margin
:
0
;}
.modal.fade.in
{
top
:
auto
;}
.modal-header
.close
{
padding
:
10px
;}}
@media
(
max-width
:
768px
){
.navbar-fixed
{
position
:
absolute
;}
.navbar-fixed
.nav
{
float
:
none
;}
.container
{
width
:
auto
;
padding
:
0
20px
;}
.row
{
margin-left
:
0
;}
.row
>[
class
*=
"span"
]
{
float
:
none
;
display
:
block
;
width
:
auto
;
margin
:
0
;}}
@media
(
min-width
:
768px
)
and
(
max-width
:
940px
){
.container
{
width
:
748px
;}
.span1
{
width
:
44px
;}
.span2
{
width
:
108px
;}
.span3
{
width
:
172px
;}
.span4
{
width
:
236px
;}
.span5
{
width
:
300px
;}
.span6
{
width
:
364px
;}
.span7
{
width
:
428px
;}
.span8
{
width
:
492px
;}
.span9
{
width
:
556px
;}
.span10
{
width
:
620px
;}
.span11
{
width
:
684px
;}
.span12
{
width
:
748px
;}
.offset1
{
margin-left
:
84px
;}
.offset2
{
margin-left
:
148px
;}
.offset3
{
margin-left
:
212px
;}
.offset4
{
margin-left
:
276px
;}
.offset5
{
margin-left
:
340px
;}
.offset6
{
margin-left
:
404px
;}
.offset7
{
margin-left
:
468px
;}
.offset8
{
margin-left
:
532px
;}
.offset9
{
margin-left
:
596px
;}
.offset10
{
margin-left
:
660px
;}
.offset11
{
margin-left
:
724px
;}
.offset12
{
margin-left
:
788px
;}}
@media
(
max-width
:
480px
){
.navbar
.nav
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
180px
;
padding-top
:
40px
;
list-style
:
none
;}
.navbar
.nav
,
.navbar
.nav
>
li
:last-child
a
{
-webkit-border-radius
:
0
0
4px
0
;
border-radius
:
0
0
4px
0
;}
.navbar
.nav
>
li
{
float
:
none
;
display
:
none
;}
.navbar
.nav
>
li
>
a
{
float
:
none
;
background-color
:
#222
;}
.navbar
.nav
>
.active
{
display
:
block
;
position
:
absolute
;
top
:
0
;
left
:
0
;}
.navbar
.nav
>
.active
>
a
{
background-color
:
transparent
;}
.navbar
.nav
>
.active
>
a
:hover
{
background-color
:
#333
;}
.navbar
.nav
>
.active
>
a
:after
{
display
:
inline-block
;
width
:
0
;
height
:
0
;
margin-top
:
8px
;
margin-left
:
6px
;
text-indent
:
-99999px
;
vertical-align
:
top
;
border-left
:
4px
solid
transparent
;
border-right
:
4px
solid
transparent
;
border-top
:
4px
solid
#ffffff
;
opacity
:
1
;
filter
:
alpha
(
opacity
=
100
)
;
content
:
"↓"
;}
.navbar
.nav
:hover
>
li
{
display
:
block
;}
.navbar
.nav
:hover
>
li
>
a
:hover
{
background-color
:
#333
;}
.form-horizontal
.control-group
>
label
{
float
:
none
;
width
:
auto
;
padding-top
:
0
;
text-align
:
left
;}
.form-horizontal
.controls
{
margin-left
:
0
;}
.form-horizontal
.control-list
{
padding-top
:
0
;}
.form-horizontal
.form-actions
{
padding-left
:
0
;}
.modal
{
position
:
absolute
;
top
:
20px
;
left
:
20px
;
right
:
20px
;
width
:
auto
;
margin
:
0
;}
.modal.fade.in
{
top
:
auto
;}
.modal-header
.close
{
padding
:
10px
;}}
@media
(
max-width
:
768px
){
.navbar-fixed
{
position
:
absolute
;}
.navbar-fixed
.nav
{
float
:
none
;}
.container
{
width
:
auto
;
padding
:
0
20px
;}
.row
{
margin-left
:
0
;}
.row
>[
class
*=
"span"
]
{
float
:
none
;
display
:
block
;
width
:
auto
;
margin
:
0
;}}
@media
(
min-width
:
768px
)
and
(
max-width
:
940px
){
.container
{
width
:
748px
;}
.span1
{
width
:
44px
;}
.span2
{
width
:
108px
;}
.span3
{
width
:
172px
;}
.span4
{
width
:
236px
;}
.span5
{
width
:
300px
;}
.span6
{
width
:
364px
;}
.span7
{
width
:
428px
;}
.span8
{
width
:
492px
;}
.span9
{
width
:
556px
;}
.span10
{
width
:
620px
;}
.span11
{
width
:
684px
;}
.span12
{
width
:
748px
;}
.offset1
{
margin-left
:
84px
;}
.offset2
{
margin-left
:
148px
;}
.offset3
{
margin-left
:
212px
;}
.offset4
{
margin-left
:
276px
;}
.offset5
{
margin-left
:
340px
;}
.offset6
{
margin-left
:
404px
;}
.offset7
{
margin-left
:
468px
;}
.offset8
{
margin-left
:
532px
;}
.offset9
{
margin-left
:
596px
;}
.offset10
{
margin-left
:
660px
;}
.offset11
{
margin-left
:
724px
;}
.offset12
{
margin-left
:
788px
;}}
bootstrap.css
View file @
b6b19866
This diff is collapsed.
Click to expand it.
bootstrap.min.css
View file @
b6b19866
This diff is collapsed.
Click to expand it.
lib/mixins.less
View file @
b6b19866
...
@@ -134,14 +134,12 @@
...
@@ -134,14 +134,12 @@
// Border Radius
// Border Radius
.border-radius(@radius: 5px) {
.border-radius(@radius: 5px) {
-webkit-border-radius: @radius;
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
border-radius: @radius;
border-radius: @radius;
}
}
// Drop shadows
// Drop shadows
.box-shadow(@shadow: 0 1px 3px rgba(0,0,0,.25)) {
.box-shadow(@shadow: 0 1px 3px rgba(0,0,0,.25)) {
-webkit-box-shadow: @shadow;
-webkit-box-shadow: @shadow;
-moz-box-shadow: @shadow;
box-shadow: @shadow;
box-shadow: @shadow;
}
}
...
@@ -178,10 +176,9 @@
...
@@ -178,10 +176,9 @@
}
}
// Background clipping
// Background clipping
// Heads up: FF 3.6 and under need
padding instead of padding-box
// Heads up: FF 3.6 and under need
"padding" instead of "padding-box"
.background-clip(@clip) {
.background-clip(@clip) {
-webkit-background-clip: @clip;
-webkit-background-clip: @clip;
-moz-background-clip: @clip;
background-clip: @clip;
background-clip: @clip;
}
}
...
@@ -228,9 +225,8 @@
...
@@ -228,9 +225,8 @@
// Opacity
// Opacity
.opacity(@opacity: 100) {
.opacity(@opacity: 100) {
filter: e(%("alpha(opacity=%d)", @opacity));
opacity: @opacity / 100;
-moz-opacity: @opacity / 100;
filter: e(%("alpha(opacity=%d)", @opacity));
opacity: @opacity / 100;
}
}
...
@@ -245,9 +241,7 @@
...
@@ -245,9 +241,7 @@
}
}
.border(@color: @white, @alpha: 1) {
.border(@color: @white, @alpha: 1) {
border-color: hsla(hue(@color), saturation(@color), lightness(@color), @alpha);
border-color: hsla(hue(@color), saturation(@color), lightness(@color), @alpha);
-webkit-background-clip: padding-box;
.background-clip(padding-box);
-moz-background-clip: padding;
background-clip: padding-box;
}
}
}
}
...
...
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