success icon green stroke

This commit is contained in:
Tykayn 2022-02-16 11:46:58 +01:00 committed by tykayn
parent b5435dea8f
commit c727c4e316
4 changed files with 36 additions and 4 deletions

View File

@ -666,8 +666,8 @@ export class PollService implements Resolve<Poll> {
let url = ''; let url = '';
let suffix_password = ''; let suffix_password = '';
if (this._poll && this._poll.getValue) { const currentPoll = this._poll.getValue();
const currentPoll = this._poll.getValue(); if (this._poll && currentPoll) {
if (currentPoll.password) { if (currentPoll.password) {
// handle pass access // handle pass access
suffix_password = '/prompt'; suffix_password = '/prompt';

View File

@ -4,10 +4,25 @@
<section> <section>
<div class=""> <div class="">
<div class="step"> <div class="step">
<div class="main-block" *ngIf="pollService.admin_key"> <!-- <div class="main-block" *ngIf="pollService.admin_key">-->
<div class="main-block">
<div class="columns"> <div class="columns">
<div class="column is-narrow"> <div class="column is-narrow">
<img class="icon is-big icon-success" src="assets/icons/check-circle.svg" alt="icone ok" /> <svg
xmlns="http://www.w3.org/2000/svg"
width="3rem"
height="3rem"
viewBox="0 0 24 24"
fill="none"
stroke="#128149"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="icon is-big feather feather-check-circle marged-right"
>
<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path>
<polyline points="22 4 12 14.01 9 11.01"></polyline>
</svg>
</div> </div>
<div class="column"> <div class="column">
<h1 class="title is-2 poll-title success-creation-title is-success"> <h1 class="title is-2 poll-title success-creation-title is-success">

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
<path fill="#767486" d="M8,1.6C4.4,1.6,1.6,4.4,1.6,8s2.9,6.4,6.4,6.4s6.4-2.9,6.4-6.4S11.6,1.6,8,1.6z M8,13.2
c-2.9,0-5.2-2.4-5.2-5.2S5.1,2.8,8,2.8s5.2,2.4,5.2,5.2S10.9,13.2,8,13.2z"/>
<path fill="#767486" stroke="#767486" stroke-width="0.3" d="M6.7,9.9L6.7,9.9L6.7,9.9C6.7,10,6.7,10,6.7,9.9C6.8,10,6.9,10,7,10
C7.1,10,7.2,10,7.3,10c0,0,0,0,0,0l0,0l0,0l3.2-3.4l-0.1-0.1l0.1,0.1c0.1-0.1,0.1-0.2,0.1-0.3c0-0.1,0-0.2-0.1-0.3L10.5,6l0.1-0.1
c-0.1-0.1-0.2-0.1-0.3-0.1s-0.2,0-0.3,0.1L7,8.9L5.9,7.7C5.8,7.6,5.6,7.6,5.5,7.6c-0.1,0-0.2,0-0.3,0.1C5.1,7.8,5.1,7.9,5.1,8.1
c0,0.1,0,0.2,0.1,0.3L6.7,9.9z"/>
</svg>

After

Width:  |  Height:  |  Size: 943 B

View File

@ -15,6 +15,7 @@ $input-shadow: none;
.notification { .notification {
margin: 1em 0; margin: 1em 0;
} }
.select { .select {
display: block !important; display: block !important;
width: 80%; width: 80%;
@ -24,11 +25,13 @@ $input-shadow: none;
.p-dialog { .p-dialog {
background: blue !important; background: blue !important;
} }
.cancel-button-reject { .cancel-button-reject {
background: none; background: none;
color: $primary_color; color: $primary_color;
margin-right: -1rem; margin-right: -1rem;
float: right; float: right;
.icon { .icon {
margin-left: 1rem; margin-left: 1rem;
height: 1rem; height: 1rem;
@ -47,6 +50,7 @@ $input-shadow: none;
margin-left: 1rem; margin-left: 1rem;
} }
} }
.img-marged-right { .img-marged-right {
img { img {
margin-right: 1rem; margin-right: 1rem;
@ -59,10 +63,12 @@ button .icon:first-child:last-child,
margin-left: 1rem; margin-left: 1rem;
margin-right: auto; margin-right: auto;
} }
.p-datepicker .p-datepicker-calendar td span, .p-datepicker .p-datepicker-calendar td span,
.p-datepicker .p-datepicker-calendar .p-ripple { .p-datepicker .p-datepicker-calendar .p-ripple {
transition: outline ease 0.1s; transition: outline ease 0.1s;
} }
.p-button:focus, .p-button:focus,
.p-datepicker table td > span:focus, .p-datepicker table td > span:focus,
.p-datepicker .p-datepicker-header .p-datepicker-prev:focus, .p-datepicker .p-datepicker-header .p-datepicker-prev:focus,