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. --- .../expect/signatureTest/out/html/root/index.html | 7 +- .../out/html/root/signatureTest/index.html | 25 +++++-- .../out/html/root/signatureTest/test.html | 9 ++- .../out/html/root/signatureTest/test2.html | 9 ++- .../expect/signatureTest/out/html/styles/style.css | 82 ++++++++++++++++++++++ 5 files changed, 119 insertions(+), 13 deletions(-) (limited to 'plugins/base/src/test/resources/expect/signatureTest/out') diff --git a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/index.html b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/index.html index 336c1700..98f07d76 100644 --- a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/index.html @@ -22,8 +22,11 @@ - - + + +
signatureTest
signatureTest +
JVM
+
diff --git a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/index.html b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/index.html index 851f13f0..8b97b539 100644 --- a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/index.html +++ b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/index.html @@ -17,22 +17,33 @@
//root/signatureTest -

Package signatureTest

+
+
JVM
+
+

Package signatureTest

+
+

Functions

- - - + + + - - - + + +
test
final fun test(i:
(Int) -> Int
)
+
test
final fun test(i:
(Int) -> Int
)
+
JVM
+
test2
final fun test2(i:
Int.(Int) -> Int
)
+
test2
final fun test2(i:
Int.(Int) -> Int
)
+
JVM
+
diff --git a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test.html b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test.html index 353c5232..1c82aaf5 100644 --- a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test.html +++ b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test.html @@ -17,8 +17,13 @@
//root/signatureTest/test -

test

-
final fun test(i:
(Int) -> Int
)
+
+
JVM
+
+

test

+
final fun test(i:
(Int) -> Int
)
+
+ diff --git a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test2.html b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test2.html index 0b8c6dd4..5180d08e 100644 --- a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test2.html +++ b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test2.html @@ -17,8 +17,13 @@
//root/signatureTest/test2 -

test2

-
final fun test2(i:
Int.(Int) -> Int
)
+
+
JVM
+
+

test2

+
final fun test2(i:
Int.(Int) -> Int
)
+
+ diff --git a/plugins/base/src/test/resources/expect/signatureTest/out/html/styles/style.css b/plugins/base/src/test/resources/expect/signatureTest/out/html/styles/style.css index 063a9502..1cab694a 100644 --- a/plugins/base/src/test/resources/expect/signatureTest/out/html/styles/style.css +++ b/plugins/base/src/test/resources/expect/signatureTest/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