Add styles test page.

This commit is contained in:
Vasil Chimev
2015-08-21 17:05:57 +03:00
parent 00cb00e13c
commit df3d6e7834
9 changed files with 32 additions and 3 deletions

3
apps/ui-tests-app/css/import.css vendored Normal file
View File

@@ -0,0 +1,3 @@
#import {
background-color: lightpink;
}

View File

@@ -0,0 +1,5 @@
#page {
background-color: lightcoral;
}
@import url('~/css/import.css');

View File

@@ -0,0 +1,4 @@
export function onLoaded(args) {
var page = args.object;
page.addCss("#property { background-color: lightsalmon; }");
}

View File

@@ -0,0 +1,9 @@
<Page loaded="onLoaded">
<WrapLayout>
<Button id="app" text="app" />
<Button id="inline" text="inline" style="background-color: lightgreen;" />
<Button id="page" text="page" />
<Button id="property" text="property" />
<Button id="import" text="import" />
</WrapLayout>
</Page>