Info alert:Beta feature
This beta component is currently under review and is still open for further evolution. It is available for use in product. Beta components are considered for promotion on a quarterly basis. Please join in and give us your feedback or submit any questions on the PatternFly forum or via Slack. To learn more about the process, visit our about page or our Beta components page on GitHub.
Examples
Documentation
Usage
Class | Applied to | Outcome |
---|---|---|
.pf-v5-c-timestamp | <span> | Creates a timestamp. Required |
.pf-v5-c-timestamp__text | <time> | Creates the visual text of the timestamp. Required |
.pf-m-help-text | .pf-v5-c-timestamp | Modifies styling for a timestamp that has help text. |
CSS variables
Expand or collapse column | Selector | Variable | Value | |
---|---|---|---|---|
.pf-v5-c-timestamp | --pf-v5-c-timestamp--FontSize | 0.875rem | ||
--pf-v5-c-timestamp--FontSize --pf-v5-global--FontSize--sm $pf-v5-global--FontSize--sm pf-font-prem(14px) 0.875rem | ||||
.pf-v5-c-timestamp | --pf-v5-c-timestamp--Color | #6a6e73 | ||
--pf-v5-c-timestamp--Color --pf-v5-global--Color--200 $pf-v5-global--Color--200 $pf-v5-color-black-600 #6a6e73 | ||||
.pf-v5-c-timestamp | --pf-v5-c-timestamp--OutlineOffset | 0.1875rem | ||
.pf-v5-c-timestamp | --pf-v5-c-timestamp--m-help-text--TextDecorationLine | underline | ||
.pf-v5-c-timestamp | --pf-v5-c-timestamp--m-help-text--TextDecorationStyle | dashed | ||
.pf-v5-c-timestamp | --pf-v5-c-timestamp--m-help-text--TextDecorationThickness | 1px | ||
--pf-v5-c-timestamp--m-help-text--TextDecorationThickness --pf-v5-global--BorderWidth--sm $pf-v5-global--BorderWidth--sm 1px | ||||
.pf-v5-c-timestamp | --pf-v5-c-timestamp--m-help-text--TextUnderlineOffset | 0.25rem | ||
.pf-v5-c-timestamp | --pf-v5-c-timestamp--m-help-text--TextDecorationColor | #8a8d90 | ||
--pf-v5-c-timestamp--m-help-text--TextDecorationColor --pf-v5-global--BorderColor--200 $pf-v5-global--BorderColor--200 $pf-v5-color-black-500 #8a8d90 | ||||
.pf-v5-c-timestamp | --pf-v5-c-timestamp--m-help-text--hover--Color | #151515 | ||
--pf-v5-c-timestamp--m-help-text--hover--Color --pf-v5-global--Color--100 $pf-v5-global--Color--100 $pf-v5-color-black-900 #151515 | ||||
.pf-v5-c-timestamp | --pf-v5-c-timestamp--m-help-text--focus--Color | #151515 | ||
--pf-v5-c-timestamp--m-help-text--focus--Color --pf-v5-global--Color--100 $pf-v5-global--Color--100 $pf-v5-color-black-900 #151515 | ||||
.pf-v5-c-timestamp | --pf-v5-c-timestamp--m-help-text--hover--TextDecorationColor | #151515 | ||
--pf-v5-c-timestamp--m-help-text--hover--TextDecorationColor --pf-v5-global--Color--100 $pf-v5-global--Color--100 $pf-v5-color-black-900 #151515 | ||||
.pf-v5-c-timestamp | --pf-v5-c-timestamp--m-help-text--focus--TextDecorationColor | #151515 | ||
--pf-v5-c-timestamp--m-help-text--focus--TextDecorationColor --pf-v5-global--Color--100 $pf-v5-global--Color--100 $pf-v5-color-black-900 #151515 | ||||
.pf-v5-c-timestamp.pf-m-help-text:hover | --pf-v5-c-timestamp--Color | #151515 | ||
--pf-v5-c-timestamp--Color --pf-v5-c-timestamp--m-help-text--hover--Color --pf-v5-global--Color--100 $pf-v5-global--Color--100 $pf-v5-color-black-900 #151515 | ||||
.pf-v5-c-timestamp.pf-m-help-text:hover | --pf-v5-c-timestamp--m-help-text--TextDecorationColor | #151515 | ||
--pf-v5-c-timestamp--m-help-text--TextDecorationColor --pf-v5-c-timestamp--m-help-text--hover--TextDecorationColor --pf-v5-global--Color--100 $pf-v5-global--Color--100 $pf-v5-color-black-900 #151515 | ||||
.pf-v5-c-timestamp.pf-m-help-text:focus | --pf-v5-c-timestamp--Color | #151515 | ||
--pf-v5-c-timestamp--Color --pf-v5-c-timestamp--m-help-text--focus--Color --pf-v5-global--Color--100 $pf-v5-global--Color--100 $pf-v5-color-black-900 #151515 | ||||
.pf-v5-c-timestamp.pf-m-help-text:focus | --pf-v5-c-timestamp--m-help-text--TextDecorationColor | #151515 | ||
--pf-v5-c-timestamp--m-help-text--TextDecorationColor --pf-v5-c-timestamp--m-help-text--focus--TextDecorationColor --pf-v5-global--Color--100 $pf-v5-global--Color--100 $pf-v5-color-black-900 #151515 |
View source on GitHub