98 lines
2.2 KiB
Vue
98 lines
2.2 KiB
Vue
<template>
|
|
<section :class="['quick-access', darkMode ? 'section-darkmode' : 'section-lightmode']">
|
|
<h2 :class="['heading', darkMode ? 'heading-darkmode' : 'heading-lightmode']">Quick Access</h2>
|
|
<div class="shortcuts">
|
|
<input :class="[darkMode ? 'input-darkmode' : 'input-lightmode']" type="button" id="maintenance-visits" value="Maintenance Visits">
|
|
<input :class="[darkMode ? 'input-darkmode' : 'input-lightmode']" type="button" id="production-orders" value="Production Orders">
|
|
<input :class="[darkMode ? 'input-darkmode' : 'input-lightmode']" type="button" id="issue-slips" value="Assets">
|
|
<input :class="[darkMode ? 'input-darkmode' : 'input-lightmode']" type="button" id="solutions" value="Solutions">
|
|
<input :class="[darkMode ? 'input-darkmode' : 'input-lightmode']" type="button" id="issue-slips" value="Issue Slips">
|
|
</div>
|
|
</section>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
import { ref } from 'vue';
|
|
|
|
const darkMode = ref(true)
|
|
</script>
|
|
|
|
<script>
|
|
export default {
|
|
name: "Asset",
|
|
};
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
.quick-access {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
align-self: stretch;
|
|
width: 100%;
|
|
padding: 1.875rem 1.875rem 3.125rem;
|
|
gap: 1.25rem;
|
|
border-radius: 0.625rem;
|
|
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
.section-darkmode {
|
|
background-color: #2c2c2c;
|
|
}
|
|
|
|
.section-lightmode {
|
|
background-color: #fff;
|
|
}
|
|
|
|
|
|
.heading {
|
|
letter-spacing: 5%;
|
|
text-decoration-line: underline;
|
|
font: 400 1rem/2rem Overpass, sans-serif;
|
|
}
|
|
|
|
.heading-darkmode {
|
|
color: #fff;
|
|
}
|
|
|
|
.heading-lightmode {
|
|
color: #000;
|
|
}
|
|
|
|
.shortcuts {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-content: center;
|
|
padding: 0.625rem 1.875rem;
|
|
gap: 2.5rem;
|
|
}
|
|
|
|
input {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 15rem;
|
|
height: 4rem;
|
|
border-radius: 0.625rem;
|
|
padding: 0.9375rem 1.25rem;
|
|
border: none;
|
|
text-align: center;
|
|
letter-spacing: 5%;
|
|
font: 400 0.875rem/2rem Overpass, sans-serif;
|
|
}
|
|
|
|
.input-darkmode {
|
|
color: #fff;
|
|
background-color: #343434;
|
|
}
|
|
|
|
.input-lightmode {
|
|
color: #000;
|
|
background-color: #E4E4E4;
|
|
}
|
|
</style> |