Skip to content
PatternFly logo

Timestamp

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

Basic









Documentation

Usage

Class
Applied to
Outcome
.pf-c-timestamp
<span>
Creates a timestamp. Required
.pf-c-timestamp__text
<time>
Creates the visual text of the timestamp. Required
.pf-m-help-text
.pf-c-timestamp
Modifies styling for a timestamp that has help text.

CSS variables

.pf-c-timestamp--pf-c-timestamp--FontSize
0.875rem
.pf-c-timestamp--pf-c-timestamp--Color
#6a6e73
.pf-c-timestamp--pf-c-timestamp--OutlineOffset
0.1875rem
.pf-c-timestamp--pf-c-timestamp--m-help-text--TextDecorationLine
underline
.pf-c-timestamp--pf-c-timestamp--m-help-text--TextDecorationStyle
dashed
.pf-c-timestamp--pf-c-timestamp--m-help-text--TextDecorationThickness
1px
.pf-c-timestamp--pf-c-timestamp--m-help-text--TextUnderlineOffset
0.25rem
.pf-c-timestamp--pf-c-timestamp--m-help-text--TextDecorationColor
#8a8d90
.pf-c-timestamp--pf-c-timestamp--m-help-text--hover--Color
#151515
.pf-c-timestamp--pf-c-timestamp--m-help-text--focus--Color
#151515
.pf-c-timestamp--pf-c-timestamp--m-help-text--hover--TextDecorationColor
#151515
.pf-c-timestamp--pf-c-timestamp--m-help-text--focus--TextDecorationColor
#151515
.pf-c-timestamp.pf-m-help-text:hover--pf-c-timestamp--Color
#151515
.pf-c-timestamp.pf-m-help-text:hover--pf-c-timestamp--m-help-text--TextDecorationColor
#151515
.pf-c-timestamp.pf-m-help-text:focus--pf-c-timestamp--Color
#151515
.pf-c-timestamp.pf-m-help-text:focus--pf-c-timestamp--m-help-text--TextDecorationColor
#151515

View source on GitHub