156 lines
No EOL
3 KiB
CSS
156 lines
No EOL
3 KiB
CSS
/* 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;
|
|
} |