Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Replace Compass box-shadow with single-box-shadow to fix deprecated w…

…arnings
  • Loading branch information...
commit 0d8495aef7682ee1021dd180c94843b284346c21 1 parent 268ad2d
@jsntv200 jsntv200 authored johnmuhl committed
View
2  public/stylesheets/sass/admin/modules/_boxes.sass
@@ -2,5 +2,5 @@
background: #d8d8d8
+linear-gradient(color-stops(#fff, #ccc))
+border-radius(8px)
- +box-shadow(rgba(0,0,0,0.15), 2px, 2px, 3px)
+ +single-box-shadow(rgba(0,0,0,0.15), 2px, 2px, 3px)
padding: 12px 10px
View
4 public/stylesheets/sass/admin/partials/_actions.sass
@@ -1,7 +1,7 @@
=button-shadow
- +box-shadow(#555, 1px, 2px, 3px)
+ +single-box-shadow(#555, 1px, 2px, 3px)
=no-button-shadow
- +box-shadow(#555,0,0,0)
+ +single-box-shadow(#555,0,0,0)
#actions
position: fixed
View
4 public/stylesheets/sass/admin/partials/_avatars.sass
@@ -3,8 +3,8 @@ img.avatar
border: none
padding: 4px
+border-radius(3px)
- +box-shadow(rgba(0,0,0,0.25), 1px, 1px, 3px)
+ +single-box-shadow(rgba(0,0,0,0.25), 1px, 1px, 3px)
&.avatar_32x32
padding: 2px
+border-radius(2px)
- +box-shadow(rgba(0,0,0,0.3), 1px, 1px, 2px)
+ +single-box-shadow(rgba(0,0,0,0.3), 1px, 1px, 2px)
View
2  public/stylesheets/sass/admin/partials/_dateinput.sass
@@ -4,7 +4,7 @@ input.date
width: 11em
.calendar_popup
- +box-shadow
+ +single-box-shadow
+border-radius
z-index: 1000
border: 1px solid #b2b2b2
View
2  public/stylesheets/sass/admin/partials/_dropdown.sass
@@ -1,7 +1,7 @@
.dropdown_wrapper
border: 1px solid #b3b3b3
border-top: 1px solid #c3c3c3
- +box-shadow(rgba(0,0,0,0.35), 0px, 8px, 25px)
+ +single-box-shadow(rgba(0,0,0,0.35), 0px, 8px, 25px)
+border-top-right-radius
+border-bottom-radius
View
4 public/stylesheets/sass/admin/partials/_forms.sass
@@ -236,7 +236,7 @@ body.reversed
padding: 20px 15px
margin-bottom: 20px
overflow: hidden
- +box-shadow(#ababab, 1px, 1px, 0)
+ +single-box-shadow(#ababab, 1px, 1px, 0)
+border-radius(8px)
h3
font-weight: bold
@@ -251,7 +251,7 @@ body.reversed
textarea
border: 1px solid white
.box
- +box-shadow(rgba(0,0,0,0.15), 2px, 2px, 3px)
+ +single-box-shadow(rgba(0,0,0,0.15), 2px, 2px, 3px)
body.single_form
#content
View
2  public/stylesheets/sass/admin/partials/_header.sass
@@ -79,7 +79,7 @@ ul#navigation
border-left-color: #b0b0b0
border-right-color: #bbb
background: white image_url('admin/search.png') 4px center no-repeat
- +box-shadow(rgba(black, 0.2), 0, 1px, 0, inset)
+ +single-box-shadow(rgba(black, 0.2), 0, 1px, 0, inset)
width: 180px
padding: 2px 8px 2px 20px
View
12 public/stylesheets/sass/admin/partials/_popup.sass
@@ -44,7 +44,7 @@ div.popup
border: 1px solid #ddd
border-top: 1px solid #ccc
border-left: 1px solid #ccc
- +box-shadow(#fff, 1px, 1px, 0)
+ +single-box-shadow(#fff, 1px, 1px, 0)
margin: 1em 0
overflow: auto
table.index
@@ -65,16 +65,16 @@ div.popup
background: #f5f5f5
border: 1px solid #959595
+border-radius(100px)
- +box-shadow(white, 0, 2px, 0, inset)
+ +single-box-shadow(white, 0, 2px, 0, inset)
+linear-gradient(color-stops(#ddd 0%, #eee 15%, #fff 100%))
&.default
border: 1px solid #154ca6
- +box-shadow(#c7e0f6, 0, 2px, 1px, inset)
+ +single-box-shadow(#c7e0f6, 0, 2px, 1px, inset)
color: white
+linear-gradient(color-stops(#67b4e1, #78b9e1))
&:active
border: 1px solid #888
- +box-shadow(none)
+ +single-box-shadow(none)
+linear-gradient(color-stops(#ccc 0%, #ddd 15%, #eee 100%))
&.default:active
border: 1px solid #002c86
@@ -204,10 +204,10 @@ div.popup.textured
padding: 10px 20px
margin: -20px -20px 20px
border-bottom: 1px solid #ccc
- +box-shadow(#fff, 0, 1px, 0)
+ +single-box-shadow(#fff, 0, 1px, 0)
.buttons
border-top: 1px solid white
margin: 20px -20px -10px
padding: 20px
- +box-shadow(#ccc, 0, -1px, 0)
+ +single-box-shadow(#ccc, 0, -1px, 0)
View
2  public/stylesheets/sass/admin/partials/_tabcontrol.sass
@@ -33,7 +33,7 @@
.page
background: white
+linear-gradient(color-stops(white, #f5f1e2 15%, #f5f1e2))
- +box-shadow(rgba(0,0,0,0.15), 2px, 2px, 3px)
+ +single-box-shadow(rgba(0,0,0,0.15), 2px, 2px, 3px)
padding: 12px 20px 20px
p
margin-top: 0
View
2  public/stylesheets/sass/admin/partials/_validations.sass
@@ -12,7 +12,7 @@
margin: 0 0 0 6px
background-color: #b30000
+border-radius
- +box-shadow
+ +single-box-shadow
a.closer
margin-left: 10px
color: #fcc
Please sign in to comment.
Something went wrong with that request. Please try again.