From a8041e45f8e1fb7094ea43bc56cff237bdf30081 Mon Sep 17 00:00:00 2001 From: Marcus Weseloh Date: Mon, 2 Nov 2020 18:26:21 +0100 Subject: [PATCH] Updated XSL / styling for fluidsettings.xml --- doc/fluidsettings.xsl | 486 ++++++++++++++++++++++++------------------ 1 file changed, 283 insertions(+), 203 deletions(-) diff --git a/doc/fluidsettings.xsl b/doc/fluidsettings.xsl index 1c6b3966..4e6157ee 100644 --- a/doc/fluidsettings.xsl +++ b/doc/fluidsettings.xsl @@ -1,216 +1,296 @@ - - - - - - FluidSettings - - -

FluidSettings

- - - - - - - - - - - - - - - deprecated - - - - - - - - - - - - - - - - - - - deprecated - - - - - - - - - - - - - - - - - - deprecated - - - - - - - - - - - - - - - - - - - deprecated - - - - - - - - - - - - - -
- - - - . - - Type - - - int (bool) - - - - - -
Default - -
- - - Values - - - Values - - - Min - - - Max - - - - - - - - - 1, 0 - - - - - - - - -
Description - - - -

- DEPRECATED

- -
-
-
- - -
+#sidebar h1 { + padding-top: 1em; + margin: 0; + padding-left: 5%; +} + +#sidebar h2 { + padding-left: 5%; + margin-top: 1.5em; + margin-bottom: 0.5em; + color: lightblue; +} + +#sidebar ul, +#sidebar ul li +{ + list-style: none; + margin: 0; + padding: 0; +} + +#sidebar li a { + text-decoration: none; +} + +.deprecated-badge { + margin-left: 0.5em; + font-size: 80%; + font-weight: bold; + color: red; +} + +#main { + margin-left: 25em; + padding: 1em 2em; + box-sizing: border-box; + max-width: 60em; + background: white; + color: #333; +} + +#main h2 { + margin-top: 2em; +} + +#main h2:first-child { + margin-top: 1em; +} + +.setting { + padding: 0; + margin: 1em 0; + border-left: 1px solid #eee; + border-radius: 5px 0px 0px 0px; +} + +@-webkit-keyframes flash-header { + from { background: lightblue; } + 50% { background: #eee; } + to { background: lightblue; } +} + +@keyframes flash-header { + from { background: lightblue; } + 50% { background: #eee; } + to { background: lightblue; } +} + +.setting:target .setting-header { + background: lightblue; + -webkit-animation: flash-header .5s 2 linear; + animation: flash-header .5s 2 linear; +} + +.setting-header { + background: #eee; + border-radius: 5px 0px 0px 0px; + padding: 0.5em 1em; + position: relative; +} + +.setting-body { + padding: 1em; +} + +.setting-name { + font-weight: bold; + display: inline; + color: #333; +} + +.setting-type { + color: #666; + font-weight: bold; + float: right; +} + +.setting-attribute { + margin-bottom: 0.8em; + color: #666; +} + +.setting-attribute .label { + display: inline-block; + vertical-align: top; + min-width: 6em; +} + +.setting-attribute .value { + display: inline-block; + color: #333; +} + +.setting-deprecated { + color: red; +} + +.setting-description { + color: black; + margin-top: 1.5em; +} + +a { + color: darkblue; +} + + FluidSynth Settings + + + + +
+ + + +

+ + + +
+ + + + +
+
+ . +
+ +
+
+
+ +
+ +
+
Type:
+
+ + + Boolean (int) + + + Integer (int) + + + + + Selection (str) + + + String (str) + + + + + Float (num) + + + + + +
+
+ + + +
+
Choices:
+
+
+
+ +
+
Values:
+
0, 1
+
+
+ +
+
Min - Max:
+
+ + - + +
+
+
+
+ +
+
Default:
+
+
+ + +
+ This setting is deprecated and might be removed in a future version of FluidSynth. +
+
+ +
+ +
+
+
+
+
+
+ + +
-