Skip to content

Commit 581138d

Browse files
committed
Works with style of manuals
1 parent 07a7723 commit 581138d

File tree

5 files changed

+20
-24
lines changed

5 files changed

+20
-24
lines changed

res/doc/css/style.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@ img.plugin {
116116
width: auto;
117117
float: left;
118118
margin: 0 25px 10px 0;
119-
border: 2px solid #1b1c22;
119+
border: 2px solid #373944;
120120
}
121121

122122
img.border {
123-
border: 2px solid #1b1c22;
123+
border: 2px solid #373944;
124124
}
125125

126126
pre {
@@ -228,9 +228,10 @@ a img:hover {
228228
.header-box {
229229
background: url(../img/header.png) #25272e no-repeat top left;
230230
background-size: cover;
231-
height: 192px;
232-
/*border-bottom: 6px #1b1c22 solid;*/
233-
margin-bottom: 6px;
231+
height: 244px;
232+
border-top: 6px #101114 solid;
233+
border-bottom: 6px #101114 solid;
234+
/* margin-bottom: 6px; */
234235
position: relative;
235236
}
236237

@@ -512,6 +513,7 @@ a img:hover {
512513
background-size: contain;
513514
display: block !important;
514515
margin: 8px 8px 8px 0;
516+
min-width: 335px;
515517
}
516518

517519
.m-cover {
@@ -1492,7 +1494,6 @@ tr.stroke {
14921494
}
14931495

14941496
@media only screen and (min-width : 551px) and (max-width : 710px) {
1495-
14961497
.lsp-content {
14971498
font-size: 13px;
14981499
max-width: 710px;

res/doc/img/controls/footer.png

4.54 KB
Loading

res/doc/img/controls/menu_bar.png

4.33 KB
Loading

src/doc/manuals/controls.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<li><b style="color:#8c8700"/>Olive tone</b> and <b style="color:#368ccc"/>Moderate blue</b> &ndash; for dry and wet.</li>
5454
</ul>
5555
<li>
56-
Each widget that allows to set continuous parameters has corresponding label displaying it's current value and,
56+
Each widget that allows to set continuous parameters has corresponding label displaying it's current value and,
5757
optionally, units.
5858
</li>
5959
</ul>
@@ -78,7 +78,7 @@
7878
file system.
7979
</p>
8080
<p>
81-
By default there is no file associated with plugin, so the file widget displays
81+
By default there is no file associated with plugin, so the file widget displays
8282
<b style="color: #00909e">'Click or drug to load'</b> text.
8383
</p>
8484
<br>
@@ -105,8 +105,8 @@
105105
<h2>Button</h2>
106106

107107
<p>
108-
Buttons are mostly used to turn on/turn off some binary parameter. Rarely they are also used for switching between
109-
different processing modes (See <?php plugin_ref('comp_delay_mono'); ?> plugin for example). There are two different
108+
Buttons are mostly used to turn on/turn off some binary parameter. Rarely they are also used for switching between
109+
different processing modes (See <?php plugin_ref('comp_delay_mono'); ?> plugin for example). There are two different
110110
types of buttons:
111111
</p>
112112
<ul>
@@ -203,7 +203,7 @@
203203
</ul>
204204

205205
<div class="images">
206-
<img src="<?= $CTL ?>footer.png">
206+
<img class="border" src="<?= $CTL ?>footer.png">
207207
</div>
208208

209209
<h2>Fraction</h2>
@@ -313,11 +313,11 @@
313313
</ul>
314314

315315
<div class="images">
316-
<img src="<?= $CTL ?>menu_bar.png">
316+
<img class="border" src="<?= $CTL ?>menu_bar.png">
317317
</div>
318318

319319
<p>
320-
The content of the exported/imported text file can be manually edited.
320+
The content of the exported/imported text file can be manually edited.
321321
Each parameter has detailed description. Below an example of the configuration file is present:
322322
</p>
323323
<pre>
@@ -421,17 +421,17 @@
421421
</div>
422422

423423
<h2>Label</h2>
424-
<p>Labels are widgets that display static text information.<p>
424+
<p style="text-align:center">Labels are widgets that display static text information.<p>
425425

426-
<p>Example of label widgets:</p>
427-
<div >
426+
<p style="text-align:center">Example of label widgets:</p>
427+
<div class="images">
428428
<img class="border" src="<?= $CTL ?>labels.png">
429429
</div>
430430

431431
<h2>Led</h2>
432-
<p>LEDs are used to display state of binary output parameter.<p>
433-
<p>Example of LEDs:</p>
434-
<div >
432+
<p style="text-align:center">LEDs are used to display state of binary output parameter.<p>
433+
<p style="text-align:center">Example of LEDs:</p>
434+
<div class="images">
435435
<img class="border" src="<?= $CTL ?>leds.png">
436436
</div>
437437

src/doc/manuals/menu.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@
99
<div class="m-cover"></div>
1010
<div class="menu">
1111
<ul class="menu-ul" style="display: table !important;">
12-
<?php if (isset($MENUITEM)) {?>
13-
<li class="sel menu-li manuals_class"><?php echo htmlspecialchars($HEADER); ?></li>
1412
<li class="sel menu-li home_class"><a href="<?= $DOCROOT ?>index.html">Home</a></li>
15-
<?php } else {?>
16-
<li class="sel menu-li home_class">Home</li>
17-
<?php }?>
1813
</ul>
1914
</div>
2015
</div>

0 commit comments

Comments
 (0)