- Add new template "terminal" - Add feature to flush cache of user on server - Server app improvement - Created metrics common - Package json loaded in setup
203 lines
3.2 KiB
CSS
203 lines
3.2 KiB
CSS
/* SVG global context */
|
|
svg {
|
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
|
|
font-size: 14px;
|
|
color: #777777;
|
|
}
|
|
|
|
/* Headers */
|
|
h1, h2, h3 {
|
|
margin: 8px 0 2px;
|
|
padding: 0;
|
|
color: #0366d6;
|
|
font-weight: normal;
|
|
}
|
|
h1 svg, h2 svg, h3 svg {
|
|
fill: currentColor;
|
|
}
|
|
h1 {
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
}
|
|
h2 {
|
|
font-size: 16px;
|
|
}
|
|
h3 {
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Fields */
|
|
section > .field {
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
}
|
|
.field {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 2px;
|
|
}
|
|
.field svg {
|
|
margin: 0 8px;
|
|
fill: #959da5;
|
|
}
|
|
.field.error {
|
|
color: #cb2431;
|
|
}
|
|
.field.error svg {
|
|
fill: #cb2431;
|
|
}
|
|
|
|
/* Displays */
|
|
.row {
|
|
display: flex;
|
|
}
|
|
.row section {
|
|
flex: 1 1 0;
|
|
}
|
|
.column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.center {
|
|
justify-content: center;
|
|
}
|
|
.horizontal {
|
|
justify-content: space-around;
|
|
}
|
|
.horizontal-wrap {
|
|
flex-wrap: wrap;
|
|
}
|
|
.horizontal .field {
|
|
flex: 1 1 0;
|
|
}
|
|
.no-wrap {
|
|
white-space: nowrap;
|
|
}
|
|
.fill-width {
|
|
width: 100%;
|
|
}
|
|
|
|
/* User avatar */
|
|
.avatar {
|
|
background-color: #000000;
|
|
border-radius: 50%;
|
|
margin: 0 6px;
|
|
}
|
|
|
|
/* Commit calendar */
|
|
.calendar.field {
|
|
margin: 4px 0;
|
|
margin-left: 7px;
|
|
}
|
|
.calendar .day {
|
|
outline: 1px solid rgba(27,31,35,.04);
|
|
outline-offset: -1px;
|
|
}
|
|
|
|
/* Progress bars */
|
|
svg.bar {
|
|
margin: 4px 0;
|
|
}
|
|
|
|
/* Language */
|
|
.field.language {
|
|
margin: 0 8px;
|
|
flex-grow: 0;
|
|
}
|
|
|
|
.field.language small {
|
|
margin-left: 4px;
|
|
opacity: .7;
|
|
}
|
|
|
|
/* Habits */
|
|
.habits {
|
|
margin: 0;
|
|
list-style-type: none;
|
|
padding-left: 37px;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
margin-top: 8px;
|
|
font-size: 10px;
|
|
font-style: italic;
|
|
opacity: 0.5;
|
|
text-align: right;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
/* Speed test categories */
|
|
.categories {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
margin-top: 4px;
|
|
}
|
|
.categorie {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
flex: 1 1 0;
|
|
}
|
|
|
|
/* Gauges */
|
|
.gauge {
|
|
stroke-linecap: round;
|
|
fill: none;
|
|
}
|
|
.gauge.high {
|
|
color: #18b663;
|
|
}
|
|
.gauge.average {
|
|
color: #fb8c00;
|
|
}
|
|
.gauge.low {
|
|
color: #e53935;
|
|
}
|
|
.gauge-base, .gauge-arc {
|
|
stroke: currentColor;
|
|
stroke-width: 10;
|
|
}
|
|
.gauge-base {
|
|
stroke-opacity: .2;
|
|
}
|
|
.gauge-arc {
|
|
fill: none;
|
|
stroke-dashoffset: 0;
|
|
animation-delay: 250ms;
|
|
animation: animation-gauge 1s ease forwards
|
|
}
|
|
.gauge text {
|
|
fill: currentColor;
|
|
font-size: 40px;
|
|
font-family: monospace;
|
|
text-anchor: middle;
|
|
font-weight: 600;
|
|
}
|
|
.gauge .title {
|
|
font-size: 18px;
|
|
color: #777777;
|
|
}
|
|
@keyframes animation-gauge {
|
|
from {
|
|
stroke-dasharray: 0 329;
|
|
}
|
|
}
|
|
|
|
/* Fade animation */
|
|
.af {
|
|
opacity: 0;
|
|
animation: animation-fade 1s ease forwards;
|
|
}
|
|
@keyframes animation-fade {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
} |