-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeleting.css
156 lines (141 loc) · 2.96 KB
/
deleting.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
/* infinite loading indicator */
.loader {
margin-top: 30px;
border: 4px solid #CCCCCC;
border-radius: 100%;
border-top: 4px solid #7d3a94;
width: 48px;
height: 48px;
animation: spin 1s infinite cubic-bezier(.1, .4, .7, 0.1);
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* progress bar with percentage value */
/* expected HTML
<div class="progress-bar" id="progress-bar">
<div class="progressbar-background"></div>
<div class="progress-number" id="progress-number">100%</div>
<div class="progressbar-progress" id="progress-moving"></div>
<div class="progressbar-progress-cut" id="progress-cut"></div>
<div class="progressbar-progress" id="progress-second-half"></div>
</div>
*/
.progress-bar {
visibility: hidden;
margin-top: 30px;
width: 56px;
height: 56px;
}
.progressbar-background {
position: absolute;
border: 4px solid #CCCCCC;
border-radius: 100%;
width: 48px;
height: 48px;
}
.progressbar-progress {
position: absolute;
border: 4px solid transparent;
border-top: 4px solid #7d3a94;
border-right: 4px solid #7d3a94;
border-radius: 100%;
width: 48px;
height: 48px;
transform: rotate(45deg);
}
.progressbar-progress-cut {
position: absolute;
border: 4px solid transparent;
border-top: 4px solid #CCCCCC;
border-right: 4px solid #CCCCCC;
border-radius: 100%;
width: 48px;
height: 48px;
transform: rotate(45deg);
}
.progress-number {
position: absolute;
font: 16px arial, serif;
margin: auto;
text-align: center;
display:flex;
align-items: center;
justify-content: center;
height: 56px;
width: 56px;
color: #CCCCCC
}
/* general texts */
span {
font: 20px arial, serif;
color: #CCCCCC;
}
p {
font: 20px arial, serif;
color: #CCCCCC
}
a {
font: 20px arial, serif;
color: #DDDDDD
}
/* additional space for the progress process elements */
.progress {
margin-top: 30px;
}
/* sample button */
.infoButton {
background-color: transparent;
border: 2px solid #7d3a94;
color: #CCCCCC;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
transition-duration: 0.4s;
border-radius: 16px;
visibility: hidden;
}
.infoButton:hover {
background-color: #7d3a94;
}
/* delete button */
.actionButton {
background-color: transparent;
border: 2px solid #6d2a84;
color: #CCCCCC;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
transition-duration: 0.4s;
border-radius: 16px;
visibility: hidden;
}
.actionButton:hover {
background-color: #6d2a84;
}
/* Comments samle */
.comment {
margin-top: 6px;
border: 3px solid #7d3a94;
padding: 8px;
padding-left: 16px;
padding-right: 16px;
width: fit-content;
}
.comment-text {
text-align: start;
font: 16px arial, serif;
}
.comment-name {
text-align: start;
font: 12px arial, serif;
}