summaryrefslogtreecommitdiffstats
path: root/help3xsl/default.css
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-04-25 00:31:33 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-04-26 13:49:43 +0200
commit8bca37f6c6f708fc5f8c1eb4938648e4f5324d4c (patch)
tree48317cd72f9d8a39a91e8fe5509c104bf6a9bc8e /help3xsl/default.css
parentReplace onecell table by a div (diff)
downloadhelp-8bca37f6c6f708fc5f8c1eb4938648e4f5324d4c.tar.gz
help-8bca37f6c6f708fc5f8c1eb4938648e4f5324d4c.zip
Replace icontable by div + CSS flexbox
Icon tables are detected when the first cell has an image. Change-Id: I808c814870404dbef696e12c6f30a7611468d2ee Reviewed-on: https://gerrit.libreoffice.org/53429 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/default.css')
-rw-r--r--help3xsl/default.css14
1 files changed, 11 insertions, 3 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index ba548c337c..cc380ffbf7 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -119,15 +119,15 @@ pre,
/* div's for warning, tip and note */
.note,
.tip,
-.warning{
+.warning {
display:flex;
align-items: center;
padding:0.3em;
}
-.noteicon{
+.noteicon {
padding:0.3em;
}
-.notetext{
+.notetext {
padding:0.3em;
}
@@ -136,6 +136,14 @@ pre,
/* Special case of table with one cell*/
.onecell{
}
+/* Special case of icon table*/
+.icontable {
+ display:flex;
+ align-items:center;
+}
+.iconcell {
+ padding:0.3em;
+}
table {
box-shadow: rgba(0,0,0,0.1) 0px 1px 3px 0px;