Permalink
Browse files

move to using more sass mixins

  • Loading branch information...
1 parent 383f75d commit c4b9e6fccd75c48b83f5b6b91f33bca98e5f6e49 @saturnflyer saturnflyer committed Feb 14, 2010
@@ -1,74 +0,0 @@
-input.date {
- background: white url(/images/admin/calendar_down.gif) right no-repeat;
- padding-right: 26px;
- width: 11em;
-}
-
-.calendar_popup {
- z-index: 1000;
- border: 1px solid #b2b2b2;
- border-radius: 5px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- box-shadow: 2px 2px 22px #d9d9d9;
- -moz-box-shadow: 2px 2px 22px #d9d9d9;
- -webkit-box-shadow: 2px 2px 22px #d9d9d9;
- background-color: white;
- padding: 5px;
- line-height: 140%!important;
-}
-.calendar_popup a {
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
-}
-.calendar_popup table.calendar {
- font-size: 90%;
- margin: 0!important;
-}
-.calendar_popup table.calendar tr.day_header th {
- border-top: 1px solid #e4e4e4;
- border-bottom: 1px solid #e4e4e4;
- color: #ccc;
- padding: 2px;
-}
-.calendar_popup table.calendar th, .calendar_popup table.calendar td {
- text-align: center;
-}
-.calendar_popup table.calendar th.back, .calendar_popup table.calendar th.month_year, .calendar_popup table.calendar th.forward {
- padding-bottom: 3px;
-}
-.calendar_popup table.calendar th.forward a {
- float: right;
-}
-.calendar_popup table.calendar td {
- height: 1em;
- padding: 3px!important;
- margin: 0;
-}
-.calendar_popup table.calendar td.today {
- background-color: #e5e5e5;
- border-radius: 5px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
-}
-.calendar_popup table.calendar td.today a {
- background-color: white;
-}
-.calendar_popup table.calendar td.selected a {
- color: white;
- background-color: #d60;
-}
-.calendar_popup table.calendar a {
- color: black;
- display: block;
- font-family: "Lucida Grande", Tahoma, sans-serif;
- text-decoration: none;
- text-align: center;
- width: 2.25em;
- padding: .25em 0;
-}
-.calendar_popup table.calendar a:hover {
- color: white !important;
- background-color: #3257f4 !important;
-}
@@ -190,10 +190,8 @@ table.index
li
display: inline
a
+ +rounded
background: #eee url(../../images/admin/buttons_background.png) repeat-x
- border-radius: 5px
- -moz-border-radius: 5px
- -webkit-border-radius: 5px
color: #222
font-size: 80%
padding: 8px 12px
@@ -1,13 +1,3 @@
-=clearfix
- display: inline-block
- &:after
- content: "."
- height: 0
- clear: both
- visibility: hidden
- * html &
- height: 1px
-
#content
form
p
@@ -77,13 +67,9 @@
padding: 4px 0 5px
font-size: 80%
a
+ +rounded_bottom_right
+ +rounded_bottom_left
background: #7e7e7e
- border-bottom-left-radius: 6px
- border-bottom-right-radius: 6px
- -moz-border-radius-bottomleft: 6px
- -moz-border-radius-bottomright: 6px
- -webkit-border-bottom-left-radius: 6px
- -webkit-border-bottom-right-radius: 6px
text-shadow: #666 1px 1px 0
text-decoration: none
padding: 4px 21px 5px 10px
@@ -97,10 +83,8 @@
background: #7e7e7e url(../../images/admin/metadata_toggle.png) no-repeat 85% -22px
#extended_metadata
+ +rounded_bottom_right
background: #7e7e7e url(../../images/admin/navigation_shadow.png) repeat-x
- border-bottom-right-radius: 6px
- -moz-border-bottom-right-radius: 6px
- -webkit-border-bottom-right-radius: 6px
margin: 0
padding-bottom: 2px
overflow: hidden
@@ -137,11 +121,9 @@
border-top: none
.box
+ +rounded_loose
color: #333
background: #f5f1e2 url(../../images/admin/vertical_tan_gradient.png) top left repeat-x
- border-radius: 10px
- -moz-border-radius: 10px
- -webkit-border-radius: 10px
font-size: 90%
padding: 1px 15px 10px
margin: 3px 0 20px
@@ -239,11 +221,9 @@ body.reversed
body.login
#content
#login
+ +rounded_loose
background: #f5f1e2 url(../../images/admin/vertical_tan_gradient.png) center -15px repeat-x
border: 0.35em solid #efead3
- border-radius: 10px
- -moz-border-radius: 10px
- -webkit-border-radius: 10px
padding: 0.5em 1.5em
padding-right: 22px
position: relative
@@ -5,6 +5,8 @@
width: 100%
margin-right: -4px
.tab
+ +rounded_top_left
+ +rounded_top_right
background-color: #cac8c0
color: #7f7f7f
display: inline-block
@@ -14,12 +16,6 @@
padding: 8px 15px 5px
text-decoration: none
text-transform: titlecase
- -webkit-border-top-left-radius: 6px
- -webkit-border-top-right-radius: 6px
- -moz-border-radius-topleft: 6px
- -moz-border-radius-topright: 6px
- border-top-left-radius: 6px
- border-top-right-radius: 6px
&.here
background-color: white
color: black
@@ -11,3 +11,4 @@
@import admin/_footer.sass
@import admin/_popup.sass
@import admin/_tabcontrol.sass
+@import admin/_date_input.sass

0 comments on commit c4b9e6f

Please sign in to comment.