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.

91 lines
1.6 KiB

@import '~antd/es/style/themes/default.less';
@import '../../index';
.@{pro-table-prefix-cls}-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
height: 64px;
padding: 0 24px;
// 与 listtoolbar 配合时产生更好的效果
.tech-listtoolbar-container {
padding-right: 0;
padding-left: 0;
}
&-option {
display: flex;
align-items: center;
justify-content: flex-end;
}
&-item-icon {
margin-left: 16px;
font-size: 16px;
cursor: pointer;
&:first-child {
margin-left: 8px;
}
}
&-title {
flex: 1;
color: @label-color;
font-weight: 500;
font-size: 16px;
line-height: 24px;
opacity: 0.85;
}
}
@media (max-width: @screen-xs) {
.@{pro-table-prefix-cls} {
.ant-table {
width: 100%;
overflow-x: auto;
&-thead > tr,
&-tbody > tr {
> th,
> td {
white-space: pre;
> span {
display: block;
}
}
}
}
}
}
@media (max-width: 575px) {
.@{pro-table-prefix-cls}-toolbar {
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
height: auto;
margin-bottom: 16px;
margin-left: 16px;
padding: 8px;
padding-top: 16px;
line-height: normal;
&-title {
margin-bottom: 16px;
}
&-option {
display: flex;
justify-content: space-between;
width: 100%;
}
&-default-option {
display: flex;
flex: 1;
align-items: center;
justify-content: flex-end;
}
}
}