UNPKG

@aimake/nanod

Version:

## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。

44 lines (38 loc) 757 B
@import "../../../lib/style/themes/default"; @nano-prefix: nano; @logo-prefix-cls: ~"@{nano-prefix}-logo"; // default theme .@{logo-prefix-cls} { display: flex; height: @layout-header-height; padding-left: @padding-md; align-items: center; background-color: rgba(0, 0, 0, 0.16); overflow: hidden; img, h1 { display: inline-block; } img { margin-right: @padding-md; max-width: 36px; } h1 { margin: 0; padding: 0; color: rgba(255, 255, 255, 0.97); font-size: 16px; font-weight: normal; transition: opacity @ease-out @animation-duration-base; } } .@{ant-prefix} { &-layout-sider-collapsed { .@{nano-prefix} { &-logo { h1 { opacity: 0; } } } } }