1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-06-30 21:52:05 +02:00

old gradient syntax update

This commit is contained in:
Matthias Kretschmann 2015-09-13 23:10:26 +02:00
parent e4a582c8b1
commit 0118752361
2 changed files with 4 additions and 4 deletions

View File

@ -134,7 +134,7 @@ a.btn-primary
text-decoration: none
text-shadow: 0 1px 0 rgba(255, 255, 255, .5)
background-color: #f8f8f8
background-image: linear-gradient(top, #fff, #dedede)
background-image: linear-gradient(to bottom, #fff, #dedede)
vertical-align: top
box-shadow: none
@ -143,7 +143,7 @@ a.btn-primary
&:active
border-color: #bbb
background-color: #d9d9d9
background-image: linear-gradient(top, #f8f8f8, #d9d9d9)
background-image: linear-gradient(to bottom, #f8f8f8, #d9d9d9)
&:active
top: 0

View File

@ -21,7 +21,7 @@ kbd
background-clip: padding-box
border: 1px solid #bbb
background-color: #f7f7f7
background-image: linear-gradient(top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0))
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0))
background-repeat: repeat-x
box-shadow: 0px 2px 0 #bbbbbb, 0 3px 1px #999999, 0 3px 0 #bbbbbb, inset 0 1px 1px #ffffff, inset 0 -1px 3px #cccccc
@ -40,7 +40,7 @@ kbd.ios
border-color: rgba(0, 0, 0, 0.6)
border-top-color: rgba(0, 0, 0, 0.4)
background-color: #b7b7bc
background-image: linear-gradient(top, #efeff0, #b7b7bc)
background-image: linear-gradient(to bottom, #efeff0, #b7b7bc)
background-repeat: repeat-x
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 2px 3px rgba(0, 0, 0, 0.1), inset 0 1px 0 #ffffff