mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-30 03:00:40 +00:00
Fix: Update Certificate Icon
This commit is contained in:
parent
13bdfefa9d
commit
b7568e9caa
2 changed files with 21 additions and 3 deletions
|
@ -2,7 +2,10 @@
|
|||
<div>
|
||||
<div class="d-flex flex-row align-items-center p-1 overflow-hidden">
|
||||
<div class="m-3 ps-3">
|
||||
<font-awesome-icon class="cert-icon" icon="file-contract" />
|
||||
<div class="cert-icon">
|
||||
<font-awesome-icon icon="file" />
|
||||
<font-awesome-icon class="award-icon" icon="award" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="m-3">
|
||||
<table class="text-start">
|
||||
|
@ -82,6 +85,7 @@ table {
|
|||
}
|
||||
|
||||
.cert-icon {
|
||||
position: relative;
|
||||
font-size: 70px;
|
||||
color: $link-color;
|
||||
opacity: 0.5;
|
||||
|
@ -92,6 +96,18 @@ table {
|
|||
}
|
||||
}
|
||||
|
||||
.award-icon {
|
||||
position: absolute;
|
||||
font-size: 0.5em;
|
||||
bottom: 20%;
|
||||
left: 12%;
|
||||
color: white;
|
||||
|
||||
.dark & {
|
||||
color: $dark-bg;
|
||||
}
|
||||
}
|
||||
|
||||
.link-icon {
|
||||
font-size: 20px;
|
||||
margin-left: 50px !important;
|
||||
|
|
|
@ -30,7 +30,8 @@ import {
|
|||
faUpload,
|
||||
faCopy,
|
||||
faCheck,
|
||||
faFileContract,
|
||||
faFile,
|
||||
faAward,
|
||||
faLink,
|
||||
} from "@fortawesome/free-solid-svg-icons";
|
||||
|
||||
|
@ -61,7 +62,8 @@ library.add(
|
|||
faUpload,
|
||||
faCopy,
|
||||
faCheck,
|
||||
faFileContract,
|
||||
faFile,
|
||||
faAward,
|
||||
faLink,
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue