diff --git a/lib/components/Redoc/redoc-initial-styles.scss b/lib/components/Redoc/redoc-initial-styles.scss index 1a1b441b..1274e620 100644 --- a/lib/components/Redoc/redoc-initial-styles.scss +++ b/lib/components/Redoc/redoc-initial-styles.scss @@ -1,15 +1,18 @@ @import url('//fonts.googleapis.com/css?family=Roboto:300,400,700'); @import url('//fonts.googleapis.com/css?family=Montserrat:400,700'); -redoc.loading { +:host.loading { position: relative; display: block; - min-height:350px; + min-height: 350px; } @keyframes rotate { - 0% {transform: rotate(0deg)} - 100% {transform: rotate(360deg)} + 0% { + transform: rotate(0deg); } + 100% { + transform: rotate(360deg); + } } redoc.loading:before { @@ -33,7 +36,7 @@ redoc.loading:before { } redoc.loading:after { - z-index: 10000; + z-index: 10000; background-image: url('data:image/svg+xml;utf8,'); animation: 2s rotate linear infinite; width: 50px; @@ -51,20 +54,3 @@ redoc.loading:after { redoc.loading-remove:before, redoc.loading-remove:after { opacity: 0; } - -.redoc-error { - padding: 20px; - text-align: center; - color: #cc0000; - - > h2 { - color: #cc0000; - font-size: 40px; - } -} - -.redoc-error-details { - max-width: 750px; - margin: 0 auto; - font-size: 18px; -} diff --git a/lib/components/Redoc/redoc.html b/lib/components/Redoc/redoc.html index 11e8c3d7..8b4476ad 100644 --- a/lib/components/Redoc/redoc.html +++ b/lib/components/Redoc/redoc.html @@ -1,6 +1,6 @@