summaryrefslogtreecommitdiffstats
path: root/doc/global/template/style/online.css
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2023-04-25 20:22:33 +0000
committerTopi Reinio <topi.reinio@qt.io>2023-05-10 04:40:38 +0000
commit041e10e64f12b451b1e155b189c47bc91b745eb7 (patch)
treeb1ecf81e88c3151eaaeb3210f038555e710739e5 /doc/global/template/style/online.css
parent8c0153a526c0af80f581efe9a41a13408093835d (diff)
Doc: Add CSS styling and icon for 'technical preview' items
QDoc adds a 'Status' field to the table on top of type reference pages. One common status for Qt modules/types is 'Technical preview'. Add an icon that is displayed next to the status description, highlighting the fact that the type is in tech. preview and therefore subject to change. Pick-to: 6.5 Task-number: QTBUG-113026 Change-Id: Ibe6ca2a562cc7810fe27e7dcf514c711cd022894 Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'doc/global/template/style/online.css')
-rw-r--r--doc/global/template/style/online.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/global/template/style/online.css b/doc/global/template/style/online.css
index 33487355d2..4f51864d8b 100644
--- a/doc/global/template/style/online.css
+++ b/doc/global/template/style/online.css
@@ -505,6 +505,18 @@ h1,h2,h3,h4,h5,h6 {
font-size:150%;
margin-bottom: 1em
}
+span.status.technical-preview {
+ display:inline-block;
+ position:relative;
+ background:center/contain no-repeat url(tech_preview.svg);
+ width:26px;
+ height:23px
+}
+td.memItemRight span.status {
+ margin-top:-10px;
+ right:-10px;
+ top:6px
+}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
display:block
}