aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-04-08 12:53:32 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-04-08 17:02:01 +0200
commit83ba2aa4a885bf9ab07ca0402fb8bcf1ca1547ad (patch)
treead9a549773731c24345bb04268a4a5afeb00c07a /plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters
parenta128cdd43265134a2a2c6b45f5d55b3543a9c794 (diff)
downloaddokka-83ba2aa4a885bf9ab07ca0402fb8bcf1ca1547ad.tar.gz
dokka-83ba2aa4a885bf9ab07ca0402fb8bcf1ca1547ad.tar.bz2
dokka-83ba2aa4a885bf9ab07ca0402fb8bcf1ca1547ad.zip
Fix content tests
Diffstat (limited to 'plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters')
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html12
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html12
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html12
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html15
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html12
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html12
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html10
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/styles/style.css184
8 files changed, 160 insertions, 109 deletions
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html
index 67ed7d8e..731d79da 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html
@@ -16,13 +16,11 @@
<div id="searchBar"></div>
<script type="text/javascript" src="../../../scripts/pages.js"></script>
<script type="text/javascript" src="../../../scripts/main.js"></script>
- <div id="content" pageIds="/Fancy/&lt;init&gt;/#kotlin.Int//">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="-init-.html">&lt;init&gt;</a>
- <div class="platform-tagged">
- <div class="platform-tag jvm">JVM</div>
- <div class="content">
- <h1>&lt;init&gt;</h1>
-<div class="symbol monospace">final fun <a href="-init-.html">&lt;init&gt;</a>(size: <a href="">Int</a>)</div> </div>
- </div>
+ <div id="content" pageIds="/Fancy/&lt;init&gt;/#kotlin.Int//">
+ <div class="breadcrumbs">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="-init-.html">&lt;init&gt;</a></div>
+ <div class="cover ">
+ <h1>&lt;init&gt;</h1>
+<div class="symbol monospace">final fun <a href="-init-.html">&lt;init&gt;</a>(size: <a href="">Int</a>)</div> </div>
</div>
</div>
</div>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html
index d07a6e8e..67e41f5c 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html
@@ -16,13 +16,11 @@
<div id="searchBar"></div>
<script type="text/javascript" src="../../../scripts/pages.js"></script>
<script type="text/javascript" src="../../../scripts/main.js"></script>
- <div id="content" pageIds="/Fancy/equals/#kotlin.Any?//">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="equals.html">equals</a>
- <div class="platform-tagged">
- <div class="platform-tag jvm">JVM</div>
- <div class="content">
- <h1>equals</h1>
-<div class="symbol monospace">open fun <a href="equals.html">equals</a>(other: <a href="">Any</a>): <a href="">Boolean</a></div> </div>
- </div>
+ <div id="content" pageIds="/Fancy/equals/#kotlin.Any?//">
+ <div class="breadcrumbs">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="equals.html">equals</a></div>
+ <div class="cover ">
+ <h1>equals</h1>
+<div class="symbol monospace">open fun <a href="equals.html">equals</a>(other: <a href="">Any</a>): <a href="">Boolean</a></div> </div>
</div>
</div>
</div>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html
index 814aa2fb..1ff34399 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html
@@ -16,13 +16,11 @@
<div id="searchBar"></div>
<script type="text/javascript" src="../../../scripts/pages.js"></script>
<script type="text/javascript" src="../../../scripts/main.js"></script>
- <div id="content" pageIds="/Fancy/hashCode/#//">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="hash-code.html">hashCode</a>
- <div class="platform-tagged">
- <div class="platform-tag jvm">JVM</div>
- <div class="content">
- <h1>hashCode</h1>
-<div class="symbol monospace">open fun <a href="hash-code.html">hashCode</a>(): <a href="">Int</a></div> </div>
- </div>
+ <div id="content" pageIds="/Fancy/hashCode/#//">
+ <div class="breadcrumbs">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="hash-code.html">hashCode</a></div>
+ <div class="cover ">
+ <h1>hashCode</h1>
+<div class="symbol monospace">open fun <a href="hash-code.html">hashCode</a>(): <a href="">Int</a></div> </div>
</div>
</div>
</div>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html
index 3fa6cb2b..5cfb39ba 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html
@@ -16,14 +16,11 @@
<div id="searchBar"></div>
<script type="text/javascript" src="../../../scripts/pages.js"></script>
<script type="text/javascript" src="../../../scripts/main.js"></script>
- <div id="content" pageIds="/Fancy////">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>
- <div class="platform-tagged">
- <div class="platform-tag jvm">JVM</div>
- <div class="content">
- <h1>Fancy</h1>
-<div class="symbol monospace">annotation class <a href="index.html">Fancy</a></div> </div>
- </div>
-<br>
+ <div id="content" pageIds="/Fancy////">
+ <div class="breadcrumbs">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a></div>
+ <div class="cover ">
+ <h1>Fancy</h1>
+<div class="symbol monospace">annotation class <a href="index.html">Fancy</a></div> </div>
<h2>Functions</h2>
<table>
<thead></thead>
@@ -63,7 +60,7 @@
<tbody>
<tr class="platform-tagged">
<td class="content"><a href="">size</a></td>
- <td class="content"><div class="symbol monospace"><a href="">Int</a></div><br>
+ <td class="content"><div class="symbol monospace"><a href="">Int</a></div>
<div class="brief "> </div>
</td>
<td class="platform-tagged">
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html
index a9ac04f4..0a116d39 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html
@@ -16,13 +16,11 @@
<div id="searchBar"></div>
<script type="text/javascript" src="../../../scripts/pages.js"></script>
<script type="text/javascript" src="../../../scripts/main.js"></script>
- <div id="content" pageIds="/Fancy/toString/#//">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="to-string.html">toString</a>
- <div class="platform-tagged">
- <div class="platform-tag jvm">JVM</div>
- <div class="content">
- <h1>toString</h1>
-<div class="symbol monospace">open fun <a href="to-string.html">toString</a>(): <a href="">String</a></div> </div>
- </div>
+ <div id="content" pageIds="/Fancy/toString/#//">
+ <div class="breadcrumbs">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="to-string.html">toString</a></div>
+ <div class="cover ">
+ <h1>toString</h1>
+<div class="symbol monospace">open fun <a href="to-string.html">toString</a>(): <a href="">String</a></div> </div>
</div>
</div>
</div>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html
index 724a7e7b..c30acdd1 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html
@@ -16,13 +16,11 @@
<div id="searchBar"></div>
<script type="text/javascript" src="../../scripts/pages.js"></script>
<script type="text/javascript" src="../../scripts/main.js"></script>
- <div id="content" pageIds="//f/#//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="f.html">f</a>
- <div class="platform-tagged">
- <div class="platform-tag jvm">JVM</div>
- <div class="content">
- <h1>f</h1>
-<div class="symbol monospace">final fun <a href="f.html">f</a>()</div> </div>
- </div>
+ <div id="content" pageIds="//f/#//">
+ <div class="breadcrumbs">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="f.html">f</a></div>
+ <div class="cover ">
+ <h1>f</h1>
+<div class="symbol monospace">final fun <a href="f.html">f</a>()</div> </div>
</div>
</div>
</div>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html
index 1fd01dfe..8384882c 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html
@@ -16,12 +16,10 @@
<div id="searchBar"></div>
<script type="text/javascript" src="../../scripts/pages.js"></script>
<script type="text/javascript" src="../../scripts/main.js"></script>
- <div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <div class="platform-tagged">
- <div class="platform-tag jvm">JVM</div>
- <div class="content">
- <h1>Package </h1>
- </div>
+ <div id="content" pageIds="/////">
+ <div class="breadcrumbs">//<a href="../index.html">root</a>/<a href="index.html"></a></div>
+ <div class="cover ">
+ <h1>Package </h1>
</div>
<h2>Types</h2>
<table>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/styles/style.css b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/styles/style.css
index 80865758..5c347128 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/styles/style.css
@@ -13,9 +13,10 @@
}
#leftColumn {
- padding-left: 12px;
+ width: 280px;
min-height: 100%;
- border-right: 2px solid #DADFE6;
+ border-right: 1px solid #DADFE6;
+ flex: 0 0 auto;
}
@media screen and (max-width: 600px) {
@@ -29,12 +30,9 @@
}
#sideMenu {
- padding-top: 12px;
- padding-right: 12px;
-}
-
-#sideMenu .sideMenuPart {
- padding-left: 1em;
+ padding-top: 16px;
+ position: relative;
+ overflow: auto;
}
#sideMenu img {
@@ -50,12 +48,14 @@
}
#logo {
- padding: 5px;
- background-size: 55% 90%;
- border-bottom: 2px solid #DADFE6;
+ background-size: 125px 26px;
+ border-bottom: 1px solid #DADFE6;
background-repeat: no-repeat;
background-image: url(../images/docs_logo.svg);
- height: 6vh;
+ background-origin: content-box;
+ padding-left: 24px;
+ padding-top: 24px;
+ height: 48px;
}
.monospace,
@@ -63,31 +63,76 @@
font-family: monospace;
}
+.overview > .navButton {
+ width: 100%;
+ height: 100%;
+ align-items: center;
+ display: flex;
+ justify-content: flex-end;
+ padding-right: 24px;
+}
+
.strikethrough {
text-decoration: line-through;
}
.symbol:empty {
- padding: 0px;
+ padding: 0;
}
+
.symbol {
- padding: 5px;
background-color: #F4F4F4;
+ align-items: center;
+ display: flex;
+ padding: 8px 16px;
+ box-sizing: border-box;
+ font-weight: bold;
+ white-space: pre;
+}
+
+#nav-submenu > .sideMenuPart {
+ padding-left: 0; /* packages are same level as modules */
}
.sideMenuPart > .overview {
+ height: 40px;
width: 100%;
- display: inline-flex;
+ display: flex;
+ align-items: center;
+ position: relative;
+ user-select: none; /* there's a weird bug with text selection */
}
-.overview > .navButton {
- width: 100%;
- display: inline-flex;
- justify-content: flex-end;
+.sideMenuPart a {
+ display: flex;
+ align-items: center;
+ flex: 1;
+ height: 100%;
+ color: #637282;
}
-.sideMenuPart > .overview:hover {
- background-color: rgba(91, 93, 239, 0.15);
+.sideMenuPart > .overview:before {
+ box-sizing: border-box;
+ content: '';
+ top: 0;
+ width: 200%;
+ right: 0;
+ bottom: 0;
+ position: absolute;
+ z-index: -1;
+}
+
+.overview:hover:before {
+ background-color: #DADFE5;
+}
+
+#nav-submenu {
+ padding-left: 24px;
+}
+
+.sideMenuPart {
+ padding-left: 12px;
+ box-sizing: border-box;
}
.sideMenuPart .hidden > .overview .navButtonContent::before {
@@ -121,7 +166,7 @@ body, table {
font: 14px/1.5 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
background: #F4F4F4;
font-weight: 300;
- margin-right: auto;
+ margin: 0;
max-width: 1440px;
}
@@ -134,6 +179,7 @@ table {
tbody > tr {
border-bottom: 2px solid #F4F4F4;
+ min-height: 56px;
}
td:first-child {
@@ -149,6 +195,12 @@ td:first-child {
.symbol {
font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
font-size: 12px;
+ min-height: 43px;
+}
+
+.symbol > a {
+ color: #5B5DEF;
+ text-decoration: underline;
}
.identifier {
@@ -195,8 +247,8 @@ a {
}
a:hover {
- color: inherit;
- text-decoration: underline;
+ color: #282E34;
+ text-decoration: none;
}
a small {
@@ -343,41 +395,41 @@ footer {
}
.platform-tag {
- text-indent: 100%;
- white-space: nowrap;
- overflow: hidden;
- width: 10px;
- height: 10px;
- max-width: 10px;
- max-height: 10px;
- border-radius: 8px;
- transition: width 1s, height 1s;
- margin-left: 14px;
- margin-top: auto;
- margin-bottom: auto;
- font-family: Inter, Arial, sans-serif;
- font-size: 12px;
- font-weight: 400;
- font-style: normal;
- font-stretch: normal;
- line-height: normal;
- letter-spacing: normal;
- text-align: center;
- color: #fff
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
}
.platform-tagged:hover .platform-tag,
-.platform-tagged:hover>.platform-tag {
- text-indent: 0;
- white-space: nowrap;
- padding: 0 7px;
- border-radius: 9px;
- margin-left: 8px;
- width: auto;
- height: 15px;
- max-width: 500px;
- max-height: 500px;
- transition: max-width 1s, max-height 1s
+.platform-tagged:hover > .platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
}
.platform-tagged {
@@ -416,9 +468,23 @@ tr.platform-tagged {
color: white;
}
-.platform-tagged > .content {
- display: block;
- flex: auto;
+td.content {
+ padding-left: 24px;
+ padding-top: 16px;
+ display: flex;
+ flex-direction: column;
+}
+
+.content > a {
+ text-decoration: none;
+ font-style: normal;
+ font-weight: 600;
+ font-size: 14px;
+ color: #282E34;
+}
+
+.content > a:hover {
+ color: #5B5DEF;
}
@media print, screen and (max-width: 960px) {