Front end of the Slack clone application.

datetime.wp.scss 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. @import "../../themes/ionic.globals.wp";
  2. // Windows DateTime
  3. // --------------------------------------------------
  4. /// @prop - Min width of the DateTime component
  5. $datetime-wp-min-width: 45% !default;
  6. /// @prop - Padding top of the DateTime component
  7. $datetime-wp-padding-top: $item-wp-padding-top !default;
  8. // deprecated
  9. $datetime-wp-padding-right: ($item-wp-padding-end / 2) !default;
  10. /// @prop - Padding end of the DateTime component
  11. $datetime-wp-padding-end: $datetime-wp-padding-right !default;
  12. /// @prop - Padding bottom of the DateTime component
  13. $datetime-wp-padding-bottom: $item-wp-padding-bottom !default;
  14. // deprecated
  15. $datetime-wp-padding-left: $item-wp-padding-start !default;
  16. /// @prop - Padding start of the DateTime component
  17. $datetime-wp-padding-start: $datetime-wp-padding-left !default;
  18. /// @prop - Border width of the DateTime component
  19. $datetime-wp-border-width: 2px !default;
  20. /// @prop - Border color of the DateTime component
  21. $datetime-wp-border-color: $input-wp-border-color !default;
  22. /// @prop - Color of the DateTime placeholder
  23. $datetime-wp-placeholder-color: $input-wp-border-color !default;
  24. .datetime-wp {
  25. @include padding($datetime-wp-padding-top, $datetime-wp-padding-end, $datetime-wp-padding-bottom, $datetime-wp-padding-start);
  26. min-width: $datetime-wp-min-width;
  27. }
  28. .datetime-wp .datetime-text {
  29. @include padding(0, 8px);
  30. min-height: 3.4rem;
  31. border: $datetime-wp-border-width solid $datetime-wp-border-color;
  32. line-height: 3rem;
  33. }
  34. .item-datetime .datetime-wp ion-label[floating] {
  35. @include transform(translate3d(8px, 41px, 0));
  36. }
  37. .datetime-wp .datetime-placeholder {
  38. color: $datetime-wp-placeholder-color;
  39. }