mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-27 15:32:48 +08:00
298 lines
3.6 KiB
SCSS
298 lines
3.6 KiB
SCSS
@import "./assets/iconfont/iconfont.css";
|
|
|
|
$primaryColor: #ff4d4f;
|
|
|
|
:root {
|
|
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
line-height: 1.5;
|
|
font-weight: 400;
|
|
|
|
color-scheme: light dark;
|
|
color: rgba(255, 255, 255, 0.87);
|
|
background-color: #242424;
|
|
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
|
|
a {
|
|
font-weight: 500;
|
|
color: #646cff;
|
|
text-decoration: inherit;
|
|
}
|
|
a:hover {
|
|
color: #535bf2;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
display: flex;
|
|
// place-items: center;
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.main-body {
|
|
width: 100%;
|
|
height: auto;
|
|
min-height: 900px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.container {
|
|
width: 1200px;
|
|
min-height: 900px;
|
|
height: auto;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3.2em;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
:root {
|
|
color: #213547;
|
|
background-color: #ffffff;
|
|
}
|
|
a:hover {
|
|
color: #747bff;
|
|
}
|
|
button {
|
|
background-color: #f9f9f9;
|
|
}
|
|
}
|
|
|
|
.w-250px {
|
|
width: 250px;
|
|
}
|
|
|
|
.w-300px {
|
|
width: 300px;
|
|
}
|
|
|
|
.w-350px {
|
|
width: 350px;
|
|
}
|
|
|
|
.w-400px {
|
|
width: 200px;
|
|
}
|
|
|
|
.w-450px {
|
|
width: 200px;
|
|
}
|
|
|
|
.w-500px {
|
|
width: 200px;
|
|
}
|
|
|
|
.mr-5 {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.ml-5 {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.ml-8 {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.mt-10 {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.ml-14 {
|
|
margin-left: 14px;
|
|
}
|
|
|
|
.ml-15 {
|
|
margin-left: 15px;
|
|
}
|
|
|
|
.ml-120 {
|
|
margin-left: 120px;
|
|
}
|
|
|
|
.ml-16 {
|
|
margin-left: 16px;
|
|
}
|
|
|
|
.mr-16 {
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.mb-8 {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.mb-10 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.mt-24 {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.mb-24 {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.mr-24 {
|
|
margin-right: 24px;
|
|
}
|
|
|
|
.mb-28 {
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.mt-50 {
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.mb-50 {
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
.helper-text {
|
|
height: 24px;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
color: rgba(0, 0, 0, 0.45);
|
|
line-height: 24px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.c-a-flex {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.flex-1 {
|
|
flex: 1;
|
|
}
|
|
|
|
.primary {
|
|
color: $primaryColor;
|
|
}
|
|
|
|
.c-yellow {
|
|
color: #e1a500;
|
|
}
|
|
|
|
.c-success {
|
|
color: #04c877;
|
|
}
|
|
|
|
.c-green {
|
|
color: #00cc66;
|
|
}
|
|
|
|
.c-red {
|
|
color: $primaryColor;
|
|
}
|
|
|
|
.login-box {
|
|
.ant-btn {
|
|
font-size: 18px !important;
|
|
font-weight: 500 !important;
|
|
}
|
|
|
|
.ant-input,
|
|
.ant-input-password {
|
|
font-weight: 400;
|
|
font-size: 18px !important;
|
|
background-color: #f6f6f6;
|
|
&::placeholder {
|
|
color: rgba(0, 0, 0, 0.45);
|
|
}
|
|
}
|
|
}
|
|
|
|
.c-admin {
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
color: rgba(0, 0, 0, 0.88);
|
|
line-height: 24px;
|
|
cursor: pointer;
|
|
&:hover {
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
|
|
.ant-progress {
|
|
margin-bottom: 0px;
|
|
.ant-progress-text {
|
|
color: #ff4d4f !important;
|
|
}
|
|
}
|
|
|
|
.ant-modal-confirm-btns > .ant-btn-default:hover {
|
|
color: #ff4d4f !important;
|
|
border-color: #ff4d4f;
|
|
}
|
|
|
|
.ant-modal-confirm-btns > .ant-btn-primary {
|
|
background-color: #ff4d4f !important;
|
|
color: #fff;
|
|
&:hover {
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
.ant-dropdown-menu-item-group-list {
|
|
padding: 0 0 4px 0 !important;
|
|
}
|
|
|
|
#meedu-player-container {
|
|
width: 1200px;
|
|
height: 675px;
|
|
float: left;
|
|
}
|