mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
added drawning, if user auth in discord, header elem
This commit is contained in:
@@ -76,3 +76,48 @@
|
||||
text-decoration: none;
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
.header__auth--discord {
|
||||
display: flex;
|
||||
margin-right: 22px;
|
||||
}
|
||||
|
||||
.header__card--discord {
|
||||
margin-right: 22px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.discord__card--name {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.discord__card--name h2 {
|
||||
font-size: 15px;
|
||||
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
||||
font-family: Montserrat;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.discord__card--name a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: rgba(255, 255, 255, 0.50);
|
||||
font-weight: 700;
|
||||
font-family: Montserrat;
|
||||
border-radius: 8px;
|
||||
background: #30323E;
|
||||
filter: blur(.4px);
|
||||
padding: 6px 2px 6px 2px;
|
||||
}
|
||||
|
||||
.discord__card--name a span img {
|
||||
margin-left: 5px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.header__card--discord img {
|
||||
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
BIN
luckydiamond/src/assets/icons-header/exit-icon.png
Normal file
BIN
luckydiamond/src/assets/icons-header/exit-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 327 B |
21
luckydiamond/src/assets/icons-test/person-icon.svg
Normal file
21
luckydiamond/src/assets/icons-test/person-icon.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 32 KiB |
@@ -22,8 +22,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="header__auth--discord">
|
||||
<div class="header__card--discord">
|
||||
<h2>test</h2>
|
||||
<div v-if="auth" class="header__card--discord">
|
||||
<div class="discord__card--name">
|
||||
<h2>Artemka</h2>
|
||||
<a href="#">Выход<span><img src="@/assets/icons-header/exit-icon.png"></span></a>
|
||||
</div>
|
||||
<img src="@/assets/icons-test/person-icon.svg" alt="test-ico">
|
||||
</div>
|
||||
<div class="header__card--auth">
|
||||
<h2>discord</h2>
|
||||
@@ -40,7 +44,8 @@ export default {
|
||||
name: 'Header-Element-page',
|
||||
data() {
|
||||
return {
|
||||
balance: 25000
|
||||
balance: 25000,
|
||||
auth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user