styling changes

This commit is contained in:
2012-12-10 08:43:38 +01:00
parent b5ddd448b2
commit 7d0afde69f
22 changed files with 176 additions and 73 deletions
@@ -0,0 +1,78 @@
$qbrown: #853d15
$qbrown-active: lighten($qbrown, 20%)
$green: #7BB459 //Heineken
//$wood: image-url('textures/wood001-vertical.jpg')
$wood: image-url('textures/theme1.jpg')
$background-brown: #57351f
$side-spacing: 5px
=wood-button
background-color: transparent
background-repeat: no-repeat, no-repeat, repeat-x
background-position: left center, right center, center center
background-image: url(/assets/theme1/button-wood-left.png), url(/assets/theme1/button-wood-right.png), url(/assets/theme1/button-wood-middle.png)
color: $green
border-width: 0
border-radius: 0
height: 31px
//padding-bottom: 18px
+box-shadow(#000 4px 4px 8px)
&:hover
background-color: transparent
background-repeat: no-repeat, no-repeat, repeat-x
background-position: left center, right center, center center
background-image: url(/assets/theme1/button-wood-left.png), url(/assets/theme1/button-wood-right.png), url(/assets/theme1/button-wood-middle.png)
color: blue
=button-bar
background-color: transparent
background-repeat: no-repeat, no-repeat
background-position: left bottom, right bottom
background-image: image-url('theme1/button-bar-left.png'), image-url('theme1/button-bar-right.png')
color: $green
border-width: 0
border-radius: 0
min-height: 61px
height: 61px
padding-left: 49px
padding-right: 53px
.button-bar-inner
//+single-box-shadow(#000, 0px, 4px, 8px, 0px, true)
background-color: white
background-repeat: repeat-x
background-position: center bottom
background-image: image-url('theme1/button-bar-middle.png')
//min-height: 61px
height: 100%
.button-bar-content
padding: 8px
.title
margin-top: -10px
margin-right: 5px
margin-left: 5px
margin-bottom: 3px
color: black
float: left
.action-buttons
float: left
width: 150px
//padding-bottom: 18px
//+box-shadow(#000 4px 4px 8px)
=user-button
+wood-button
cursor: pointer
border: 0px solid black
//+border-radius(4px)
//+box-shadow(#000 4px 4px 8px)
width: 30px
//height: 34px
display: inline-block
float: left
margin-right: 15px
background-color: $qbrown
text-align: center
line-height: 34px
text-indent: -5000px
&.active
background-color: $qbrown-active
&.hide
display: none
@@ -0,0 +1,5 @@
@import compass
@import user/constants
#products-table
.order-product-button
+wood-button
+40 -39
View File
@@ -1,27 +1,5 @@
@import compass
@import constants
$side-spacing: 5px
=user-button
cursor: pointer
border: 2px solid black
+border-radius(4px)
+box-shadow(#000 4px 4px 8px)
width: 34px
height: 34px
display: block
float: left
margin-left: 15px
background-color: $qbrown
text-align: center
line-height: 34px
background-repeat: no-repeat
background-position: center center
text-indent: -5000px
&.active
background-color: $qbrown-active
&.hide
display: none
@import user/constants
html
background-image: $wood
background-color: $background-brown
@@ -58,14 +36,21 @@ body
margin-top: 5px
margin-left: auto
margin-right: auto
background-color: green
width: 262px
a
+user-button
span
display: block
width: 28px
height: 26px
background-repeat: no-repeat
background-position: center center
&.home-list-link
background-image: image-url('icons/list.png')
span
background-image: image-url('icons/list.png')
&.home-menu-link
background-image: image-url('icons/menu.png')
span
background-image: image-url('icons/menu.png')
//padding-top: 50px
.navbar-fixed-top
margin-left: -$side-spacing
@@ -82,11 +67,6 @@ body
.order-count-cell
white-space: nowrap
.page-header
.supplier-name
float: right
margin-right: 8px
.table-number
float: right
#list-needs-help-button
button
margin-left: 5px
@@ -99,11 +79,32 @@ body
padding-left: 5px
.user-top-button
+user-button
&#show-active-list
background-image: image-url('icons/list.png')
&#place-order-on-list
background-image: image-url('icons/menu.png')
&#list-needs-payment-button
background-image: image-url('icons/needs-payment.png')
&#list-needs-help-button
background-image: image-url('icons/needs-help.png')
span
display: block
width: 28px
height: 28px
background-position: center center
background-repeat: no-repeat
.top-button-bar
+button-bar
height: 90px
.button-bar-content
padding-top: 10px
.supplier-name
float: right
margin-right: 8px
.table-number
float: right
#show-active-list
span
background-image: image-url('icons/list.png')
#place-order-on-list
span
background-image: image-url('icons/menu.png')
#list-needs-payment-button
span
background-image: image-url('icons/needs-payment.png')
#list-needs-help-button
span
background-image: image-url('icons/needs-help.png')