fix(standalone): fixes standalone component styling (#13769)

* test(e2e): update standalone tests for snapshot

* fix(standalone): improve component fonts, box-sizing, etc

* refactor(input): separate textarea styles from input and rename classes

* fix(datetime): change position in an item so cover is over item
This commit is contained in:
Brandy Carney
2018-01-08 10:32:09 -05:00
committed by GitHub
parent 34df45c827
commit 06c9377192
103 changed files with 598 additions and 77 deletions

View File

@ -4,6 +4,10 @@
// iOS Segment
// --------------------------------------------------
.segment-ios {
font-family: $segment-ios-font-family;
}
.segment-ios ion-segment-button {
display: flex;

View File

@ -3,6 +3,12 @@
// iOS Segment
// --------------------------------------------------
/// @prop - Background of the segment button
$segment-ios-font-family: $font-family-ios-base !default;
// TODO either move to button or rename
// ---------------------------------------------
/// @prop - Background of the segment button
$segment-button-ios-background-color: transparent !default;

View File

@ -4,6 +4,10 @@
// Material Design Segment
// --------------------------------------------------
.segment-md {
font-family: $segment-md-font-family;
}
.segment-md ion-segment-button {
display: flex;

View File

@ -3,6 +3,9 @@
// Material Design Segment
// --------------------------------------------------
/// @prop - Background of the segment button
$segment-md-font-family: $font-family-md-base !default;
/// @prop - Text color of the activated segment button
$segment-button-md-text-color-activated: $toolbar-md-active-color !default;

View File

@ -14,6 +14,7 @@ ion-segment {
}
.segment-button {
@include border-radius(0);
@include margin-horizontal(0);
@include text-align(center);