Skip to content
This repository was archived by the owner on Oct 18, 2022. It is now read-only.

Commit bcd8d50

Browse files
committed
listing dragons button style changed
1 parent 83d5b63 commit bcd8d50

File tree

6 files changed

+33
-7
lines changed

6 files changed

+33
-7
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ Este exemplo utiliza as bibliotecas [pizzicato de alemangui](https://github.com/
142142

143143
As imagens foram extraídas de [PNG find](https://www.pngfind.com/) em sua maioria como licença Creative Commons ou uso particular, e foram em parte reconstituídas e modificadas artisticamente para se adequar ao design preservando a arte original.
144144

145+
Icon **list** made by [Freepik](https://www.flaticon.com/authors/freepik) from [www.flaticon.com](https://www.flaticon.com/).
146+
145147
Inspiração no trabalho artístico de Diablo - UI e OST -, Rhapsody of Fire e **D&D / d⚂20**.
146148

147149
Nenhum plugin foi utilizado para os efeitos de paralax nos dragões - _nenhum dragão foi ferido fora dos tabuleiros_.

web/src/app/app.component.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ export class AppComponent implements AfterViewInit {
1111
title = 'Librum ex Dracones';
1212

1313
ngAfterViewInit() {
14+
try {
15+
screen.orientation.lock('portrait');
16+
} catch (e) {
17+
console.log('Fail to bind orientation', e);
18+
}
19+
1420
this.fx.preLoad(() => {
1521
this.openCurtains();
1622
this.fx.playBackground();
@@ -24,13 +30,10 @@ export class AppComponent implements AfterViewInit {
2430
}, 666);
2531
}
2632

27-
2833
constructor(private router: Router, private fx: SoundService) {
29-
3034
router.events.subscribe((event) => {
3135
// ..
3236
return event;
3337
});
34-
3538
}
3639
}

web/src/app/screen/pannel/sidebar/sidebar.component.html

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,22 @@
1414

1515
<button
1616
(click)="sounds.preLoaded.action[1].play()"
17-
class="button round dragon-face" [routerLink]="['/admin']">
18-
<img src="/assets/image/dragoneye.png" title="More Dragons" alt="Open modal of Dragons!">
17+
class="button round dragon-face"
18+
[routerLink]="['/admin']">
19+
<svg enable-background="new 0 0 512 512" version="1.1" viewBox="0 0 512 512" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" title="More Dragons" alt="Open modal of Dragons!">
20+
<path d="m409.92 34.205h-70.263c-3.354-9.93-12.752-17.102-23.8-17.102h-26.098c-7.921-10.652-20.468-17.103-33.76-17.103s-25.839 6.451-33.76 17.102h-26.098c-11.048 0-20.446 7.172-23.8 17.102h-70.263c-18.566 0-33.67 15.105-33.67 33.67v410.46c0 18.566 15.105 33.67 33.67 33.67h307.84c18.566 0 33.67-15.105 33.67-33.67v-410.46c1e-3 -18.566-15.104-33.67-33.669-33.67zm-222.86 8.037c0-7e-3 1e-3 -0.014 1e-3 -0.02v-0.011c5e-3 -5.005 4.078-9.075 9.085-9.075h30.397c2.854 0 5.493-1.517 6.929-3.985 4.781-8.213 13.204-13.117 22.532-13.117s17.751 4.904 22.532 13.117c1.435 2.467 4.075 3.985 6.929 3.985h30.397c4.999 0 9.067 4.059 9.085 9.055 0 0.011-1e-3 0.02-1e-3 0.031 0 0.021 3e-3 0.042 3e-3 0.062v26.126h-137.89v-26.168zm240.5 436.09c0 9.725-7.912 17.637-17.637 17.637h-307.84c-9.725 0-17.637-7.912-17.637-17.637v-410.46c0-9.725 7.912-17.637 17.637-17.637h68.944v26.188c0 4.427 3.589 8.017 8.017 8.017h153.92c4.427 0 8.017-3.589 8.017-8.017v-26.188h68.944c9.725 0 17.637 7.912 17.637 17.637v410.46z"/>
21+
<path d="m256.09 34.205h-0.086c-4.427 0-7.974 3.589-7.974 8.017 0 4.427 3.632 8.017 8.059 8.017s8.017-3.589 8.017-8.017-3.589-8.017-8.016-8.017z"/>
22+
<path d="m401.37 68.409h-34.206c-4.427 0-8.017 3.589-8.017 8.017s3.589 8.017 8.017 8.017h26.189v377.32h-274.71v-377.32h26.19c4.427 0 8.017-3.589 8.017-8.017s-3.589-8.017-8.017-8.017h-34.207c-4.427 0-8.017 3.589-8.017 8.017v393.35c0 4.427 3.589 8.017 8.017 8.017h290.74c4.427 0 8.017-3.589 8.017-8.017v-393.35c-1e-3 -4.427-3.59-8.017-8.017-8.017z"/>
23+
<path d="m204.69 171.02c-4.427 0-8.017 3.589-8.017 8.017 0 9.725-7.912 17.637-17.637 17.637s-17.637-7.912-17.637-17.637 7.912-17.637 17.637-17.637c4.427 0 8.017-3.589 8.017-8.017s-3.589-8.017-8.017-8.017c-18.566 0-33.67 15.105-33.67 33.67s15.105 33.67 33.67 33.67 33.67-15.105 33.67-33.67c1e-3 -4.427-3.589-8.016-8.016-8.016z"/>
24+
<path d="m204.69 265.09c-4.427 0-8.017 3.589-8.017 8.017 0 9.725-7.912 17.637-17.637 17.637s-17.637-7.912-17.637-17.637 7.912-17.637 17.637-17.637c4.427 0 8.017-3.589 8.017-8.017s-3.589-8.017-8.017-8.017c-18.566 0-33.67 15.105-33.67 33.67s15.105 33.67 33.67 33.67 33.67-15.105 33.67-33.67c1e-3 -4.427-3.589-8.016-8.016-8.016z"/>
25+
<path d="m358.61 282.19h-119.72c-4.427 0-8.017 3.589-8.017 8.017s3.589 8.017 8.017 8.017h119.72c4.427 0 8.017-3.589 8.017-8.017s-3.59-8.017-8.017-8.017z"/>
26+
<path d="m324.41 247.98h-85.511c-4.427 0-8.017 3.589-8.017 8.017s3.589 8.017 8.017 8.017h85.511c4.427 0 8.017-3.589 8.017-8.017s-3.589-8.017-8.017-8.017z"/>
27+
<path d="m358.61 188.12h-119.72c-4.427 0-8.017 3.589-8.017 8.017s3.589 8.017 8.017 8.017h119.72c4.427 0 8.017-3.589 8.017-8.017s-3.59-8.017-8.017-8.017z"/>
28+
<path d="m324.41 153.92h-85.511c-4.427 0-8.017 3.589-8.017 8.017s3.589 8.017 8.017 8.017h85.511c4.427 0 8.017-3.589 8.017-8.017s-3.589-8.017-8.017-8.017z"/>
29+
<path d="m204.69 359.15c-4.427 0-8.017 3.589-8.017 8.017 0 9.725-7.912 17.637-17.637 17.637s-17.637-7.912-17.637-17.637 7.912-17.637 17.637-17.637c4.427 0 8.017-3.589 8.017-8.017s-3.589-8.017-8.017-8.017c-18.566 0-33.67 15.105-33.67 33.67 0 18.566 15.105 33.67 33.67 33.67s33.67-15.105 33.67-33.67c1e-3 -4.426-3.589-8.016-8.016-8.016z"/>
30+
<path d="m358.61 376.25h-119.72c-4.427 0-8.017 3.589-8.017 8.017 0 4.427 3.589 8.017 8.017 8.017h119.72c4.427 0 8.017-3.589 8.017-8.017-1e-3 -4.428-3.59-8.017-8.017-8.017z"/>
31+
<path d="m324.41 342.05h-85.511c-4.427 0-8.017 3.589-8.017 8.017s3.589 8.017 8.017 8.017h85.511c4.427 0 8.017-3.589 8.017-8.017s-3.589-8.017-8.017-8.017z"/>
32+
</svg>
1933
</button>
2034

2135
<button

web/src/app/screen/pannel/sidebar/sidebar.component.sass

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,9 @@
2828
display: block
2929
max-height: 400px
3030
overflow: hidden scroll !important
31+
32+
svg
33+
transform: scale(0.5)
34+
path
35+
stroke: rgba(200, 200, 100, 1)
36+
fill: rgba(255, 255, 250, 1)

web/src/manifest.webmanifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"theme_color": "#424242",
55
"background_color": "#131313",
66
"display": "fullscreen",
7+
"orientation": "portrait",
78
"scope": "./",
89
"start_url": "./",
910
"icons": [{

web/src/styles.sass

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ p
2323
min-height: 60px
2424
border: 2px solid rgba(13, 13, 13, 0.2)
2525
border-radius: 5px
26-
background: rgba(0, 0, 0, .5) !important
26+
background-color: rgba(0, 0, 0, .5) !important
2727
align-content: center
2828
text-align: center
2929
color: rgba(255, 255, 255, .9)
@@ -41,7 +41,7 @@ p
4141
.input:focus,
4242
.button.selected
4343
color: rgba(200, 0, 0, 1)
44-
background: #000000ce !important
44+
background-color: #000000ce !important
4545
// /* linear-gradient(to bottom, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0,.8) 80%, rgba(0, 0, 0, .8) 80%, rgba(0, 0, 0, 0) 100%) !important */
4646
border-color: rgba(100, 0, 0, .6)
4747
text-shadow: 0 10px 20px rgba(100, 0, 0, 1)

0 commit comments

Comments
 (0)