mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-28 12:11:08 -04:00 
			
		
		
		
	Compare commits
	
		
			4 Commits
		
	
	
		
			dark-base-
			...
			dark-card
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 18b5705372 | |||
| c61fbad5ce | |||
| 2e93082282 | |||
| ca55221c4f | 
| @ -50,11 +50,21 @@ | |||||||
|           </BaseInputGroup> |           </BaseInputGroup> | ||||||
|         </template> |         </template> | ||||||
|       </ValidateEach> |       </ValidateEach> | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         slot="footer" | ||||||
|  |         class=" | ||||||
|  |           z-0 | ||||||
|  |           flex | ||||||
|  |           justify-end | ||||||
|  |           mt-4 | ||||||
|  |           pt-4 | ||||||
|  |           border-t border-gray-200 border-solid border-modal-bg | ||||||
|  |         " | ||||||
|  |       > | ||||||
|         <BaseButton :loading="isSaving" variant="primary" type="submit"> |         <BaseButton :loading="isSaving" variant="primary" type="submit"> | ||||||
|           {{ $t('general.save') }} |           {{ $t('general.save') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseCard> |   </BaseCard> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -57,7 +57,9 @@ | |||||||
|           </BaseInputGroup> |           </BaseInputGroup> | ||||||
|         </BaseInputGrid> |         </BaseInputGrid> | ||||||
|       </div> |       </div> | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid" | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3" |           class="mr-3" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -82,7 +84,7 @@ | |||||||
|           </template> |           </template> | ||||||
|           {{ $t('general.create') }} |           {{ $t('general.create') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -47,7 +47,15 @@ | |||||||
|         </BaseInputGrid> |         </BaseInputGrid> | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class=" | ||||||
|  |           z-0 | ||||||
|  |           flex | ||||||
|  |           justify-end | ||||||
|  |           p-4 | ||||||
|  |           border-t border-gray-200 border-solid border-modal-bg | ||||||
|  |         " | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           type="button" |           type="button" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -72,7 +80,7 @@ | |||||||
|           </template> |           </template> | ||||||
|           {{ categoryStore.isEdit ? $t('general.update') : $t('general.save') }} |           {{ categoryStore.isEdit ? $t('general.update') : $t('general.save') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -116,7 +116,7 @@ | |||||||
|         </BaseInputGrid> |         </BaseInputGrid> | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
|        <BaseModalFooter> |       <div class="z-0 flex justify-end p-4 bg-gray-50 border-modal-bg"> | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3 text-sm" |           class="mr-3 text-sm" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -141,7 +141,7 @@ | |||||||
|           </template> |           </template> | ||||||
|           {{ $t('general.save') }} |           {{ $t('general.save') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -425,7 +425,9 @@ | |||||||
|         </BaseTabGroup> |         </BaseTabGroup> | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid" | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3 text-sm" |           class="mr-3 text-sm" | ||||||
|           type="button" |           type="button" | ||||||
| @ -445,7 +447,7 @@ | |||||||
|           </template> |           </template> | ||||||
|           {{ $t('general.save') }} |           {{ $t('general.save') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -38,7 +38,7 @@ | |||||||
|         </BaseInputGroup> |         </BaseInputGroup> | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
|       <BaseModalFooter> |       <div class="z-0 flex justify-end p-4 bg-gray-50 border-modal-bg"> | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3 text-sm" |           class="mr-3 text-sm" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -63,7 +63,7 @@ | |||||||
|           </template> |           </template> | ||||||
|           {{ $t('general.delete') }} |           {{ $t('general.delete') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -150,7 +150,9 @@ | |||||||
|           @Remove="removeUsedSelectedCurrencies" |           @Remove="removeUsedSelectedCurrencies" | ||||||
|         /> |         /> | ||||||
|       </div> |       </div> | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid" | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3" |           class="mr-3" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -177,7 +179,7 @@ | |||||||
|             exchangeRateStore.isEdit ? $t('general.update') : $t('general.save') |             exchangeRateStore.isEdit ? $t('general.update') : $t('general.save') | ||||||
|           }} |           }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -20,7 +20,15 @@ | |||||||
|         @submit="createNewDisk" |         @submit="createNewDisk" | ||||||
|       > |       > | ||||||
|         <template #default="slotProps"> |         <template #default="slotProps"> | ||||||
|           <BaseModalFooter> |           <div | ||||||
|  |             class=" | ||||||
|  |               z-0 | ||||||
|  |               flex | ||||||
|  |               justify-end | ||||||
|  |               p-4 | ||||||
|  |               border-t border-solid border-gray-light | ||||||
|  |             " | ||||||
|  |           > | ||||||
|             <BaseButton |             <BaseButton | ||||||
|               class="mr-3 text-sm" |               class="mr-3 text-sm" | ||||||
|               variant="primary-outline" |               variant="primary-outline" | ||||||
| @ -44,7 +52,7 @@ | |||||||
|  |  | ||||||
|               {{ $t('general.save') }} |               {{ $t('general.save') }} | ||||||
|             </BaseButton> |             </BaseButton> | ||||||
|           </BaseModalFooter> |           </div> | ||||||
|         </template> |         </template> | ||||||
|       </component> |       </component> | ||||||
|     </div> |     </div> | ||||||
|  | |||||||
| @ -89,7 +89,9 @@ | |||||||
|             </BaseInputGroup> |             </BaseInputGroup> | ||||||
|           </BaseInputGrid> |           </BaseInputGrid> | ||||||
|         </div> |         </div> | ||||||
|         <BaseModalFooter> |         <div | ||||||
|  |           class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid" | ||||||
|  |         > | ||||||
|           <BaseButton |           <BaseButton | ||||||
|             class="mr-3" |             class="mr-3" | ||||||
|             variant="primary-outline" |             variant="primary-outline" | ||||||
| @ -109,7 +111,7 @@ | |||||||
|             </template> |             </template> | ||||||
|             {{ itemStore.isEdit ? $t('general.update') : $t('general.save') }} |             {{ itemStore.isEdit ? $t('general.update') : $t('general.save') }} | ||||||
|           </BaseButton> |           </BaseButton> | ||||||
|         </BaseModalFooter> |         </div> | ||||||
|       </form> |       </form> | ||||||
|     </div> |     </div> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
|  | |||||||
| @ -31,7 +31,15 @@ | |||||||
|         </BaseInputGroup> |         </BaseInputGroup> | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class=" | ||||||
|  |           z-0 | ||||||
|  |           flex | ||||||
|  |           justify-end | ||||||
|  |           p-4 | ||||||
|  |           border-t border-gray-200 border-solid border-modal-bg | ||||||
|  |         " | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           type="button" |           type="button" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -58,7 +66,7 @@ | |||||||
|             itemStore.isItemUnitEdit ? $t('general.update') : $t('general.save') |             itemStore.isItemUnitEdit ? $t('general.update') : $t('general.save') | ||||||
|           }} |           }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -62,7 +62,9 @@ | |||||||
|           </BaseInputGroup> |           </BaseInputGroup> | ||||||
|         </BaseInputGrid> |         </BaseInputGrid> | ||||||
|       </div> |       </div> | ||||||
|      <BaseModalFooter> |       <div | ||||||
|  |         class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid" | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
|           type="button" |           type="button" | ||||||
| @ -82,7 +84,7 @@ | |||||||
|           </template> |           </template> | ||||||
|           {{ $t('general.send') }} |           {{ $t('general.send') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -63,7 +63,16 @@ | |||||||
|           </BaseInputGroup> |           </BaseInputGroup> | ||||||
|         </BaseInputGrid> |         </BaseInputGrid> | ||||||
|       </div> |       </div> | ||||||
|      <BaseModalFooter> |       <div | ||||||
|  |         class=" | ||||||
|  |           z-0 | ||||||
|  |           flex | ||||||
|  |           justify-end | ||||||
|  |           px-4 | ||||||
|  |           py-4 | ||||||
|  |           border-t border-solid border-gray-light | ||||||
|  |         " | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-2" |           class="mr-2" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -84,7 +93,7 @@ | |||||||
|           </template> |           </template> | ||||||
|           {{ noteStore.isEdit ? $t('general.update') : $t('general.save') }} |           {{ noteStore.isEdit ? $t('general.update') : $t('general.save') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -29,7 +29,9 @@ | |||||||
|         </BaseInputGroup> |         </BaseInputGroup> | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid" | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
|           class="mr-3" |           class="mr-3" | ||||||
| @ -54,7 +56,7 @@ | |||||||
|               : $t('general.save') |               : $t('general.save') | ||||||
|           }} |           }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -72,7 +72,7 @@ | |||||||
|         </div> |         </div> | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
|       <div class="border-t border-gray-200 dark:border-gray-600 py-3"> |       <div class="border-t border-gray-200 py-3"> | ||||||
|         <div |         <div | ||||||
|           class=" |           class=" | ||||||
|             grid grid-cols-1 |             grid grid-cols-1 | ||||||
| @ -89,7 +89,7 @@ | |||||||
|             :key="gIndex" |             :key="gIndex" | ||||||
|             class="flex flex-col space-y-1" |             class="flex flex-col space-y-1" | ||||||
|           > |           > | ||||||
|             <p class="text-sm text-gray-500 dark:text-gray-200 border-b dark:border-gray-600 pb-1 mb-2"> |             <p class="text-sm text-gray-500 border-b border-gray-200 pb-1 mb-2"> | ||||||
|               {{ gIndex }} |               {{ gIndex }} | ||||||
|             </p> |             </p> | ||||||
|             <div |             <div | ||||||
| @ -116,7 +116,15 @@ | |||||||
|           </span> |           </span> | ||||||
|         </div> |         </div> | ||||||
|       </div> |       </div> | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class=" | ||||||
|  |           z-0 | ||||||
|  |           flex | ||||||
|  |           justify-end | ||||||
|  |           p-4 | ||||||
|  |           border-t border-solid border--200 border-modal-bg | ||||||
|  |         " | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3 text-sm" |           class="mr-3 text-sm" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -136,7 +144,7 @@ | |||||||
|           </template> |           </template> | ||||||
|           {{ !roleStore.isEdit ? $t('general.save') : $t('general.update') }} |           {{ !roleStore.isEdit ? $t('general.save') : $t('general.update') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -70,7 +70,7 @@ | |||||||
|       </div> |       </div> | ||||||
|     </div> |     </div> | ||||||
|  |  | ||||||
|     <BaseModalFooter> |     <div class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"> | ||||||
|       <BaseButton class="mr-3" variant="primary-outline" @click="closeModal"> |       <BaseButton class="mr-3" variant="primary-outline" @click="closeModal"> | ||||||
|         {{ $t('general.cancel') }} |         {{ $t('general.cancel') }} | ||||||
|       </BaseButton> |       </BaseButton> | ||||||
| @ -80,7 +80,7 @@ | |||||||
|         </template> |         </template> | ||||||
|         {{ $t('general.choose') }} |         {{ $t('general.choose') }} | ||||||
|       </BaseButton> |       </BaseButton> | ||||||
|     </BaseModalFooter> |     </div> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  |  | ||||||
|  | |||||||
| @ -62,7 +62,9 @@ | |||||||
|           </BaseInputGroup> |           </BaseInputGroup> | ||||||
|         </BaseInputGrid> |         </BaseInputGrid> | ||||||
|       </div> |       </div> | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid" | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3" |           class="mr-3" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -83,7 +85,7 @@ | |||||||
|           <BaseIcon v-if="!isLoading" name="PhotographIcon" class="h-5 mr-2" /> |           <BaseIcon v-if="!isLoading" name="PhotographIcon" class="h-5 mr-2" /> | ||||||
|           {{ $t('general.preview') }} |           {{ $t('general.preview') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|     <div v-else> |     <div v-else> | ||||||
|       <div class="my-6 mx-4 border border-gray-200 relative"> |       <div class="my-6 mx-4 border border-gray-200 relative"> | ||||||
| @ -104,7 +106,9 @@ | |||||||
|         ></iframe> |         ></iframe> | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid" | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3" |           class="mr-3" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -123,7 +127,7 @@ | |||||||
|           <BaseIcon v-if="!isLoading" name="PaperAirplaneIcon" class="mr-2" /> |           <BaseIcon v-if="!isLoading" name="PaperAirplaneIcon" class="mr-2" /> | ||||||
|           {{ $t('general.send') }} |           {{ $t('general.send') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </div> |     </div> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -65,7 +65,9 @@ | |||||||
|           </BaseInputGroup> |           </BaseInputGroup> | ||||||
|         </BaseInputGrid> |         </BaseInputGrid> | ||||||
|       </div> |       </div> | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid" | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3" |           class="mr-3" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -91,7 +93,7 @@ | |||||||
|           </template> |           </template> | ||||||
|           {{ $t('general.preview') }} |           {{ $t('general.preview') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|     <div v-else> |     <div v-else> | ||||||
|       <div class="my-6 mx-4 border border-gray-200 relative"> |       <div class="my-6 mx-4 border border-gray-200 relative"> | ||||||
| @ -112,7 +114,9 @@ | |||||||
|           style="min-height: 500px" |           style="min-height: 500px" | ||||||
|         ></iframe> |         ></iframe> | ||||||
|       </div> |       </div> | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid" | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3" |           class="mr-3" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -136,7 +140,7 @@ | |||||||
|           /> |           /> | ||||||
|           {{ $t('general.send') }} |           {{ $t('general.send') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </div> |     </div> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -65,7 +65,9 @@ | |||||||
|           </BaseInputGroup> |           </BaseInputGroup> | ||||||
|         </BaseInputGrid> |         </BaseInputGrid> | ||||||
|       </div> |       </div> | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid" | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3" |           class="mr-3" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -91,7 +93,7 @@ | |||||||
|           </template> |           </template> | ||||||
|           {{ $t('general.preview') }} |           {{ $t('general.preview') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|     <div v-else> |     <div v-else> | ||||||
|       <div class="my-6 mx-4 border border-gray-200 relative"> |       <div class="my-6 mx-4 border border-gray-200 relative"> | ||||||
| @ -112,7 +114,9 @@ | |||||||
|           style="min-height: 500px" |           style="min-height: 500px" | ||||||
|         ></iframe> |         ></iframe> | ||||||
|       </div> |       </div> | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid" | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3" |           class="mr-3" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -136,7 +140,7 @@ | |||||||
|           /> |           /> | ||||||
|           {{ $t('general.send') }} |           {{ $t('general.send') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </div> |     </div> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -90,7 +90,15 @@ | |||||||
|           </BaseInputGroup> |           </BaseInputGroup> | ||||||
|         </BaseInputGrid> |         </BaseInputGrid> | ||||||
|       </div> |       </div> | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class=" | ||||||
|  |           z-0 | ||||||
|  |           flex | ||||||
|  |           justify-end | ||||||
|  |           p-4 | ||||||
|  |           border-t border-solid border--200 border-modal-bg | ||||||
|  |         " | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3 text-sm" |           class="mr-3 text-sm" | ||||||
|           variant="primary-outline" |           variant="primary-outline" | ||||||
| @ -114,7 +122,7 @@ | |||||||
|           </template> |           </template> | ||||||
|           {{ taxTypeStore.isEdit ? $t('general.update') : $t('general.save') }} |           {{ taxTypeStore.isEdit ? $t('general.update') : $t('general.save') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -87,7 +87,9 @@ | |||||||
|         </BaseInputGrid> |         </BaseInputGrid> | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid" | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3 text-sm" |           class="mr-3 text-sm" | ||||||
|           type="button" |           type="button" | ||||||
| @ -107,7 +109,7 @@ | |||||||
|           </template> |           </template> | ||||||
|           {{ $t('general.save') }} |           {{ $t('general.save') }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -172,7 +172,15 @@ | |||||||
|         </div> |         </div> | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
|       <BaseModalFooter> |       <div | ||||||
|  |         class=" | ||||||
|  |           z-0 | ||||||
|  |           flex | ||||||
|  |           justify-end | ||||||
|  |           p-4 | ||||||
|  |           border-t border-solid border-gray-light border-modal-bg | ||||||
|  |         " | ||||||
|  |       > | ||||||
|         <BaseButton |         <BaseButton | ||||||
|           class="mr-3" |           class="mr-3" | ||||||
|           type="button" |           type="button" | ||||||
| @ -199,7 +207,7 @@ | |||||||
|             !customFieldStore.isEdit ? $t('general.save') : $t('general.update') |             !customFieldStore.isEdit ? $t('general.save') : $t('general.update') | ||||||
|           }} |           }} | ||||||
|         </BaseButton> |         </BaseButton> | ||||||
|       </BaseModalFooter> |       </div> | ||||||
|     </form> |     </form> | ||||||
|   </BaseModal> |   </BaseModal> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -153,7 +153,7 @@ | |||||||
|           <BaseSwitch v-model="set_as_default" class="flex" /> |           <BaseSwitch v-model="set_as_default" class="flex" /> | ||||||
|         </div> |         </div> | ||||||
|         <div class="ml-4 right"> |         <div class="ml-4 right"> | ||||||
|           <p class="p-0 mb-1 text-base leading-snug text-black dark:text-white box-title"> |           <p class="p-0 mb-1 text-base leading-snug text-black box-title"> | ||||||
|             {{ $t('settings.disk.is_default') }} |             {{ $t('settings.disk.is_default') }} | ||||||
|           </p> |           </p> | ||||||
|         </div> |         </div> | ||||||
|  | |||||||
| @ -132,7 +132,7 @@ | |||||||
|           <BaseSwitch v-model="set_as_default" class="flex" /> |           <BaseSwitch v-model="set_as_default" class="flex" /> | ||||||
|         </div> |         </div> | ||||||
|         <div class="ml-4 right"> |         <div class="ml-4 right"> | ||||||
|           <p class="p-0 mb-1 text-base leading-snug text-black dark:text-white box-title"> |           <p class="p-0 mb-1 text-base leading-snug text-black box-title"> | ||||||
|             {{ $t('settings.disk.is_default') }} |             {{ $t('settings.disk.is_default') }} | ||||||
|           </p> |           </p> | ||||||
|         </div> |         </div> | ||||||
|  | |||||||
| @ -63,7 +63,7 @@ | |||||||
|         </div> |         </div> | ||||||
|  |  | ||||||
|         <div class="ml-4 right"> |         <div class="ml-4 right"> | ||||||
|           <p class="p-0 mb-1 text-base leading-snug text-black dark:text-white box-title"> |           <p class="p-0 mb-1 text-base leading-snug text-black box-title"> | ||||||
|             {{ $t('settings.disk.is_default') }} |             {{ $t('settings.disk.is_default') }} | ||||||
|           </p> |           </p> | ||||||
|         </div> |         </div> | ||||||
|  | |||||||
| @ -134,7 +134,7 @@ | |||||||
|           <BaseSwitch v-model="set_as_default" class="flex" /> |           <BaseSwitch v-model="set_as_default" class="flex" /> | ||||||
|         </div> |         </div> | ||||||
|         <div class="ml-4 right"> |         <div class="ml-4 right"> | ||||||
|           <p class="p-0 mb-1 text-base leading-snug text-black dark:text-white box-title"> |           <p class="p-0 mb-1 text-base leading-snug text-black box-title"> | ||||||
|             {{ $t('settings.disk.is_default') }} |             {{ $t('settings.disk.is_default') }} | ||||||
|           </p> |           </p> | ||||||
|         </div> |         </div> | ||||||
|  | |||||||
| @ -1,5 +1,9 @@ | |||||||
| <template> | <template> | ||||||
|   <div class="bg-white rounded-lg shadow"> |   <div | ||||||
|  |     class="bg-white rounded-lg shadow dark:bg-gray-800 dark:text-white dark:shadow-glass dark:border dark:border-white/10 dark:bg-gray-800/70 relative" | ||||||
|  |   > | ||||||
|  |     <BaseDarkHighlight class="z-[-1] mt-10" /> | ||||||
|  |  | ||||||
|     <div |     <div | ||||||
|       v-if="hasHeaderSlot" |       v-if="hasHeaderSlot" | ||||||
|       class="px-5 py-4 text-black border-b border-gray-100 border-solid" |       class="px-5 py-4 text-black border-b border-gray-100 border-solid" | ||||||
|  | |||||||
							
								
								
									
										21
									
								
								resources/scripts/components/base/BaseDarkHighlight.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								resources/scripts/components/base/BaseDarkHighlight.vue
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,21 @@ | |||||||
|  | <template> | ||||||
|  |   <div | ||||||
|  |     class=" | ||||||
|  |       hidden | ||||||
|  |       top-0 | ||||||
|  |       w-full | ||||||
|  |       absolute | ||||||
|  |       ml-auto | ||||||
|  |       mr-auto | ||||||
|  |       left-0 | ||||||
|  |       right-0 | ||||||
|  |       text-center | ||||||
|  |       h-full | ||||||
|  |       rounded-full | ||||||
|  |       bg-highlight/[.10] | ||||||
|  |       blur-2xl | ||||||
|  |       dark:block | ||||||
|  |       z-[-1] | ||||||
|  |     " | ||||||
|  |   /> | ||||||
|  | </template> | ||||||
| @ -29,21 +29,8 @@ | |||||||
|             leave-to="opacity-0" |             leave-to="opacity-0" | ||||||
|           > |           > | ||||||
|             <DialogOverlay |             <DialogOverlay | ||||||
|               class=" |               class="fixed inset-0 transition-opacity bg-gray-700 bg-opacity-25" | ||||||
|               fixed |             /> | ||||||
|               inset-0 |  | ||||||
|               transition-opacity |  | ||||||
|               bg-gray-700 |  | ||||||
|               bg-opacity-25 |  | ||||||
|               dark:backdrop-blur-sm |  | ||||||
|               dark:bg-gray-900/80 |  | ||||||
|               " |  | ||||||
|             > |  | ||||||
|               <BaseDarkHighlight |  | ||||||
|                 class="!bg-highlight/[.17] !top-1/2 -translate-y-1/2 mt-5 h-96" |  | ||||||
|                 :class="modalSize" |  | ||||||
|               /> |  | ||||||
|             </DialogOverlay> |  | ||||||
|           </TransitionChild> |           </TransitionChild> | ||||||
|  |  | ||||||
|           <!-- This element is to trick the browser into centering the modal contents. --> |           <!-- This element is to trick the browser into centering the modal contents. --> | ||||||
| @ -74,11 +61,7 @@ | |||||||
|               my-4 |               my-4 | ||||||
|               ${modalSize} |               ${modalSize} | ||||||
|               sm:w-full |               sm:w-full | ||||||
|               dark:shadow-glass |               border-t-8 border-solid rounded shadow-xl  border-primary-500`" | ||||||
|               dark:border |  | ||||||
|               dark:border-white/10 |  | ||||||
|               dark:bg-gray-800/90 |  | ||||||
|               border-t-8 border-solid rounded shadow-xl border-primary-500`" |  | ||||||
|             > |             > | ||||||
|               <div |               <div | ||||||
|                 v-if="hasHeaderSlot" |                 v-if="hasHeaderSlot" | ||||||
| @ -91,8 +74,6 @@ | |||||||
|                   text-lg |                   text-lg | ||||||
|                   font-medium |                   font-medium | ||||||
|                   text-black |                   text-black | ||||||
|                   dark:text-white |  | ||||||
|                   dark:border-gray-600 |  | ||||||
|                   border-b border-gray-200 border-solid |                   border-b border-gray-200 border-solid | ||||||
|                 " |                 " | ||||||
|               > |               > | ||||||
|  | |||||||
| @ -1,14 +0,0 @@ | |||||||
| <template> |  | ||||||
|   <div |  | ||||||
|     class=" |  | ||||||
|       z-0 |  | ||||||
|       flex |  | ||||||
|       justify-end |  | ||||||
|       p-4 |  | ||||||
|       border-t border-gray-200 border-solid |  | ||||||
|       dark:border-gray-600 |  | ||||||
|     " |  | ||||||
|   > |  | ||||||
|     <slot /> |  | ||||||
|   </div> |  | ||||||
| </template> |  | ||||||
| @ -36,6 +36,7 @@ module.exports = { | |||||||
|           900: withOpacityValue('--color-primary-900'), |           900: withOpacityValue('--color-primary-900'), | ||||||
|         }, |         }, | ||||||
|         black: '#040405', |         black: '#040405', | ||||||
|  |         highlight: 'rgb(56, 189, 248)', | ||||||
|         red: colors.red, |         red: colors.red, | ||||||
|         teal: colors.teal, |         teal: colors.teal, | ||||||
|         gray: colors.slate, |         gray: colors.slate, | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	