Event panel ui update

This commit is contained in:
Joe 2020-06-04 09:00:25 +01:00
parent 049aed676d
commit 530004f7c3
1 changed files with 31 additions and 11 deletions

View File

@ -64,10 +64,10 @@
} }
</script> </script>
<header> <button class="newevent" on:click={() => openModal()} >
<h3>Events</h3> <i class="icon ri-add-circle-fill" />
<PlusButton on:click={() => openModal()} /> Create New Event
</header> </button>
<div class="root"> <div class="root">
<form on:submit|preventDefault class="uk-form-stacked form-root"> <form on:submit|preventDefault class="uk-form-stacked form-root">
@ -86,19 +86,39 @@
</div> </div>
<style> <style>
h3 {
text-transform: uppercase;
font-size: 13px;
font-weight: 700;
color: #8997ab;
margin-bottom: 10px;
}
.root { .root {
font-size: 10pt; font-size: 10pt;
width: 100%; width: 100%;
} }
.newevent {
cursor: pointer;
border: 1px solid var(--grey-dark);
border-radius: 3px;
width: 100%;
padding: 8px 16px;
margin: 0px 0px 12px 0px;
display: flex;
justify-content: center;
align-items: center;
background: white;
color: var(--ink);
font-size: 14px;
font-weight: 500;
transition: all 2ms;
}
.newevent:hover {
background: var(--grey-light);
}
.icon {
color: var(--ink);
font-size: 16px;
margin-right: 4px;
}
.form-root { .form-root {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;