@mixin runo-datefield($name : v-datefield) { .#{$name} input.v-textfield, .#{$name} input.v-textfield[type=text] { height: 18px; } .#{$name}-button { font-size:13px; width: 22px; height: 24px; padding: 0; overflow: hidden; border: none; background: transparent url(img/open-button.png) no-repeat right 0; vertical-align: top; } .#{$name}-popup { font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif; color: #464f52; font-size: 12px; background: #f6f7f7; border: 1px solid #b6bbbc; padding: 2px 6px; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; } .#{$name}-calendarpanel { width: 230px; } .#{$name}-popup .#{$name}-calendarpanel { width: 200px; } .#{$name}-year .#{$name}-calendarpanel { width: 100px; } .#{$name}-calendarpanel td { text-align: right; } .#{$name}-calendarpanel td span { display: block; } .#{$name}-calendarpanel-header { height: 30px; font-size: 13px; } td.#{$name}-calendarpanel-month { font-weight: bold; text-shadow: 0 1px 0 #fff; width: 150px; } .#{$name}-calendarpanel-prevyear, .#{$name}-calendarpanel-nextyear, .#{$name}-calendarpanel-prevmonth, .#{$name}-calendarpanel-nextmonth { width: 16px; } /* Year buttons */ .#{$name}-calendarpanel .v-button-prevyear, .#{$name}-calendarpanel .v-button-nextyear { display: block; width: 16px; height: 16px; border: none; padding: 0; background: transparent url(img/prevyear.png) no-repeat; text-indent: -90000px; margin: 0 auto; } .#{$name}-calendarpanel .v-button-nextyear { background: transparent url(img/nextyear.png) no-repeat; } .#{$name}-calendarpanel .v-button-prevyear:hover, .#{$name}-calendarpanel .v-button-nextyear:hover { background-position: left bottom; } /* Month buttons */ .#{$name}-calendarpanel .v-button-prevmonth, .#{$name}-calendarpanel .v-button-nextmonth { display: block; width: 11px; height: 16px; border: none; padding: 0; background: transparent url(img/prevmonth.png) no-repeat; text-indent: -90000px; margin: 0 auto; } .#{$name}-calendarpanel .v-button-nextmonth { background: transparent url(img/nextmonth.png) no-repeat; } .#{$name}-calendarpanel .v-button-prevmonth:hover, .#{$name}-calendarpanel .v-button-nextmonth:hover { background-position: left bottom; } .#{$name}-calendarpanel strong { color: #ee5311; display: block; width: 20px; font-size: 12px; } .#{$name}-calendarpanel-day, .#{$name}-calendarpanel-weeknumber, .#{$name}-calendarpanel-day-today { padding: 1px 3px; width: 14px; height: 16px; } .#{$name}-calendarpanel-day-today { border: 1px solid #429ce9; width: 12px; height: 14px; } .#{$name}-calendarpanel-day-entry { color: #6a98b5; } .#{$name}-calendarpanel-day-disabled { font-weight: normal; color: #dddddd; } .#{$name}-calendarpanel-day-entry.#{$name}-calendarpanel-day-disabled { color: #afd6f8; } .#{$name}-calendarpanel-day-selected { font-weight: bold; width: 14px; height: 16px; color: #fff; padding: 1px 3px; background: transparent url(img/selected-bg.png) no-repeat 50% 50%; border: none; } .#{$name}-time { font-size: 11px; } .#{$name}-time .v-select { font-size: 10px; padding: 0; margin: 0; } .#{$name}-rendererror .v-textfield { background: #ff9999; } .#{$name}-prompt .#{$name}-textfield { color: #999; font-style: normal; } }