123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- @import '~ant-design-vue/es/style/themes/default.less';
- .text-overflow() {
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- white-space: nowrap;
- }
- // mixins for clearfix
- // ------------------------
- .clearfix() {
- zoom: 1;
- &::before,
- &::after {
- display: table;
- content: ' ';
- }
- &::after {
- height: 0;
- clear: both;
- font-size: 0;
- visibility: hidden;
- }
- }
- .page-header-content {
- display: flex;
- .avatar {
- flex: 0 1 72px;
- & > span {
- display: block;
- width: 72px;
- height: 72px;
- border-radius: 72px;
- }
- }
- .content {
- position: relative;
- top: 4px;
- margin-left: 24px;
- line-height: 22px;
- color: @text-color-secondary;
- flex: 1 1 auto;
- .content-title {
- margin-bottom: 12px;
- font-size: 20px;
- font-weight: 500;
- line-height: 28px;
- color: @heading-color;
- }
- }
- }
- .extra-content {
- .clearfix();
- float: right;
- white-space: nowrap;
- .stat-item {
- position: relative;
- display: inline-block;
- padding: 0 32px;
- > p:first-child {
- margin-bottom: 4px;
- font-size: @font-size-base;
- line-height: 22px;
- color: @text-color-secondary;
- }
- > p {
- margin: 0;
- font-size: 30px;
- line-height: 38px;
- color: @heading-color;
- > span {
- font-size: 20px;
- color: @text-color-secondary;
- }
- }
- &::after {
- position: absolute;
- top: 8px;
- right: 0;
- width: 1px;
- height: 40px;
- background-color: @border-color-split;
- content: '';
- }
- &:last-child {
- padding-right: 0;
- &::after {
- display: none;
- }
- }
- }
- }
|