Skip to content

Commit

Permalink
Theme changes
Browse files Browse the repository at this point in the history
  • Loading branch information
suhairelayadath committed Sep 26, 2011
1 parent 2c363ac commit f307534
Show file tree
Hide file tree
Showing 13 changed files with 161 additions and 16 deletions.
13 changes: 9 additions & 4 deletions .themes/light/sass/site.scss
@@ -1,6 +1,11 @@
@import url(http://fonts.googleapis.com/css?family=IM+Fell+Double+Pica:400italic);
body{
background: none repeat scroll 0 0 #F0F0EB;
background-image: url(/images/bkg.jpg);
background-position: center top;
background-color: #DDD;
margin: 0px;

color: #303030;
font-family:'Josefin Sans',Helvetica,Arial,sans-serif;
font-size: 16px;
Expand Down Expand Up @@ -54,8 +59,6 @@ a:hover {
.mast_head
{
padding-bottom:30px;
border-bottom:2px dashed #ccc;
background-color:#F9F2E3;
}

#blog_index
Expand Down Expand Up @@ -124,8 +127,10 @@ blockquote small
}

.gray{

background-color:#DCEAF4;
background: none repeat scroll 0 0 #F0F0EB;
background-image: url(/images/bkg_cyan.jpg);
background-position: center top;
background-color: #DDD;
}

.padding40{
Expand Down
12 changes: 9 additions & 3 deletions .themes/light/sass/site.scss~
@@ -1,6 +1,11 @@
@import url(http://fonts.googleapis.com/css?family=IM+Fell+Double+Pica:400italic);
body{
background: none repeat scroll 0 0 #F0F0EB;
background-image: url(/images/bkg.jpg);
background-position: center top;
background-color: #DDD;
margin: 0px;

color: #303030;
font-family:'Josefin Sans',Helvetica,Arial,sans-serif;
font-size: 16px;
Expand Down Expand Up @@ -54,7 +59,6 @@ a:hover {
.mast_head
{
padding-bottom:30px;
border-bottom:2px dashed #ccc;
}

#blog_index
Expand Down Expand Up @@ -123,8 +127,10 @@ blockquote small
}

.gray{

background-color:#DCEAF4;
background: none repeat scroll 0 0 #F0F0EB;
background-image: url(/images/bkg.jpg);
background-position: center top;
background-color: #DDD;
}

.padding40{
Expand Down
Binary file added .themes/light/source/images/bkg.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .themes/light/source/images/bkg_cyan.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 9 additions & 4 deletions sass/site.scss
@@ -1,6 +1,11 @@
@import url(http://fonts.googleapis.com/css?family=IM+Fell+Double+Pica:400italic);
body{
background: none repeat scroll 0 0 #F0F0EB;
background-image: url(/images/bkg.jpg);
background-position: center top;
background-color: #DDD;
margin: 0px;

color: #303030;
font-family:'Josefin Sans',Helvetica,Arial,sans-serif;
font-size: 16px;
Expand Down Expand Up @@ -54,8 +59,6 @@ a:hover {
.mast_head
{
padding-bottom:30px;
border-bottom:2px dashed #ccc;
background-color:#F9F2E3;
}

#blog_index
Expand Down Expand Up @@ -124,8 +127,10 @@ blockquote small
}

.gray{

background-color:#DCEAF4;
background: none repeat scroll 0 0 #F0F0EB;
background-image: url(/images/bkg_cyan.jpg);
background-position: center top;
background-color: #DDD;
}

.padding40{
Expand Down
12 changes: 9 additions & 3 deletions sass/site.scss~
@@ -1,6 +1,11 @@
@import url(http://fonts.googleapis.com/css?family=IM+Fell+Double+Pica:400italic);
body{
background: none repeat scroll 0 0 #F0F0EB;
background-image: url(/images/bkg.jpg);
background-position: center top;
background-color: #DDD;
margin: 0px;

color: #303030;
font-family:'Josefin Sans',Helvetica,Arial,sans-serif;
font-size: 16px;
Expand Down Expand Up @@ -54,7 +59,6 @@ a:hover {
.mast_head
{
padding-bottom:30px;
border-bottom:2px dashed #ccc;
}

#blog_index
Expand Down Expand Up @@ -123,8 +127,10 @@ blockquote small
}

.gray{

background-color:#DCEAF4;
background: none repeat scroll 0 0 #F0F0EB;
background-image: url(/images/bkg.jpg);
background-position: center top;
background-color: #DDD;
}

.padding40{
Expand Down
13 changes: 12 additions & 1 deletion source/_posts/2011-09-11-essential-extjs4.markdown
Expand Up @@ -97,7 +97,18 @@ el.on('click', this.onElementClick, this, {
<div class="row">
<h2>Ext.form.Panel</h2>
<div class="eightcol">
FormPanel provides standard container for forms. FormPanel is configured with the Anchor layout by default. It accepts all the configuration options associated with the BasicForm class through the <code>initialConfig</code> property.
<p class="para">
FormPanel provides standard container for forms. FormPanel is configured with the Anchor layout by default. It accepts all the configuration options associated with the BasicForm class through the <code>initialConfig</code> property. <code>bodyPadding</code> is a useful property of Form panel, which it inherits from the <code>AbstractPanel</code> component. It could either be a number applied to all sides or a normal css string.
</p>

<p class="para">
<code>defaults</code> option, inherited from <code>AbstractContainer</code> allows applying default settings to all of the added items. <code>buttons</code> configuration property is a convenience method to add docked buttons to the bottom of the panel.It is a synonym for <code>fbar</code> configuration.
</p>

<p class="para">
<code>Ext.form.field.File</code> is aliased as filefield and fileuploadfield and allows user selection of a file and uploading it to server on form submit. When the fileupload is used, ExtJs by default expects text/html content type json rather than the json/application one as the server response.
</p>

</div>
<div class="fourcol last"></div>
</div>
Expand Down
23 changes: 23 additions & 0 deletions source/_posts/2011-09-11-essential-extjs4.markdown~
Expand Up @@ -93,3 +93,26 @@ el.on('click', this.onElementClick, this, {
</div>


<div class="container padding40">
<div class="row">
<h2>Ext.form.Panel</h2>
<div class="eightcol">
<p class="para">
FormPanel provides standard container for forms. FormPanel is configured with the Anchor layout by default. It accepts all the configuration options associated with the BasicForm class through the <code>initialConfig</code> property. <code>bodyPadding</code> is a useful property of Form panel, which it inherits from the <code>AbstractPanel</code> component. It could either be a number applied to all sides or a normal css string.
</p>

<p class="para">
<code>defaults</code> option, inherited from <code>AbstractContainer</code> allows applying default settings to all of the added items. <code>buttons</code> configuration property is a convenience method to add docked buttons to the bottom of the panel.It is a synonym for <code>fbar</code> configuration.
</p>

<p class="para">
<code>Ext.form.field.File</code> is aliased as filefield and fileuploadfield and allows user selection of a file and uploading it to server on form submit.
</p>

</div>
<div class="fourcol last"></div>
</div>
</div>



45 changes: 45 additions & 0 deletions source/_posts/2011-09-23-rspec-and-rails-3-dot-1-basics.markdown
@@ -0,0 +1,45 @@
---
layout: post
title: "Rspec and Rails 3.1 Basics"
date: 2011-09-23 06:09
comments: true
categories:
---
<div class="container">
<div class="row">
<div class="sixcol">&nbsp;</div>
<div class="sixcol last">
<h1 class="main-head">Hooking into rspec driven development with Rails 3.1</h1>
</div>
</div>
</div>

<div class="container padding40">
<div class="row">
<h2>Getting Started with RSpec</h2>
<div class="eightcol">
<pre>
group :test, :development do
gem 'rspec-rails'
end

group :test do
gem 'cucumber-rails'
gem 'capybara'
gem 'database_cleaner'
end
</pre>

<p class="para">
After doing <code>bundle install</code>, it is time to use the built in generator that comes with rspec.
</p>
<pre>
rails g rspec:install
rails g cucumber:install
</pre>
</div>
<div class="fourcol last"></div>
</div>
</div>


44 changes: 44 additions & 0 deletions source/_posts/2011-09-23-rspec-and-rails-3-dot-1-basics.markdown~
@@ -0,0 +1,44 @@
---
layout: post
title: "Rspec and Rails 3.1 Basics"
date: 2011-09-23 06:09
comments: true
categories:
---
<div class="container">
<div class="row">
<div class="sixcol">&nbsp;</div>
<div class="sixcol last">
<h1 class="main-head">Hooking into rspec driven development with Rails 3.1</h1>
</div>
</div>
</div>

<div class="container padding40">
<div class="row">
<h2>Getting Started with RSpec</h2>
<div class="eightcol">
<pre>
group :test, :development do
gem 'rspec-rails'
end

group :test do
gem 'cucumber-rails'
gem 'capybara'
gem 'database_cleaner'
end
</pre>

<p class="para">
After doing <code>bundle install</code>, it is time to use the built in generator that comes with rspec.
</p>
<pre>
rails g rspec:install
</pre>
</div>
<div class="fourcol last"></div>
</div>
</div>


Binary file added source/images/bkg.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/bkg_cyan.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion source/stylesheets/site.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f307534

Please sign in to comment.