Skip to content

Commit

Permalink
Merge pull request #8949 from bul-ikana/master
Browse files Browse the repository at this point in the history
docs(datetime): add sass variable descriptions
  • Loading branch information
manucorporat authored Oct 31, 2016
2 parents 5836c81 + c578506 commit 5cdb70b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/datetime/datetime.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@
// iOS DateTime
// --------------------------------------------------

/// @prop - Padding top of the DateTime component
$datetime-ios-padding-top: $item-ios-padding-top !default;

/// @prop - Padding right of the DateTime component
$datetime-ios-padding-right: ($item-ios-padding-right / 2) !default;

/// @prop - Padding bottom of the DateTime component
$datetime-ios-padding-bottom: $item-ios-padding-bottom !default;

/// @prop - Padding left of the DateTime component
$datetime-ios-padding-left: $item-ios-padding-left !default;


Expand Down
7 changes: 7 additions & 0 deletions src/components/datetime/datetime.md.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@
// Material Design DateTime
// --------------------------------------------------

/// @prop - Padding top of the DateTime component
$datetime-md-padding-top: $item-md-padding-top !default;

/// @prop - Padding right of the DateTime component
$datetime-md-padding-right: ($item-md-padding-right / 2) !default;

/// @prop - Padding bottom of the DateTime component
$datetime-md-padding-bottom: $item-md-padding-bottom !default;

/// @prop - Padding left of the DateTime component
$datetime-md-padding-left: $item-md-padding-left !default;


Expand Down
11 changes: 11 additions & 0 deletions src/components/datetime/datetime.wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,25 @@
// Windows DateTime
// --------------------------------------------------

/// @prop - Min width of the DateTime component
$datetime-wp-min-width: 45% !default;

/// @prop - Padding top of the DateTime component
$datetime-wp-padding-top: $item-wp-padding-top !default;

/// @prop - Padding right of the DateTime component
$datetime-wp-padding-right: ($item-wp-padding-right / 2) !default;

/// @prop - Padding bottom of the DateTime component
$datetime-wp-padding-bottom: $item-wp-padding-bottom !default;

/// @prop - Padding left of the DateTime component
$datetime-wp-padding-left: $item-wp-padding-left !default;

/// @prop - Border width of the DateTime component
$datetime-wp-border-width: 2px !default;

/// @prop - Border color of the DateTime component
$datetime-wp-border-color: $input-wp-border-color !default;

.datetime-wp {
Expand Down

0 comments on commit 5cdb70b

Please sign in to comment.