Javi Velasco 2016-11-27 13:20:46 +01:00
parent 8734eceb37
commit 4c154e86ce
3 changed files with 8 additions and 0 deletions

View File

@ -9,6 +9,8 @@ $button-accent-color-hover: rgba($color-accent, .2) !default;
$button-accent-color: $color-accent !default;
$button-disabled-text-color: rgba($color-black, 0.26) !default;
$button-disabled-background-color: rgba($color-black, 0.12) !default;
$button-disabled-text-color-inverse: rgba($color-white, 0.54) !default;
$button-disabled-background-inverse: rgba($color-white, 0.08) !default;
$button-border-radius: 0.2 * $unit !default;
$button-floating-font-size: $unit * 2.4 !default;
$button-floating-height: $unit * 5.6 !default;

View File

@ -178,5 +178,10 @@
}
}
.neutral.inverse[disabled] {
color: $button-disabled-text-color-inverse;
background-color: $button-disabled-background-inverse;
}
@include btn-colors("primary", $button-primary-color-contrast, $button-primary-color, $button-primary-color-hover);
@include btn-colors("accent", $button-accent-color-contrast, $button-accent-color, $button-accent-color-hover);

View File

@ -79,6 +79,7 @@ If you want to provide a theme via context, the component key is `RTDatePicker`.
| `disabled` | Added to day element when day is disabled.|
| `header` | Used for the dialog header,.|
| `input` | Used for Input element that opens the picker.|
| `label` | Used for the label element.|
| `month` | Used for the month root element.|
| `monthsDisplay` | Added to the root dialog when months are displayed.|
| `next` | Used for the next month icon.|