Skip to content

Commit 1291c99

Browse files
Adjusted parameters
1 parent fc744bb commit 1291c99

File tree

4 files changed

+31
-42
lines changed

4 files changed

+31
-42
lines changed

bin/themes/default/assets/css/main.css

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ table { border-collapse: collapse; border-spacing: 0; }
183183

184184
.xml .hljs-attribute { color: red; }
185185

186-
.col > :first-child, .col-1 > :first-child, .col-2 > :first-child, .col-3 > :first-child, .col-4 > :first-child, .col-5 > :first-child, .col-6 > :first-child, .col-7 > :first-child, .col-8 > :first-child, .col-9 > :first-child, .col-10 > :first-child, .col-11 > :first-child, .tsd-panel > :first-child, .tsd-descriptions li > :first-child, .col > :first-child > :first-child, .col-1 > :first-child > :first-child, .col-2 > :first-child > :first-child, .col-3 > :first-child > :first-child, .col-4 > :first-child > :first-child, .col-5 > :first-child > :first-child, .col-6 > :first-child > :first-child, .col-7 > :first-child > :first-child, .col-8 > :first-child > :first-child, .col-9 > :first-child > :first-child, .col-10 > :first-child > :first-child, .col-11 > :first-child > :first-child, .tsd-panel > :first-child > :first-child, .tsd-descriptions li > :first-child > :first-child, .col > :first-child > :first-child > :first-child, .col-1 > :first-child > :first-child > :first-child, .col-2 > :first-child > :first-child > :first-child, .col-3 > :first-child > :first-child > :first-child, .col-4 > :first-child > :first-child > :first-child, .col-5 > :first-child > :first-child > :first-child, .col-6 > :first-child > :first-child > :first-child, .col-7 > :first-child > :first-child > :first-child, .col-8 > :first-child > :first-child > :first-child, .col-9 > :first-child > :first-child > :first-child, .col-10 > :first-child > :first-child > :first-child, .col-11 > :first-child > :first-child > :first-child, .tsd-panel > :first-child > :first-child > :first-child, .tsd-descriptions li > :first-child > :first-child > :first-child { margin-top: 0; }
187-
.col > :last-child, .col-1 > :last-child, .col-2 > :last-child, .col-3 > :last-child, .col-4 > :last-child, .col-5 > :last-child, .col-6 > :last-child, .col-7 > :last-child, .col-8 > :last-child, .col-9 > :last-child, .col-10 > :last-child, .col-11 > :last-child, .tsd-panel > :last-child, .tsd-descriptions li > :last-child, .col > :last-child > :last-child, .col-1 > :last-child > :last-child, .col-2 > :last-child > :last-child, .col-3 > :last-child > :last-child, .col-4 > :last-child > :last-child, .col-5 > :last-child > :last-child, .col-6 > :last-child > :last-child, .col-7 > :last-child > :last-child, .col-8 > :last-child > :last-child, .col-9 > :last-child > :last-child, .col-10 > :last-child > :last-child, .col-11 > :last-child > :last-child, .tsd-panel > :last-child > :last-child, .tsd-descriptions li > :last-child > :last-child, .col > :last-child > :last-child > :last-child, .col-1 > :last-child > :last-child > :last-child, .col-2 > :last-child > :last-child > :last-child, .col-3 > :last-child > :last-child > :last-child, .col-4 > :last-child > :last-child > :last-child, .col-5 > :last-child > :last-child > :last-child, .col-6 > :last-child > :last-child > :last-child, .col-7 > :last-child > :last-child > :last-child, .col-8 > :last-child > :last-child > :last-child, .col-9 > :last-child > :last-child > :last-child, .col-10 > :last-child > :last-child > :last-child, .col-11 > :last-child > :last-child > :last-child, .tsd-panel > :last-child > :last-child > :last-child, .tsd-descriptions li > :last-child > :last-child > :last-child { margin-bottom: 0; }
186+
.col > :first-child, .col-1 > :first-child, .col-2 > :first-child, .col-3 > :first-child, .col-4 > :first-child, .col-5 > :first-child, .col-6 > :first-child, .col-7 > :first-child, .col-8 > :first-child, .col-9 > :first-child, .col-10 > :first-child, .col-11 > :first-child, .tsd-panel > :first-child, .tsd-descriptions > li > :first-child, .col > :first-child > :first-child, .col-1 > :first-child > :first-child, .col-2 > :first-child > :first-child, .col-3 > :first-child > :first-child, .col-4 > :first-child > :first-child, .col-5 > :first-child > :first-child, .col-6 > :first-child > :first-child, .col-7 > :first-child > :first-child, .col-8 > :first-child > :first-child, .col-9 > :first-child > :first-child, .col-10 > :first-child > :first-child, .col-11 > :first-child > :first-child, .tsd-panel > :first-child > :first-child, .tsd-descriptions > li > :first-child > :first-child, .col > :first-child > :first-child > :first-child, .col-1 > :first-child > :first-child > :first-child, .col-2 > :first-child > :first-child > :first-child, .col-3 > :first-child > :first-child > :first-child, .col-4 > :first-child > :first-child > :first-child, .col-5 > :first-child > :first-child > :first-child, .col-6 > :first-child > :first-child > :first-child, .col-7 > :first-child > :first-child > :first-child, .col-8 > :first-child > :first-child > :first-child, .col-9 > :first-child > :first-child > :first-child, .col-10 > :first-child > :first-child > :first-child, .col-11 > :first-child > :first-child > :first-child, .tsd-panel > :first-child > :first-child > :first-child, .tsd-descriptions > li > :first-child > :first-child > :first-child { margin-top: 0; }
187+
.col > :last-child, .col-1 > :last-child, .col-2 > :last-child, .col-3 > :last-child, .col-4 > :last-child, .col-5 > :last-child, .col-6 > :last-child, .col-7 > :last-child, .col-8 > :last-child, .col-9 > :last-child, .col-10 > :last-child, .col-11 > :last-child, .tsd-panel > :last-child, .tsd-descriptions > li > :last-child, .col > :last-child > :last-child, .col-1 > :last-child > :last-child, .col-2 > :last-child > :last-child, .col-3 > :last-child > :last-child, .col-4 > :last-child > :last-child, .col-5 > :last-child > :last-child, .col-6 > :last-child > :last-child, .col-7 > :last-child > :last-child, .col-8 > :last-child > :last-child, .col-9 > :last-child > :last-child, .col-10 > :last-child > :last-child, .col-11 > :last-child > :last-child, .tsd-panel > :last-child > :last-child, .tsd-descriptions > li > :last-child > :last-child, .col > :last-child > :last-child > :last-child, .col-1 > :last-child > :last-child > :last-child, .col-2 > :last-child > :last-child > :last-child, .col-3 > :last-child > :last-child > :last-child, .col-4 > :last-child > :last-child > :last-child, .col-5 > :last-child > :last-child > :last-child, .col-6 > :last-child > :last-child > :last-child, .col-7 > :last-child > :last-child > :last-child, .col-8 > :last-child > :last-child > :last-child, .col-9 > :last-child > :last-child > :last-child, .col-10 > :last-child > :last-child > :last-child, .col-11 > :last-child > :last-child > :last-child, .tsd-panel > :last-child > :last-child > :last-child, .tsd-descriptions > li > :last-child > :last-child > :last-child { margin-bottom: 0; }
188188

