welfare-admin/src/global.less

138 lines
2.0 KiB
Plaintext
Raw Normal View History

2021-08-11 15:44:50 +08:00
@import '~ant-design-vue/es/style/themes/default.less';
html,
body,
2021-08-19 09:01:06 +08:00
#app,
#root {
2021-08-11 15:44:50 +08:00
height: 100%;
}
.colorWeak {
filter: invert(80%);
}
.ant-layout.layout-basic {
height: 100vh;
min-height: 100vh;
}
canvas {
display: block;
}
body {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
ul,
ol {
list-style: none;
}
2021-08-19 09:01:06 +08:00
.ant-btn + .ant-btn {
margin-left: 8px;
}
2021-08-11 15:44:50 +08:00
// 数据列表 样式
.table-alert {
margin-bottom: 16px;
}
// 数据列表 操作
.table-operator {
margin-bottom: 18px;
button {
margin-right: 8px;
}
}
// 数据列表 搜索条件
.table-page-search-wrapper {
.ant-form-inline {
.ant-form-item {
display: flex;
margin-bottom: 24px;
margin-right: 0;
.ant-form-item-control-wrapper {
flex: 1 1;
display: inline-block;
vertical-align: middle;
}
> .ant-form-item-label {
line-height: 32px;
padding-right: 8px;
width: auto;
}
.ant-form-item-control {
height: 32px;
line-height: 32px;
}
}
}
.table-page-search-submitButtons {
display: block;
margin-bottom: 24px;
white-space: nowrap;
}
}
@media (max-width: @screen-xs) {
.ant-table {
width: 100%;
overflow-x: auto;
&-thead > tr,
&-tbody > tr {
> th,
> td {
white-space: pre;
> span {
display: block;
}
}
}
}
}
2021-08-19 09:01:06 +08:00
.draw-button-container {
position: absolute;
right: 0;
bottom: 0;
width: 100%;
border-top: 1px solid #e9e9e9;
padding: 10px 16px;
background: #fff;
2021-08-20 11:14:51 +08:00
z-index: 1;
2021-08-19 09:01:06 +08:00
text-align: right;
&.align-center {
text-align: center;
}
&.align-left {
text-align: left;
}
}
2022-01-07 14:43:46 +08:00
// 公用样式
.text-center {
text-align: center;
}
.text-right {
text-align: right;
}
.margin-top {
margin-top: 15px;
}
2022-01-07 17:42:13 +08:00
.flex-center{
display: flex;
align-items: center;
justify-content: center;
}
.justify-between{
justify-content: space-between;
}
.nowrap{
white-space: nowrap;
}