<template>
    <section :class="['network-information', darkMode ? 'section-darkmode' : 'section-lightmode']">
        <div :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']" id="network">Network specifications:</div>
        <div class="asset-data">
            <div class="IPv4-MAC">
                <div class="data-field" id="IPv4">
                    <pre :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']">IPv4:</pre>
                    <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
                </div>
                <div class="data-field" id="MAC">
                    <pre :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']">MAC:</pre>
                    <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
                </div>
            </div>
            <div class="IPv6-subnetmask">
                <div class="data-field" id="IPv6">
                    <pre :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']">IPv6:</pre>
                    <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
                </div>
                <div class="data-field" id="subnetmask">
                    <pre :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']">Subnetmask:</pre>
                    <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
                </div>
            </div>
        </div>
    </section>
</template>
    
    
    
<script>

export default {
    name: "NetworkSpecifications",
    data() {
        return {
            darkMode: true,
        };
    },
}

</script>
    
      
      
      
<style scoped>
.network-information {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding: 1.25rem 1.875rem;
    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;
}

.data-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0 1.875rem;
    gap: 1.25rem;
    border-radius: 0.625rem;
}

.label {
    letter-spacing: 5%;
    font: 400 0.875rem/1.875rem Overpass, sans-serif;
}

.div-darkmode {
    color: #fff;
}

.div-lightmode {
    color: #000;
}

.label#network {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.data {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0 0.625rem;
    border-radius: 0.3125rem;
    box-shadow: 0.0625rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.25) inset;
    letter-spacing: 5%;
    font: 400 0.75rem/250% Overpass, sans-serif;
}

.data-darkmode {
  background-color: #212121;
  color: #fff;
}

.data-lightmode {
  background-color: #EBEBEB;
  color: #000;
}

.asset-data {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
}

.IPv4-MAC,
.IPv6-subnetmask {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: normal;
    width: 50%;
    padding: 0 0;
    border-radius: 0.3125rem;
}
</style>