From 0118752361c036e55086b5d9d7bd60ac86249f9d Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sun, 13 Sep 2015 23:10:26 +0200 Subject: [PATCH] old gradient syntax update --- _src/_assets/styl/buttons.styl | 4 ++-- _src/_assets/styl/post-kbd.styl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_src/_assets/styl/buttons.styl b/_src/_assets/styl/buttons.styl index 1a950cdc..0c22c19f 100644 --- a/_src/_assets/styl/buttons.styl +++ b/_src/_assets/styl/buttons.styl @@ -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 diff --git a/_src/_assets/styl/post-kbd.styl b/_src/_assets/styl/post-kbd.styl index 858a0c6c..c138f028 100644 --- a/_src/_assets/styl/post-kbd.styl +++ b/_src/_assets/styl/post-kbd.styl @@ -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