Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
0db2d453
Commit
0db2d453
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
update mixins to use slightly diff variables within some parametric mixins
parent
b6b7d134
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
bootstrap-responsive.min.css
+1
-1
bootstrap-responsive.min.css
bootstrap.css
+2
-6
bootstrap.css
bootstrap.min.css
+1
-1
bootstrap.min.css
lib/mixins.less
+2
-2
lib/mixins.less
with
6 additions
and
10 deletions
+6
-10
bootstrap-responsive.min.css
+
1
-
1
View file @
0db2d453
.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
;
-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
;}}
This diff is collapsed.
Click to expand it.
bootstrap.css
+
2
-
6
View file @
0db2d453
...
...
@@ -6,11 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
<<<<<<< HEAD
* Date: Wed Jan 25 12:03:47 PST 2012
=======
* Date: Wed Jan 25 11:49:21 PST 2012
>>>>>>> 04f84997c18f2f132c8173f728f72b6b7aef52d1
* Date: Wed Jan 25 15:04:24 PST 2012
*/
article
,
aside
,
...
...
@@ -1868,7 +1864,7 @@ table .headerSortUp:after {
.navbar-search
.search-query
:-moz-placeholder
{
color
:
#eeeeee
;
}
.navbar-search
.search-query
::-webkit-input-placeholder
{
.navbar-search
.search-query
::-webkit-input-placeholder
{
color
:
#eeeeee
;
}
.navbar-search
.search-query
:hover
{
...
...
This diff is collapsed.
Click to expand it.
bootstrap.min.css
+
1
-
1
View file @
0db2d453
...
...
@@ -379,7 +379,7 @@ table .headerSortUp:after{border-bottom:none;border-left:4px solid transparent;b
.navbar
.btn-group
.btn
{
margin-top
:
0
;}
.navbar-form
{
margin-bottom
:
0
;}
.navbar-form
input
,
.navbar-form
select
{
display
:
inline-block
;
margin-bottom
:
0
;}
.navbar-search
{
position
:
relative
;
float
:
left
;
margin-top
:
6px
;
margin-bottom
:
0
;}
.navbar-search
.search-query
{
padding
:
4px
9px
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-size
:
13px
;
font-weight
:
normal
;
line-height
:
1
;
color
:
#ffffff
;
color
:
rgba
(
255
,
255
,
255
,
0.75
);
background
:
#444
;
background
:
rgba
(
255
,
255
,
255
,
0.3
);
border
:
1px
solid
#111
;
-webkit-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
0px
rgba
(
255
,
255
,
255
,
0.15
);
-moz-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
0px
rgba
(
255
,
255
,
255
,
0.15
);
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
0px
rgba
(
255
,
255
,
255
,
0.15
);
-webkit-transition
:
none
;
-moz-transition
:
none
;
-ms-transition
:
none
;
-o-transition
:
none
;
transition
:
none
;}
.navbar-search
.search-query
:-moz-placeholder
{
color
:
#eeeeee
;}
.navbar-search
.search-query
::-webkit-input-placeholder
{
color
:
#eeeeee
;}
.navbar-search
.search-query
::-webkit-input-placeholder
{
color
:
#eeeeee
;}
.navbar-search
.search-query
:hover
{
color
:
#ffffff
;
background-color
:
#999999
;
background-color
:
rgba
(
255
,
255
,
255
,
0.5
);}
.navbar-search
.search-query
:focus
,
.navbar-search
.search-query.focused
{
padding
:
5px
10px
;
color
:
#333333
;
text-shadow
:
0
1px
0
#ffffff
;
background-color
:
#ffffff
;
border
:
0
;
-webkit-box-shadow
:
0
0
3px
rgba
(
0
,
0
,
0
,
0.15
);
-moz-box-shadow
:
0
0
3px
rgba
(
0
,
0
,
0
,
0.15
);
box-shadow
:
0
0
3px
rgba
(
0
,
0
,
0
,
0.15
);
outline
:
0
;}
.navbar-static
{
margin-bottom
:
18px
;}
...
...
This diff is collapsed.
Click to expand it.
lib/mixins.less
+
2
-
2
View file @
0db2d453
...
...
@@ -304,7 +304,7 @@
background-repeat: no-repeat;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor)); // IE9 and down, gets no color-stop at all for proper fallback
}
.radial(@
cent
erColor: #555, @out
sid
eColor: #333) {
.radial(@
inn
erColor: #555, @oute
r
Color: #333) {
background-color: @outsideColor;
background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(@centerColor), to(@outsideColor));
background-image: -webkit-radial-gradient(circle, @centerColor, @outsideColor);
...
...
@@ -313,7 +313,7 @@
background-repeat: no-repeat;
// Opera cannot do radial gradients yet
}
.striped(@color,@angle: -45deg) {
.striped(@color,
@angle: -45deg) {
background-color: @color;
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,.15)), color-stop(.75, rgba(255,255,255,.15)), color-stop(.75, transparent), to(transparent));
background-image: -webkit-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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