Skip to content

Commit

Permalink
Fixed the colors of the menu in bootstrap.css
Browse files Browse the repository at this point in the history
Fixed tile layouts
Fixed aside
Fixed taxon page
Fixed account page
  • Loading branch information
thms committed Sep 30, 2013
1 parent 0279475 commit f6b81b8
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 21 deletions.
16 changes: 8 additions & 8 deletions app/assets/stylesheets/store/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
.nav > li > a:focus {
text-decoration: none;
border-radius: 4px 4px 0 0;
color: #fff;
color: #593D2b;
}
.nav > li.disabled > a {
color: #999999;
Expand All @@ -59,7 +59,7 @@
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
background-color: #593d2b;
background-color: #593D2b;
border-radius: 4px 4px 0 0;
color: white;
}
Expand Down Expand Up @@ -515,7 +515,7 @@ button.navbar-toggle .icon-bar + .icon-bar {
margin-top: 0;
border-top-right-radius: 0;
border-top-left-radius: 0;
background: #593d2b;
background: #593D2B;
}
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
border-bottom-right-radius: 0;
Expand Down Expand Up @@ -960,7 +960,7 @@ button.navbar-toggle .icon-bar + .icon-bar {
-webkit-border-radius: 0 6px 6px 6px;
-moz-border-radius: 0 6px 6px 6px;
border-radius: 0 6px 6px 6px;
background: #593d2b;
background: #593D2b;
}

.dropdown-submenu:hover > .dropdown-menu {
Expand Down Expand Up @@ -1018,7 +1018,7 @@ button.navbar-toggle .icon-bar + .icon-bar {
.navbar {
clear: both;
font-family: "mrseavesmedium", serif;
border-bottom: 4px double #593d2b;
border-bottom: 4px double #593D2b;
margin-top: 10px;
}

Expand Down Expand Up @@ -1060,7 +1060,7 @@ button.navbar-toggle {
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
background-color: #593d2b;
background-color: #593D2b;
border-radius: 4px 4px 0 0;
color: white;
}
Expand Down Expand Up @@ -1088,7 +1088,7 @@ button.navbar-toggle {
}

.navbar-nav .open .dropdown-menu {
background: #593d2b;
background: #593D2b;
}

.dropdown-submenu > a:after {
Expand Down Expand Up @@ -1158,7 +1158,7 @@ button.navbar-toggle {
}

.navbar-nav .open .dropdown-menu {
background: #593d2b;
background: #593D2b;
}

.dropdown-submenu > a:after {
Expand Down
23 changes: 17 additions & 6 deletions app/assets/stylesheets/store/media_queries.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,13 @@ footer#footer ul li {padding-bottom:10px;}
padding-left: 10px;
width: 758px;
}
footer#footer {
footer#footer, #content {
width: 758px;
}
p[data-hook="use_billing"] {
margin-top: -15px;
}
}
ul#products .columns {width:164px;margin-left:0px;}
}

/* All Mobile Sizes (devices and browser) */
Expand All @@ -135,12 +136,18 @@ footer#footer ul li {padding-bottom:10px;}
footer#footer {
width: 640px;
}
aside#sidebar {display:none;}

div.six.columns[data-hook="product_left_part"] {float:left;width:250px;}
div.columns[data-hook="product_right_part"] {float:none;width:100%;}


.home-gp, .home-dl, .home-nl {float:none;width:100%;}

#search-box {top:113px;right:auto;left:0px;}
ul#nav-bar li {display:block;}


#order_details .steps-data div.columns,
#order_summary .steps-data div.columns {
padding: 0;
Expand Down Expand Up @@ -212,10 +219,11 @@ footer#footer ul li {padding-bottom:10px;}
margin-right: -20px;

li {
width: 133px;
margin-right: 10px;
width: 164px;
margin-right: 0px;
}
}
div.six.columns[data-hook="product_left_part"] {float:left;width:140px;}

table#cart-detail, table[data-hook="order_details"] {
tbody {
Expand Down Expand Up @@ -267,6 +275,9 @@ footer#footer ul li {padding-bottom:10px;}
padding: 10px 20px;
}
}
.taxon-image img {width:75%;height:75%;}
div.six.columns[data-hook="product_left_part"] {float:left;width:120px;}
div.columns[data-hook="product_right_part"] {text-align:left;}

#shipping_method p label {
float: none;
Expand Down Expand Up @@ -348,8 +359,8 @@ footer#footer ul li {padding-bottom:10px;}
ul#products {

li {
width: 142px;
margin-right: 15px;
width: 164px;
margin-right: 0px;

&.secondary, &.omega {
margin-right: 0;
Expand Down
9 changes: 6 additions & 3 deletions app/assets/stylesheets/store/reservebar.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ div#slider .nivo-caption {right:0;height:250px;width:50%;color:#333;background:n
div#slider .nivo-controlNav {right:0;bottom:0;left:auto;}

/* Search box - needs to have same zINdex as menu to allow autosuggest to be on top of the menu */
#keywords {position:relative;z-index:100;width:220px;}
#keywords {position:relative;z-index:2000;width:220px;}

/* minicart styling*/
div#minicart {background-color:#eeeeee;z-index:200;}
div#minicart {background-color:#eeeeee;z-index:4000;}
div#minicart-footer {text-align:right;padding-right:12px;margin-top:5px;}
div#minicart table {margin:0 auto;}
div#minicart table th {text-align:center;}
Expand Down Expand Up @@ -178,4 +178,7 @@ sub, sup {font-size:60%;}

td[data-hook="cart_item_image"] {min-width:50px;}

.product-not-active {margin:24px;font-weight:bold;}
.product-not-active {margin:24px;font-weight:bold;}

.taxon-image {float:left;margin-right:12px;}
.taxon-text {float:none;width:100%;text-align:left;}
3 changes: 3 additions & 0 deletions app/assets/stylesheets/store/screen.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ $product_title_text_color: #C13828;
$product_body_text_color: #593d2b;
$product_link_text_color: #C13828;

$nav_link_hover_color: #FBB917;



/*--------------------------------------*/
Expand Down Expand Up @@ -119,6 +121,7 @@ mark {background-color: $link_text_color; color: $layout_background_color; font-
}
}

.navbar-nav a:hover {color: $nav_link_hover_color !important;}
/*--------------------------------------*/
/* Lists
/*--------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion app/overrides/account_page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:name => "account_page_spacing",
:insert_before => "[data-hook='account_summary']",
:text => "<style>\nh3 {margin-top:24px;} #content {width:980px;} table {width:100%;} #user-info td, #user_addresses td{width:50%;}\n</style>\n",
:disabled => false)
:disabled => true)

Deface::Override.new(:virtual_path => "spree/users/show",
:name => "account_page_summary",
Expand Down
4 changes: 2 additions & 2 deletions app/views/spree/taxons/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@

<% unless @taxon.description.blank? %>
<div style="min-height:150px;">
<div style="float:left;width:48%;text-align:right;">
<div class="taxon-image">
<%= image_tag @taxon.icon(:product) %>
</div>
<div style="float:left;width:48%;margin-left:24px;">
<div class="taxon-text">
<h3 class="taxon-title"><%= accurate_title %></h3>
<br />
<%= @taxon.description.html_safe %>
Expand Down
2 changes: 1 addition & 1 deletion spree_reservebar_theme.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'spree_reservebar_theme'
s.version = '0.6.1'
s.version = '0.6.2'
s.summary = 'Spree Commerce Theme for reservebar.com'

s.author = 'Thomas Boltze'
Expand Down

0 comments on commit f6b81b8

Please sign in to comment.