app-header-menus.less 1.3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
.app-header-menus {
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 20px;
    margin-right: 100px;
    >.app-header-menu-item {
        height: 24px;
        display: flex;
        align-items: center;
        margin-right: 16px;
        cursor: pointer;
    }

    >.app-header-menu-item.icon {

        >.app-header-menu-item-icon {
            font-size: 20px;
        }

        >.app-header-menu-item-img {
            height: 20px;
            width: 20px;

            >img {
                height: 100%;
                width: 100%;
            }
        }
    }

    >.app-header-menu-item.icon:hover {
        text-decoration: none;
    }

    >.app-header-menu-item.text {
        border-radius: 4px;
        text-align: center;
        font-size: 12px;
        padding: 2px 4px;

        >.app-header-menu-item-icon {
            width: 20px;
            height: 20px;
            overflow: hidden;
            font-size: 16px;
            margin-right: 3px;
            margin-top: -3px;
        }

        >.app-header-menu-item-img {
            height: 16px;
            width: 16px;
            margin-right: 3px;

            >img {
                height: 100%;
                width: 100%;
            }
        }
    }
    &:hover {
        background: none;
    }
}