ball_admin/src/index.less

120 lines
2.2 KiB
Plaintext

html {
width: 100%;
height: 100%;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
height: 100%;
}
#root {
height: 100%;
}
.projectContent {
box-sizing: border-box;
margin: 10px;
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
.layout {
height: 100%;
}
.App {
text-align: center;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.btn-dp {
color: #00ef97 !important;
border-color: #00ef97 !important;
}
.owner_model {
padding-bottom: 0px !important;
.ant-modal-content {
background-size: 100% 100%;
background-position: center center; /* 可选,确保图片在容器中居中 */
background-repeat: no-repeat; /* 确保图片不会重复 */
padding-bottom: 0px;
.ant-modal-header {
color: rgba(0, 0, 0, 0.85);
background: none;
border-bottom: 0px solid #f0f0f0;
align-items: center;
padding-left: 40px;
position: relative;
top: -10px;
left: -30px;
.ant-modal-title {
color: #fff;
}
}
.ant-modal-close {
color: #fff;
}
.ant-modal-body {
min-height: 300px;
overflow: auto;
}
.ant-modal-footer {
padding: 30px 30px;
text-align: center;
background: transparent;
border-top: 0px solid #f0f0f0;
background: none;
}
}
}
.text-overflow {
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 200px;
}