generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASSETS-32307: updated metrics report with latest numbers (#21)
- Loading branch information
Showing
3 changed files
with
522 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
.gmo-metrics-container { | ||
background-color: var(--assets-browser-background-color); | ||
} | ||
|
||
.gmo-metrics { | ||
display: flex; | ||
gap: 1rem; | ||
flex-direction: column; | ||
} | ||
|
||
.gmo-metrics::before { | ||
content: ''; | ||
} | ||
|
||
.gmo-metrics .graph-container { | ||
display: flex; | ||
flex-flow: row wrap; | ||
gap: 1rem; | ||
justify-content: space-between; | ||
container-type: inline-size; | ||
} | ||
|
||
.gmo-metrics .graph-container > div { | ||
box-shadow: 0 0 7px rgb(0 0 0 / 10%); | ||
background-color: white; | ||
border-radius: 10px; | ||
padding: 1rem; | ||
display: flex; | ||
gap: 1rem; | ||
flex-direction: column; | ||
overflow: hidden; | ||
min-width: 200px; | ||
flex: 1; | ||
} | ||
|
||
.gmo-metrics .graph-container > div.metric-placeholder { | ||
height: 0; | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
visibility: hidden; | ||
border: unset; | ||
} | ||
|
||
.gmo-metrics .graph-container .asset-metric-graph { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.gmo-metrics h1 { | ||
font-size: 1.25rem; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.gmo-metrics h2 { | ||
font-size: 1rem; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.gmo-metrics table { | ||
width: 100%; | ||
border-collapse: collapse; | ||
} | ||
|
||
.gmo-metrics table thead th, | ||
.gmo-metrics table tbody td { | ||
text-align: left; | ||
font-size: .8rem; | ||
padding: .5rem; | ||
border-bottom: 1px solid lightgray; | ||
} | ||
|
||
.gmo-metrics table thead th:last-child, | ||
.gmo-metrics table tbody td:last-child { | ||
white-space: nowrap; | ||
text-align: right; | ||
} | ||
|
||
.gmo-metrics table colgroup col.table-description { | ||
width: 100%; | ||
} | ||
|
||
@media (min-width: 500px) { | ||
.gmo-metrics .graph-container > div { | ||
min-width: 400px; | ||
} | ||
} | ||
|
||
@media (min-width: 950px) { | ||
.gmo-metrics .graph-container .asset-metric-graph { | ||
display: inline-block; | ||
align-items: unset; | ||
justify-content: unset; | ||
} | ||
|
||
.gmo-metrics .graph-container .asset-metric-graph.bar { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
} |
Oops, something went wrong.