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 {
|
2019-12-26 14:06:32 +08:00
|
|
|
background-color: @page-header-ghost-bg;
|
2019-10-15 11:46:12 +08:00
|
|
|
}
|
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 {
|
2020-03-29 10:39:46 +08:00
|
|
|
margin-right: @margin-md;
|
2019-10-15 11:46:12 +08:00
|
|
|
font-size: 16px;
|
2019-08-25 15:38:51 +08:00
|
|
|
line-height: 1;
|
2020-01-02 19:10:16 +08:00
|
|
|
|
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;
|
2020-03-29 10:39:46 +08:00
|
|
|
margin: 0 @margin-sm;
|
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 {
|
2020-03-29 10:39:46 +08:00
|
|
|
margin-top: @margin-xs;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
|
2020-04-10 19:25:31 +08:00
|
|
|
.text-overflow-ellipsis() {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2019-06-27 23:33:27 +08:00
|
|
|
&-heading {
|
2020-04-10 19:25:31 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
&-left {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2020-03-09 17:52:29 +08:00
|
|
|
|
2019-03-02 15:51:08 +08:00
|
|
|
&-title {
|
2020-04-10 19:25:31 +08:00
|
|
|
margin-right: @margin-sm;
|
2019-08-25 15:38:51 +08:00
|
|
|
margin-bottom: 0;
|
2019-03-02 15:51:08 +08:00
|
|
|
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;
|
2020-04-10 19:25:31 +08:00
|
|
|
.text-overflow-ellipsis;
|
2019-08-25 15:38:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.@{ant-prefix}-avatar {
|
2020-03-29 10:39:46 +08:00
|
|
|
margin-right: @margin-sm;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-sub-title {
|
2020-03-29 10:39:46 +08:00
|
|
|
margin-right: @margin-sm;
|
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;
|
2020-04-10 19:25:31 +08:00
|
|
|
.text-overflow-ellipsis;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-extra {
|
2020-04-10 19:25:31 +08:00
|
|
|
white-space: nowrap;
|
2019-03-02 15:51:08 +08:00
|
|
|
> * {
|
2020-04-10 19:25:31 +08:00
|
|
|
margin-left: @margin-sm;
|
|
|
|
white-space: unset;
|
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 {
|
2020-03-29 10:39:46 +08:00
|
|
|
padding-top: @page-header-content-padding-vertical;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-footer {
|
2020-03-29 10:39:46 +08:00
|
|
|
margin-top: @margin-md;
|
2019-03-02 15:51:08 +08:00
|
|
|
.@{ant-prefix}-tabs-bar {
|
|
|
|
margin-bottom: 1px;
|
|
|
|
border-bottom: 0;
|
2020-01-02 19:10:16 +08:00
|
|
|
.@{ant-prefix}-tabs-nav {
|
|
|
|
.@{ant-prefix}-tabs-tab {
|
2020-02-07 11:08:16 +08:00
|
|
|
padding: @tabs-horizontal-padding-sm;
|
2020-01-02 19:10:16 +08:00
|
|
|
font-size: 16px;
|
|
|
|
}
|
2019-08-25 15:38:51 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-10 19:25:31 +08:00
|
|
|
&-compact &-heading {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
&-extra {
|
|
|
|
margin-top: @margin-xs;
|
2019-03-02 15:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-03-19 12:13:24 +08:00
|
|
|
|
|
|
|
@import './rtl';
|