Skip to content

Instantly share code, notes, and snippets.

@nowk
Created March 24, 2013 20:30
Show Gist options
  • Save nowk/5233386 to your computer and use it in GitHub Desktop.
Save nowk/5233386 to your computer and use it in GitHub Desktop.
Basic overrides for angular-ui (rather not use the jquery ui css)
@import "bootstrap/variables"; // Modify this for custom colors, font-sizes, etc
@import "bootstrap/mixins";
@import "bootstrap/alerts";
@import "bootstrap/type";
@import "bootstrap/tables";
.ui-datepicker {
display: none;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 3px;
padding: 5px;
.ui-datepicker-header {
a {
&.ui-datepicker-prev, &.ui-datepicker-next {
font-size: 11px;
display: inline-block;
width: 50%;
}
&.ui-datepicker-next {
text-align: right;
}
}
.ui-datepicker-title {
font-size: 13px;
font-weight: bold;
margin-bottom: 5px;
padding-left: 3px;
}
}
table.ui-datepicker-calendar {
@extend .table;
@extend .table-bordered;
font-size: 11px;
margin-bottom: 0;
th, td {
padding: 3px 8px;
&.ui-datepicker-today {
background-color: #ccc;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment