Style fixes
This commit is contained in:
parent
4b12411d6b
commit
127c5e6c02
|
@ -1,9 +1,7 @@
|
||||||
<a
|
<a
|
||||||
ui-sref="clientCard.basicData({ id: {{::$ctrl.client.id}} })"
|
ui-sref="clientCard.basicData({ id: {{::$ctrl.client.id}} })"
|
||||||
translate-attr="{title: 'View client'}"
|
translate-attr="{title: 'View client'}"
|
||||||
class="vn-list-item"
|
class="vn-list-item">
|
||||||
pad-medium
|
|
||||||
border-solid-bottom>
|
|
||||||
<vn-horizontal ng-click="$ctrl.onClick($event)">
|
<vn-horizontal ng-click="$ctrl.onClick($event)">
|
||||||
<vn-one>
|
<vn-one>
|
||||||
<h6>{{::$ctrl.client.name}}</h6>
|
<h6>{{::$ctrl.client.name}}</h6>
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
<a
|
<a
|
||||||
ui-sref="item.card.summary({ id: {{$ctrl.item.id}} })"
|
ui-sref="item.card.summary({ id: {{$ctrl.item.id}} })"
|
||||||
translate-attr="{title: 'View item'}"
|
translate-attr="{title: 'View item'}"
|
||||||
class="vn-list-item"
|
class="vn-list-item">
|
||||||
pad-medium
|
|
||||||
border-solid-bottom>
|
|
||||||
<vn-horizontal ng-click="$ctrl.onClick($event)">
|
<vn-horizontal ng-click="$ctrl.onClick($event)">
|
||||||
<vn-auto class="image" margin-medium-right>
|
<vn-auto class="image" margin-medium-right>
|
||||||
<img
|
<img
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
import ngModule from '../module';
|
import ngModule from '../module';
|
||||||
|
|
||||||
class ItemProduct {
|
class ItemProduct {
|
||||||
constructor($http) {
|
|
||||||
this.$http = $http;
|
|
||||||
}
|
|
||||||
|
|
||||||
onClick(event) {
|
onClick(event) {
|
||||||
if (event.defaultPrevented)
|
if (event.defaultPrevented)
|
||||||
event.stopImmediatePropagation();
|
event.stopImmediatePropagation();
|
||||||
|
@ -20,7 +16,6 @@ class ItemProduct {
|
||||||
this.ItemList.showItemPreview(this.item);
|
this.ItemList.showItemPreview(this.item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ItemProduct.$inject = ['$http', '$scope', 'vnPopover'];
|
|
||||||
|
|
||||||
ngModule.component('vnItemProduct', {
|
ngModule.component('vnItemProduct', {
|
||||||
template: require('./item-product.html'),
|
template: require('./item-product.html'),
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
@import "padding";
|
@import "padding";
|
||||||
@import "margin";
|
@import "margin";
|
||||||
@import "colors";
|
@import "colors";
|
||||||
|
@import "border";
|
||||||
|
|
||||||
.form {
|
.form {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -151,6 +152,9 @@ vn-main-block {
|
||||||
}
|
}
|
||||||
|
|
||||||
.vn-list-item {
|
.vn-list-item {
|
||||||
|
@extend .pad-medium;
|
||||||
|
@extend .border-solid-bottom;
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
|
Loading…
Reference in New Issue