Files
PlayEdu-backend/src/index.less
2023-03-03 15:03:37 +08:00

164 lines
2.7 KiB
Plaintext

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;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
.mr-16 {
margin-right: 16px;
}
.mb-24 {
margin-bottom: 24px;
}
.mr-24 {
margin-right: 24px;
}
.mt-50 {
margin-top: 50px;
}
.mb-50 {
margin-bottom: 50px;
}
.float-left {
width: 100%;
height: auto;
float: left;
}
.d-flex {
display: flex;
align-items: center;
}
.j-flex {
display: flex;
justify-content: center;
}
.d-j-flex {
display: flex;
align-items: center;
justify-content: center;
}
.j-r-flex {
display: flex;
justify-content: right;
}
.j-b-flex {
display: flex;
align-items: center;
justify-content: space-between;
}
.c-flex {
display: flex;
flex-direction: column;
align-items: center;
}
.primary {
color: #ff4d4f;
}
.c-red {
color: #ff4d4f;
}
.playedu-main-body {
width: 100%;
height: auto;
float: left;
background-color: white;
box-sizing: border-box;
padding: 24px;
border-radius: 12px;
}
.ant-menu-item {
width: calc(100% - 32px) !important;
margin-left: 16px !important;
margin-right: 16px !important;
margin-top: 8px !important;
margin-bottom: 8px !important;
}
.ant-menu-submenu {
width: calc(100% - 24px) !important;
margin-left: 12px !important;
margin-right: 12px !important;
margin-top: 6px !important;
margin-bottom: 6px !important;
}
.ant-menu,
.ant-menu-sub,
.ant-menu-inline {
background-color: #ffffff !important;
}
.ant-menu-item-selected {
background-color: #ff4d4f !important;
color: white !important;
}
.ant-menu-submenu-selected > .ant-menu-submenu-title {
color: #ff4d4f !important;
}
.ant-menu-item-active {
background-color: #ff4d4f !important;
color: white !important;
}
.ant-input:focus,
.ant-input-focused {
border-color: #ff4d4f !important;
box-shadow: none;
}
.ant-input:active {
border-color: #ff4d4f !important;
box-shadow: none;
}
.ant-input:hover {
border-color: #ff4d4f !important;
}
.ant-input-password:hover {
border-color: #ff4d4f !important;
}
.ant-input-affix-wrapper-focused {
border-color: #ff4d4f !important;
box-shadow: none;
}
textarea.ant-input {
vertical-align: middle;
}
.ant-select:not(.ant-select-disabled):hover .ant-select-selector {
border-color: #ff4d4f !important;
}
.ant-select-focused .ant-select-selector,
.ant-select-selector:focus,
.ant-select-selector:active {
border-color: #ff4d4f !important;
box-shadow: 0 0 2px #ff4d4f !important;
}