Skip to content

Commit

Permalink
チェンジログの追加・辞書ファイルのアップデート・縦画面のサポート
Browse files Browse the repository at this point in the history
  • Loading branch information
Robot-Inventor committed Jan 20, 2020
1 parent 3ba0e39 commit 9fd3a80
Show file tree
Hide file tree
Showing 9 changed files with 345 additions and 53 deletions.
51 changes: 51 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Change Log
All notable changes to this project will be documented in this file.

## Information
Series Name : ORIZIN Agent
Edition : ORIZIN Agent HTML Based

To read other information, check resource/information.txt.

## Versioning
The meaning of the version, "a.b.c.de-f" is shown below:

|Place|Meaning|Character Type|Minimum|
|:-----:|:-------:|:--:|:--:|
|a|Major Version|Number|0|
|b|Minor Version|Number|0|
|c|Build (Total Version)|Number|1|
|d|Revision|Number|0|
|e|Release|Alphabet (dev or nothing)|N/A|
|f|Development Code Name|Alphabet|N/A|

The meaning of the words are shown below:

|Word|Meaning|
|:-----:|:-------:|
|Major Version|Big functions were added or there are big changes in UI.|
|Minor Version|Small functions were added or there are small changes in UI.|
|Build (Total Version)|When the version was changed, this number increase.|
|Revision|There are bug fixes or changed comments in the program.|
|Release|If the program is "Develop", the value is "dev".|
|Development Code Name|Code name of the major (or minor) version.|

## Releases

### [v0.1.2.0dev-Albatross] -2020-01-21
#### Added
- 108 responses were added to dictionary.

#### Changed
- The panel layout supports vertical screens by changing panel layout and panel size.

### [v0.0.1.0dev-Albatross] -2019-12-26
#### Added
- privacy_policy.txt was added.

#### Notice
In this release, there were some changes, but the version was not changed.

### [v0.0.1.0dev-Albatross] -2019-12-25
#### Added
- All files of ORIZIN Agent HTML Based was released.
101 changes: 69 additions & 32 deletions resource/css/layout.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import url("light_theme.css");

