diff --git a/doc/global/html-header-offline.qdocconf b/doc/global/html-header-offline.qdocconf index 4b87e3c792e..ffce22eeeec 100644 --- a/doc/global/html-header-offline.qdocconf +++ b/doc/global/html-header-offline.qdocconf @@ -2,11 +2,13 @@ #specify the CSS file used by this template HTML.stylesheets = template/style/offline.css \ - template/style/offline-dark.css + template/style/offline-dark.css \ + template/style/tech_preview.svg #for including files into the qch file qhp.extraFiles += style/offline.css \ - style/offline-dark.css + style/offline-dark.css \ + style/tech_preview.svg HTML.headerstyles = \ " \n" diff --git a/doc/global/html-header-online.qdocconf b/doc/global/html-header-online.qdocconf index d674e76bb08..8d258c2a275 100644 --- a/doc/global/html-header-online.qdocconf +++ b/doc/global/html-header-online.qdocconf @@ -11,8 +11,10 @@ HTML.stylesheets = template/style/online.css \ template/style/icomoon.woff \ template/style/cookiebar-x.png \ template/style/doc_search.png \ + template/style/tech_preview.svg \ template/style/theqtcompany.png + #for including files into the qch file. Relative to the outputdir of a QDoc build. qhp.extraFiles += style/online.css \ style/cookie-confirm.css \ @@ -25,6 +27,7 @@ qhp.extraFiles += style/online.css \ style/icomoon.woff \ style/cookiebar-x.png \ style/doc_search.png \ + style/tech_preview.svg \ style/theqtcompany.png HTML.headerstyles = \ diff --git a/doc/global/template/style/offline.css b/doc/global/template/style/offline.css index 9f0cc8cd2eb..d3846597899 100644 --- a/doc/global/template/style/offline.css +++ b/doc/global/template/style/offline.css @@ -574,6 +574,20 @@ ol.I > li { padding: 3px 15px 3px 0 } +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; +} + .qml { display: block; margin: 10px; diff --git a/doc/global/template/style/online.css b/doc/global/template/style/online.css index 33487355d2a..4f51864d8b9 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 } diff --git a/doc/global/template/style/tech_preview.svg b/doc/global/template/style/tech_preview.svg new file mode 100644 index 00000000000..54ce08ddbbd --- /dev/null +++ b/doc/global/template/style/tech_preview.svg @@ -0,0 +1 @@ +