Basic design created
This commit is contained in:
41
app/Views/Partials/GlobalWidgets/GlobalWidgets.vue
Normal file
41
app/Views/Partials/GlobalWidgets/GlobalWidgets.vue
Normal file
@@ -0,0 +1,41 @@
|
||||
<script setup>
|
||||
|
||||
import ShadowedBox from "../../Components/ShadowedBox.vue";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<diV class="widget-container">
|
||||
<shadowed-box class="widget-box">
|
||||
Widget 1
|
||||
</shadowed-box>
|
||||
|
||||
<shadowed-box class="widget-box">
|
||||
Widget 2
|
||||
</shadowed-box>
|
||||
<shadowed-box class="widget-box">
|
||||
Widget 3
|
||||
</shadowed-box>
|
||||
<shadowed-box class="widget-box">
|
||||
Widget 4
|
||||
</shadowed-box>
|
||||
</diV>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
.widget-container {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
flex-wrap: wrap;
|
||||
position: relative;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.widget-box {
|
||||
flex-grow: 1; display: inline-block;
|
||||
width: calc(25% - 40px);
|
||||
height: 150px;
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user