From 34279db46bc925a5525ab6183ac0cc178fcaba45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Tue, 29 Dec 2020 17:13:06 +0300 Subject: [PATCH] Item button and document content added spinner --- public/css/custom.css | 38 +++++++++++++++++-- .../js/components/AkauntingItemButton.vue | 12 +++--- resources/assets/js/views/common/documents.js | 3 ++ .../components/documents/form/items.blade.php | 10 +++-- .../documents/form/line-item.blade.php | 24 ++++++------ .../components/documents/form/main.blade.php | 4 ++ 6 files changed, 67 insertions(+), 24 deletions(-) diff --git a/public/css/custom.css b/public/css/custom.css index c29fc99ce..5b03ed0b6 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -1255,12 +1255,26 @@ table .align-items-center td span.badge { } .aka-select.aka-select--fluid { - max-width: 96%; + max-width: 100%; min-width: 0; } +.product-select .item-add-new:hover { + background-color: #f1f3f3; + text-decoration: none; +} + +.product-select .item-add-new button { + height: 54px; +} + +.product-select .aka-select.aka-select--fluid { + margin: -54px 0 !important +} + .product-select .aka-select-menu { - width: 100%; + margin-left: 4%; + width: 92%; min-width: 0; padding: 0; top: 0; @@ -1307,6 +1321,7 @@ table .align-items-center td span.badge { .product-select .aka-select.aka-select--fluid.is-open { position: absolute; display: block; + margin-top: -50px; } .item-select { @@ -1339,4 +1354,21 @@ table .align-items-center td span.badge { .item-select .v-money.text-right.disabled-money { color: #8898aa; } -/* Akaunting Item Button Finish */ \ No newline at end of file +/* Akaunting Item Button Finish */ + +/* Document Loading Start */ +.document-loading { + position: absolute; + overflow: auto; + width: 100%; + height: 100%; + background: #f8f9fe; + z-index: 99; + border-radius: 0.375rem; +} + +.document-loading div { + margin-top: 20%; + margin-left: 45%; +} +/* Document Loading Finish */ \ No newline at end of file diff --git a/resources/assets/js/components/AkauntingItemButton.vue b/resources/assets/js/components/AkauntingItemButton.vue index 2c1ed479d..b7632ba85 100644 --- a/resources/assets/js/components/AkauntingItemButton.vue +++ b/resources/assets/js/components/AkauntingItemButton.vue @@ -1,12 +1,12 @@