Skip to content

Commit 5c1321b

Browse files
Added video tutorial for new feature
1 parent a19f933 commit 5c1321b

4 files changed

Lines changed: 69 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ Note: _The order of this list might not match the order these features will be a
6464

6565
#### v1.4
6666

67-
_Release date: ???????????????????????_
67+
_Release date: October 22, 2021_
6868

69-
_Work Time: 7h 15min_
69+
_Work Time: 8h_
7070

7171
-
7272

assets/vid/exp-editor.mp4

396 KB
Binary file not shown.

index.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ <h1>
1818
</h1>
1919
<img src="assets/ico/tool-logo.png" alt="AnySection" class="tool-logo">
2020
<h3>Select a profile shape</h3>
21+
<button class="new-feature">New in v1.4!</button>
22+
<div class="new-feature">
23+
<p style="font-weight: bold;">Calculate simple math with the new editor</p>
24+
<video src="assets/vid/exp-editor.mp4" autoplay loop controls></video>
25+
<ol>
26+
<li>Select any of the data inputs (blue)</li>
27+
<li>Press the "=" key</li>
28+
<li>Digit your expression</li>
29+
<li>Confirm by clicking the button or "Enter" on your keyboard</li>
30+
<li>The result will be pasted into the input field</li>
31+
</ol>
32+
</div>
2133
</div>
2234

2335
<div id="main">
@@ -39,7 +51,7 @@ <h3>Select a profile shape</h3>
3951
<close onclick="closeCredits()"><i class="fi-rr-cross"></i></close>
4052
<img src="assets/ico/tool-logo.png" alt="AnySection" height="50">
4153
<a href="https://github.com/TerribleCoding/AnySection/releases" target="_blank"
42-
style="position: relative; left: 0.5em; bottom: 12px;">v1.3</a>
54+
style="position: relative; left: 0.5em; bottom: 12px;">v1.4</a>
4355
<br>
4456
<span>This project is developed by</span>
4557
<a href="https://terriblecoding.github.io" target="_blank">

style.css

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ h1 {
3636
.tool-logo {
3737
height: 50px;
3838
position: absolute;
39-
transform: translateY(-73.1px); /*-23.1 - height*/
39+
transform: translateY(-73.1px);
40+
/*-23.1 - height*/
4041
}
4142

4243
h3 {
@@ -61,6 +62,56 @@ p {
6162
font-size: 14px;
6263
}
6364

65+
button.new-feature {
66+
padding: 0.5em;
67+
border-radius: 0.5em;
68+
border: solid 3px var(--color-5);
69+
color: var(--color-5);
70+
background-color: transparent;
71+
font-weight: bold;
72+
animation: zoom-in-out 1s ease-in-out infinite alternate;
73+
position: absolute;
74+
top: 10px;
75+
right: 32px;
76+
}
77+
78+
@keyframes zoom-in-out {
79+
from {
80+
transform: scale(1)
81+
}
82+
to {
83+
transform: scale(1.1)
84+
}
85+
}
86+
87+
div.new-feature {
88+
opacity: 0;
89+
width: 40vw;
90+
position: absolute;
91+
top: 60px;
92+
right: 32px;
93+
background-color: var(--color-2);
94+
padding: 0.5em;
95+
border-radius: 0.5em;
96+
color: var(--color-3);
97+
font-size: initial;
98+
box-shadow: -5px 5px 10px 0px var(--color-3);
99+
transition: 0.2s ease-out;
100+
}
101+
102+
button.new-feature:hover ~ div.new-feature {
103+
opacity: 100%;
104+
}
105+
106+
div.new-feature * {
107+
color: inherit;
108+
font: inherit;
109+
}
110+
111+
video {
112+
max-width: 100%;
113+
}
114+
64115
.label {
65116
text-align: center;
66117
}
@@ -108,7 +159,7 @@ a.thumbnail {
108159
flex-grow: 0;
109160
}
110161

111-
.menu > a {
162+
.menu>a {
112163
color: var(--color-1);
113164
border: solid 3px var(--color-1);
114165
border-radius: 0.5em;
@@ -123,7 +174,7 @@ a.thumbnail {
123174
margin-bottom: 2em;
124175
}
125176

126-
.menu > a:hover {
177+
.menu>a:hover {
127178
width: 100%;
128179
background-color: var(--color-1);
129180
color: var(--color-4);

0 commit comments

Comments
 (0)