You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

115 lines
2.0 KiB

@import '../../style/themes/index';
@import '../../style/mixins/index';
@pageheader-prefix-cls: ~'@{ant-prefix}-page-header';
.@{pageheader-prefix-cls} {
.reset-component;
position: relative;
padding: @page-header-padding;
&.has-breadcrumb {
padding-top: @page-header-padding-breadcrumb;
}
&.has-footer {
padding-bottom: @page-header-padding-vertical;
}
&-back {
float: left;
margin: 6px 0;
margin-right: 16px;
font-size: 20px;
line-height: 1;
&-button {
.operation-unit();
color: @page-header-back-color;
cursor: pointer;
}
}
.@{ant-prefix}-divider-vertical {
height: 14px;
margin: 0 12px;
vertical-align: middle;
}
.@{ant-prefix}-breadcrumb + &-heading {
margin-top: 8px;
}
&-heading {
width: 100%;
overflow: hidden;
&-title {
display: block;
float: left;
margin-bottom: 0;
padding-right: 12px;
color: @heading-color;
font-weight: 600;
font-size: @heading-3-size;
line-height: 32px;
}
.@{ant-prefix}-avatar {
float: left;
margin-right: 12px;
}
&-sub-title {
float: left;
margin: 5px 0;
margin-right: 12px;
color: @text-color-secondary;
font-size: 14px;
line-height: 22px;
}
&-tags {
float: left;
margin: 4px 0;
}
&-extra {
float: right;
> * {
margin-left: 8px;
}
> *:first-child {
margin-left: 0;
}
}
}
&-content {
padding-top: 16px;
overflow: hidden;
}
&-footer {
margin-top: 16px;
.@{ant-prefix}-tabs-bar {
margin-bottom: 1px;
border-bottom: 0;
.@{ant-prefix}-tabs-nav .@{ant-prefix}-tabs-tab {
padding: 8px;
font-size: 16px;
}
}
}
@media (max-width: @screen-sm) {
&-heading {
&-extra {
display: block;
float: unset;
width: 100%;
padding-top: 12px;
overflow: hidden;
}
}
}
}