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 selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/nightmare'; import createNightmare from '../../helpers/nightmare';
fdescribe('InvoiceOut descriptor path', () => { describe('InvoiceOut descriptor path', () => {
const nightmare = createNightmare(); const nightmare = createNightmare();
let bookedDate; let bookedDate;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,7 +6,7 @@
data="items"> data="items">
</vn-crud-model> </vn-crud-model>
<div class="content-block"> <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-horizontal style="align-items: center;">
<vn-searchbar <vn-searchbar
panel="vn-item-search-panel" panel="vn-item-search-panel"

View File

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

View File

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

View File

@ -7,7 +7,7 @@
order="shipped DESC, zoneHour ASC, zoneMinute ASC, clientFk"> order="shipped DESC, zoneHour ASC, zoneMinute ASC, clientFk">
</vn-crud-model> </vn-crud-model>
<div class="content-block"> <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-horizontal style="align-items: center;">
<vn-searchbar <vn-searchbar
vn-id="ticketSearchbar" vn-id="ticketSearchbar"

View File

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

View File

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