123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- @import '~antd/lib/style/themes/default.less';
-
- .pageHeader {
- background: @component-background;
- padding: 16px 32px 0 32px;
- border-bottom: @border-width-base @border-style-base @border-color-split;
-
- .detail {
- display: flex;
- }
-
- .row {
- display: flex;
- }
-
- .breadcrumb {
- margin-bottom: 16px;
- }
-
- .tabs {
- margin: 0 0 -17px -8px;
-
- :global {
- .ant-tabs-bar {
- border-bottom: @border-width-base @border-style-base @border-color-split;
- }
- }
- }
-
- .logo {
- flex: 0 1 auto;
- margin-right: 16px;
- padding-top: 1px;
- > img {
- width: 28px;
- height: 28px;
- border-radius: @border-radius-base;
- display: block;
- }
- }
-
- .title {
- font-size: 20px;
- font-weight: 500;
- color: @heading-color;
- }
-
- .action {
- margin-left: 56px;
- min-width: 266px;
-
- :global {
- .ant-btn-group:not(:last-child),
- .ant-btn:not(:last-child) {
- margin-right: 8px;
- }
-
- .ant-btn-group > .ant-btn {
- margin-right: 0;
- }
- }
- }
-
- .title,
- .action,
- .content,
- .extraContent,
- .main {
- // IE auto is no have height
- flex: 1;
- }
-
- .title,
- .action {
- margin-bottom: 16px;
- }
-
- .logo,
- .content,
- .extraContent {
- margin-bottom: 16px;
- }
-
- .action,
- .extraContent {
- text-align: right;
- }
-
- .extraContent {
- margin-left: 88px;
- min-width: 242px;
- }
- }
-
- @media screen and (max-width: @screen-xl) {
- .pageHeader {
- .extraContent {
- margin-left: 44px;
- }
- }
- }
-
- @media screen and (max-width: @screen-lg) {
- .pageHeader {
- .extraContent {
- margin-left: 20px;
- }
- }
- }
-
- @media screen and (max-width: @screen-md) {
- .pageHeader {
- .row {
- display: block;
- }
-
- .action,
- .extraContent {
- margin-left: 0;
- text-align: left;
- }
- }
- }
-
- @media screen and (max-width: @screen-sm) {
- .pageHeader {
- .detail {
- display: block;
- }
- }
- }
-
- @media screen and (max-width: @screen-xs) {
- .pageHeader {
- .action {
- :global {
- .ant-btn-group,
- .ant-btn {
- display: block;
- margin-bottom: 8px;
- }
- .ant-btn-group > .ant-btn {
- display: inline-block;
- margin-bottom: 0;
- }
- }
- }
- }
- }
|