2
0
mirror of https://github.com/frappe/books.git synced 2024-12-24 11:55:46 +00:00

incr(ui): elevate form

This commit is contained in:
18alantom 2022-06-09 14:22:09 +05:30
parent 0c705fe225
commit 069ecd75eb
4 changed files with 19 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="flex flex-col"> <div class="flex flex-col">
<!-- Page Header (Title, Buttons, etc) --> <!-- Page Header (Title, Buttons, etc) -->
<PageHeader :backLink="backLink" :title="title"> <PageHeader :backLink="backLink" :title="title" :border="false">
<slot name="header" /> <slot name="header" />
</PageHeader> </PageHeader>
@ -10,12 +10,12 @@
class=" class="
border border
rounded-lg rounded-lg
shadow shadow-lg
flex flex-col flex flex-col
self-center self-center
w-form w-form
h-full h-full
my-4 mb-4
bg-white bg-white
" "
> >

View File

@ -1,5 +1,16 @@
<template> <template>
<div class="px-4 flex justify-between window-drag border-b items-center h-row-largest flex-shrink-0"> <div
class="
px-4
flex
justify-between
window-drag
items-center
h-row-largest
flex-shrink-0
"
:class="border ? 'border-b' : ''"
>
<h1 class="text-xl font-semibold select-none" v-if="title && !backLink"> <h1 class="text-xl font-semibold select-none" v-if="title && !backLink">
{{ title }} {{ title }}
</h1> </h1>
@ -19,6 +30,7 @@ export default {
title: { type: String, default: '' }, title: { type: String, default: '' },
backLink: { type: Boolean, default: false }, backLink: { type: Boolean, default: false },
hideSearch: { type: Boolean, default: false }, hideSearch: { type: Boolean, default: false },
border: { type: Boolean, default: true },
}, },
components: { SearchBar, BackLink }, components: { SearchBar, BackLink },
}; };

View File

@ -7,7 +7,7 @@
}" }"
> >
<div <div
class="w-full w-form shadow rounded-lg border relative" class="w-full w-form shadow-lg rounded-lg border relative"
style="height: 700px" style="height: 700px"
> >
<!-- Welcome to Frappe Books --> <!-- Welcome to Frappe Books -->

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="w-form shadow rounded-lg border relative" style="height: 700px"> <div class="w-form shadow-lg rounded-lg border relative" style="height: 700px">
<!-- Slide Title --> <!-- Slide Title -->
<div class="p-4"> <div class="p-4">
<h1 class="text-2xl font-semibold select-none"> <h1 class="text-2xl font-semibold select-none">