Style upgrades and emberified supplier lists

This commit is contained in:
2014-04-24 16:41:08 +02:00
parent 546e4499ea
commit 27a1022eb4
56 changed files with 321 additions and 139 deletions
@@ -1,5 +1,3 @@
@import font-awesome
@import ./foundation_and_overrides
.form-actions
.form-action-submit
+button($bg: $button-submit-color, $padding: $button-sml)
@@ -1,6 +1,3 @@
@import constants
@import font-awesome
@import foundation_and_overrides
header.top-menu
height: 90px
background-color: transparent
@@ -1,4 +1,3 @@
@import constants
aside.side-menu
background-color: #444
position: fixed
@@ -1,4 +1,3 @@
@import font-awesome
#product-category-list
list-style: none
li
@@ -1,4 +1,3 @@
@import ./foundation_and_overrides
.products_preview-date
.products_preview-time-container
float: left
@@ -0,0 +1,7 @@
//$qbrown: #634227
$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
@@ -1,5 +1,6 @@
@import foundation_and_overrides
.dashboard-section-selection
float: right
white-space: nowrap
.active-lists-table
width: 100%
.mark_list_as_helped
@@ -1,5 +1,3 @@
@import ./foundation_and_overrides
.display-row
@extend .row
.display-label
@@ -1,5 +1,3 @@
@import ./foundation_and_overrides
.form-row
@extend .row
.form-label
@@ -0,0 +1,36 @@
td.boolean
+table-fit
&.needs_help
.boolean-true
@extend .fa
@extend .fa-exclamation
&.needs_payment
.boolean-true
@extend .fa
@extend .fa-money
.list-orders-container
.currency
float: right
list-style: none
$padding: 6px 0 6px 35px
.list-order-container
background-position: left center
background-repeat: no-repeat
+grid-column(12)
padding: $padding
border-bottom: 1px solid #eee
&.active
background-image: image-url('icons/order-check.png')
&.delivered
background-image: image-url('icons/order-doublecheck.png')
.created_at
float: right
padding-right: 20px
padding-left: 10px
.list-orders-total
+grid-column(12)
padding: $padding
border-top: 2px solid #444
font-weight: bold
@@ -1,7 +1,4 @@
$side-spacing: 0px
@import constants
@import ./foundation_and_overrides
@import font-awesome
.supplier-is-closed
+alert($bg: $secondary-color)
.close
@@ -1,6 +1,3 @@
@import constants
@import ./foundation_and_overrides
@import font-awesome
table
&.table
// Bootstrap behaviour
@@ -36,3 +33,10 @@ table
span
@extend .fa
@extend .fa-times
.section-dashboard-orders
+button($bg: $secondary-color)
+button-icon-only
margin-right: 0.7rem
span
@extend .fa
@extend .fa-list-alt
@@ -24,3 +24,10 @@
content: ''
display: block
clear: left
.goto-sections-index-tab-header
float: left
span
@extend .fa
@extend .fa-share
@extend .fa-lg
@extend .fa-rotate-270
@@ -1,9 +0,0 @@
/*
*= require ./foundation_and_overrides
*= require 'jquery-ui-1.8.23.custom.css'
*= require qtip
*= require_directory ../base1-shared
*= require pickdate
*= require_directory .
*= require_self
*/
@@ -0,0 +1,18 @@
//= require qtip
//= require_directory ../base1-shared
//= require pickdate
@import ./qconstants
@import ./foundation_and_overrides
@import ./qstructure
@import ./qicons
@import ./qdashboard
@import ./qdisplays
@import ./form_actions
@import ./qforms
@import ./menu_main
@import ./menu_side
@import ./product_categories
@import ./products_preview
@import ./qtables
@import ./section_tab_headers
@import ./qlists
@@ -1,12 +0,0 @@
@import font-awesome
@import ./foundation_and_overrides
td.boolean
+table-fit
&.needs_help
.boolean-true
@extend .fa
@extend .fa-exclamation
&.needs_payment
.boolean-true
@extend .fa
@extend .fa-money
@@ -15,3 +15,6 @@ ul.product-orders
.icon
@extend .fa
@extend .fa-times
.order-selected-products-button
float: right
+button($padding: $button-tny)