@font-face {
font-family: "League Spartan";
src: url("../font/LeagueSpartan-Regular.ttf") format("truetype");
Expand All @@ -19,14 +20,14 @@ html, body {

header {
width: 100vw;
min-height: 5vh;
min-height: 6vh;
margin: 0;
padding: 0;
}

main {
width: 100vw;
height: 100vh;
height: 96vh;
margin: 0;
padding: 0;
}
Expand All @@ -51,43 +52,73 @@ header h1 {
display: inline:
}

.main_control_panel {
width: 100vw - 4vh;
height: 38vh;
background: var(--bg2);
border-radius: 10px;
box-shadow: 3px 3px 10px var(--bg2_shadow);
margin: 2vh;
padding: 2vh;
text-align: center;
transition: 0.3s;
@media (orientation: portrait) {
.main_control_panel {
width: calc(100vw - 8vh);
height: 32vh;
background: var(--bg2);
border-radius: 10px;
box-shadow: 3px 3px 10px var(--bg2_shadow);
margin: 2vh;
padding: 2vh;
text-align: center;
transition: 0.3s;
}
.bottom_control_panel {
width: calc(100vw - 8vh);
height: 19vh;
background: var(--bg2);
border-radius: 10px;
box-shadow: 3px 3px 10px var(--bg2_shadow);
margin: 2vh;
padding: 2vh;
text-align: center;
transition: 0.3s;
}
}

@media (orientation: landscape) {
.main_control_panel {
width: calc(100vw - 8vh);
height: 55vh;
background: var(--bg2);
border-radius: 10px;
box-shadow: 3px 3px 10px var(--bg2_shadow);
margin: 2vh;
padding: 2vh;
text-align: center;
transition: 0.3s;
}
.bottom_control_panel {
width: calc((100vw - 15vh)/2);
height: 19vh;
background: var(--bg2);
border-radius: 10px;
box-shadow: 3px 3px 10px var(--bg2_shadow);
margin: 2vh;
margin-right: 0;
padding: 2vh;
text-align: center;
transition: 0.3s;
display: inline-block;
vertical-align: top;
}
}


.main_control_panel:hover {
background: var(--bg3);
box-shadow: 10px 10px 10px var(--bg3_shadow);
}

.bottom_control_panel {
width: 100vw - 4vh;
height: 15vh;
background: var(--bg2);
border-radius: 10px;
box-shadow: 3px 3px 10px var(--bg2_shadow);
margin: 2vh;
padding: 2vh;
text-align: center;
transition: 0.3s;
}

.bottom_control_panel:hover {
background: var(--bg3);
box-shadow: 10px 10px 10px var(--bg3_shadow);
}

.fill_panel {
width: 100vw - 4vh;
height: 80vh;
width: calc(100vw - 8vh);
height: 82vh;
background: var(--bg2);
border-radius: 10px;
box-shadow: 3px 3px 10px var(--bg2_shadow);
Expand Down Expand Up @@ -136,6 +167,10 @@ header h1 {
height: 30vh;
}

pre {
white-space: pre-wrap;
}

#waiting {
width: 100%;
height: 38vh;
Expand Down Expand Up @@ -179,20 +214,22 @@ a {
text-decoration: none;
}

.button {
.button, button {
display: inline-block;
padding: 0.3em 1em;
color: var(--theme_color);
border: solid 2px var(--theme_color);
border-radius: 3px;
border-radius: 1.6em;
text-decoration: none;
margin: 10px 10px 10px 0px;
-webkit-transition: 0.3s;
-o-transition: 0.3s;
transition: 0.3s;
}

.button:hover {
.button:hover, button:hover {
background: var(--theme_color);
color: white;
}
}

.pre {
white-space: pre-wrap;
}
2 changes: 1 addition & 1 deletion resource/dictionary/dictionary.odic

Large diffs are not rendered by default.

17 changes: 1 addition & 16 deletions resource/dictionary/unknownQuestions.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1 @@
って頭いいね
なこと言ってないよね
はっきり答えてよ
そうするよ
知ってたよ
そんな残念がらなくてもいいのに
君ってクロスプラットフォーム会
ジョークも言うんだね
収集車が来たよ
何か音楽流してよ
音楽流しってことだよ
ここにテキストを入力します。
ことは何も聞いてないよ
なんか照れるぜな
照れるなんて言ってないぞ
マジ何なんだよ

73 changes: 73 additions & 0 deletions resource/html/orizin_agent_face_test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<div class="outline">
<div class="eye">
<div></div>
</div>
<div class="eye">
<div></div>
</div>
</div>
<style type="text/css">
:root {
--face_width: 90vw;
--face_color: #ff6a00;
--eye_outline_color: #ff6a00;
--eye_fill_color: #ff6a00;
}
html, body, main {
background: black;
}
.outline {
width: var(--face_width);
height: calc(var(--face_width)*21/50);
background: transparent;
border: solid calc(var(--face_width)/100) var(--face_color);
border-radius: calc(var(--face_width)*21/100);
text-align: center;
margin: 0;
padding: 0;
}
.eye {
width: calc(var(--face_width)/10);
height: calc(var(--face_width)*9/50);
background: transparent;
border: solid calc(var(--face_width)/100) var(--eye_outline_color);
border-radius: calc(var(--face_width)/10);
margin: calc(var(--face_width)*6/50);
display: inline-block;
}
.eye div {
margin: calc(var(--face_width)/50);
width: calc(var(--face_width)*3/50);
height: calc(var(--face_width)*7/50);
background: var(--eye_fill_color);
border-radius: calc(var(--face_width)*3/50);
animation: eye_blink 30s linear 5s infinite normal;
}
@keyframes eye_blink {
0% {
height: calc(var(--face_width)*7/50);
}
0.25% {
height: 0;
margin-top: calc(var(--face_width)*9/100);
}
0.5% {
height: 0;
margin-top: calc(var(--face_width)*9/100);
}
0.75% {
height: calc(var(--face_width)*7/50);
margin-top: calc(var(--face_width)/50);
}
}
.mouth {
width: 1calc(var(--face_width)/10);
height: calc(var(--face_width)*6/50);
background: transparent;
border: solid 20px #00ffff;
border-top: none;
filter: drop-shadow(0 0 10px #009999);
border-radius: 0 0 1calc(var(--face_width)/10) 1calc(var(--face_width)/10);
margin-left: calc(var(--face_width)*9/50);
}
</style>
74 changes: 74 additions & 0 deletions resource/html/orizin_agent_face_test_2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<div class="outline">
<div class="eye">
<div></div>
</div>
<div class="eye">
<div></div>
</div>
</div>
<style type="text/css">
:root {
--face_width: 90vw;
--face_color: #ff6a00;
--eye_outline_color: #ff6a00;
--eye_fill_color: #ff6a00;
--animation_time: 30s;
}
html, body, main {
background: black;
}
.outline {
width: var(--face_width);
height: calc(var(--face_width)*21/50);
background: transparent;
border: solid calc(var(--face_width)/100) var(--face_color);
border-radius: calc(var(--face_width)*21/100);
text-align: center;
margin: 0;
padding: 0;
}
.eye {
width: calc(var(--face_width)*9/50);
height: calc(var(--face_width)*9/50);
background: transparent;
border: solid calc(var(--face_width)/100) var(--eye_outline_color);
border-radius: calc(var(--face_width)/10);
margin: calc(var(--face_width)*6/50);
display: inline-block;
}
.eye div {
margin: calc(var(--face_width)/50);
width: calc(var(--face_width)*7/50);
height: calc(var(--face_width)*7/50);
background: var(--eye_fill_color);
border-radius: calc(var(--face_width)*7/50);
animation: eye_blink var(--animation_time) linear 5s infinite normal;
}
@keyframes eye_blink {
0% {
height: calc(var(--face_width)*7/50);
}
0.25% {
height: 0;
margin-top: calc(var(--face_width)*9/100);
}
0.5% {
height: 0;
margin-top: calc(var(--face_width)*9/100);
}
0.75% {
height: calc(var(--face_width)*7/50);
margin-top: calc(var(--face_width)/50);
}
}
.mouth {
width: 1calc(var(--face_width)/10);
height: calc(var(--face_width)*6/50);
background: transparent;
border: solid 20px #00ffff;
border-top: none;
filter: drop-shadow(0 0 10px #009999);
border-radius: 0 0 1calc(var(--face_width)/10) 1calc(var(--face_width)/10);
margin-left: calc(var(--face_width)*9/50);
}
</style>
4 changes: 2 additions & 2 deletions resource/html/setting.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2>設定</h2>
<option value="dark">ダークテーマ</option>
</select>
<br>
<span class="button" onclick="save_setting()">適用</span>
<button onclick="save_setting()">適用</button>
</div>
</main>
<script src="../javascript/jquery-3.4.1.min.js"></script>
Expand All @@ -34,4 +34,4 @@ <h2>設定</h2>
};
</script>
</body>
</html>
</html>
Loading

0 comments on commit 9fd3a80

Please sign in to comment.