Skip to content

Commit

Permalink
Merge pull request #1 from davidkaneda/master
Browse files Browse the repository at this point in the history
UPDATIN YO STYLEZ
  • Loading branch information
davidkaneda committed Jul 15, 2011
2 parents 4f356f9 + 25a73d4 commit 99f5590
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1 +1,2 @@
/lib/.DS_Store
/lib/.DS_Store
/scss/.sass-cache/
33 changes: 19 additions & 14 deletions app/app.js
Expand Up @@ -156,17 +156,22 @@ var wb = new Ext.Application({
(wb.indicatorCardChart = new Ext.chart.Chart({
title: 'Chart',
store: null,
interactions: [],
theme: 'Fancy',
interactions: [{
type: 'reset'
}, {
type: 'axisnavigation'
}],
axes: [{
type: 'Numeric',
grid: {
odd: {
opacity: 1,
fill: '#ddd',
stroke: '#bbb',
'stroke-width': 0.5
}
},
// grid: {
// odd: {
// opacity: 1,
// fill: '#ddd',
// stroke: '#bbb',
// 'stroke-width': 0.5
// }
// },
position: 'left',
fields: ['value'],
title: 'Value'
Expand All @@ -181,14 +186,14 @@ var wb = new Ext.Application({
series: [{
type: 'line',
lineWidth: 1,
showMarkers: false,
// showMarkers: false,
fill: true,
axis: 'left',
xField: 'date',
yField: 'value',
style: {
'stroke-width': 1
}
yField: 'value'
// style: {
// 'stroke-width': 1
// }
}]
})),
(wb.indicatorCardTable = new Ext.List({
Expand Down
1 change: 1 addition & 0 deletions css/worldbank.css

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions index.html
Expand Up @@ -7,15 +7,12 @@
<script src="lib/touch/sencha-touch.js" type="text/javascript"></script>
<script src="lib/touch/touch-charts-debug.js" type="text/javascript"></script>

<link href="lib/touch/resources/css/sencha-touch.css" rel="stylesheet" type="text/css" />
<link href="lib/touch/resources/css/touch-charts.css" rel="stylesheet" type="text/css" />
<link href="css/worldbank.css" rel="stylesheet" type="text/css">

<script src="http://maps.google.com/maps/api/js?sensor=true" type="text/javascript"></script>

<script type="text/javascript" src="app/app.js"></script>
<script type="text/javascript" src="app/models.js"></script>


</head>
<body></body>
</html>
16 changes: 16 additions & 0 deletions scss/config.rb
@@ -0,0 +1,16 @@
# Get the directory that this configuration file exists in
dir = File.dirname(__FILE__)

# Load the sencha-touch and touch-charts frameworks automatically.
load File.join(dir, '..', '..', 'SDK', 'touch', 'resources', 'themes')
load File.join(dir, '..', '..', 'SDK', 'charts', 'resources', 'themes')

# Compass configurations
sass_path = dir
css_path = File.join(dir, "..", "css")

images_path = File.join(dir, '..', '..', 'SDK', 'charts', 'resources', 'images')

# Require any additional compass plugins here.
environment = :production
output_style = :compressed
29 changes: 29 additions & 0 deletions scss/worldbank.scss
@@ -0,0 +1,29 @@
// Base Sencha Touch stylesheets

$base-color: #5d6056;
$active-color: #8c0000;

$list-bg-color: #f3f4f0;

@import 'sencha-touch/default/all';

@include sencha-panel;
@include sencha-buttons;
/*@include sencha-sheet;*/
/*@include sencha-picker;*/
@include sencha-tabs;
@include sencha-toolbar;
@include sencha-toolbar-forms;
/*@include sencha-carousel;*/
/*@include sencha-indexbar;*/
@include sencha-list;
/*@include sencha-list-paging;*/
/*@include sencha-list-pullrefresh;*/
@include sencha-layout;
@include sencha-form;
@include sencha-msgbox;
@include sencha-loading-spinner;

// @import Touch charts

@import 'touch-charts/default/all';

0 comments on commit 99f5590

Please sign in to comment.