Style fixes
gitea/salix/dev This commit has test failures Details

This commit is contained in:
Juan Ferrer 2019-10-18 21:54:13 +02:00
parent 43fd8fe75e
commit 17a150370c
16 changed files with 23 additions and 25 deletions

View File

@ -1,7 +1,7 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/nightmare';
fdescribe('InvoiceOut descriptor path', () => {
describe('InvoiceOut descriptor path', () => {
const nightmare = createNightmare();
let bookedDate;

View File

@ -1,3 +1,4 @@
vn-card {
display: block;
box-sizing: border-box;
}

View File

@ -5,7 +5,7 @@ vn-icon-button {
color: $color-main;
& > button {
padding: 0 !important;
padding: .2em !important;
}
&:focus {
opacity: .6;

View File

@ -1,6 +1,6 @@
<form ng-submit="$ctrl.onSubmit()">
<vn-textfield
class="dense vn-py-md"
class="dense"
placeholder="{{::'Search' | translate}}"
ng-model="$ctrl.searchString">
<prepend>

View File

@ -9,7 +9,6 @@
<vn-icon icon="{{::mod.icon || 'photo'}}"></vn-icon>
</div>
<h4 ng-bind-html="$ctrl.getModuleName(mod)"></h4>
<span
ng-show='mod.keyBind'
vn-tooltip="Ctrl + Alt + {{mod.keyBind}}">

View File

@ -49,9 +49,9 @@ vn-home {
text-align: center;
}
& > h4 {
max-width: 7em;
max-width: 100%;
text-align: center;
font-size: 13pt;
font-size: 12pt;
overflow: hidden;
color: inherit;
margin: 0;

View File

@ -7,7 +7,7 @@
auto-load="true">
</vn-crud-model>
<div>
<vn-card class="vn-w-sm vn-px-md">
<vn-card class="vn-w-sm vn-pa-md">
<vn-searchbar
panel="vn-zone-search-panel"
model="model"

View File

@ -7,7 +7,7 @@
auto-load="true">
</vn-crud-model>
<div class="content-block">
<vn-card class="vn-px-md vn-w-sm">
<vn-card class="vn-w-sm vn-pa-md">
<vn-searchbar
panel="vn-claim-search-panel"
on-search="$ctrl.onSearch($params)"

View File

@ -6,7 +6,7 @@
data="clients">
</vn-crud-model>
<div class="content-block vn-w-sm">
<vn-card class="vn-px-md">
<vn-card class="vn-pa-md">
<vn-searchbar
panel="vn-client-search-panel"
model="model"

View File

@ -6,16 +6,14 @@
order="issued DESC">
</vn-crud-model>
<div class="content-block">
<div class="vn-list">
<vn-card class="vn-px-md vn-w-sm">
<vn-searchbar
panel="vn-invoice-search-panel"
on-search="$ctrl.onSearch($params)"
info="Search invoices by reference"
vn-focus>
</vn-searchbar>
</vn-card>
</div>
<vn-card class="vn-pa-md vn-w-sm">
<vn-searchbar
panel="vn-invoice-search-panel"
on-search="$ctrl.onSearch($params)"
info="Search invoices by reference"
vn-focus>
</vn-searchbar>
</vn-card>
<vn-data-viewer
model="model"
class="vn-w-md vn-my-md">

View File

@ -6,7 +6,7 @@
data="items">
</vn-crud-model>
<div class="content-block">
<vn-card class="vn-px-md vn-w-sm">
<vn-card class="vn-pa-md vn-w-sm">
<vn-horizontal style="align-items: center;">
<vn-searchbar
panel="vn-item-search-panel"

View File

@ -6,7 +6,7 @@
order="landed DESC, clientFk">
</vn-crud-model>
<div class="content-block">
<vn-card class="vn-px-md vn-w-sm">
<vn-card class="vn-pa-md vn-w-sm">
<vn-searchbar
panel="vn-order-search-panel"
on-search="$ctrl.onSearch($params)"

View File

@ -7,7 +7,7 @@
auto-load="true">
</vn-crud-model>
<div class="content-block">
<vn-card class="vn-px-md vn-w-sm">
<vn-card class="vn-pa-md vn-w-sm">
<vn-searchbar
filter="$ctrl.filter"
panel="vn-route-search-panel"

View File

@ -7,7 +7,7 @@
order="shipped DESC, zoneHour ASC, zoneMinute ASC, clientFk">
</vn-crud-model>
<div class="content-block">
<vn-card class="vn-px-md vn-w-sm">
<vn-card class="vn-pa-md vn-w-sm">
<vn-horizontal style="align-items: center;">
<vn-searchbar
vn-id="ticketSearchbar"

View File

@ -6,7 +6,7 @@
data="travels">
</vn-crud-model>
<div class="content-block">
<vn-card class="vn-px-md vn-w-sm">
<vn-card class="vn-pa-md vn-w-sm">
<vn-searchbar
panel="vn-travel-search-panel"
model="model"

View File

@ -6,7 +6,7 @@
data="workers">
</vn-crud-model>
<div class="content-block vn-w-sm">
<vn-card class="vn-px-md">
<vn-card class="vn-pa-md">
<vn-horizontal style="align-items: center;">
<vn-searchbar
panel="vn-worker-search-panel"