From 34e39c163869fb6a13e29db4a7ec19bc51fdbd88 Mon Sep 17 00:00:00 2001 From: Michael Lefebvre Date: Fri, 28 Oct 2011 09:53:15 +0300 Subject: [PATCH 1/2] "danger" state on minor-group --- gh-buttons.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gh-buttons.css b/gh-buttons.css index 70c1d97..d7b8e57 100644 --- a/gh-buttons.css +++ b/gh-buttons.css @@ -81,7 +81,7 @@ http://github.com/necolas/css3-github-buttons width: 12px; height: 12px; margin: 0 0.75em 0 -0.25em; - background: url(gh-icons.png) 0 99px no-repeat; + background: url(../images/artpack/gh-icons.png) 0 99px no-repeat; } .button.arrowup.icon:before { background-position: 0 0; } @@ -380,6 +380,17 @@ http://github.com/necolas/css3-github-buttons background-color: #3072b3; } + +.button-group.minor-group .button.danger:hover, +.button-group.minor-group .button.danger:focus, +.button-group.minor-group .button.danger:active { + background-color: #dc5f59; + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dc5f59), to(#b33630)); + background-image: -moz-linear-gradient(#dc5f59, #b33630); + background-image: -o-linear-gradient(#dc5f59, #b33630); + background-image: linear-gradient(#dc5f59, #b33630); +} + .button-group.minor-group .button.icon:before { opacity: 0.8; } From cf2aa08b6686b2163f7952f31622d5ba2b352c7c Mon Sep 17 00:00:00 2001 From: Michael Lefebvre Date: Fri, 28 Oct 2011 09:55:41 +0300 Subject: [PATCH 2/2] image path --- gh-buttons.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh-buttons.css b/gh-buttons.css index d7b8e57..1ce8897 100644 --- a/gh-buttons.css +++ b/gh-buttons.css @@ -81,7 +81,7 @@ http://github.com/necolas/css3-github-buttons width: 12px; height: 12px; margin: 0 0.75em 0 -0.25em; - background: url(../images/artpack/gh-icons.png) 0 99px no-repeat; + background: url(gh-icons.png) 0 99px no-repeat; } .button.arrowup.icon:before { background-position: 0 0; }