UNPKG

ygd

Version:

An enterprise-class UI design language and React-based implementation

101 lines (88 loc) 1.85 kB
@import '../../style/themes/default'; @import '../../style/mixins/index'; @pageheader-prefix-cls: ~'@{yg-prefix}-page-header'; .@{pageheader-prefix-cls} { .reset-component; position: relative; background: @component-background; &.@{pageheader-prefix-cls}-has-footer { padding: 20px 32px; padding-bottom: 0; } &-back-icon { display: inline-block; padding: 4px 0; font-size: 16px; line-height: 100%; cursor: pointer; i:hover { color: @primary-color; } } .@{yg-prefix}-divider { height: 14px; margin: 0 12px; } .@{yg-prefix}-breadcrumb { margin-bottom: 12px; } &-title-view { display: inline-block; &-title { display: inline-block; padding-right: 12px; color: @heading-color; font-weight: bold; font-size: 16px; line-height: 20px; } &-title:before { content: ''; width: 0px; height: 16px; border-radius: 2px; margin-right: 5px; border: 2px solid @primary-color; display: inline-block; vertical-align: top; } &-sub-title { display: block; padding-right: 12px; color: @font-6; font-size: 12px; line-height: 14px; margin-top: 5px; } &-tags { display: inline-block; vertical-align: top; } &-extra { position: absolute; top: 16px; right: 32px; > * { margin-right: 8px; } > *:last-child { margin-right: 0; } } } &-content-view { padding-top: 12px; } &-footer { margin: 0 -8px; padding-top: 24px; .@{yg-prefix}-tabs-bar { margin-bottom: 1px; border-bottom: 0; .@{yg-prefix}-tabs-nav .@{yg-prefix}-tabs-tab { padding: 12px 8px; padding-top: 0; } } } }