ng-bundle-analyzer
Version:
Generate and display treemaps of Angular bundle.
88 lines (71 loc) • 1.15 kB
CSS
body {
font-family: 'Lato', sans-serif;
font-size: 0.9rem;
}
h1 {
font-size: 1.3rem;
font-weight: 700;
}
h2 {
font-size: 1rem;
font-weight: 400;
}
.container {
max-width: 800px;
margin: 50px auto;
padding: 10px;
}
.fw-700 {
font-weight: 700;
}
.fw-400 {
font-weight: 400;
}
/* Table */
.tr {
display: grid;
grid-template-columns: 3fr 1fr 1fr;
gap: 0 5px;
padding: 10px;
}
.tr span {
word-break: break-all;
}
.highlight {
background-color: rgba(255, 238, 0, 0.3);
padding: 0 5px;
border-radius: 3px;
}
.tr:first-of-type {
font-weight: 700;
border-bottom: 1px solid black;
border-top: 2px solid black;
}
.tr:nth-last-of-type(2) {
border-bottom: 1px solid black;
}
.tr:last-of-type {
font-weight: 700;
border-bottom: 2px solid black;
}
.mt-05 {
margin-top: 5px;
}
.mt-1 {
margin-top: 10px;
}
.mt-2 {
margin-top: 20px;
}
a {
color: #3e64ff;
transition: color 200ms ease-in-out;
}
a:hover {
color: #0436ff;
}
.sort-toggle {
border: 0;
background-color: transparent;
cursor: pointer;
}