Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
0777e391
Commit
0777e391
authored
13 years ago
by
Krister Kari
Browse files
Options
Download
Email Patches
Plain Diff
Drop khtml gradient, shorten old webkit gradient
parent
04f84997
7 merge requests
!1475
2.0 wip
,
!1403
warningText and warningBackground docs fix
,
!1351
2.0 wip - relative font sizes
,
!1315
[2.0-wip] Fix mustache glob when building
,
!1268
[wip-2.0] IE 7/8 Typehead JS fix
,
!1236
2.0 wip - Fix for issue #1202
,
!1225
Drop khtml gradient, shorten old webkit gradient
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/mixins.less
+2
-4
lib/mixins.less
with
2 additions
and
4 deletions
+2
-4
lib/mixins.less
+
2
-
4
View file @
0777e391
...
...
@@ -279,10 +279,9 @@
#gradient {
.horizontal(@startColor: #555, @endColor: #333) {
background-color: @endColor;
background-image: -khtml-gradient(linear, left top, right top, from(@startColor), to(@endColor)); // Konqueror
background-image: -moz-linear-gradient(left, @startColor, @endColor); // FF 3.6+
background-image: -ms-linear-gradient(left, @startColor, @endColor); // IE10
background-image: -webkit-gradient(linear,
left top, right top, color-stop(0%, @startColor), color-stop(100%,
@endColor)); // Safari 4+, Chrome 2+
background-image: -webkit-gradient(linear,
0 0, 100% 0, from(@startColor), to(
@endColor)); // Safari 4+, Chrome 2+
background-image: -webkit-linear-gradient(left, @startColor, @endColor); // Safari 5.1+, Chrome 10+
background-image: -o-linear-gradient(left, @startColor, @endColor); // Opera 11.10
background-image: linear-gradient(left, @startColor, @endColor); // Le standard
...
...
@@ -291,10 +290,9 @@
}
.vertical(@startColor: #555, @endColor: #333) {
background-color: @endColor;
background-image: -khtml-gradient(linear, left top, left bottom, from(@startColor), to(@endColor)); // Konqueror
background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+
background-image: -ms-linear-gradient(top, @startColor, @endColor); // IE10
background-image: -webkit-gradient(linear,
left top, left bottom, color-stop(0%, @startColor), color-stop(100%,
@endColor)); // Safari 4+, Chrome 2+
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(top, @startColor, @endColor); // The standard
...
...
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
Menu
Explore
Projects
Groups
Snippets