Commit 46a99029 authored by Richard's avatar Richard

worked on simulation browser, looks are different

parent 81e416db
...@@ -18,14 +18,15 @@ Ext.define("app.view.List", ...@@ -18,14 +18,15 @@ Ext.define("app.view.List",
navigationBar: navigationBar:
{ {
title: 'simulations', title: 'simulations',
ui: 'darker_blue', ui: 'charcoal',
items : [{ items : [{
id: 'simulationOptions', id: 'simulationOptions',
xtype: 'button', xtype: 'button',
text: 'simulations', iconCls: 'list',
iconMask: true,
left: '100%', left: '100%',
top: 7, top: 7,
ui: ['square','blue'], ui: ['square'],
}] }]
}, },
......
...@@ -8,7 +8,7 @@ Ext.define('app.view.Simulation', { ...@@ -8,7 +8,7 @@ Ext.define('app.view.Simulation', {
{ {
docked: 'top', docked: 'top',
xtype: 'toolbar', xtype: 'toolbar',
ui: 'darker_blue', ui: 'charcoal',
title: 'Flood Simulation Browser', title: 'Flood Simulation Browser',
}, },
{ {
......
...@@ -5,9 +5,10 @@ Ext.define('app.view.StepsOverlay', { ...@@ -5,9 +5,10 @@ Ext.define('app.view.StepsOverlay', {
config: { config: {
style: "background: none", // style: "background-image: url(resources/images/bg.png) x-repeat y-repeat !important",
id: 'overlay', id: 'overlay',
html: 'Controls', style: 'background: none;',
html: '<div id="controls_title"><h2>Controls<h2></div>',
showAnimation: { showAnimation: {
type: 'slideIn', type: 'slideIn',
direction:'left', direction:'left',
...@@ -26,18 +27,17 @@ Ext.define('app.view.StepsOverlay', { ...@@ -26,18 +27,17 @@ Ext.define('app.view.StepsOverlay', {
{ {
xtype: 'button', xtype: 'button',
id: 'closebutton', id: 'closebutton',
iconCls: 'delete', top: -10,
iconMask: true,
height: 10,
ui: 'red',
top: 0,
right: 0, right: 0,
ui:'plain',
border: 'solid', border: 'solid',
style: 'color: white; background: none',
html: 'x',
handler: this.closebutton, handler: this.closebutton,
scope: this, scope: this,
}, },
{ {
top: 10, top: 30,
left: 35, left: 35,
align: 'center', align: 'center',
items : [ items : [
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -83,12 +83,41 @@ ...@@ -83,12 +83,41 @@
border: solid; border: solid;
border-width: 1px; border-width: 1px;
border-color: #a9a9a9; border-color: #a9a9a9;
background-image: url('resources/images/bg.png');
}
.x-list .x-list-inner {
background-image: url('resources/images/bg.png');
}
.x-list-item {
} }
.x-button-icon.down.x-icon-mask { .x-button-icon.down.x-icon-mask {
background: url(up.png); background: url(up.png);
} }
#controls_title {
}
.x-back-button {
}
#controls_title h2 {
color: white;
border: white;
background: rgb(169,3,41); /* Old browsers */
background: -moz-linear-gradient(top, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 44%, rgba(109,0,25,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(169,3,41,1)), color-stop(44%,rgba(143,2,34,1)), color-stop(100%,rgba(109,0,25,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%); /* IE10+ */
background: linear-gradient(top, rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
}
</style> </style>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -83,12 +83,41 @@ ...@@ -83,12 +83,41 @@
border: solid; border: solid;
border-width: 1px; border-width: 1px;
border-color: #a9a9a9; border-color: #a9a9a9;
background-image: url('resources/images/bg.png');
}
.x-list .x-list-inner {
background-image: url('resources/images/bg.png');
}
.x-list-item {
} }
.x-button-icon.down.x-icon-mask { .x-button-icon.down.x-icon-mask {
background: url(up.png); background: url(up.png);
} }
#controls_title {
}
.x-back-button {
}
#controls_title h2 {
color: white;
border: white;
background: rgb(169,3,41); /* Old browsers */
background: -moz-linear-gradient(top, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 44%, rgba(109,0,25,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(169,3,41,1)), color-stop(44%,rgba(143,2,34,1)), color-stop(100%,rgba(109,0,25,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%); /* IE10+ */
background: linear-gradient(top, rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
}
</style> </style>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
@include pictos-iconmask('close_overlay'); @include pictos-iconmask('close_overlay');
@include pictos-iconmask('play1'); @include pictos-iconmask('play1');
@include pictos-iconmask('pause'); @include pictos-iconmask('pause');
@include pictos-iconmask('list');
@include sencha-toolbar-ui('darker_blue', #003F69, 'glossy'); @include sencha-toolbar-ui('darker_blue', #003F69, 'glossy');
@include sencha-toolbar-ui('lighter_blue', #00538F, 'glossy'); @include sencha-toolbar-ui('lighter_blue', #00538F, 'glossy');
@include sencha-button-ui('blue', #003F69, 'glossy'); @include sencha-button-ui('blue', #003F69, 'glossy');
@include sencha-button-ui('red', #C40000, 'glossy'); @include sencha-button-ui('red', #C40000, 'glossy');
@include sencha-toolbar-ui('charcoal', #111111,'glossy');
// You may remove any of the following modules that you // You may remove any of the following modules that you
// do not use in order to create a smaller css file. // do not use in order to create a smaller css file.
...@@ -26,9 +27,22 @@ ...@@ -26,9 +27,22 @@
x-list-item { x-list-item {
// needs latest Compass, add '@import "compass"' to your scss // needs latest Compass, add '@import "compass"' to your scss
@include filter-gradient(#00000000, #a6000000, horizontal); // IE6-9 @include filter-gradient(#000, #a60000, horizontal); // IE6-9
@include background-image(linear-gradient(left, rgba(0,0,0,0) 0%,rgba(132,2,2,0.77) 76%,rgba(5,0,0,1) 99%,rgba(0,0,0,0.65) 100%)); @include background-image(linear-gradient(left, rgba(0,0,0,0) 0%,rgba(132,2,2,0.77) 76%,rgba(5,0,0,1) 99%,rgba(0,0,0,0.65) 100%));
copied to clipboard copy }
.x-list {
}
.x-button-back {
// needs latest Compass, add '@import "compass"' to your scss
background-color: rgb(109,179,242); // Old browsers
@include filter-gradient(#6db3f2, #1e69de, vertical); // IE6-9
@include background-image(linear-gradient(top, rgba(109,179,242,1) 0%,rgba(84,163,238,1) 50%,rgba(54,144,240,1) 51%,rgba(30,105,222,1) 100%));
}
#overlay {
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment