mirror of
https://github.com/nasa/openmct.git
synced 2025-05-06 18:48:27 +00:00
[Frontend] CSS and markup for iframe
WTD-1150 WTD-1145 CSS and markup to cause iframes to layout properly without double scroll bars
This commit is contained in:
parent
582a236d8a
commit
babe420f26
@ -1,5 +1,5 @@
|
|||||||
/* CONSTANTS */
|
/* CONSTANTS */
|
||||||
/* line 17, ../../../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
/* line 17, ../../../../../../../../../Library/Ruby/Gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
||||||
html, body, div, span, applet, object, iframe,
|
html, body, div, span, applet, object, iframe,
|
||||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||||
a, abbr, acronym, address, big, cite, code,
|
a, abbr, acronym, address, big, cite, code,
|
||||||
@ -20,38 +20,38 @@ time, mark, audio, video {
|
|||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
vertical-align: baseline; }
|
vertical-align: baseline; }
|
||||||
|
|
||||||
/* line 22, ../../../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
/* line 22, ../../../../../../../../../Library/Ruby/Gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
||||||
html {
|
html {
|
||||||
line-height: 1; }
|
line-height: 1; }
|
||||||
|
|
||||||
/* line 24, ../../../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
/* line 24, ../../../../../../../../../Library/Ruby/Gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
||||||
ol, ul {
|
ol, ul {
|
||||||
list-style: none; }
|
list-style: none; }
|
||||||
|
|
||||||
/* line 26, ../../../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
/* line 26, ../../../../../../../../../Library/Ruby/Gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-spacing: 0; }
|
border-spacing: 0; }
|
||||||
|
|
||||||
/* line 28, ../../../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
/* line 28, ../../../../../../../../../Library/Ruby/Gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
||||||
caption, th, td {
|
caption, th, td {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
vertical-align: middle; }
|
vertical-align: middle; }
|
||||||
|
|
||||||
/* line 30, ../../../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
/* line 30, ../../../../../../../../../Library/Ruby/Gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
||||||
q, blockquote {
|
q, blockquote {
|
||||||
quotes: none; }
|
quotes: none; }
|
||||||
/* line 103, ../../../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
/* line 103, ../../../../../../../../../Library/Ruby/Gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
||||||
q:before, q:after, blockquote:before, blockquote:after {
|
q:before, q:after, blockquote:before, blockquote:after {
|
||||||
content: "";
|
content: "";
|
||||||
content: none; }
|
content: none; }
|
||||||
|
|
||||||
/* line 32, ../../../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
/* line 32, ../../../../../../../../../Library/Ruby/Gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
||||||
a img {
|
a img {
|
||||||
border: none; }
|
border: none; }
|
||||||
|
|
||||||
/* line 116, ../../../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
/* line 116, ../../../../../../../../../Library/Ruby/Gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
||||||
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
|
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
|
||||||
display: block; }
|
display: block; }
|
||||||
|
|
||||||
@ -2882,10 +2882,10 @@ input[type="text"] {
|
|||||||
.wait-spinner {
|
.wait-spinner {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
-webkit-animation: rotation 0.6s infinite linear;
|
-webkit-animation: rotation .6s infinite linear;
|
||||||
-moz-animation: rotation 0.6s infinite linear;
|
-moz-animation: rotation .6s infinite linear;
|
||||||
-o-animation: rotation 0.6s infinite linear;
|
-o-animation: rotation .6s infinite linear;
|
||||||
animation: rotation 0.6s infinite linear;
|
animation: rotation .6s infinite linear;
|
||||||
border-color: rgba(0, 153, 204, 0.25);
|
border-color: rgba(0, 153, 204, 0.25);
|
||||||
border-top-color: #0099cc;
|
border-top-color: #0099cc;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
@ -2924,10 +2924,10 @@ input[type="text"] {
|
|||||||
.treeview .wait-spinner {
|
.treeview .wait-spinner {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
-webkit-animation: rotation 0.6s infinite linear;
|
-webkit-animation: rotation .6s infinite linear;
|
||||||
-moz-animation: rotation 0.6s infinite linear;
|
-moz-animation: rotation .6s infinite linear;
|
||||||
-o-animation: rotation 0.6s infinite linear;
|
-o-animation: rotation .6s infinite linear;
|
||||||
animation: rotation 0.6s infinite linear;
|
animation: rotation .6s infinite linear;
|
||||||
border-color: rgba(0, 153, 204, 0.25);
|
border-color: rgba(0, 153, 204, 0.25);
|
||||||
border-top-color: #0099cc;
|
border-top-color: #0099cc;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
@ -3039,3 +3039,10 @@ input[type="text"] {
|
|||||||
.autoflow .l-autoflow-items .l-autoflow-col:first-child {
|
.autoflow .l-autoflow-items .l-autoflow-col:first-child {
|
||||||
border-left: none;
|
border-left: none;
|
||||||
padding-left: 0; }
|
padding-left: 0; }
|
||||||
|
|
||||||
|
/* Styles for the iframe EmbeddedPageController element */
|
||||||
|
/* line 4, ../sass/iframe.scss */
|
||||||
|
.l-iframe iframe {
|
||||||
|
display: block;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%; }
|
||||||
|
9
platform/commonUI/general/res/sass/_iframe.scss
Normal file
9
platform/commonUI/general/res/sass/_iframe.scss
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
/* Styles for the iframe EmbeddedPageController element */
|
||||||
|
|
||||||
|
.l-iframe {
|
||||||
|
iframe {
|
||||||
|
display: block;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
@ -40,3 +40,4 @@
|
|||||||
@import "helpers/wait-spinner";
|
@import "helpers/wait-spinner";
|
||||||
@import "properties";
|
@import "properties";
|
||||||
@import "autoflow";
|
@import "autoflow";
|
||||||
|
@import "iframe";
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
|
<div class="abs l-iframe">
|
||||||
<iframe ng-controller="EmbeddedPageController as ctl"
|
<iframe ng-controller="EmbeddedPageController as ctl"
|
||||||
style="width: 100%; height: 100%;"
|
|
||||||
ng-src="{{ctl.trust(model.url)}}">
|
ng-src="{{ctl.trust(model.url)}}">
|
||||||
</iframe>
|
</iframe>
|
||||||
|
</div>
|
Loading…
x
Reference in New Issue
Block a user