Skip to content

Commit 2c53393

Browse files
authored
Merge branch 'main' into html-proof
2 parents 4e63746 + d3968ca commit 2c53393

6 files changed

Lines changed: 29 additions & 12 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v2
46+
uses: github/codeql-action/init@v3
4747
with:
4848
languages: ${{ matrix.language }}
4949
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -54,7 +54,7 @@ jobs:
5454
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5555
# If this step fails, then you should remove it and run the build manually (see below)
5656
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v2
57+
uses: github/codeql-action/autobuild@v3
5858

5959
# ℹ️ Command-line programs to run using the OS shell.
6060
# 📚 https://git.io/JvXDl
@@ -68,4 +68,4 @@ jobs:
6868
# make release
6969

7070
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v2
71+
uses: github/codeql-action/analyze@v3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ For more details about the features please visit [here](https://toha-guides.netl
6161
- Tiếng Việt
6262
- Turkish
6363
- Arabic (العربية)
64-
- Português
64+
- Português Europeu
6565
- Català
6666
- Português Brasileiro
6767

assets/styles/sections/about.scss

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,25 @@ $progress-bar-colors: (
2020
}
2121

2222
@mixin circular-progress-animation-breakpoints() {
23-
$progress: 50;
23+
$progress: 0;
2424
$duration: 0;
25+
$delay: 1.8;
2526

26-
@for $i from 1 through 10 {
27+
@for $i from 0 through 20 {
2728
.circular-progress-percentage-#{$progress} {
2829
animation: circular-loading-#{$progress} #{$duration}s linear forwards 1.8s;
2930
}
31+
.circular-progress-percentage-#{$progress}-delay {
32+
animation-delay: #{$delay}s;
33+
}
3034
$progress: $progress + 5;
3135
$duration: $duration + 0.18;
36+
$delay: $duration + 1.8;
3237
}
3338
}
3439

3540
@mixin circular-progress-animation-keyframes($progress, $degree, $keyframes) {
36-
@for $i from 1 through $keyframes {
41+
@for $i from 0 through $keyframes {
3742
@keyframes circular-loading-#{$progress} {
3843
0% {
3944
transform: rotate(0);
@@ -122,7 +127,6 @@ $progress-bar-colors: (
122127
border-bottom-left-radius: 80px;
123128
border-right: 0;
124129
transform-origin: center right;
125-
animation: circular-loading-1 1.8s linear forwards;
126130
}
127131
}
128132
.circular-progress-value {
@@ -144,8 +148,7 @@ $progress-bar-colors: (
144148
}
145149
@include circular-progress-bar-color();
146150
@include circular-progress-animation-breakpoints();
147-
@include circular-progress-animation-keyframes($progress: 50, $degree: 0, $keyframes: 10);
148-
@include circular-progress-animation-keyframes($progress: 1, $degree: 180, $keyframes: 5);
151+
@include circular-progress-animation-keyframes($progress: 0, $degree: 0, $keyframes: 20);
149152
}
150153

151154
@include media('<=large') {

i18n/pt-br.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,7 @@ other = "Nota legal"
124124

125125
[search]
126126
other = "Pesquisar"
127+
128+
[minute]
129+
one = "minuto"
130+
other = "minutos"

i18n/pt.toml renamed to i18n/pt-pt.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,7 @@ other = "Nota legal"
124124

125125
[search]
126126
other = "Pesquisar"
127+
128+
[minute]
129+
one = "minuto"
130+
other = "minutos"

layouts/partials/misc/badge.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,24 @@
1212
{{ if hasPrefix .color "#"}}
1313
{{ $predefinedColor = false }}
1414
{{ end }}
15+
{{ $leftProgress := 0 }}
16+
{{ $rightProgress := .percentage }}
17+
{{ if ge .percentage 50 }}
18+
{{ $rightProgress = 50 }}
19+
{{ $leftProgress = sub .percentage 50 }}
20+
{{ end }}
1521
<div class="circular-progress {{if $predefinedColor}}{{ .color }}{{end}}">
1622
<span class="circular-progress-left">
1723
<span
18-
class="circular-progress-bar circular-progress-percentage-{{ .percentage }}"
24+
class="circular-progress-bar circular-progress-percentage-{{ $leftProgress }} circular-progress-percentage-50-delay"
1925
{{ if not $predefinedColor }}
2026
style="border-color: {{.color}};"
2127
{{ end }}
2228
></span>
2329
</span>
2430
<span class="circular-progress-right">
2531
<span
26-
class="circular-progress-bar"
32+
class="circular-progress-bar circular-progress-percentage-{{ $rightProgress }}"
2733
{{ if not $predefinedColor }}
2834
style="border-color: {{.color}};"
2935
{{ end }}

0 commit comments

Comments
 (0)