From a8e5b94f8e95138dbfa913b74a4d2d65fd5993c1 Mon Sep 17 00:00:00 2001 From: Filip ZybaƂa Date: Fri, 27 Mar 2020 09:57:30 +0100 Subject: Adjusted CSS, added animation. Adjusted table rendering to make it more aesthetic. Generated new expect test outputs. --- .../out/html/root/-fancy/-init-.html | 9 ++- .../out/html/root/-fancy/equals.html | 9 ++- .../out/html/root/-fancy/hash-code.html | 9 ++- .../out/html/root/-fancy/index.html | 35 ++++++--- .../out/html/root/-fancy/to-string.html | 9 ++- .../out/html/root/function.html | 9 ++- .../out/html/root/index.html | 25 +++++-- .../out/html/styles/style.css | 82 ++++++++++++++++++++++ 8 files changed, 159 insertions(+), 28 deletions(-) (limited to 'plugins/base/src/test/resources/expect/functionWithAnnotatedParam') diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/-init-.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/-init-.html index 51e4544a..014669d9 100644 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/-init-.html +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/-init-.html @@ -17,8 +17,13 @@
//root//Fancy/<init> -

<init>

-
final fun <init>()
+
+
JVM
+
+

<init>

+
final fun <init>()
+
+ diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/equals.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/equals.html index 3047ead0..ca933941 100644 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/equals.html +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/equals.html @@ -17,8 +17,13 @@
//root//Fancy/equals -

equals

-
open fun equals(other: Any): Boolean
+
+
JVM
+
+

equals

+
open fun equals(other: Any): Boolean
+
+ diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/hash-code.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/hash-code.html index aae30759..a8658fb9 100644 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/hash-code.html +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/hash-code.html @@ -17,8 +17,13 @@
//root//Fancy/hashCode -

hashCode

-
open fun hashCode(): Int
+
+
JVM
+
+

hashCode

+
open fun hashCode(): Int
+
+ diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/index.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/index.html index 5c51a927..a0dcff00 100644 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/index.html +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/index.html @@ -17,29 +17,42 @@
//root//Fancy -

Fancy

-
annotation class Fancy

+
+
JVM
+
+

Fancy

+
annotation class Fancy
+

Functions

- - - + + + - - - + + + - - - + + +
equals
open fun equals(other: Any): Boolean
+
equals
open fun equals(other: Any): Boolean
+
JVM
+
hashCode
open fun hashCode(): Int
+
hashCode
open fun hashCode(): Int
+
JVM
+
toString
open fun toString(): String
+
toString
open fun toString(): String
+
JVM
+
diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/to-string.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/to-string.html index 89cc4ecc..6bc83cc3 100644 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/to-string.html +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/to-string.html @@ -17,8 +17,13 @@
//root//Fancy/toString -

toString

-
open fun toString(): String
+
+
JVM
+
+

toString

+
open fun toString(): String
+
+ diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/function.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/function.html index ad03758d..a6980172 100644 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/function.html +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/function.html @@ -17,8 +17,13 @@
//root//function -

function

-
final fun function(notInlined:
() -> Unit
)
+
+
JVM
+
+

function

+
final fun function(notInlined:
() -> Unit
)
+
+ diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/index.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/index.html index 88bff912..c23b04d0 100644 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/index.html @@ -17,16 +17,24 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Types

- - - + + +
Fancy
annotation class Fancy
+
Fancy
annotation class Fancy
+
JVM
+
@@ -34,11 +42,14 @@ - - - + + +
function
final fun function(notInlined:
() -> Unit
)
+
function
final fun function(notInlined:
() -> Unit
)
+
JVM
+
diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/styles/style.css b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/styles/style.css index 063a9502..1cab694a 100644 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/styles/style.css +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/styles/style.css @@ -73,6 +73,9 @@ text-decoration: line-through; } +.symbol:empty { + padding: 0px; +} .symbol { padding: 5px; background-color: #F4F4F4; @@ -345,6 +348,85 @@ footer { bottom: 50px; } +.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 +} + +.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 { + flex: auto; + display: flex; + flex-direction: row-reverse; + padding: 0px; + min-width: 230px; +} + +tr.platform-tagged { + flex-direction: row; +} + +.platform-tagged > .platform-tag { + align-self: center; +} + +.platform-tag.jvm { + background-color: crimson; + color: white; +} + +.platform-tag.js { + background-color: orange; + color: white; +} + +.platform-tag.native { + background-color: blue; + color: white; +} + +.platform-tag.common { + background-color: gray; + color: white; +} + +.platform-tagged > .content { + display: block; + flex: auto; +} + @media print, screen and (max-width: 960px) { div.wrapper { -- cgit