mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
html & unicode -> svg for sso logo
This commit is contained in:
parent
7ed5bde426
commit
d7030b6e9c
1 changed files with 14 additions and 19 deletions
|
@ -165,35 +165,30 @@ std::string ssoResponseTemplate = R"""(
|
||||||
background: #eeeeee;
|
background: #eeeeee;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-family: "Helvetica";
|
font-family: "System Sans Serif";
|
||||||
font-weight: bold;
|
font-weight: normal;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
div.icon {
|
|
||||||
background: #ffb354;
|
|
||||||
color: #000000;
|
|
||||||
font-size: 120pt;
|
|
||||||
border-radius: 2.5rem;
|
|
||||||
display: inline-block;
|
|
||||||
width: 1.3em;
|
|
||||||
height: 1.3em;
|
|
||||||
padding: 0;
|
|
||||||
margin: 15;
|
|
||||||
line-height: 1.4em;
|
|
||||||
vertical-align: middle;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.container {
|
.container {
|
||||||
vertical-align: center;
|
position: absolute;
|
||||||
text-align: center;
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
-webkit-transform: translate(-50%, -50%);
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
|
.iconwrapper {
|
||||||
|
margin: 10px 10px 10px 10px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="icon">⏁</div>
|
<div class="iconwrapper">
|
||||||
|
<svg id="Layer_1" width="225px" height="225px" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 225 225"><defs><style>.cls-1{fill:#fdb25d;}.cls-2{fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:6.99px;}</style></defs><rect class="cls-1" width="225" height="225" rx="35.74"/><line class="cls-2" x1="25.65" y1="32.64" x2="199.35" y2="32.64"/><line class="cls-2" x1="112.5" y1="201.02" x2="112.5" y2="32.64"/><circle class="cls-2" cx="112.5" cy="115.22" r="56.54"/></svg>
|
||||||
|
</div>
|
||||||
<div class="text">{{ messageText }}</div>
|
<div class="text">{{ messageText }}</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Add table
Reference in a new issue