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
dc10e6bb
Commit
dc10e6bb
authored
Nov 28, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #5935: Updated vertical gradient mixin
parent
e0d01908
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+19
-19
less/mixins.less
less/mixins.less
+1
-1
No files found.
docs/assets/css/bootstrap.css
View file @
dc10e6bb
...
...
@@ -2920,7 +2920,7 @@ table th[class*="span"],
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#0088cc
),
to
(
#0077b3
));
background-image
:
-webkit-linear-gradient
(
top
,
#0088cc
,
#0077b3
);
background-image
:
-o-linear-gradient
(
top
,
#0088cc
,
#0077b3
);
background-image
:
linear-gradient
(
to
bottom
,
#0088cc
,
#0077b3
);
background-image
:
linear-gradient
(
to
p
,
#0088cc
,
#0077b3
);
background-repeat
:
repeat-x
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#ff0088cc'
,
endColorstr
=
'#ff0077b3'
,
GradientType
=
0
);
}
...
...
@@ -2934,7 +2934,7 @@ table th[class*="span"],
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#0088cc
),
to
(
#0077b3
));
background-image
:
-webkit-linear-gradient
(
top
,
#0088cc
,
#0077b3
);
background-image
:
-o-linear-gradient
(
top
,
#0088cc
,
#0077b3
);
background-image
:
linear-gradient
(
to
bottom
,
#0088cc
,
#0077b3
);
background-image
:
linear-gradient
(
to
p
,
#0088cc
,
#0077b3
);
background-repeat
:
repeat-x
;
outline
:
0
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#ff0088cc'
,
endColorstr
=
'#ff0077b3'
,
GradientType
=
0
);
...
...
@@ -3155,7 +3155,7 @@ button.close {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#ffffff
),
to
(
#e6e6e6
));
background-image
:
-webkit-linear-gradient
(
top
,
#ffffff
,
#e6e6e6
);
background-image
:
-o-linear-gradient
(
top
,
#ffffff
,
#e6e6e6
);
background-image
:
linear-gradient
(
to
bottom
,
#ffffff
,
#e6e6e6
);
background-image
:
linear-gradient
(
to
p
,
#ffffff
,
#e6e6e6
);
background-repeat
:
repeat-x
;
border
:
1px
solid
#bbbbbb
;
*
border
:
0
;
...
...
@@ -3305,7 +3305,7 @@ input[type="button"].btn-block {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#0088cc
),
to
(
#0044cc
));
background-image
:
-webkit-linear-gradient
(
top
,
#0088cc
,
#0044cc
);
background-image
:
-o-linear-gradient
(
top
,
#0088cc
,
#0044cc
);
background-image
:
linear-gradient
(
to
bottom
,
#0088cc
,
#0044cc
);
background-image
:
linear-gradient
(
to
p
,
#0088cc
,
#0044cc
);
background-repeat
:
repeat-x
;
border-color
:
#0044cc
#0044cc
#002a80
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
...
...
@@ -3337,7 +3337,7 @@ input[type="button"].btn-block {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#fbb450
),
to
(
#f89406
));
background-image
:
-webkit-linear-gradient
(
top
,
#fbb450
,
#f89406
);
background-image
:
-o-linear-gradient
(
top
,
#fbb450
,
#f89406
);
background-image
:
linear-gradient
(
to
bottom
,
#fbb450
,
#f89406
);
background-image
:
linear-gradient
(
to
p
,
#fbb450
,
#f89406
);
background-repeat
:
repeat-x
;
border-color
:
#f89406
#f89406
#ad6704
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
...
...
@@ -3369,7 +3369,7 @@ input[type="button"].btn-block {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#ee5f5b
),
to
(
#bd362f
));
background-image
:
-webkit-linear-gradient
(
top
,
#ee5f5b
,
#bd362f
);
background-image
:
-o-linear-gradient
(
top
,
#ee5f5b
,
#bd362f
);
background-image
:
linear-gradient
(
to
bottom
,
#ee5f5b
,
#bd362f
);
background-image
:
linear-gradient
(
to
p
,
#ee5f5b
,
#bd362f
);
background-repeat
:
repeat-x
;
border-color
:
#bd362f
#bd362f
#802420
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
...
...
@@ -3401,7 +3401,7 @@ input[type="button"].btn-block {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#62c462
),
to
(
#51a351
));
background-image
:
-webkit-linear-gradient
(
top
,
#62c462
,
#51a351
);
background-image
:
-o-linear-gradient
(
top
,
#62c462
,
#51a351
);
background-image
:
linear-gradient
(
to
bottom
,
#62c462
,
#51a351
);
background-image
:
linear-gradient
(
to
p
,
#62c462
,
#51a351
);
background-repeat
:
repeat-x
;
border-color
:
#51a351
#51a351
#387038
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
...
...
@@ -3433,7 +3433,7 @@ input[type="button"].btn-block {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#5bc0de
),
to
(
#2f96b4
));
background-image
:
-webkit-linear-gradient
(
top
,
#5bc0de
,
#2f96b4
);
background-image
:
-o-linear-gradient
(
top
,
#5bc0de
,
#2f96b4
);
background-image
:
linear-gradient
(
to
bottom
,
#5bc0de
,
#2f96b4
);
background-image
:
linear-gradient
(
to
p
,
#5bc0de
,
#2f96b4
);
background-repeat
:
repeat-x
;
border-color
:
#2f96b4
#2f96b4
#1f6377
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
...
...
@@ -3465,7 +3465,7 @@ input[type="button"].btn-block {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#444444
),
to
(
#222222
));
background-image
:
-webkit-linear-gradient
(
top
,
#444444
,
#222222
);
background-image
:
-o-linear-gradient
(
top
,
#444444
,
#222222
);
background-image
:
linear-gradient
(
to
bottom
,
#444444
,
#222222
);
background-image
:
linear-gradient
(
to
p
,
#444444
,
#222222
);
background-repeat
:
repeat-x
;
border-color
:
#222222
#222222
#000000
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
...
...
@@ -4266,7 +4266,7 @@ input[type="submit"].btn.btn-mini {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#ffffff
),
to
(
#f2f2f2
));
background-image
:
-webkit-linear-gradient
(
top
,
#ffffff
,
#f2f2f2
);
background-image
:
-o-linear-gradient
(
top
,
#ffffff
,
#f2f2f2
);
background-image
:
linear-gradient
(
to
bottom
,
#ffffff
,
#f2f2f2
);
background-image
:
linear-gradient
(
to
p
,
#ffffff
,
#f2f2f2
);
background-repeat
:
repeat-x
;
border
:
1px
solid
#d4d4d4
;
-webkit-border-radius
:
4px
;
...
...
@@ -4538,7 +4538,7 @@ input[type="submit"].btn.btn-mini {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#f2f2f2
),
to
(
#e5e5e5
));
background-image
:
-webkit-linear-gradient
(
top
,
#f2f2f2
,
#e5e5e5
);
background-image
:
-o-linear-gradient
(
top
,
#f2f2f2
,
#e5e5e5
);
background-image
:
linear-gradient
(
to
bottom
,
#f2f2f2
,
#e5e5e5
);
background-image
:
linear-gradient
(
to
p
,
#f2f2f2
,
#e5e5e5
);
background-repeat
:
repeat-x
;
border-color
:
#e5e5e5
#e5e5e5
#bfbfbf
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
...
...
@@ -4673,7 +4673,7 @@ input[type="submit"].btn.btn-mini {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#222222
),
to
(
#111111
));
background-image
:
-webkit-linear-gradient
(
top
,
#222222
,
#111111
);
background-image
:
-o-linear-gradient
(
top
,
#222222
,
#111111
);
background-image
:
linear-gradient
(
to
bottom
,
#222222
,
#111111
);
background-image
:
linear-gradient
(
to
p
,
#222222
,
#111111
);
background-repeat
:
repeat-x
;
border-color
:
#252525
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#ff222222'
,
endColorstr
=
'#ff111111'
,
GradientType
=
0
);
...
...
@@ -4790,7 +4790,7 @@ input[type="submit"].btn.btn-mini {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#151515
),
to
(
#040404
));
background-image
:
-webkit-linear-gradient
(
top
,
#151515
,
#040404
);
background-image
:
-o-linear-gradient
(
top
,
#151515
,
#040404
);
background-image
:
linear-gradient
(
to
bottom
,
#151515
,
#040404
);
background-image
:
linear-gradient
(
to
p
,
#151515
,
#040404
);
background-repeat
:
repeat-x
;
border-color
:
#040404
#040404
#000000
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
...
...
@@ -5633,7 +5633,7 @@ a.badge:hover {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#f5f5f5
),
to
(
#f9f9f9
));
background-image
:
-webkit-linear-gradient
(
top
,
#f5f5f5
,
#f9f9f9
);
background-image
:
-o-linear-gradient
(
top
,
#f5f5f5
,
#f9f9f9
);
background-image
:
linear-gradient
(
to
bottom
,
#f5f5f5
,
#f9f9f9
);
background-image
:
linear-gradient
(
to
p
,
#f5f5f5
,
#f9f9f9
);
background-repeat
:
repeat-x
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
...
...
@@ -5657,7 +5657,7 @@ a.badge:hover {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#149bdf
),
to
(
#0480be
));
background-image
:
-webkit-linear-gradient
(
top
,
#149bdf
,
#0480be
);
background-image
:
-o-linear-gradient
(
top
,
#149bdf
,
#0480be
);
background-image
:
linear-gradient
(
to
bottom
,
#149bdf
,
#0480be
);
background-image
:
linear-gradient
(
to
p
,
#149bdf
,
#0480be
);
background-repeat
:
repeat-x
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#ff149bdf'
,
endColorstr
=
'#ff0480be'
,
GradientType
=
0
);
-webkit-box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.15
);
...
...
@@ -5706,7 +5706,7 @@ a.badge:hover {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#ee5f5b
),
to
(
#c43c35
));
background-image
:
-webkit-linear-gradient
(
top
,
#ee5f5b
,
#c43c35
);
background-image
:
-o-linear-gradient
(
top
,
#ee5f5b
,
#c43c35
);
background-image
:
linear-gradient
(
to
bottom
,
#ee5f5b
,
#c43c35
);
background-image
:
linear-gradient
(
to
p
,
#ee5f5b
,
#c43c35
);
background-repeat
:
repeat-x
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#ffee5f5b'
,
endColorstr
=
'#ffc43c35'
,
GradientType
=
0
);
}
...
...
@@ -5728,7 +5728,7 @@ a.badge:hover {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#62c462
),
to
(
#57a957
));
background-image
:
-webkit-linear-gradient
(
top
,
#62c462
,
#57a957
);
background-image
:
-o-linear-gradient
(
top
,
#62c462
,
#57a957
);
background-image
:
linear-gradient
(
to
bottom
,
#62c462
,
#57a957
);
background-image
:
linear-gradient
(
to
p
,
#62c462
,
#57a957
);
background-repeat
:
repeat-x
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#ff62c462'
,
endColorstr
=
'#ff57a957'
,
GradientType
=
0
);
}
...
...
@@ -5750,7 +5750,7 @@ a.badge:hover {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#5bc0de
),
to
(
#339bb9
));
background-image
:
-webkit-linear-gradient
(
top
,
#5bc0de
,
#339bb9
);
background-image
:
-o-linear-gradient
(
top
,
#5bc0de
,
#339bb9
);
background-image
:
linear-gradient
(
to
bottom
,
#5bc0de
,
#339bb9
);
background-image
:
linear-gradient
(
to
p
,
#5bc0de
,
#339bb9
);
background-repeat
:
repeat-x
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#ff5bc0de'
,
endColorstr
=
'#ff339bb9'
,
GradientType
=
0
);
}
...
...
@@ -5772,7 +5772,7 @@ a.badge:hover {
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#fbb450
),
to
(
#f89406
));
background-image
:
-webkit-linear-gradient
(
top
,
#fbb450
,
#f89406
);
background-image
:
-o-linear-gradient
(
top
,
#fbb450
,
#f89406
);
background-image
:
linear-gradient
(
to
bottom
,
#fbb450
,
#f89406
);
background-image
:
linear-gradient
(
to
p
,
#fbb450
,
#f89406
);
background-repeat
:
repeat-x
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#fffbb450'
,
endColorstr
=
'#fff89406'
,
GradientType
=
0
);
}
...
...
less/mixins.less
View file @
dc10e6bb
...
...
@@ -425,7 +425,7 @@
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+
background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10
background-image: linear-gradient(to
bottom
, @startColor, @endColor); // Standard, IE10
background-image: linear-gradient(to
p
, @startColor, @endColor); // Standard, IE10
background-repeat: repeat-x;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down
}
...
...
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