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