Godwin
11 years ago
9 changed files with 137 additions and 172 deletions
After Width: | Height: | Size: 154 KiB |
@ -0,0 +1,41 @@ |
|||||
|
/** |
||||
|
|
||||
|
Layouts only |
||||
|
|
||||
|
*/ |
||||
|
|
||||
|
#main-container, #footer, #nav-inner { |
||||
|
max-width: $large-screen; |
||||
|
margin: 0 auto; |
||||
|
} |
||||
|
|
||||
|
$body-background-color: #EEE; |
||||
|
$main-container-background-color: #F4F4F4; |
||||
|
$content-background-color: #FFF; |
||||
|
$layout-border-color: #DDD; |
||||
|
|
||||
|
body { |
||||
|
background-color: $body-background-color; |
||||
|
} |
||||
|
|
||||
|
#main-container { |
||||
|
background-color: $main-container-background-color; |
||||
|
border: 1px solid $layout-border-color; |
||||
|
border-top: 0; |
||||
|
} |
||||
|
|
||||
|
#main { |
||||
|
border-right: 1px solid $layout-border-color; |
||||
|
padding: 0; |
||||
|
} |
||||
|
|
||||
|
article.content { |
||||
|
background-color: $content-background-color; |
||||
|
border-left: 1px solid $layout-border-color; |
||||
|
} |
||||
|
|
||||
|
|
||||
|
#article-header { |
||||
|
border-bottom: 1px solid $layout-border-color; |
||||
|
padding: 0; |
||||
|
} |
@ -0,0 +1,6 @@ |
|||||
|
/** |
||||
|
|
||||
|
Basic theme rules, html native elements only |
||||
|
|
||||
|
*/ |
||||
|
|
@ -1,5 +1,6 @@ |
|||||
class PagesController < ApplicationController |
class PagesController < ApplicationController |
||||
|
|
||||
def home |
def home |
||||
|
@title_img = '/assets/nola.jpg' |
||||
end |
end |
||||
end |
end |
||||
|
@ -1,5 +1,6 @@ |
|||||
- title t('hello') |
- title 'Bike!Bike!' |
||||
|
|
||||
%h1 |
%h1 |
||||
Ticket to Ride |
Bike!Bike! |
||||
%p.lead.muted |
%p.lead.muted |
||||
Ruby 2 + Rails 4.0.0 + Foundation |
Ruby 2 + Rails 4.0.0 + Foundation |
||||
|
@ -1,127 +1,30 @@ |
|||||
//.navbar.navbar-fixed-top |
|
||||
// .navbar-inner |
|
||||
// .container |
|
||||
// = link_to Rails.application.class.parent_name, root_path, class: 'brand' |
|
||||
|
|
||||
%nav.top-bar |
%nav.top-bar |
||||
|
#nav-inner |
||||
%ul.title-area |
%ul.title-area |
||||
/ Title Area |
/ Title Area |
||||
%li.name |
%li.name |
||||
%h1 |
%h1 |
||||
%a{href: "#"} Top Bar Title |
%a{href: "/"} Bike!Bike! |
||||
/ Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone |
/ Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone |
||||
%li.toggle-topbar.menu-icon |
%li.toggle-topbar.menu-icon |
||||
%a{href: "#"} |
%a{href: "#"} |
||||
%span Menu |
%span Menu |
||||
%section.top-bar-section |
.top-bar-section |
||||
/ Left Nav Section |
/ Left Nav Section |
||||
%ul.left |
%ul.left |
||||
%li.divider |
%li.divider |
||||
%li.active |
%li.active |
||||
%a{href: "#"} Main Item 1 |
%a{href: "#"} Conferences |
||||
%li.divider |
%li.divider |
||||
%li |
%li |
||||
%a{href: "#"} Main Item 2 |
%a{href: "#"} Organizations |
||||
%li.divider |
%li.divider |
||||
%li.has-dropdown |
|
||||
%a{href: "#"} Main Item 3 |
|
||||
%ul.dropdown |
|
||||
%li.has-dropdown |
|
||||
%a{href: "#"} Dropdown Level 1a |
|
||||
%ul.dropdown |
|
||||
%li |
%li |
||||
%label Dropdown Level 2 Label |
%a{href: "#"} Resources |
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 2a |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 2b |
|
||||
%li.has-dropdown |
|
||||
%a{href: "#"} Dropdown Level 2c |
|
||||
%ul.dropdown |
|
||||
%li |
|
||||
%label Dropdown Level 3 Label |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 3a |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 3b |
|
||||
%li.divider |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 3c |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 2d |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 2e |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 2f |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 1b |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 1c |
|
||||
%li.divider |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 1d |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 1e |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 1f |
|
||||
%li.divider |
|
||||
%li |
|
||||
%a{href: "#"} See all → |
|
||||
%li.divider |
%li.divider |
||||
/ Right Nav Section |
/ Right Nav Section |
||||
%ul.right |
%ul.right |
||||
%li.divider.hide-for-small |
%li.divider.hide-for-small |
||||
%li.has-dropdown |
|
||||
%a{href: "#"} Main Item 4 |
|
||||
%ul.dropdown |
|
||||
%li |
|
||||
%label Dropdown Level 1 Label |
|
||||
%li.has-dropdown |
|
||||
%a{href: "#"} Dropdown Level 1a |
|
||||
%ul.dropdown |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 2a |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 2b |
|
||||
%li.has-dropdown |
|
||||
%a{href: "#"} Dropdown Level 2c |
|
||||
%ul.dropdown |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 3a |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 3b |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 3c |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 2d |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 2e |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 2f |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 1b |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 1c |
|
||||
%li.divider |
|
||||
%li |
|
||||
%label Dropdown Level 1 Label |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 1d |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 1e |
|
||||
%li |
|
||||
%a{href: "#"} Dropdown Level 1f |
|
||||
%li.divider |
|
||||
%li |
|
||||
%a{href: "#"} See all → |
|
||||
%li.divider |
|
||||
%li.has-form |
|
||||
%form |
|
||||
.row.collapse |
|
||||
.small-8.columns |
|
||||
%input{type: "text"}/ |
|
||||
.small-4.columns |
|
||||
%a.alert.button{href: "#"} Search |
|
||||
%li.divider.show-for-small |
|
||||
%li.has-form |
%li.has-form |
||||
%a.button{href: "#"} Button! |
%a.button{href: "#"} Sign In! |
||||
|
Loading…
Reference in new issue