Modificaciones css

This commit is contained in:
nelo 2016-11-23 15:00:17 +01:00
parent fd18740c00
commit 94e4fda6bb
10 changed files with 47 additions and 11 deletions

View File

@ -2,6 +2,7 @@
$color-green: rgb(139,195,74); $color-green: rgb(139,195,74);
$color-orange: rgb(255,171,64); $color-orange: rgb(255,171,64);
$color-dark-grey: #424242; $color-dark-grey: #424242;
$color-light-grey: gray; $color-light-grey: #e6e6e6;
$color-white: white; $color-white: white;
$color-black: black; $color-black: black;

View File

@ -28,6 +28,7 @@ export {NAME as TEXTFIELDBT,factory as textfieldbt} from './textfield/textfield.
export {NAME as LABEL,directive as LabelDirective} from './label/label' export {NAME as LABEL,directive as LabelDirective} from './label/label'
export {NAME as LABELMT,factory as labelmt} from './label/label.mt' export {NAME as LABELMT,factory as labelmt} from './label/label.mt'
export {NAME as LABELBT,factory as labelbt} from './label/label.bt' export {NAME as LABELBT,factory as labelbt} from './label/label.bt'
export {NAME as SEARCHBAR,factory as searchbar} from './searchbar/searchbar'
export {NAME as SEARCHBARMT,factory as searchbarmt} from './searchbar/searchbar.mt' export {NAME as SEARCHBARMT,factory as searchbarmt} from './searchbar/searchbar.mt'
export {NAME as SEARCHBARBT,factory as searchbarbt} from './searchbar/searchbar.bt' export {NAME as SEARCHBARBT,factory as searchbarbt} from './searchbar/searchbar.bt'
@ -49,6 +50,8 @@ export {NAME as DESCRIPTOR,
COMPONENT as DESCRIPTOR_COMPONENT} from './leftmenu/descriptor'; COMPONENT as DESCRIPTOR_COMPONENT} from './leftmenu/descriptor';
export {NAME as LEFTMENU, export {NAME as LEFTMENU,
COMPONENT as LEFTMENU_COMPONENT} from './leftmenu/leftmenu'; COMPONENT as LEFTMENU_COMPONENT} from './leftmenu/leftmenu';
export {NAME as ITEMMENU,
COMPONENT as ITEMMENU_COMPONENT} from './leftmenu/itemmenu';
export {NAME as CLIENT_TOP_BAR, export {NAME as CLIENT_TOP_BAR,
COMPONENT as CLIENT_TOP_BAR_COMPONENT} from './topbar/topbar'; COMPONENT as CLIENT_TOP_BAR_COMPONENT} from './topbar/topbar';

View File

@ -1,5 +1,5 @@
<vn-horizontal> <vn-horizontal>
<ul> <ul>
<li ng-repeat="item in $ctrl.items">{{item}}</li> <vn-itemmenu ng-repeat="item in $ctrl.items" item = "item"></vn-item>
</ul> </ul>
</vn-horizontal> </vn-horizontal>

View File

@ -0,0 +1,7 @@
<div>
<span>
<i class="material-icons">{{$ctrl.item.image}}</i>
<span>{{$ctrl.item.text}}</span>
</span>
<i class="material-icons">keyboard_arrow_right</i>
</div>

View File

@ -0,0 +1,13 @@
import template from './itemmenu.html';
import {module} from '../module';
import * as util from '../util';
const _NAME = 'itemmenu';
export const NAME = util.getName(_NAME);
export const COMPONENT = {
template: template,
bindings: {
item: '<'
}
};
module.component(NAME, COMPONENT);

View File

@ -7,7 +7,9 @@ export const NAME = util.getName(_NAME);
export const COMPONENT = { export const COMPONENT = {
template: template, template: template,
controller: function(){ controller: function(){
this.items = ["Datos fiscales y facturación", "Consignatarios", "Acceso web"] this.items = [{text: "Datos fiscales y facturación", image: "person"},
{text: "Acceso web", image: "language"},
{text: "Consignatarios", image: "local_shipping"}]
} }
}; };
module.component(NAME, COMPONENT); module.component(NAME, COMPONENT);

View File

@ -1,5 +1,5 @@
<vn-horizonal> <vn-horizonal >
<vn-one> <vn-one class="bg-dark-bar">
<vn-label text="Client"></vn-label> <vn-label text="Client"></vn-label>
<vn-searchbar></vn-searchbar> <vn-searchbar></vn-searchbar>
</vn-one> </vn-one>

View File

@ -1,7 +1,10 @@
import template from './index.html'; import template from './index.html';
import {module} from '../../module'; import {module} from '../../module';
export const NAME = 'customerDataBasic'; export const _NAME = 'customerDataBasic';
//export const NAME = module.getName(_NAME);
export const NAME = "vnCustomerDataBasic";
export const COMPONENT = { export const COMPONENT = {
template: template template: template
}; };

View File

@ -1,4 +1,11 @@
<vn-vertical> <vn-vertical class="full-height">
<vn-leftmenu></vn-leftmenu> <vn-topbar></vn-topbar>
<vn-databasic></vn-databasic> <vn-horizontal class="full-height">
</vn-vertical> <vn-empty class="bg-content" style="width: 15em">
<vn-leftmenu></vn-leftmenu>
</vn-empty>
<vn-auto>
<vn-customer-data-basic></vn-customer-data-basic>
</vn-auto>
</vn-horizontal>
</vn-vertical>

View File

@ -1,7 +1,7 @@
[{ [{
url: '/client/client-index', url: '/client/client-index',
state: 'client-index', state: 'client-index',
template: '<vn-client-index></vn-client-index>', template: '<vn-client-index full-height></vn-client-index>',
module: 'crud', module: 'crud',
description: '', description: '',
image: '', image: '',