<script setup lang="ts">
import logo from '@/assets/img/logo.png'</script>

<template>
    <div class="logo">
        <img :src="logo" alt="logo"/>
        <p class="text">Nginx UI</p>
        <div class="clear"></div>
    </div>
</template>

<style lang="less" scoped>
.dark {
    .logo {
        background-color: transparent;
        -webkit-box-shadow: 1px 1px 0 0 #404040;
        box-shadow: 1px 1px 0 0 #404040;
    }
}

.logo {
    padding: 8px 25px;
    -webkit-box-shadow: 1px 1px 0 0 #e8e8e8;
    box-shadow: 1px 1px 0 0 #e8e8e8;
    transition: all 0.3s;
    height: 64px;
    width: 100%;
    overflow: hidden;
    display: inline-block;
    background-color: #ffffff;

    img {
        height: 46px;
        float: left;
    }

    .text {
        float: left;
        font-size: 22px;
        line-height: 48px;
        height: 48px;
        display: inline-block;
    }
}
</style>
