2019-05-06 12:04:39 +08:00
|
|
|
@import '../../style/themes/index';
|
2019-03-02 15:51:08 +08:00
|
|
|
@import '../../style/mixins/index';
|
|
|
|
|
|
|
|
@pageheader-prefix-cls: ~'@{ant-prefix}-page-header';
|
|
|
|
|
|
|
|
.@{pageheader-prefix-cls} {
|
|
|
|
.reset-component;
|
|
|
|
position: relative;
|
2019-10-15 11:46:12 +08:00
|
|
|
padding: @page-header-padding-vertical @page-header-padding;
|
|
|
|
background-color: @component-background;
|
|
|
|
|
|
|
|
&-ghost {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
2019-03-02 15:51:08 +08:00
|
|
|
|
2019-08-25 15:38:51 +08:00
|
|
|
&.has-breadcrumb {
|
|
|
|
padding-top: @page-header-padding-breadcrumb;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.has-footer {
|
2019-10-15 11:46:12 +08:00
|
|
|
padding-bottom: 0;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
|
2019-04-25 15:13:13 +08:00
|
|
|
&-back {
|
2019-08-25 15:38:51 +08:00
|
|
|
float: left;
|
2019-10-15 11:46:12 +08:00
|
|
|
margin: 8px 0;
|
2019-08-25 15:38:51 +08:00
|
|
|
margin-right: 16px;
|
2019-10-15 11:46:12 +08:00
|
|
|
font-size: 16px;
|
2019-08-25 15:38:51 +08:00
|
|
|
line-height: 1;
|
2019-04-20 10:56:11 +08:00
|
|
|
&-button {
|
|
|
|
.operation-unit();
|
2019-09-19 09:47:16 +08:00
|
|
|
color: @page-header-back-color;
|
2019-06-15 23:51:30 +08:00
|
|
|
cursor: pointer;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-20 23:25:32 +08:00
|
|
|
.@{ant-prefix}-divider-vertical {
|
2019-03-02 15:51:08 +08:00
|
|
|
height: 14px;
|
|
|
|
margin: 0 12px;
|
2019-08-25 15:38:51 +08:00
|
|
|
vertical-align: middle;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
|
2019-06-27 23:33:27 +08:00
|
|
|
.@{ant-prefix}-breadcrumb + &-heading {
|
2019-08-25 15:38:51 +08:00
|
|
|
margin-top: 8px;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
|
2019-06-27 23:33:27 +08:00
|
|
|
&-heading {
|
2019-08-25 15:38:51 +08:00
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
2019-03-02 15:51:08 +08:00
|
|
|
&-title {
|
2019-08-25 15:38:51 +08:00
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
margin-bottom: 0;
|
2019-03-02 15:51:08 +08:00
|
|
|
padding-right: 12px;
|
|
|
|
color: @heading-color;
|
2019-08-25 15:38:51 +08:00
|
|
|
font-weight: 600;
|
2019-10-15 11:46:12 +08:00
|
|
|
font-size: @heading-4-size;
|
2019-08-25 15:38:51 +08:00
|
|
|
line-height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.@{ant-prefix}-avatar {
|
|
|
|
float: left;
|
|
|
|
margin-right: 12px;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-sub-title {
|
2019-08-25 15:38:51 +08:00
|
|
|
float: left;
|
|
|
|
margin: 5px 0;
|
|
|
|
margin-right: 12px;
|
2019-03-02 15:51:08 +08:00
|
|
|
color: @text-color-secondary;
|
|
|
|
font-size: 14px;
|
2019-08-25 15:38:51 +08:00
|
|
|
line-height: 22px;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-tags {
|
2019-08-25 15:38:51 +08:00
|
|
|
float: left;
|
|
|
|
margin: 4px 0;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-extra {
|
2019-08-25 15:38:51 +08:00
|
|
|
float: right;
|
2019-03-02 15:51:08 +08:00
|
|
|
> * {
|
2019-06-10 18:22:33 +08:00
|
|
|
margin-left: 8px;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
2019-06-10 18:22:33 +08:00
|
|
|
> *:first-child {
|
2019-06-10 19:06:16 +08:00
|
|
|
margin-left: 0;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-27 23:33:27 +08:00
|
|
|
&-content {
|
2019-10-15 11:46:12 +08:00
|
|
|
padding-top: 12px;
|
2019-08-25 15:38:51 +08:00
|
|
|
overflow: hidden;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-footer {
|
2019-08-25 15:38:51 +08:00
|
|
|
margin-top: 16px;
|
2019-03-02 15:51:08 +08:00
|
|
|
.@{ant-prefix}-tabs-bar {
|
|
|
|
margin-bottom: 1px;
|
|
|
|
border-bottom: 0;
|
|
|
|
.@{ant-prefix}-tabs-nav .@{ant-prefix}-tabs-tab {
|
2019-08-25 15:38:51 +08:00
|
|
|
padding: 8px;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @screen-sm) {
|
|
|
|
&-heading {
|
|
|
|
&-extra {
|
|
|
|
display: block;
|
|
|
|
float: unset;
|
|
|
|
width: 100%;
|
|
|
|
padding-top: 12px;
|
|
|
|
overflow: hidden;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|