189189
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
190190
@media (max-width: 640px) { .container { padding: 0 20px; } }
@@ -670,16 +670,15 @@ footer .tsd-legend { display: inline-block; width: 25%; padding: 0; font-size: 1
670670
.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon:before { left: 20px; }
671671
.tsd-panel > a.anchor + .tsd-signatures { border-top-width: 0; margin-top: -20px; }
672672

673-
.tsd-descriptions { position: relative; overflow: hidden; margin: 0 -20px; padding: 0 20px; -webkit-transition: height 0.3s; transition: height 0.3s; list-style: none; }
673+
.tsd-descriptions { position: relative; overflow: hidden; -webkit-transition: height 0.3s; transition: height 0.3s; padding: 0; list-style: none; }
674674
.tsd-descriptions.active > .tsd-description { display: none; }
675675
.tsd-descriptions.active > .tsd-description.current { display: block; }
676676
.tsd-descriptions.active > .tsd-description.fade-in { -webkit-animation: fade-in-delayed 0.3s; animation: fade-in-delayed 0.3s; }
677-
.tsd-descriptions.active > .tsd-description.fade-out { -webkit-animation: fade-out-delayed 0.3s; animation: fade-out-delayed 0.3s; position: absolute; display: block; top: 0; left: 20px; right: 20px; opacity: 0; visibility: hidden; }
678-
.tsd-descriptions .tsd-parameters-title, .tsd-descriptions .tsd-returns-title { margin-left: -20px; margin-right: -20px; padding: 0 20px; padding-top: 10px; border-top: 1px solid #eeeeee; }
679-
.tsd-descriptions .tsd-returns-title { margin-bottom: -0.5em; }
680-
.tsd-descriptions .tsd-parameters { list-style: none; padding-left: 20px; }
681-
.tsd-descriptions .tsd-parameters > li > h5 { font-size: 16px; margin: 1em 0 0 0; text-indent: -20px; }
682-
.tsd-descriptions .tsd-parameters > li > .tsd-comment { margin-top: -0.5em; }
677+
.tsd-descriptions.active > .tsd-description.fade-out { -webkit-animation: fade-out-delayed 0.3s; animation: fade-out-delayed 0.3s; position: absolute; display: block; top: 0; left: 0; right: 0; opacity: 0; visibility: hidden; }
678+
.tsd-descriptions h4, .tsd-descriptions .tsd-index-panel h3, .tsd-index-panel .tsd-descriptions h3 { font-size: 16px; margin: 1em 0 0.5em 0; }
679+
.tsd-descriptions h5 { font-size: 16px; margin: 1em 0 0.5em 0; }
680+
.tsd-descriptions .tsd-parameters { list-style: square; margin: 0; padding-left: 20px; }
681+
.tsd-descriptions .tsd-parameters .tsd-comment { margin-top: -0.5em; }
683682

684683
.tsd-sources { font-size: 14px; color: gray; margin: 0 0 1em 0; }
685684
.tsd-sources a { color: gray; text-decoration: underline; }

bin/themes/default/partials/parameter.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ul>
1+
<ul class="tsd-parameters">
22
{{#each children}}
33
<li>
44
{{#if signatures}}

bin/themes/minimal/layouts/default.hbs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ table { border-collapse: collapse; border-spacing: 0; }
191191
192192
.xml .hljs-attribute { color: red; }
193193
194-
.col > :first-child, .col-1 > :first-child, .col-2 > :first-child, .col-3 > :first-child, .col-4 > :first-child, .col-5 > :first-child, .col-6 > :first-child, .col-7 > :first-child, .col-8 > :first-child, .col-9 > :first-child, .col-10 > :first-child, .col-11 > :first-child, .tsd-panel > :first-child, .tsd-descriptions li > :first-child, .col > :first-child > :first-child, .col-1 > :first-child > :first-child, .col-2 > :first-child > :first-child, .col-3 > :first-child > :first-child, .col-4 > :first-child > :first-child, .col-5 > :first-child > :first-child, .col-6 > :first-child > :first-child, .col-7 > :first-child > :first-child, .col-8 > :first-child > :first-child, .col-9 > :first-child > :first-child, .col-10 > :first-child > :first-child, .col-11 > :first-child > :first-child, .tsd-panel > :first-child > :first-child, .tsd-descriptions li > :first-child > :first-child, .col > :first-child > :first-child > :first-child, .col-1 > :first-child > :first-child > :first-child, .col-2 > :first-child > :first-child > :first-child, .col-3 > :first-child > :first-child > :first-child, .col-4 > :first-child > :first-child > :first-child, .col-5 > :first-child > :first-child > :first-child, .col-6 > :first-child > :first-child > :first-child, .col-7 > :first-child > :first-child > :first-child, .col-8 > :first-child > :first-child > :first-child, .col-9 > :first-child > :first-child > :first-child, .col-10 > :first-child > :first-child > :first-child, .col-11 > :first-child > :first-child > :first-child, .tsd-panel > :first-child > :first-child > :first-child, .tsd-descriptions li > :first-child > :first-child > :first-child { margin-top: 0; }
195-
.col > :last-child, .col-1 > :last-child, .col-2 > :last-child, .col-3 > :last-child, .col-4 > :last-child, .col-5 > :last-child, .col-6 > :last-child, .col-7 > :last-child, .col-8 > :last-child, .col-9 > :last-child, .col-10 > :last-child, .col-11 > :last-child, .tsd-panel > :last-child, .tsd-descriptions li > :last-child, .col > :last-child > :last-child, .col-1 > :last-child > :last-child, .col-2 > :last-child > :last-child, .col-3 > :last-child > :last-child, .col-4 > :last-child > :last-child, .col-5 > :last-child > :last-child, .col-6 > :last-child > :last-child, .col-7 > :last-child > :last-child, .col-8 > :last-child > :last-child, .col-9 > :last-child > :last-child, .col-10 > :last-child > :last-child, .col-11 > :last-child > :last-child, .tsd-panel > :last-child > :last-child, .tsd-descriptions li > :last-child > :last-child, .col > :last-child > :last-child > :last-child, .col-1 > :last-child > :last-child > :last-child, .col-2 > :last-child > :last-child > :last-child, .col-3 > :last-child > :last-child > :last-child, .col-4 > :last-child > :last-child > :last-child, .col-5 > :last-child > :last-child > :last-child, .col-6 > :last-child > :last-child > :last-child, .col-7 > :last-child > :last-child > :last-child, .col-8 > :last-child > :last-child > :last-child, .col-9 > :last-child > :last-child > :last-child, .col-10 > :last-child > :last-child > :last-child, .col-11 > :last-child > :last-child > :last-child, .tsd-panel > :last-child > :last-child > :last-child, .tsd-descriptions li > :last-child > :last-child > :last-child { margin-bottom: 0; }
194+
.col > :first-child, .col-1 > :first-child, .col-2 > :first-child, .col-3 > :first-child, .col-4 > :first-child, .col-5 > :first-child, .col-6 > :first-child, .col-7 > :first-child, .col-8 > :first-child, .col-9 > :first-child, .col-10 > :first-child, .col-11 > :first-child, .tsd-panel > :first-child, .tsd-descriptions > li > :first-child, .col > :first-child > :first-child, .col-1 > :first-child > :first-child, .col-2 > :first-child > :first-child, .col-3 > :first-child > :first-child, .col-4 > :first-child > :first-child, .col-5 > :first-child > :first-child, .col-6 > :first-child > :first-child, .col-7 > :first-child > :first-child, .col-8 > :first-child > :first-child, .col-9 > :first-child > :first-child, .col-10 > :first-child > :first-child, .col-11 > :first-child > :first-child, .tsd-panel > :first-child > :first-child, .tsd-descriptions > li > :first-child > :first-child, .col > :first-child > :first-child > :first-child, .col-1 > :first-child > :first-child > :first-child, .col-2 > :first-child > :first-child > :first-child, .col-3 > :first-child > :first-child > :first-child, .col-4 > :first-child > :first-child > :first-child, .col-5 > :first-child > :first-child > :first-child, .col-6 > :first-child > :first-child > :first-child, .col-7 > :first-child > :first-child > :first-child, .col-8 > :first-child > :first-child > :first-child, .col-9 > :first-child > :first-child > :first-child, .col-10 > :first-child > :first-child > :first-child, .col-11 > :first-child > :first-child > :first-child, .tsd-panel > :first-child > :first-child > :first-child, .tsd-descriptions > li > :first-child > :first-child > :first-child { margin-top: 0; }
195+
.col > :last-child, .col-1 > :last-child, .col-2 > :last-child, .col-3 > :last-child, .col-4 > :last-child, .col-5 > :last-child, .col-6 > :last-child, .col-7 > :last-child, .col-8 > :last-child, .col-9 > :last-child, .col-10 > :last-child, .col-11 > :last-child, .tsd-panel > :last-child, .tsd-descriptions > li > :last-child, .col > :last-child > :last-child, .col-1 > :last-child > :last-child, .col-2 > :last-child > :last-child, .col-3 > :last-child > :last-child, .col-4 > :last-child > :last-child, .col-5 > :last-child > :last-child, .col-6 > :last-child > :last-child, .col-7 > :last-child > :last-child, .col-8 > :last-child > :last-child, .col-9 > :last-child > :last-child, .col-10 > :last-child > :last-child, .col-11 > :last-child > :last-child, .tsd-panel > :last-child > :last-child, .tsd-descriptions > li > :last-child > :last-child, .col > :last-child > :last-child > :last-child, .col-1 > :last-child > :last-child > :last-child, .col-2 > :last-child > :last-child > :last-child, .col-3 > :last-child > :last-child > :last-child, .col-4 > :last-child > :last-child > :last-child, .col-5 > :last-child > :last-child > :last-child, .col-6 > :last-child > :last-child > :last-child, .col-7 > :last-child > :last-child > :last-child, .col-8 > :last-child > :last-child > :last-child, .col-9 > :last-child > :last-child > :last-child, .col-10 > :last-child > :last-child > :last-child, .col-11 > :last-child > :last-child > :last-child, .tsd-panel > :last-child > :last-child > :last-child, .tsd-descriptions > li > :last-child > :last-child > :last-child { margin-bottom: 0; }
196196
197197
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
198198
@media (max-width: 640px) { .container { padding: 0 20px; } }
@@ -678,16 +678,15 @@ footer .tsd-legend { display: inline-block; width: 25%; padding: 0; font-size: 1
678678
.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon:before { left: 20px; }
679679
.tsd-panel > a.anchor + .tsd-signatures { border-top-width: 0; margin-top: -20px; }
680680
681-
.tsd-descriptions { position: relative; overflow: hidden; margin: 0 -20px; padding: 0 20px; -webkit-transition: height 0.3s; transition: height 0.3s; list-style: none; }
681+
.tsd-descriptions { position: relative; overflow: hidden; -webkit-transition: height 0.3s; transition: height 0.3s; padding: 0; list-style: none; }
682682
.tsd-descriptions.active > .tsd-description { display: none; }
683683
.tsd-descriptions.active > .tsd-description.current { display: block; }
684684
.tsd-descriptions.active > .tsd-description.fade-in { -webkit-animation: fade-in-delayed 0.3s; animation: fade-in-delayed 0.3s; }
685-
.tsd-descriptions.active > .tsd-description.fade-out { -webkit-animation: fade-out-delayed 0.3s; animation: fade-out-delayed 0.3s; position: absolute; display: block; top: 0; left: 20px; right: 20px; opacity: 0; visibility: hidden; }
686-
.tsd-descriptions .tsd-parameters-title, .tsd-descriptions .tsd-returns-title { margin-left: -20px; margin-right: -20px; padding: 0 20px; padding-top: 10px; border-top: 1px solid #eeeeee; }
687-
.tsd-descriptions .tsd-returns-title { margin-bottom: -0.5em; }
688-
.tsd-descriptions .tsd-parameters { list-style: none; padding-left: 20px; }
689-
.tsd-descriptions .tsd-parameters > li > h5 { font-size: 16px; margin: 1em 0 0 0; text-indent: -20px; }
690-
.tsd-descriptions .tsd-parameters > li > .tsd-comment { margin-top: -0.5em; }
685+
.tsd-descriptions.active > .tsd-description.fade-out { -webkit-animation: fade-out-delayed 0.3s; animation: fade-out-delayed 0.3s; position: absolute; display: block; top: 0; left: 0; right: 0; opacity: 0; visibility: hidden; }
686+
.tsd-descriptions h4, .tsd-descriptions .tsd-index-panel h3, .tsd-index-panel .tsd-descriptions h3 { font-size: 16px; margin: 1em 0 0.5em 0; }
687+
.tsd-descriptions h5 { font-size: 16px; margin: 1em 0 0.5em 0; }
688+
.tsd-descriptions .tsd-parameters { list-style: square; margin: 0; padding-left: 20px; }
689+
.tsd-descriptions .tsd-parameters .tsd-comment { margin-top: -0.5em; }
691690
692691
.tsd-sources { font-size: 14px; color: gray; margin: 0 0 1em 0; }
693692
.tsd-sources a { color: gray; text-decoration: underline; }

themes/default/assets/css/elements/_signatures.sass

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,11 @@
104104
.tsd-descriptions
105105
position: relative
106106
overflow: hidden
107-
margin: 0 -20px
108-
padding: 0 20px
109107
transition: height 0.3s
108+
padding: 0
110109
list-style: none
111110

112-
li
111+
> li
113112
@extend %prevent-children-margin
114113

115114
&.active > .tsd-description
@@ -126,31 +125,23 @@
126125
position: absolute
127126
display: block
128127
top: 0
129-
left: 20px
130-
right: 20px
128+
left: 0
129+
right: 0
131130
opacity: 0
132131
visibility: hidden
133132

134-
.tsd-parameters-title,
135-
.tsd-returns-title
136-
margin-left: -20px
137-
margin-right: -20px
138-
padding: 0 20px
139-
padding-top: 10px
140-
border-top: 1px solid $COLOR_PANEL_DIVIDER
133+
h4
134+
font-size: $FONT_SIZE
135+
margin: 1em 0 0.5em 0
141136

142-
.tsd-returns-title
143-
margin-bottom: -0.5em
137+
h5
138+
font-size: $FONT_SIZE
139+
margin: 1em 0 0.5em 0
144140

145141
.tsd-parameters
146-
list-style: none
142+
list-style: square
143+
margin: 0
147144
padding-left: 20px
148145

149-
> li
150-
> h5
151-
font-size: $FONT_SIZE
152-
margin: 1em 0 0 0
153-
text-indent: -20px
154-
155-
> .tsd-comment
156-
margin-top: -0.5em
146+
.tsd-comment
147+
margin-top: -0.5em

0 commit comments

Comments
 (0)