@import '../../../@theme/styles/themes'; @include nb-install-component() { width: 100%; height: 0; position: relative; padding-top: 80%; /* Aspect Ratio */ font-size: 0.9vw; $subheader-color: nb-theme(text-hint-color); .header, .subheader { justify-content: center; } & > div { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin-bottom: 0; & > .header { font-size: 1.25em; font-weight: bold; } & > .subheader { font-size: 0.9em; color: $subheader-color; } } div { display: flex; text-align: center; } .json-container { font-weight: bold; nb-icon { width: 0.75em; height: 0.75em; } div { margin: 0 1em; } } .headers-container { height: 2.5rem; & > .header { font-size: 0.9em; height: 0.9rem; font-weight: bold; } & > .subheader { font-size: 0.7em; height: 0.7rem; color: $subheader-color; } } .dashboard-container { width: 40%; } .backend-container { width: 40%; } .border-dashed { border: 2px dashed nb-theme(border-basic-color-4); } .pad1 { background-color: nb-theme(color-basic-transparent-100); padding: 1em; height: 100%; } .item { background-color: nb-theme(background-basic-color-1); justify-content: center; padding: 0.5em 0; flex-direction: column; & > .header { font-size: 0.7em; font-weight: bold; line-height: 1.1em; } & > .subheader { font-size: 0.6em; color: $subheader-color; line-height: 1em; flex-direction: column; align-items: center; } } }