aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/css
diff options
context:
space:
mode:
Diffstat (limited to 'lib/erl_docgen/priv/css')
-rw-r--r--lib/erl_docgen/priv/css/Makefile77
-rw-r--r--lib/erl_docgen/priv/css/otp_doc.css117
2 files changed, 194 insertions, 0 deletions
diff --git a/lib/erl_docgen/priv/css/Makefile b/lib/erl_docgen/priv/css/Makefile
new file mode 100644
index 0000000000..81124fb111
--- /dev/null
+++ b/lib/erl_docgen/priv/css/Makefile
@@ -0,0 +1,77 @@
+#
+# %CopyrightBegin%
+#
+# Copyright Ericsson AB 2009. All Rights Reserved.
+#
+# The contents of this file are subject to the Erlang Public License,
+# Version 1.1, (the "License"); you may not use this file except in
+# compliance with the License. You should have received a copy of the
+# Erlang Public License along with this software. If not, it can be
+# retrieved online at http://www.erlang.org/.
+#
+# Software distributed under the License is distributed on an "AS IS"
+# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+# the License for the specific language governing rights and limitations
+# under the License.
+#
+# %CopyrightEnd%
+#
+#
+include $(ERL_TOP)/make/target.mk
+include $(ERL_TOP)/make/$(TARGET)/otp.mk
+
+# ----------------------------------------------------
+# Application version
+# ----------------------------------------------------
+include ../../vsn.mk
+VSN=$(ERL_DOCGEN_VSN)
+
+# ----------------------------------------------------
+# Release directory specification
+# ----------------------------------------------------
+RELSYSDIR = $(RELEASE_PATH)/lib/erl_docgen-$(VSN)
+
+
+# ----------------------------------------------------
+# Target Specs
+# ----------------------------------------------------
+
+
+CSS_FILES = \
+ otp_doc.css
+
+
+# ----------------------------------------------------
+# FLAGS
+# ----------------------------------------------------
+
+
+# ----------------------------------------------------
+# Targets
+# ----------------------------------------------------
+debug opt:
+
+docs:
+
+clean:
+ $(RM) $(TARGET_FILES)
+
+
+# ----------------------------------------------------
+# Release Target
+# ----------------------------------------------------
+include $(ERL_TOP)/make/otp_release_targets.mk
+
+
+release_spec: opt
+ $(INSTALL_DIR) $(RELSYSDIR)/priv/css
+ $(INSTALL_DATA) $(CSS_FILES) $(RELSYSDIR)/priv/css
+
+
+release_docs_spec:
+ $(INSTALL_DIR) $(RELEASE_PATH)/doc
+ $(INSTALL_DATA) $(CSS_FILES) ../nyi.html $(RELEASE_PATH)/doc
+
+release_tests_spec:
+
+
diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css
new file mode 100644
index 0000000000..97d8c2df74
--- /dev/null
+++ b/lib/erl_docgen/priv/css/otp_doc.css
@@ -0,0 +1,117 @@
+
+
+body {
+ background: white;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ margin: 0;
+ padding: 0;
+ border: 0;
+ overflow: scroll;
+ height: 100%;
+ max-height: 100%;
+}
+
+
+th { font-family: Verdana, Arial, Helvetica, sans-serif }
+td { font-family: Verdana, Arial, Helvetica, sans-serif }
+p { font-family: Verdana, Arial, Helvetica, sans-serif }
+
+.header { background: #222; color: #fff }
+.top { background: #efe }
+.otp { background: #efe }
+.erlang { background: #ffe }
+.otp2 { background: #efe }
+.app { background: #ffe }
+
+a:link { color: blue; text-decoration: none }
+a:active { color: blue; text-decoration: none }
+a:visited { color: blue; text-decoration: none }
+
+#container {
+ width: 100%;
+ margin: 0;
+ background-color: #fff;
+}
+
+
+#leftnav {
+ position: fixed;
+ float: left;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ width: 200px;
+ overflow:auto;
+ margin: 0;
+ padding: 1px;
+ border-right: 1px solid red;
+}
+
+
+#content {
+ margin-left: 240px; /* set left value to WidthOfFrameDiv */
+}
+
+.frontpage
+{
+ padding-top: 50px; /* Magins for inner DIV inside each DIV (to provide padding) */
+}
+
+
+.innertube
+{
+ margin: 15px; /* Magins for inner DIV inside each DIV (to provide padding) */
+}
+
+.footer
+{
+ margin: 15px; /* Magins for inner DIV inside each DIV (to provide padding) */
+
+}
+span.bold_code { font-family: courier;font-weight: bold}
+span.code { font-family: courier;font-weight: normal}
+
+.note, .warning {
+ border: solid black 1px;
+ margin: 1em 3em;
+}
+
+.note .label {
+ background: #30d42a;
+ color: white;
+ font-weight: bold;
+ padding: 5px 10px;
+}
+.note .content {
+ background: #eafeea;
+ color: black;
+ line-height: 120%;
+ font-size: 90%;
+ padding: 5px 10px;
+}
+.warning .label {
+ background: #C00;
+ color: white;
+ font-weight: bold;
+ padding: 5px 10px;
+}
+.warning .content {
+ background: #FFF0F0;
+ color: black;
+ line-height: 120%;
+ font-size: 90%;
+ padding: 5px 10px;
+}
+
+.example {
+ background-color:#eeeeff;
+ padding: 0px 10px;
+}
+
+pre { font-family: courier; font-weight: normal }
+
+.REFBODY { margin-left: 13mm }
+
+.REFTYPES { margin-left: 8mm }
+
+footer { }