Skip to content

Commit e8caef6

Browse files
committed
ScadaDoc: update for iOS
1 parent fc1bfa8 commit e8caef6

File tree

13 files changed

+71
-29
lines changed

13 files changed

+71
-29
lines changed

ScadaDoc/ScadaDoc/ScadaDoc.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@
197197
<Content Include="content\ru\software-overview\applications\webstation-application.html" />
198198
<Content Include="content\ru\use-cases\modbus-protocol.html" />
199199
<Content Include="content\ru\version-history\scada-history.html" />
200-
<Content Include="css\index.css">
201-
<DependentUpon>index.less</DependentUpon>
200+
<Content Include="css\cover.css">
201+
<DependentUpon>cover.less</DependentUpon>
202202
</Content>
203-
<Content Include="css\index.min.css">
204-
<DependentUpon>index.css</DependentUpon>
203+
<Content Include="css\cover.min.css">
204+
<DependentUpon>cover.css</DependentUpon>
205205
</Content>
206206
<Content Include="css\scadadoc.css">
207207
<DependentUpon>scadadoc.less</DependentUpon>
@@ -231,7 +231,7 @@
231231
<Content Include="css\common.less" />
232232
<Content Include="css\contents.less" />
233233
<Content Include="css\search.less" />
234-
<Content Include="css\index.less" />
234+
<Content Include="css\cover.less" />
235235
<None Include="Web.Debug.config">
236236
<DependentUpon>Web.config</DependentUpon>
237237
</None>

ScadaDoc/ScadaDoc/compilerconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"inputFile": "css/scadadoc.less"
55
},
66
{
7-
"outputFile": "css/index.css",
8-
"inputFile": "css/index.less"
7+
"outputFile": "css/cover.css",
8+
"inputFile": "css/cover.less"
99
}
1010
]

ScadaDoc/ScadaDoc/content/en/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>Rapid SCADA Documentation</title>
55
<meta charset="utf-8" />
66
<link href="../../css/scadadoc.min.css" rel="stylesheet" type="text/css" />
7-
<link href="../../css/index.min.css" rel="stylesheet" type="text/css" />
7+
<link href="../../css/cover.min.css" rel="stylesheet" type="text/css" />
88
<script type="text/javascript" src="../../js/jquery.min.js"></script>
99
<script type="text/javascript" src="../../js/scadadoc.js"></script>
1010
</head>

ScadaDoc/ScadaDoc/content/ru/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>Документация Rapid SCADA</title>
55
<meta charset="utf-8" />
66
<link href="../../css/scadadoc.min.css" rel="stylesheet" type="text/css" />
7-
<link href="../../css/index.min.css" rel="stylesheet" type="text/css" />
7+
<link href="../../css/cover.min.css" rel="stylesheet" type="text/css" />
88
<script type="text/javascript" src="../../js/jquery.min.js"></script>
99
<script type="text/javascript" src="../../js/scadadoc.js"></script>
1010
</head>

ScadaDoc/ScadaDoc/css/article.less

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
.sd-article {
1+
.sd-article-wrapper {
22
display: inline-block;
33
margin: 0;
4-
padding: 0 20px;
54
overflow: auto;
5+
padding: 0;
6+
}
7+
8+
.sd-article {
9+
margin: 0;
10+
padding: 0 20px;
611
}
712

813
.sd-article-meta {

ScadaDoc/ScadaDoc/css/contents.less

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
1-
.sd-contents {
1+
.sd-contents-wrapper {
22
border-right: 5px solid #ddd;
33
display: inline-block;
4-
font-size: 13px;
54
margin: 0;
65
min-width: 200px;
7-
padding: 10px;
86
overflow: auto;
7+
padding: 0;
98
width: 25%;
109
}
1110

11+
.sd-contents {
12+
font-size: 13px;
13+
margin: 0;
14+
padding: 10px;
15+
}
16+
1217
.sd-contents-item {
1318
margin: 7px 0;
1419
}

ScadaDoc/ScadaDoc/css/index.css renamed to ScadaDoc/ScadaDoc/css/cover.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@
99
left: 50%;
1010
transform: translate(-50%, -50%);
1111
text-align: center;
12+
}
13+
.sd-article {
14+
height: 100%;
1215
}

ScadaDoc/ScadaDoc/css/index.less renamed to ScadaDoc/ScadaDoc/css/cover.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@
1010
left: 50%;
1111
transform: translate(-50%, -50%);
1212
text-align: center;
13+
}
14+
15+
.sd-article {
16+
height: 100%;
1317
}

ScadaDoc/ScadaDoc/css/index.min.css renamed to ScadaDoc/ScadaDoc/css/cover.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ScadaDoc/ScadaDoc/css/scadadoc.css

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,20 @@ a:hover {
4444
color: #0074a2;
4545
text-decoration: underline;
4646
}
47-
.sd-contents {
47+
.sd-contents-wrapper {
4848
border-right: 5px solid #ddd;
4949
display: inline-block;
50-
font-size: 13px;
5150
margin: 0;
5251
min-width: 200px;
53-
padding: 10px;
5452
overflow: auto;
53+
padding: 0;
5554
width: 25%;
5655
}
56+
.sd-contents {
57+
font-size: 13px;
58+
margin: 0;
59+
padding: 10px;
60+
}
5761
.sd-contents-item {
5862
margin: 7px 0;
5963
}
@@ -69,11 +73,15 @@ a:hover {
6973
.sd-contents-item.selected {
7074
font-weight: bold;
7175
}
72-
.sd-article {
76+
.sd-article-wrapper {
7377
display: inline-block;
7478
margin: 0;
75-
padding: 0 20px;
7679
overflow: auto;
80+
padding: 0;
81+
}
82+
.sd-article {
83+
margin: 0;
84+
padding: 0 20px;
7785
}
7886
.sd-article-meta {
7987
font-size: 12px;

0 commit comments

Comments
 (0)