Skip to content

Commit

Permalink
use the standard CSS attributes for box-shadow and border-radius too
Browse files Browse the repository at this point in the history
  • Loading branch information
willbryant committed Jun 10, 2011
1 parent 05bd912 commit b66e443
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
10 changes: 8 additions & 2 deletions example/stylesheets/gui.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ dd {
background: #eee;
border: 3px solid #fff;

box-shadow: 0 1px 10px #999;
-webkit-box-shadow: 0 1px 10px #999;
-moz-box-shadow: 0 1px 10px #999;
border-radius: 6px;
-webkit-border-radius: 6px;
-moz-border-radius: 7px;
-moz-border-radius: 6px;
}

/* Form */
Expand All @@ -38,7 +41,9 @@ dd {
display: inline-block;
padding: 0 4px;

box-shadow: 0 1px 1px #ccc;
-webkit-box-shadow: 0 1px 1px #ccc;
-moz-box-shadow: 0 1px 1px #ccc;
}
#calendar_form #fields span input {
border-style: none;
Expand All @@ -47,8 +52,9 @@ dd {
padding: 2px 6px;
width: 96px;

border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 11px;
-moz-border-radius: 11px;
}
#calendar_form #fields span input:focus {
outline: none;
Expand Down
8 changes: 8 additions & 0 deletions example/stylesheets/timeframe.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ div.timeframe_calendar ul.timeframe_menu li a {
padding: 2px 0 0;
text-decoration: none;
width: 20px;
box-shadow: 0 1px 2px #999;
-webkit-box-shadow: 0 1px 2px #999;
-moz-box-shadow: 0 1px 2px #999;
}
div.timeframe_calendar ul.timeframe_menu li a.previous, div.timeframe_calendar ul.timeframe_menu li a.next {
background: #fff;
Expand Down Expand Up @@ -51,12 +53,16 @@ div.timeframe_calendar ul.timeframe_menu li a.today:active {
background: #024522;
}
div.timeframe_calendar ul.timeframe_menu li a.previous {
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
-webkit-border-top-left-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-topleft: 11px;
-moz-border-radius-bottomleft: 11px;
}
div.timeframe_calendar ul.timeframe_menu li a.next {
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
-webkit-border-top-right-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-moz-border-radius-topright: 11px;
Expand Down Expand Up @@ -90,7 +96,9 @@ div.timeframe_calendar thead {
/* Days */
div.timeframe_calendar tbody {
background: #fff;
box-shadow: 0px 2px 6px #999;
-webkit-box-shadow: 0px 2px 6px #999;
-moz-box-shadow: 0px 2px 6px #999;
}
div.timeframe_calendar tbody td {
cursor: pointer;
Expand Down

0 comments on commit b66e443

Please sign in to comment.