diff --git a/src/app/pages/component-viewer/component-api.scss b/src/app/pages/component-viewer/component-api.scss index 3a09d74df..090f65e4e 100644 --- a/src/app/pages/component-viewer/component-api.scss +++ b/src/app/pages/component-viewer/component-api.scss @@ -34,10 +34,6 @@ line-height: 24px; } -.docs-api-class-deprecated-marker { - font-weight: bold; -} - .docs-api-property-type { font-weight: bold; font-size: 14px; diff --git a/src/styles/_api.scss b/src/styles/_api.scss index 03faf3990..bfb853928 100644 --- a/src/styles/_api.scss +++ b/src/styles/_api.scss @@ -56,7 +56,8 @@ } .docs-api-input-marker, -.docs-api-output-marker { +.docs-api-output-marker, +.docs-api-deprecated-marker { // Size corresponding to "caption"-style text in the spec. font-size: 12px; } @@ -67,3 +68,19 @@ font-family: 'Roboto Mono', monospace; padding: 3px; } + +.docs-api-deprecated-marker, +.docs-api-class-deprecated-marker, +.docs-api-interface-deprecated-marker { + display: inline-block; + font-weight: bold; + + &[title] { + border-bottom: 1px dotted grey; + cursor: help; + } +} + +.docs-api-deprecated-marker + .docs-api-property-name { + text-decoration: line-through; +}