Some minor style changes and ember confirugation simplification
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
# http://emberjs.com/guides/models/defining-a-store/
|
||||
DS.RESTAdapter.reopen
|
||||
namespace: 'supplier'
|
||||
#DS.RESTAdapter.reopen
|
||||
# namespace: 'supplier'
|
||||
|
||||
Qsupplier.App.ApplicationSerializer = DS.ActiveModelSerializer
|
||||
|
||||
Qsupplier.App.CustomAdapter = DS.RESTAdapter.extend
|
||||
|
||||
Qsupplier.App.ApplicationStore = DS.Store.extend
|
||||
adapter: DS.RESTAdapter.extend
|
||||
namespace: 'supplier'
|
||||
# user underscored paths
|
||||
pathForType: (type)->
|
||||
decamelized = Ember.String.decamelize(type)
|
||||
Ember.String.pluralize(decamelized)
|
||||
Qsupplier.App.Store = DS.Store.extend
|
||||
revision: 13
|
||||
adapter: Qsupplier.App.CustomAdapter
|
||||
Ember.String.pluralize(Ember.String.decamelize(type))
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
@import ./menu_main
|
||||
@import ./menu_side
|
||||
@import ./qsections
|
||||
@import ./product_categories
|
||||
@import ./products_preview
|
||||
@import ./qtables
|
||||
@import ./section_tab_headers
|
||||
@import ./qlists
|
||||
|
||||
+8
-4
@@ -14,23 +14,27 @@
|
||||
&.inactive
|
||||
opacity: 0.4
|
||||
#full_day-controller
|
||||
line-height: 34px
|
||||
vertical-align: top
|
||||
// height: 34px
|
||||
display: inline-block
|
||||
span
|
||||
@extend .fa
|
||||
@extend .fa-clock-o
|
||||
margin: 0 10px
|
||||
color: #f70
|
||||
color: #444
|
||||
&.active
|
||||
span
|
||||
// Full day active is not special, highlight when not active,
|
||||
// because it indicates the being active of a time range
|
||||
color: #444
|
||||
color: #f70
|
||||
#sub-day-container
|
||||
display: inline-block
|
||||
vertical-align: top
|
||||
&.hide
|
||||
display: none
|
||||
select
|
||||
width: 70px
|
||||
margin-right: 14px
|
||||
margin-bottom: 0
|
||||
.product-category-visible-never
|
||||
@extend .fa
|
||||
@extend .fa-times
|
||||
Reference in New Issue
Block a user