@ionic/angular
Version:
Angular specific wrappers for @ionic/core
244 lines (206 loc) • 4.92 kB
CSS
/**
* Convert a font size to a dynamic font size.
* Fonts that participate in Dynamic Type should use
* dynamic font sizes.
* @param size - The initial font size including the unit (i.e. px or pt)
* @param unit (optional) - The unit to convert to. Use this if you want to
* convert to a unit other than $baselineUnit.
*/
/**
* Convert a font size to a dynamic font size but impose
* a maximum font size.
* @param size - The initial font size including the unit (i.e. px or pt)
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
* convert to a unit other than $baselineUnit.
*/
/**
* Convert a font size to a dynamic font size but impose
* a minimum font size.
* @param size - The initial font size including the unit (i.e. px or pt)
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
* convert to a unit other than $baselineUnit.
*/
/**
* Convert a font size to a dynamic font size but impose
* maximum and minimum font sizes.
* @param size - The initial font size including the unit (i.e. px or pt)
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
* convert to a unit other than $baselineUnit.
*/
/**
* A heuristic that applies CSS to tablet
* viewports.
*
* Usage:
* @include tablet-viewport() {
* :host {
* background-color: green;
* }
* }
*/
/**
* A heuristic that applies CSS to mobile
* viewports (i.e. phones, not tablets).
*
* Usage:
* @include mobile-viewport() {
* :host {
* background-color: blue;
* }
* }
*/
/**
* A heuristic that applies CSS to tablet
* viewports.
*
* Usage:
* @include tablet-viewport() {
* :host {
* background-color: green;
* }
* }
*/
/**
* A heuristic that applies CSS to mobile
* viewports (i.e. phones, not tablets).
*
* Usage:
* @include mobile-viewport() {
* :host {
* background-color: blue;
* }
* }
*/
.ion-text-center {
text-align: center ;
}
.ion-text-justify {
text-align: justify ;
}
.ion-text-start {
text-align: start ;
}
.ion-text-end {
text-align: end ;
}
.ion-text-left {
text-align: left ;
}
.ion-text-right {
text-align: right ;
}
.ion-text-nowrap {
white-space: nowrap ;
}
.ion-text-wrap {
white-space: normal ;
}
@media (min-width: 576px) {
.ion-text-sm-center {
text-align: center ;
}
.ion-text-sm-justify {
text-align: justify ;
}
.ion-text-sm-start {
text-align: start ;
}
.ion-text-sm-end {
text-align: end ;
}
.ion-text-sm-left {
text-align: left ;
}
.ion-text-sm-right {
text-align: right ;
}
.ion-text-sm-nowrap {
white-space: nowrap ;
}
.ion-text-sm-wrap {
white-space: normal ;
}
}
@media (min-width: 768px) {
.ion-text-md-center {
text-align: center ;
}
.ion-text-md-justify {
text-align: justify ;
}
.ion-text-md-start {
text-align: start ;
}
.ion-text-md-end {
text-align: end ;
}
.ion-text-md-left {
text-align: left ;
}
.ion-text-md-right {
text-align: right ;
}
.ion-text-md-nowrap {
white-space: nowrap ;
}
.ion-text-md-wrap {
white-space: normal ;
}
}
@media (min-width: 992px) {
.ion-text-lg-center {
text-align: center ;
}
.ion-text-lg-justify {
text-align: justify ;
}
.ion-text-lg-start {
text-align: start ;
}
.ion-text-lg-end {
text-align: end ;
}
.ion-text-lg-left {
text-align: left ;
}
.ion-text-lg-right {
text-align: right ;
}
.ion-text-lg-nowrap {
white-space: nowrap ;
}
.ion-text-lg-wrap {
white-space: normal ;
}
}
@media (min-width: 1200px) {
.ion-text-xl-center {
text-align: center ;
}
.ion-text-xl-justify {
text-align: justify ;
}
.ion-text-xl-start {
text-align: start ;
}
.ion-text-xl-end {
text-align: end ;
}
.ion-text-xl-left {
text-align: left ;
}
.ion-text-xl-right {
text-align: right ;
}
.ion-text-xl-nowrap {
white-space: nowrap ;
}
.ion-text-xl-wrap {
white-space: normal ;
}
}
/*# sourceMappingURL=text-alignment.css.map */