Skip to content

Commit 1dc57e3

Browse files
authored
Merge pull request #17 from annalisaantonioli/feature/watch-deploy-status
Feature/watch deploy status
2 parents 33d2dbb + f51281e commit 1dc57e3

File tree

2 files changed

+974
-501
lines changed

2 files changed

+974
-501
lines changed

assets/styles.css

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
@keyframes spin {
2+
0% {
3+
transform: rotate(0deg);
4+
}
5+
100% {
6+
transform: rotate(360deg);
7+
}
8+
}
9+
10+
.spin {
11+
animation: spin 2s linear infinite;
12+
}
13+
#wpadminbar .ab-empty-item .ready-btn {
14+
opacity: 1;
15+
cursor: pointer !important;
16+
}
17+
.running {
18+
opacity: 0.5;
19+
pointer-events: none;
20+
}
21+
22+
.deploying {
23+
color: #f5a623;
24+
}
25+
26+
.success {
27+
color: #50e3c2;
28+
}
29+
30+
.error {
31+
color: #ff3333;
32+
}
33+
34+
.vwd-status-icon {
35+
display: inline-block;
36+
position: relative;
37+
}
38+
39+
.notification-modal {
40+
position: fixed;
41+
top: 0;
42+
left: 0;
43+
right: 0;
44+
bottom: 0;
45+
z-index: 999999;
46+
background-color: rgba(255, 255, 255, 0.6);
47+
display: flex;
48+
align-items: center;
49+
justify-content: center;
50+
}
51+
.notification-modal.hidden {
52+
display: none;
53+
z-index: -1;
54+
}
55+
56+
.notification-modal.popup {
57+
width: 300px;
58+
padding: 15px 10px;
59+
top: unset;
60+
left: unset;
61+
}
62+
63+
.notification-modal.popup::after {
64+
content: '\f158';
65+
cursor: pointer;
66+
font: normal 20px / 1 dashicons;
67+
position: absolute;
68+
z-index: 9999999;
69+
color: white;
70+
top: 0;
71+
left: 0;
72+
background-color: black;
73+
width: 30px;
74+
height: 30px;
75+
border-radius: 100%;
76+
display: flex;
77+
align-items: center;
78+
justify-content: center;
79+
transform: translate(-50%, -50%);
80+
}
81+
82+
.notification-modal.hidden .close-btn {
83+
display: none;
84+
}
85+
.notification-modal .close-btn {
86+
display: inline-block;
87+
}
88+
89+
.notification-modal.success {
90+
background-color: #50e3c2;
91+
}
92+
.notification-modal.error {
93+
background-color: #ff3333;
94+
color: #fff;
95+
}

0 commit comments

Comments
 (0)