You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by rl...@apache.org on 2017/12/22 16:56:35 UTC
celix-site git commit: updated doctable css
Repository: celix-site
Updated Branches:
refs/heads/asf-site 3214a1d02 -> f7091c040
updated doctable css
Project: http://git-wip-us.apache.org/repos/asf/celix-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix-site/commit/f7091c04
Tree: http://git-wip-us.apache.org/repos/asf/celix-site/tree/f7091c04
Diff: http://git-wip-us.apache.org/repos/asf/celix-site/diff/f7091c04
Branch: refs/heads/asf-site
Commit: f7091c040b327acd30476b08b5471333b49229d5
Parents: 3214a1d
Author: ESmink <ed...@nl.thalesgroup.com>
Authored: Fri Dec 22 14:06:20 2017 +0100
Committer: ESmink <ed...@nl.thalesgroup.com>
Committed: Fri Dec 22 14:06:20 2017 +0100
----------------------------------------------------------------------
build.py | 4 ++--
src/noprocess/import/style.css | 32 +++++++++++++++++++++++++-------
2 files changed, 27 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/celix-site/blob/f7091c04/build.py
----------------------------------------------------------------------
diff --git a/build.py b/build.py
index 7928cce..9d6bbd7 100755
--- a/build.py
+++ b/build.py
@@ -58,12 +58,12 @@ for title in root:
fl.append(ET.fromstring('<dest>' + out + '/doc/' + (title.attrib['name'] + '/' + fl.attrib['name']).replace(' ', '_') + '.html</dest>'))
# create doctable
-docT = '<div id=docTable><table>'
+docT = '<table id=docTable class=shadowed>'
for title in root:
docT += '\n\t<tr><th>' + title.attrib['name'] + '</th></tr>'
for fl in title:
docT += '\n\t<tr><td><a href=/' + fl.find('dest').text[len(out) + 1:] + '>' + fl.attrib['name'] + '</a></td></tr>'
-docT = docT.replace('/index.html', '/') + '\n</table></div>\n'
+docT = docT.replace('/index.html', '/') + '\n</table>\n'
#register site markdown
md = ''
http://git-wip-us.apache.org/repos/asf/celix-site/blob/f7091c04/src/noprocess/import/style.css
----------------------------------------------------------------------
diff --git a/src/noprocess/import/style.css b/src/noprocess/import/style.css
index 461bbf9..0cfeb12 100755
--- a/src/noprocess/import/style.css
+++ b/src/noprocess/import/style.css
@@ -206,10 +206,35 @@ a {
#docTable {
float: left;
+ border-collapse: collapse;
+ margin-top: 10px;
+ position: fixed;
+ width: 180px;
+ text-overflow: ellipsis;
+}
+
+#docTable tr {
+ color: #FFFFFF;
+ background-color: #2cb9ec;
+}
+
+#docTable tr:nth-child(even) {
+ background-color: #239dd0;
+}
+
+#docTable a {
+ color: #FFFFFF;
+ display: inline-block;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ width: 175px;
}
#docContent {
display: table-cell;
+ padding-left: 195px;
+ padding-right: 10px;
}
#foot {
@@ -244,13 +269,6 @@ a {
margin-top: -80px;
}
-#footText {
- color: white;
- font-size: 12px;
- background: #2CB9EC;
- padding: 4px;
-}
-
@media screen and (max-width: 1140px) {
#APbig{display:none}
#APsmall{display:block}