Initial commit of 001code-html Scratch frontend project.
Includes scratch-gui, scratch-vm, scratch-blocks, scratch-render, scratch-l10n, and deployment config. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
7
scratch-gui/static/css/001pj.css
Normal file
7
scratch-gui/static/css/001pj.css
Normal file
@@ -0,0 +1,7 @@
|
||||
.u-section-1 .u-sheet-1 {
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-custom-html-1 {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
196
scratch-gui/static/css/Fail.css
Normal file
196
scratch-gui/static/css/Fail.css
Normal file
@@ -0,0 +1,196 @@
|
||||
.u-section-1 {
|
||||
background-image: none;
|
||||
min-height: 622px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-1 {
|
||||
width: 800px;
|
||||
min-height: 622px;
|
||||
height: auto;
|
||||
background-image: linear-gradient(#b9c1cc, #e0e5eb);
|
||||
--radius: 50px;
|
||||
margin: 0 auto -431px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-1 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-2 {
|
||||
width: 553px;
|
||||
min-height: 102px;
|
||||
height: auto;
|
||||
--radius: 20px;
|
||||
background-image: none;
|
||||
margin: 39px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-2 {
|
||||
padding-left: 30px;
|
||||
padding-right: 30px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-1 {
|
||||
width: 153px;
|
||||
margin: 25px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
width: 73px;
|
||||
height: 73px;
|
||||
margin: -63px auto 0 2px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
width: 73px;
|
||||
height: 73px;
|
||||
margin: -73px 0 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-3 {
|
||||
width: 163px;
|
||||
height: auto;
|
||||
--radius: 20px;
|
||||
background-image: none;
|
||||
min-height: 168px;
|
||||
margin: 129px auto 0 73px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-3 {
|
||||
padding: 17px 13px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
width: 101px;
|
||||
height: 101px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-2 {
|
||||
width: 69px;
|
||||
margin: 4px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-4 {
|
||||
width: 163px;
|
||||
height: auto;
|
||||
--radius: 20px;
|
||||
background-image: none;
|
||||
min-height: 168px;
|
||||
margin: -168px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-4 {
|
||||
padding: 17px 13px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
width: 120px;
|
||||
height: 103px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-3 {
|
||||
margin: 2px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-5 {
|
||||
width: 163px;
|
||||
height: auto;
|
||||
--radius: 20px;
|
||||
background-image: none;
|
||||
min-height: 168px;
|
||||
margin: -168px 73px 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-5 {
|
||||
padding: 11px 9px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-5 {
|
||||
width: 93px;
|
||||
height: 93px;
|
||||
margin: 9px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-4 {
|
||||
margin: 10px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-1 {
|
||||
border-style: none;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
background-image: none;
|
||||
--radius: 10px;
|
||||
margin: 73px auto 0;
|
||||
padding: 20px 46px 20px 45px;
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
.u-section-1 .u-group-1 {
|
||||
background-position: 50% 50%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-2 {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-3 {
|
||||
--radius: 10px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-4 {
|
||||
--radius: 10px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-5 {
|
||||
--radius: 10px;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.u-section-1 .u-group-1 {
|
||||
width: 720px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.u-section-1 .u-group-1 {
|
||||
width: 540px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-2 {
|
||||
width: 540px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-2 {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-3 {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-4 {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.u-section-1 .u-group-1 {
|
||||
width: 340px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-2 {
|
||||
width: 340px;
|
||||
}
|
||||
}
|
||||
228
scratch-gui/static/css/OK.css
Normal file
228
scratch-gui/static/css/OK.css
Normal file
@@ -0,0 +1,228 @@
|
||||
.u-section-1 {
|
||||
background-image: none;
|
||||
min-height: 622px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-1 {
|
||||
width: 800px;
|
||||
min-height: 622px;
|
||||
height: auto;
|
||||
--radius: 50px;
|
||||
background-image: linear-gradient(#fef9e6, #f1b5b8);
|
||||
margin: 0 auto -406px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-1 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-1 {
|
||||
width: 486px;
|
||||
margin: 47px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
width: 486px;
|
||||
height: 538px;
|
||||
margin: -32px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-2 {
|
||||
width: 163px;
|
||||
height: auto;
|
||||
--radius: 20px;
|
||||
background-image: none;
|
||||
min-height: 168px;
|
||||
margin: -338px auto 0 78px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-2 {
|
||||
padding: 11px 13px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
width: 101px;
|
||||
height: 101px;
|
||||
margin: 6px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-2 {
|
||||
font-size: 1.5rem;
|
||||
margin: 0 auto -6px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-3 {
|
||||
width: 163px;
|
||||
height: auto;
|
||||
--radius: 20px;
|
||||
background-image: none;
|
||||
min-height: 168px;
|
||||
margin: -168px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-3 {
|
||||
padding: 9px 13px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
width: 120px;
|
||||
height: 103px;
|
||||
margin: 8px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-3 {
|
||||
font-size: 1.5rem;
|
||||
margin: 0 auto -8px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-4 {
|
||||
width: 163px;
|
||||
height: auto;
|
||||
--radius: 20px;
|
||||
background-image: none;
|
||||
min-height: 168px;
|
||||
margin: -168px 78px 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-4 {
|
||||
padding: 9px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
width: 93px;
|
||||
height: 93px;
|
||||
margin: 11px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-4 {
|
||||
font-size: 1.5rem;
|
||||
margin: 8px auto -2px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-5 {
|
||||
width: 189px;
|
||||
--radius: 10px;
|
||||
height: 72px;
|
||||
min-height: 72px;
|
||||
margin: 78px 65px 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-5 {
|
||||
padding: 13px 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-5 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-6 {
|
||||
width: 189px;
|
||||
--radius: 10px;
|
||||
height: 72px;
|
||||
min-height: 72px;
|
||||
margin: -72px auto 0 68px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-6 {
|
||||
padding: 13px 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-6 {
|
||||
font-size: 1.125rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-5 {
|
||||
width: 71px;
|
||||
height: 68px;
|
||||
margin: -546px auto 0 74px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-6 {
|
||||
width: 71px;
|
||||
height: 68px;
|
||||
margin: -68px 74px 0 auto;
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
.u-section-1 .u-group-1 {
|
||||
background-position: 50% 50%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-2 {
|
||||
--radius: 10px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-3 {
|
||||
--radius: 10px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-4 {
|
||||
--radius: 10px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-5 {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-6 {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.u-section-1 .u-group-1 {
|
||||
width: 720px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.u-section-1 .u-group-1 {
|
||||
width: 540px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-2 {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-2 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-3 {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-3 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-4 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.u-section-1 .u-group-1 {
|
||||
width: 340px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-1 {
|
||||
width: 340px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
width: 340px;
|
||||
height: 376px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-2 {
|
||||
margin-top: -176px;
|
||||
}
|
||||
}
|
||||
5
scratch-gui/static/css/bootstrap-icons.css
vendored
Normal file
5
scratch-gui/static/css/bootstrap-icons.css
vendored
Normal file
File diff suppressed because one or more lines are too long
6
scratch-gui/static/css/bootstrap.min.css
vendored
Normal file
6
scratch-gui/static/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
662
scratch-gui/static/css/competition-v2.css
Normal file
662
scratch-gui/static/css/competition-v2.css
Normal file
@@ -0,0 +1,662 @@
|
||||
:root {
|
||||
--page-bg: #f0f4f9;
|
||||
--card-bg: #ffffff;
|
||||
--title: #1e1a4c;
|
||||
--text: #475569;
|
||||
--label: #000000;
|
||||
--field-bg: #f5f6f9;
|
||||
--placeholder: #7d91a1;
|
||||
--shadow: 0px 34px 44px -20px rgba(185, 206, 234, 0.25);
|
||||
--field-border: linear-gradient(164deg, rgba(226, 230, 255, 1) 24%, rgba(255, 234, 227, 1) 95%);
|
||||
--btn-gradient: linear-gradient(90deg, rgba(3, 161, 234, 1) 0%, rgba(32, 91, 175, 1) 100%);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Inter, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC",
|
||||
"Microsoft YaHei", Arial, sans-serif;
|
||||
background-color: var(--page-bg);
|
||||
background-image: url("../competitio-assets/login-bg.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position: center 51px;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.page {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.content {
|
||||
width: 100%;
|
||||
max-width: 1111px;
|
||||
margin: 0 auto;
|
||||
padding: 133px 24px 0;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 63px;
|
||||
}
|
||||
|
||||
.illustration {
|
||||
width: 499px;
|
||||
height: 575px;
|
||||
object-fit: contain;
|
||||
margin-top: 114px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.card {
|
||||
width: 549px;
|
||||
max-width: 100%;
|
||||
background: var(--card-bg);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
|
||||
border-radius: 20px;
|
||||
padding: 30px 35px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.card-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.title {
|
||||
margin: 0 !important;
|
||||
font-family: Nunito, Inter, system-ui, sans-serif;
|
||||
font-weight: 800 !important;
|
||||
font-size: 1.5rem !important;
|
||||
line-height: 1.364 !important;
|
||||
color: var(--title);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.info {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.info-line {
|
||||
margin: 0;
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
line-height: 1.2;
|
||||
color: #475569;
|
||||
/* white-space: pre-wrap; */
|
||||
}
|
||||
|
||||
.info-label {
|
||||
color: #475569;
|
||||
}
|
||||
|
||||
.info-value {
|
||||
color: #5380ea;
|
||||
}
|
||||
|
||||
.competition-info-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.competition-info-details p {
|
||||
margin: 0;
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
line-height: 19px;
|
||||
|
||||
color: #475569;
|
||||
|
||||
|
||||
/* Inside auto layout */
|
||||
flex: none;
|
||||
order: 1;
|
||||
flex-grow: 0;
|
||||
|
||||
}
|
||||
|
||||
.competition-info-details strong {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
line-height: 19px;
|
||||
color: #475569;
|
||||
flex: none;
|
||||
order: 1;
|
||||
flex-grow: 0;
|
||||
}
|
||||
|
||||
.competition-info-details span {
|
||||
width: 479px;
|
||||
height: 76px;
|
||||
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
line-height: 19px;
|
||||
color: #175FF3;
|
||||
flex: none;
|
||||
order: 1;
|
||||
flex-grow: 0;
|
||||
}
|
||||
|
||||
.form-v2 {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.label-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
label {
|
||||
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
line-height: 19px;
|
||||
|
||||
color: #000000;
|
||||
/* Inside auto layout */
|
||||
flex: none;
|
||||
order: 0;
|
||||
flex-grow: 0;
|
||||
|
||||
}
|
||||
|
||||
.label-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.control {
|
||||
height: 48px;
|
||||
width: 100%;
|
||||
border-radius: 8px;
|
||||
border: 2px solid #5380ea;
|
||||
background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fd 100%);
|
||||
padding: 0 12px;
|
||||
font-family: "PingFang SC", Inter, system-ui, sans-serif;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
line-height: 48px;
|
||||
color: #1e1a4c;
|
||||
outline: none;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: 0 2px 8px rgba(83, 128, 234, 0.15);
|
||||
}
|
||||
|
||||
.control:focus {
|
||||
border-color: #03a1ea;
|
||||
background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
|
||||
box-shadow: 0 0 0 4px rgba(3, 161, 234, 0.2), 0 4px 12px rgba(83, 128, 234, 0.25);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.control:hover {
|
||||
border-color: #03a1ea;
|
||||
box-shadow: 0 4px 12px rgba(83, 128, 234, 0.25);
|
||||
}
|
||||
|
||||
.control::placeholder {
|
||||
color: var(--placeholder);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.select-wrap {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
select.control {
|
||||
appearance: none;
|
||||
padding-right: 40px;
|
||||
}
|
||||
|
||||
.select-icon {
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
pointer-events: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Custom Select Styles (used by competition.js) */
|
||||
.custom-select-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 48px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.custom-select-selected {
|
||||
height: 48px;
|
||||
width: 100%;
|
||||
border-radius: 8px;
|
||||
border: 2px solid #5380ea;
|
||||
background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fd 100%);
|
||||
padding: 0 40px 0 12px;
|
||||
font-family: inherit;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
line-height: 48px;
|
||||
/* Adjust for border */
|
||||
color: #1e1a4c;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
box-shadow: 0 2px 8px rgba(83, 128, 234, 0.15);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.custom-select-selected:hover {
|
||||
border-color: #03a1ea;
|
||||
box-shadow: 0 4px 12px rgba(83, 128, 234, 0.25);
|
||||
}
|
||||
|
||||
.custom-select-selected::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-image: url("../competitio-assets/chevron-down.svg");
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.custom-select-options {
|
||||
position: absolute;
|
||||
top: calc(100% + 4px);
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background: #ffffff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
||||
border: 1px solid #e2e8f0;
|
||||
overflow: hidden;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.custom-select-option {
|
||||
padding: 12px;
|
||||
font-size: 14px;
|
||||
color: #475569;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.custom-select-option:hover {
|
||||
background: #f1f5f9;
|
||||
}
|
||||
|
||||
.custom-select-option.disabled {
|
||||
color: #cbd5e1;
|
||||
cursor: not-allowed;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.custom-select-option.selected {
|
||||
background: #e2eafc;
|
||||
color: #5380ea;
|
||||
}
|
||||
|
||||
/* Tooltip for platform guide */
|
||||
.platform-guide-tooltip {
|
||||
background: #1e1a4c;
|
||||
color: white;
|
||||
padding: 16px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
z-index: 10001;
|
||||
max-width: 250px;
|
||||
}
|
||||
|
||||
.platform-guide-close {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.platform-guide-tooltip::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
border: 8px solid transparent;
|
||||
}
|
||||
|
||||
.platform-guide-tooltip:not(.position-bottom)::before {
|
||||
right: -16px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
border-left-color: #1e1a4c;
|
||||
}
|
||||
|
||||
.platform-guide-tooltip.position-bottom::before {
|
||||
top: -16px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
border-bottom-color: #1e1a4c;
|
||||
}
|
||||
|
||||
.highlight-select {
|
||||
box-shadow: 0 0 0 3px rgba(3, 161, 234, 0.4);
|
||||
animation: pulse-border 1.5s infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse-border {
|
||||
0% {
|
||||
box-shadow: 0 0 0 0px rgba(3, 161, 234, 0.4);
|
||||
}
|
||||
|
||||
70% {
|
||||
box-shadow: 0 0 0 10px rgba(3, 161, 234, 0);
|
||||
}
|
||||
|
||||
100% {
|
||||
box-shadow: 0 0 0 0px rgba(3, 161, 234, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.primary-btn {
|
||||
width: 180px;
|
||||
height: 48px;
|
||||
border-radius: 32px;
|
||||
border: 0;
|
||||
background: var(--btn-gradient);
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 6px 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.primary-btn-text {
|
||||
font-family: "Noto Sans SC", Inter, system-ui, sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
color: #ffffff;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.primary-btn-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: block;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.register-link {
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.register-link:hover {
|
||||
color: #03a1ea;
|
||||
}
|
||||
|
||||
.meta-line {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-weight: 500;
|
||||
font-size: 16px !important;
|
||||
line-height: 1.2 !important;
|
||||
color: #475569 !important;
|
||||
}
|
||||
|
||||
.meta-label {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 16px !important;
|
||||
line-height: 19px 16px !important;
|
||||
color: #475569 16px !important;
|
||||
/* Inside auto layout */
|
||||
flex: none;
|
||||
order: 3;
|
||||
flex-grow: 0;
|
||||
|
||||
}
|
||||
|
||||
.meta-value {
|
||||
color: #5380ea;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.meta-value--contest {
|
||||
color: #e54a2a;
|
||||
}
|
||||
|
||||
footer {
|
||||
width: 100%;
|
||||
max-width: 1040px;
|
||||
margin: auto auto 0;
|
||||
padding: 0 24px 18px;
|
||||
}
|
||||
|
||||
.footer-line {
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
background: #cbd5e1;
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
|
||||
.footer-text {
|
||||
margin: 0;
|
||||
font-weight: 500;
|
||||
font-size: 12px !important;
|
||||
color: var(--text);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Modals */
|
||||
.modal-v2-password {
|
||||
width: 450px;
|
||||
max-width: calc(100vw - 48px);
|
||||
background: #FFFFFF;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0px 34px 44px -20px rgba(185, 206, 234, 0.25);
|
||||
padding: 32px;
|
||||
display: flex !important;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 24px;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.modal-v2-header {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.modal-v2-title {
|
||||
flex: 1;
|
||||
font-family: Nunito, system-ui, sans-serif;
|
||||
font-weight: 800;
|
||||
font-size: 2rem !important;
|
||||
text-align: center;
|
||||
color: #020F30;
|
||||
}
|
||||
|
||||
.modal-v2-close {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.modal-v2-close img {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.modal-v2-body {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
/* Password Toggle Style */
|
||||
.password-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.password-toggle {
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
cursor: pointer;
|
||||
color: #7d91a1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Floating button */
|
||||
.floating-back-button {
|
||||
position: fixed;
|
||||
bottom: 30px;
|
||||
right: 30px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.back-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
padding: 12px 16px;
|
||||
border-radius: 25px;
|
||||
font-size: 14px;
|
||||
backdrop-filter: blur(10px);
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
|
||||
/* Toast styles (Reverted to original UI) */
|
||||
#toast-container {
|
||||
position: fixed;
|
||||
top: 10%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 999999;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.toast {
|
||||
min-width: 250px;
|
||||
max-width: 350px;
|
||||
padding: 15px 20px;
|
||||
border-radius: 50px;
|
||||
color: #fff;
|
||||
font-family: Arial, sans-serif;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
||||
opacity: 0.9;
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/* 居中文本 */
|
||||
text-align: center;
|
||||
/* 居中文本 */
|
||||
pointer-events: auto;
|
||||
/* 允许 Toast 接收事件 */
|
||||
}
|
||||
|
||||
.toast.success {
|
||||
background-color: #4CAF50;
|
||||
}
|
||||
|
||||
.toast.error {
|
||||
background-color: #f44336;
|
||||
}
|
||||
|
||||
.toast.info {
|
||||
background-color: #2196F3;
|
||||
}
|
||||
|
||||
.toast.fade-out {
|
||||
opacity: 0;
|
||||
transform: translateY(-20px);
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.illustration {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.content {
|
||||
justify-content: center;
|
||||
padding-top: 60px;
|
||||
}
|
||||
}
|
||||
1119
scratch-gui/static/css/competition.css
Normal file
1119
scratch-gui/static/css/competition.css
Normal file
File diff suppressed because it is too large
Load Diff
3777
scratch-gui/static/css/competitionLevelChoose.css
Normal file
3777
scratch-gui/static/css/competitionLevelChoose.css
Normal file
File diff suppressed because it is too large
Load Diff
914
scratch-gui/static/css/competition_sum-v2.css
Normal file
914
scratch-gui/static/css/competition_sum-v2.css
Normal file
@@ -0,0 +1,914 @@
|
||||
:root {
|
||||
--page-bg: #f0f4f9;
|
||||
--card-bg: #ffffff;
|
||||
--title: #1e1a4c;
|
||||
--text: #475569;
|
||||
--label: #000000;
|
||||
--field-bg: #f5f6f9;
|
||||
--placeholder: #7d91a1;
|
||||
--shadow: 0px 34px 44px -20px rgba(185, 206, 234, 0.25);
|
||||
--field-border: linear-gradient(164deg, rgba(226, 230, 255, 1) 24%, rgba(255, 234, 227, 1) 95%);
|
||||
--btn-gradient: linear-gradient(90deg, rgba(3, 161, 234, 1) 0%, rgba(32, 91, 175, 1) 100%);
|
||||
--accent-color: #5380ea;
|
||||
--accent-hover: #03a1ea;
|
||||
--table-border: #e2e8f0;
|
||||
--table-header-bg: #f8fafc;
|
||||
--table-stripe: #f1f5f9;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Inter, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
|
||||
background-color: var(--page-bg);
|
||||
background-image: url("../images/bg.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position: center 0;
|
||||
color: var(--text);
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.page {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.content {
|
||||
width: 100%;
|
||||
max-width: 1600px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 24px;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 380px;
|
||||
gap: 24px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
/* New Table Footer for Search & Pagination */
|
||||
.table-footer {
|
||||
margin-top: 24px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
padding: 20px 24px;
|
||||
border-top: 3px solid rgba(83, 128, 234, 0.15);
|
||||
background: linear-gradient(135deg, rgba(247, 249, 255, 0.8) 0%, rgba(240, 247, 255, 0.6) 100%);
|
||||
backdrop-filter: blur(10px);
|
||||
border-radius: 14px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
box-shadow: 0 2px 8px rgba(83, 128, 234, 0.08);
|
||||
}
|
||||
|
||||
.search-form-inline {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.search-form-inline label {
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
color: #1e1a4c;
|
||||
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
|
||||
.form-input-small {
|
||||
height: 42px;
|
||||
width: 220px;
|
||||
border-radius: 12px;
|
||||
border: 2px solid #d1e0ff;
|
||||
padding: 0 18px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
background: white;
|
||||
box-shadow: 0 2px 6px rgba(83, 128, 234, 0.08);
|
||||
}
|
||||
|
||||
.form-input-small:focus {
|
||||
outline: none;
|
||||
border-color: #5380ea;
|
||||
box-shadow:
|
||||
0 0 0 4px rgba(83, 128, 234, 0.12),
|
||||
0 4px 12px rgba(83, 128, 234, 0.15);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.form-btn-small {
|
||||
height: 42px;
|
||||
padding: 0 28px;
|
||||
border-radius: 21px;
|
||||
background: linear-gradient(135deg, #5380ea 0%, #03a1ea 100%);
|
||||
color: white;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
box-shadow:
|
||||
0 4px 15px rgba(83, 128, 234, 0.35),
|
||||
0 2px 8px rgba(3, 161, 234, 0.25);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.form-btn-small::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
|
||||
transition: left 0.6s;
|
||||
}
|
||||
|
||||
.form-btn-small:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow:
|
||||
0 6px 20px rgba(83, 128, 234, 0.45),
|
||||
0 3px 12px rgba(3, 161, 234, 0.35);
|
||||
}
|
||||
|
||||
.form-btn-small:hover::before {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
.form-btn-small:active {
|
||||
transform: translateY(-1px);
|
||||
box-shadow:
|
||||
0 3px 12px rgba(83, 128, 234, 0.4),
|
||||
0 2px 8px rgba(3, 161, 234, 0.3);
|
||||
}
|
||||
|
||||
/* Pagination container */
|
||||
.pagination-container {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
color: #475569;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* Card Styles - Bold, Full, 3D Effect */
|
||||
.card {
|
||||
background: var(--card-bg);
|
||||
border-radius: 24px;
|
||||
padding: 32px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
margin-bottom: 32px;
|
||||
width: 100%;
|
||||
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
/* Override fixed width from competition-v2.css */
|
||||
}
|
||||
|
||||
/* Ranking Card - Bold 3D Style */
|
||||
.ranking-card {
|
||||
background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
|
||||
border: 3px solid #e0ebff;
|
||||
box-shadow:
|
||||
0 20px 50px rgba(83, 128, 234, 0.2),
|
||||
0 10px 30px rgba(83, 128, 234, 0.15),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.8) inset,
|
||||
0 2px 0 0 rgba(83, 128, 234, 0.1) inset;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ranking-card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 6px;
|
||||
background: linear-gradient(90deg,
|
||||
#5380ea 0%,
|
||||
#03a1ea 25%,
|
||||
#10b981 50%,
|
||||
#f59e0b 75%,
|
||||
#ef4444 100%);
|
||||
border-radius: 24px 24px 0 0;
|
||||
box-shadow: 0 2px 10px rgba(83, 128, 234, 0.4);
|
||||
}
|
||||
|
||||
.ranking-card::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: calc(100% - 6px);
|
||||
background:
|
||||
radial-gradient(circle at 15% 20%, rgba(83, 128, 234, 0.06) 0%, transparent 40%),
|
||||
radial-gradient(circle at 85% 80%, rgba(3, 161, 234, 0.06) 0%, transparent 40%),
|
||||
radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
border-radius: 0 0 24px 24px;
|
||||
}
|
||||
|
||||
.ranking-card:hover {
|
||||
transform: translateY(-8px);
|
||||
box-shadow:
|
||||
0 25px 60px rgba(83, 128, 234, 0.25),
|
||||
0 15px 40px rgba(83, 128, 234, 0.2),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.9) inset,
|
||||
0 2px 0 0 rgba(83, 128, 234, 0.15) inset;
|
||||
}
|
||||
|
||||
.card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding-bottom: 24px;
|
||||
margin-bottom: 20px;
|
||||
background: transparent;
|
||||
border-bottom: 3px solid transparent;
|
||||
border-image: linear-gradient(90deg,
|
||||
transparent 0%,
|
||||
rgba(83, 128, 234, 0.3) 30%,
|
||||
rgba(83, 128, 234, 0.6) 50%,
|
||||
rgba(83, 128, 234, 0.3) 70%,
|
||||
transparent 100%) 1;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.title {
|
||||
margin: 0;
|
||||
font-family: Nunito, Inter, system-ui, sans-serif;
|
||||
font-weight: 900;
|
||||
font-size: 1.75rem;
|
||||
color: #1e1a4c;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
position: relative;
|
||||
text-shadow:
|
||||
0 2px 4px rgba(83, 128, 234, 0.15),
|
||||
0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
.trophy-icon {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
color: #f59e0b;
|
||||
filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.title::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: -20px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 6px;
|
||||
height: 36px;
|
||||
background: linear-gradient(180deg, #5380ea 0%, #03a1ea 100%);
|
||||
border-radius: 3px;
|
||||
box-shadow:
|
||||
0 0 15px rgba(83, 128, 234, 0.6),
|
||||
0 0 30px rgba(83, 128, 234, 0.3);
|
||||
}
|
||||
|
||||
.refresh-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
font-size: 14px;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.refresh-timer {
|
||||
font-size: 14px;
|
||||
color: var(--accent-color);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Table Styles - Bold 3D */
|
||||
.table-container {
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
border-radius: 16px;
|
||||
padding: 4px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
box-shadow:
|
||||
0 4px 15px rgba(83, 128, 234, 0.08) inset,
|
||||
0 1px 3px rgba(0, 0, 0, 0.05) inset;
|
||||
}
|
||||
|
||||
.custom-table {
|
||||
width: 100%;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
font-size: 14.5px;
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
|
||||
}
|
||||
|
||||
.custom-table th,
|
||||
.custom-table td {
|
||||
padding: 16px 20px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid rgba(226, 232, 240, 0.6);
|
||||
}
|
||||
|
||||
.custom-table thead tr th:first-child {
|
||||
border-top-left-radius: 12px;
|
||||
}
|
||||
|
||||
.custom-table thead tr th:last-child {
|
||||
border-top-right-radius: 12px;
|
||||
}
|
||||
|
||||
.custom-table th {
|
||||
background: #ffffff;
|
||||
font-weight: 800;
|
||||
color: #0f172a;
|
||||
white-space: nowrap;
|
||||
border-bottom: 3px solid #3b82f6;
|
||||
font-size: 13px;
|
||||
letter-spacing: 1px;
|
||||
padding: 20px 20px;
|
||||
text-transform: uppercase;
|
||||
box-shadow: none;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.custom-table th::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.custom-table th::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.custom-table tbody tr {
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
|
||||
box-shadow: 0 1px 3px rgba(83, 128, 234, 0.05);
|
||||
}
|
||||
|
||||
.custom-table tbody tr::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(90deg,
|
||||
rgba(83, 128, 234, 0.03) 0%,
|
||||
transparent 50%,
|
||||
rgba(83, 128, 234, 0.03) 100%);
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.custom-table tbody tr:nth-child(even) {
|
||||
background: linear-gradient(135deg, #f8faff 0%, #f0f5ff 100%);
|
||||
box-shadow: 0 1px 3px rgba(83, 128, 234, 0.06);
|
||||
}
|
||||
|
||||
.custom-table tbody tr td {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.custom-table tbody tr:last-child td:first-child {
|
||||
border-bottom-left-radius: 12px;
|
||||
}
|
||||
|
||||
.custom-table tbody tr:last-child td:last-child {
|
||||
border-bottom-right-radius: 12px;
|
||||
}
|
||||
|
||||
.custom-table tbody tr:last-child td {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
/* 去掉hover背景色变化,增强立体阴影效果 */
|
||||
.custom-table tbody tr:hover {
|
||||
box-shadow:
|
||||
0 4px 16px rgba(83, 128, 234, 0.15),
|
||||
0 2px 8px rgba(83, 128, 234, 0.1);
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.custom-table tbody tr:hover::after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.custom-table .rank-cell {
|
||||
font-weight: 900;
|
||||
text-align: center;
|
||||
width: 70px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.custom-table .rank-1 {
|
||||
background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
font-size: 1.5em;
|
||||
filter: drop-shadow(0 3px 6px rgba(251, 191, 36, 0.4));
|
||||
animation: pulse-rank 2.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.custom-table .rank-2 {
|
||||
background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
font-size: 1.35em;
|
||||
filter: drop-shadow(0 2px 4px rgba(148, 163, 184, 0.3));
|
||||
}
|
||||
|
||||
.custom-table .rank-3 {
|
||||
background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
font-size: 1.25em;
|
||||
filter: drop-shadow(0 2px 4px rgba(234, 88, 12, 0.3));
|
||||
}
|
||||
|
||||
@keyframes pulse-rank {
|
||||
0%, 100% {
|
||||
transform: scale(1);
|
||||
filter: drop-shadow(0 3px 6px rgba(251, 191, 36, 0.4));
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.08);
|
||||
filter: drop-shadow(0 4px 10px rgba(251, 191, 36, 0.6));
|
||||
}
|
||||
}
|
||||
|
||||
/* Form Styles */
|
||||
.search-form {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
padding: 16px;
|
||||
background: var(--field-bg);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.form-input {
|
||||
height: 40px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid #cbd5e1;
|
||||
padding: 0 12px;
|
||||
flex: 1;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.form-btn {
|
||||
height: 40px;
|
||||
padding: 0 24px;
|
||||
border-radius: 20px;
|
||||
background: var(--btn-gradient);
|
||||
color: white;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.form-btn:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Sidebar Widgets */
|
||||
.widget-title {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: var(--title);
|
||||
margin: 0 0 16px 0;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.timer-icon {
|
||||
display: inline-flex;
|
||||
vertical-align: middle;
|
||||
color: #3b82f6;
|
||||
flex-shrink: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
stroke-width: 2.5;
|
||||
}
|
||||
|
||||
/* Countdown */
|
||||
.countdown-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.countdown-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
background: #f8fafc;
|
||||
padding: 8px 12px;
|
||||
border-radius: 8px;
|
||||
min-width: 60px;
|
||||
}
|
||||
|
||||
.countdown-value {
|
||||
font-size: 24px;
|
||||
font-weight: 800;
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
.countdown-label {
|
||||
font-size: 12px;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.countdown-separator {
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
color: #cbd5e1;
|
||||
margin-top: -16px;
|
||||
}
|
||||
|
||||
.action-buttons {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.full-width-btn {
|
||||
width: 100%;
|
||||
height: 48px;
|
||||
border-radius: 24px;
|
||||
background: var(--btn-gradient);
|
||||
color: white;
|
||||
border: none;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-decoration: none;
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
.full-width-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(3, 161, 234, 0.25);
|
||||
}
|
||||
|
||||
.full-width-btn.secondary {
|
||||
background: #94a3b8;
|
||||
}
|
||||
|
||||
.full-width-btn:disabled,
|
||||
.full-width-btn.disabled {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
pointer-events: none;
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
/* Announcement */
|
||||
.announcement-box {
|
||||
background: #fffbeb;
|
||||
border: 1px solid #fcd34d;
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
min-height: 100px;
|
||||
color: #92400e;
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* Camera */
|
||||
.camera-wrapper {
|
||||
background: #000;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
aspect-ratio: 4/3;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.camera-placeholder {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 1024px) {
|
||||
.content {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
/* Floating Elements (from competition.ejs) */
|
||||
.floating-back-button {
|
||||
position: fixed;
|
||||
bottom: 30px;
|
||||
right: 30px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.back-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
padding: 12px 16px;
|
||||
border-radius: 25px;
|
||||
font-size: 14px;
|
||||
backdrop-filter: blur(10px);
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.floating-user-name {
|
||||
position: fixed;
|
||||
top: 30px;
|
||||
right: 30px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.user-chip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
color: #fff;
|
||||
padding: 12px 16px;
|
||||
border-radius: 25px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
backdrop-filter: blur(10px);
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
/* Modal from competition-v2.css style */
|
||||
.modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 10000;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background-color: #fefefe;
|
||||
margin: auto;
|
||||
padding: 0;
|
||||
border: 1px solid #888;
|
||||
width: 450px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
|
||||
animation: modalFadeIn 0.3s;
|
||||
}
|
||||
|
||||
@keyframes modalFadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-20px);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
padding: 16px 24px;
|
||||
border-bottom: 1px solid #e2e8f0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.modal-header h2 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
color: var(--title);
|
||||
}
|
||||
|
||||
.close-modal {
|
||||
color: #aaa;
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.close-modal:hover {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
padding: 24px;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
padding: 16px 24px;
|
||||
border-top: 1px solid #e2e8f0;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.modal-btn {
|
||||
padding: 8px 16px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
font-weight: 500;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.confirm-btn {
|
||||
font-size: 16px;
|
||||
background: var(--btn-gradient);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cancel-btn {
|
||||
background: #e2e8f0;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
/* SSN Floating Button */
|
||||
.ssn-floating-button {
|
||||
position: fixed;
|
||||
top: 30px;
|
||||
left: 30px;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.ssn-button-trigger {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
background: var(--btn-gradient);
|
||||
color: white;
|
||||
padding: 10px 16px;
|
||||
border-radius: 30px;
|
||||
cursor: pointer;
|
||||
backdrop-filter: blur(8px);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
transition: all 0.3s ease;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.ssn-button-trigger:hover {
|
||||
opacity: 0.9;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.ssn-button-text {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.ssn-info-panel {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
left: 0;
|
||||
width: 320px;
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transform: translateY(-10px);
|
||||
transition: all 0.3s ease;
|
||||
border: 1px solid #e2e8f0;
|
||||
}
|
||||
|
||||
.ssn-info-panel.show {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.ssn-info-header {
|
||||
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
|
||||
padding: 16px 20px;
|
||||
border-bottom: 1px solid #e2e8f0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.ssn-info-header h3 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
color: #1e293b;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.ssn-close-btn {
|
||||
background: transparent;
|
||||
border: none;
|
||||
font-size: 24px;
|
||||
color: #94a3b8;
|
||||
cursor: pointer;
|
||||
line-height: 1;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 50%;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.ssn-close-btn:hover {
|
||||
color: #ef4444;
|
||||
background: #fee2e2;
|
||||
}
|
||||
|
||||
.ssn-info-content {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.ssn-info-item {
|
||||
display: flex;
|
||||
margin-bottom: 12px;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.ssn-info-item:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.ssn-info-item label {
|
||||
color: #64748b;
|
||||
width: 90px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.ssn-info-item span {
|
||||
color: #0f172a;
|
||||
font-weight: 500;
|
||||
word-break: break-all;
|
||||
}
|
||||
1485
scratch-gui/static/css/competition_sum.css
Normal file
1485
scratch-gui/static/css/competition_sum.css
Normal file
File diff suppressed because it is too large
Load Diff
2086
scratch-gui/static/css/currentlvchoose.css
Normal file
2086
scratch-gui/static/css/currentlvchoose.css
Normal file
File diff suppressed because it is too large
Load Diff
943
scratch-gui/static/css/gamemodal.css
Normal file
943
scratch-gui/static/css/gamemodal.css
Normal file
@@ -0,0 +1,943 @@
|
||||
.u-dialog-section-8 {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-dialog-1 {
|
||||
width: 649px;
|
||||
min-height: 640px;
|
||||
height: auto;
|
||||
margin: 60px auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-1 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-group-1 {
|
||||
width: 473px;
|
||||
height: auto;
|
||||
--radius: 50px;
|
||||
background-image: linear-gradient(#fcc75a, #ee6622);
|
||||
min-height: 516px;
|
||||
margin: 81px auto 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-2 {
|
||||
padding: 30px 8px 2px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-wrap-1 {
|
||||
width: 367px;
|
||||
margin: 203px auto 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-1 {
|
||||
min-height: 95px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-3 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-text-1 {
|
||||
font-weight: 800;
|
||||
text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
margin: 58px auto 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-2 {
|
||||
min-height: 95px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-4 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-1 {
|
||||
width: 37px;
|
||||
height: 44px;
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
margin: 6px auto 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-text-2 {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 800;
|
||||
text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-3 {
|
||||
min-height: 95px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-5 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-2 {
|
||||
width: 37px;
|
||||
height: 44px;
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
margin: 6px 40px 0 auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-text-3 {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 800;
|
||||
text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-list-1 {
|
||||
margin: 67px 0 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-repeater-1 {
|
||||
grid-auto-columns: calc(50% - 5px);
|
||||
grid-template-columns: repeat(2, calc(50% - 5px));
|
||||
min-height: 58px;
|
||||
grid-gap: 10px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-6 {
|
||||
padding: 7px 10px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-btn-1 {
|
||||
--radius: 50px;
|
||||
background-image: linear-gradient(#00ff00, #009245);
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
font-weight: 800;
|
||||
margin: 0 auto;
|
||||
padding: 8px 28px 8px 27px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-7 {
|
||||
padding: 7px 10px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-btn-2 {
|
||||
--radius: 50px;
|
||||
background-image: linear-gradient(#00ffff, #29abe2);
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
font-weight: 800;
|
||||
margin: 0 auto;
|
||||
padding: 8px 28px 8px 27px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-group-2 {
|
||||
min-height: 327px;
|
||||
margin-top: -607px;
|
||||
margin-bottom: 280px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-8 {
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-3 {
|
||||
width: 637px;
|
||||
height: 269px;
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 0.8;
|
||||
transition-duration: 0.5s;
|
||||
margin: -12px auto 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-wrap-2 {
|
||||
width: 367px;
|
||||
margin: -91px auto 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-4 {
|
||||
min-height: 161px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-9 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-4 {
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 300px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
margin: 21px -9px -1px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-5 {
|
||||
min-height: 161px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-10 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-5 {
|
||||
height: 140px;
|
||||
width: 166px;
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 300px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
margin: -12px -22px 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-6 {
|
||||
min-height: 161px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-11 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-6 {
|
||||
height: 140px;
|
||||
width: 166px;
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 300px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
margin: 21px -22px 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-icon-3 {
|
||||
width: 41px;
|
||||
height: 41px;
|
||||
left: auto;
|
||||
top: 0;
|
||||
position: absolute;
|
||||
background-image: none;
|
||||
right: -41px;
|
||||
--radius: 50px;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
.u-dialog-section-8 .u-dialog-1 {
|
||||
--radius: 43px;
|
||||
min-height: 633px;
|
||||
margin-top: 132px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-group-1 {
|
||||
min-height: 515px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-wrap-1 {
|
||||
margin-top: 206px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-1 {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-3 {
|
||||
padding-bottom: 13px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-2 {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-4 {
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-3 {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-5 {
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-2 {
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-list-1 {
|
||||
margin-top: 43px;
|
||||
margin-right: initial;
|
||||
margin-left: initial;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-btn-1 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-btn-2 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-group-2 {
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 0.3;
|
||||
min-height: 258px;
|
||||
margin-top: -537px;
|
||||
margin-bottom: 0;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-8 {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-3 {
|
||||
width: 637px;
|
||||
margin-top: -61px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-wrap-2 {
|
||||
margin-top: -111px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-4 {
|
||||
margin-left: -9px;
|
||||
margin-right: -9px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-10 {
|
||||
padding-bottom: 23px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-5 {
|
||||
width: 166px;
|
||||
margin-left: -22px;
|
||||
margin-right: -22px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-6 {
|
||||
margin-left: -22px;
|
||||
margin-right: -22px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.u-dialog-section-8 .u-dialog-1 {
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-group-1 {
|
||||
width: 472px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-2 {
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-wrap-1 {
|
||||
width: 399px;
|
||||
margin-top: 249px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-1 {
|
||||
min-height: 105px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-2 {
|
||||
min-height: 105px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-4 {
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-3 {
|
||||
min-height: 105px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-list-1 {
|
||||
margin-top: 36px;
|
||||
margin-right: initial;
|
||||
margin-left: initial;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-group-2 {
|
||||
min-height: 655px;
|
||||
width: 648px;
|
||||
margin-top: -614px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-3 {
|
||||
width: 576px;
|
||||
height: 209px;
|
||||
margin-top: 21px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-wrap-2 {
|
||||
margin-top: -48px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-4 {
|
||||
min-height: 218px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-5 {
|
||||
min-height: 218px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-5 {
|
||||
margin-left: -22px;
|
||||
margin-right: -22px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-6 {
|
||||
min-height: 218px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-6 {
|
||||
margin-left: -22px;
|
||||
margin-right: -22px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.u-dialog-section-8 .u-dialog-1 {
|
||||
width: 540px;
|
||||
min-height: 589px;
|
||||
margin-top: 73px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-group-1 {
|
||||
margin-top: 75px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-2 {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-wrap-1 {
|
||||
margin-top: 21px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-1 {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-2 {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-4 {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-3 {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-2 {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-list-1 {
|
||||
width: 455px;
|
||||
margin-top: 34px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-repeater-1 {
|
||||
grid-auto-columns: calc(100% + 0px);
|
||||
grid-template-columns: 100%;
|
||||
min-height: 125px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-group-2 {
|
||||
min-height: 48px;
|
||||
width: 540px;
|
||||
margin-top: -621px;
|
||||
margin-right: -1px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-3 {
|
||||
height: 252px;
|
||||
margin-top: 0;
|
||||
margin-bottom: -204px;
|
||||
margin-right: initial;
|
||||
margin-left: initial;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-wrap-2 {
|
||||
margin-top: -741px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-4 {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-5 {
|
||||
margin-left: -22px;
|
||||
margin-right: -22px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-6 {
|
||||
margin-left: -22px;
|
||||
margin-right: -22px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.u-dialog-section-8 .u-dialog-1 {
|
||||
width: 340px;
|
||||
min-height: 670px;
|
||||
margin-left: calc(((100% - 340px) / 2));
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-container-layout-1 {
|
||||
padding-bottom: 25px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-group-1 {
|
||||
width: 340px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-wrap-1 {
|
||||
width: 340px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-text-1 {
|
||||
width: auto;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-list-1 {
|
||||
margin-top: 14px;
|
||||
margin-right: initial;
|
||||
margin-left: initial;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-repeater-1 {
|
||||
grid-auto-columns: 100%;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-group-2 {
|
||||
min-height: 166px;
|
||||
margin-top: -590px;
|
||||
margin-right: initial;
|
||||
margin-left: initial;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-3 {
|
||||
height: 159px;
|
||||
width: 340px;
|
||||
margin: 5px auto 0 -1px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-wrap-2 {
|
||||
width: 340px;
|
||||
margin-top: -485px;
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-layout-cell-5 {
|
||||
min-height: 217px;
|
||||
}
|
||||
}
|
||||
|
||||
.u-dialog-section-8 .u-image-3,
|
||||
.u-dialog-section-8 .u-image-3:before,
|
||||
.u-dialog-section-8 .u-image-3 > .u-container-layout:before {
|
||||
transition-property: fill, color, background-color, stroke-width, border-style, border-width, border-top-width, border-left-width, border-right-width, border-bottom-width, custom-border, borders, box-shadow, text-shadow, opacity, border-radius, stroke, border-color, font-size, font-style, font-weight, text-decoration, letter-spacing, transform, background-image, image-zoom, background-size, background-position;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-dialog-1 {
|
||||
width: 566px;
|
||||
min-height: 695px;
|
||||
height: auto;
|
||||
margin: 60px auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-container-layout-1 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-group-1 {
|
||||
width: 473px;
|
||||
height: auto;
|
||||
--radius: 50px;
|
||||
background-image: linear-gradient(#fcc75a, #ee6622);
|
||||
min-height: 515px;
|
||||
margin: 71px auto 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-container-layout-2 {
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-text-1 {
|
||||
font-weight: 800;
|
||||
line-height: 1.2;
|
||||
margin: 213px 87px 0 102px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-btn-1 {
|
||||
--radius: 50px;
|
||||
background-image: linear-gradient(#00ff00, #009245);
|
||||
font-weight: 800;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
margin: 46px 141px 0 auto;
|
||||
padding: 8px 28px 8px 27px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-image-1 {
|
||||
min-height: 109px;
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../images/web-70.png");
|
||||
background-size: contain;
|
||||
height: auto;
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
width: 381px;
|
||||
margin: -567px auto 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-container-layout-3 {
|
||||
padding-left: 30px;
|
||||
padding-right: 30px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-wrap-1 {
|
||||
width: 367px;
|
||||
margin: 19px auto 278px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-cell-1 {
|
||||
min-height: 161px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-container-layout-4 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-image-2 {
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 300px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
margin: 21px -9px -1px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-cell-2 {
|
||||
min-height: 161px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-container-layout-5 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-image-3 {
|
||||
height: 140px;
|
||||
width: 166px;
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 300px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
margin: -12px -22px 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-cell-3 {
|
||||
min-height: 161px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-container-layout-6 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-image-4 {
|
||||
height: 140px;
|
||||
width: 166px;
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 300px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
margin: 21px -22px 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-icon-2 {
|
||||
width: 41px;
|
||||
height: 41px;
|
||||
left: auto;
|
||||
top: 0;
|
||||
position: absolute;
|
||||
background-image: none;
|
||||
right: -41px;
|
||||
--radius: 50px;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
.u-dialog-section-9 .u-dialog-1 {
|
||||
--radius: 43px;
|
||||
min-height: 582px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-group-1 {
|
||||
min-height: 516px;
|
||||
margin-top: 65px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-container-layout-2 {
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-text-1 {
|
||||
width: 224px;
|
||||
margin-top: 228px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-btn-1 {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-image-1 {
|
||||
--animation-custom_in-scale: 0.3;
|
||||
margin-top: -569px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-container-layout-3 {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-wrap-1 {
|
||||
margin-top: 21px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-cell-1 {
|
||||
min-height: 164px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-container-layout-4 {
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-image-2 {
|
||||
margin-left: -9px;
|
||||
margin-right: -9px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-cell-2 {
|
||||
min-height: 164px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-container-layout-5 {
|
||||
padding-bottom: 23px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-image-3 {
|
||||
width: 166px;
|
||||
margin-left: -22px;
|
||||
margin-right: -22px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-cell-3 {
|
||||
min-height: 164px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-container-layout-6 {
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-image-4 {
|
||||
margin-left: -22px;
|
||||
margin-right: -22px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.u-dialog-section-9 .u-dialog-1 {
|
||||
min-height: 583px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-group-1 {
|
||||
margin-top: 65px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-image-1 {
|
||||
margin-top: -570px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-wrap-1 {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-cell-1 {
|
||||
min-height: 218px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-cell-2 {
|
||||
min-height: 218px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-image-3 {
|
||||
margin-top: -8px;
|
||||
margin-left: -22px;
|
||||
margin-right: -22px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-cell-3 {
|
||||
min-height: 218px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.u-dialog-section-9 .u-dialog-1 {
|
||||
width: 540px;
|
||||
min-height: 631px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-group-1 {
|
||||
min-height: 573px;
|
||||
margin-top: 58px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-container-layout-2 {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-text-1 {
|
||||
margin-top: 144px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-btn-1 {
|
||||
margin-top: 158px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-image-1 {
|
||||
margin-top: -630px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-container-layout-3 {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-wrap-1 {
|
||||
margin-top: -488px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-cell-1 {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-image-3 {
|
||||
margin-left: -22px;
|
||||
margin-right: -22px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.u-dialog-section-9 .u-dialog-1 {
|
||||
width: 340px;
|
||||
min-height: 417px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-group-1 {
|
||||
margin-top: 17px;
|
||||
min-height: 400px;
|
||||
margin-right: initial;
|
||||
margin-left: initial;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-text-1 {
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-btn-1 {
|
||||
margin-top: 33px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-image-1 {
|
||||
margin-top: -415px;
|
||||
margin-right: initial;
|
||||
margin-left: initial;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-wrap-1 {
|
||||
width: 340px;
|
||||
margin-top: -485px;
|
||||
}
|
||||
|
||||
.u-dialog-section-9 .u-layout-cell-2 {
|
||||
min-height: 217px;
|
||||
}
|
||||
}
|
||||
1029
scratch-gui/static/css/leaderboard.css
Normal file
1029
scratch-gui/static/css/leaderboard.css
Normal file
File diff suppressed because it is too large
Load Diff
645
scratch-gui/static/css/login-new-v2.css
Normal file
645
scratch-gui/static/css/login-new-v2.css
Normal file
@@ -0,0 +1,645 @@
|
||||
:root {
|
||||
--bg-page: #f0f4f9;
|
||||
--text-main: #020f30;
|
||||
--text-sub: #475569;
|
||||
--input-bg: #f5f6f9;
|
||||
--btn-gradient-start: #03a1ea;
|
||||
--btn-gradient-end: #205baf;
|
||||
--card-shadow: 0 34px 44px -20px rgba(185, 206, 234, 0.25);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
|
||||
background-color: var(--bg-page);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: #000;
|
||||
background-image: url("../images/bg.png");
|
||||
background-size: cover;
|
||||
background-position: center 51px;
|
||||
/* background-repeat: no-repeat; */
|
||||
|
||||
}
|
||||
|
||||
.page {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
max-width: 1440px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.page-bg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
/* background-image: url("../images/bg.png"); */
|
||||
background-size: auto;
|
||||
background-position: top left;
|
||||
background-repeat: repeat;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.content-wrap {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
padding-top: 100px;
|
||||
padding-bottom: 40px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.login-card {
|
||||
background-color: #fff;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
|
||||
/* 阴影效果 */
|
||||
padding: 40px 35px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 32px;
|
||||
width: 549px;
|
||||
max-width: 100%;
|
||||
min-height: 508px;
|
||||
|
||||
}
|
||||
|
||||
.login-title {
|
||||
font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-weight: 800 !important;
|
||||
font-size: 36px !important;
|
||||
line-height: 1.364 !important;
|
||||
color: var(--text-main);
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
.form-v2 {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.form-row {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.field-label {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
line-height: 1.21;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.field-label .required-mark {
|
||||
color: #ea5939;
|
||||
}
|
||||
|
||||
.input-shell {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 0 12px;
|
||||
width: 100%;
|
||||
height: 48px;
|
||||
border-radius: 8px;
|
||||
position: relative;
|
||||
background: var(--input-bg);
|
||||
}
|
||||
|
||||
.input-shell::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
padding: 1px;
|
||||
background: linear-gradient(164deg, rgba(226, 230, 255, 1) 24%, rgba(255, 234, 227, 1) 95%);
|
||||
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
||||
-webkit-mask-composite: xor;
|
||||
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
||||
mask-composite: exclude;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.input-shell input {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
height: 22px;
|
||||
border: none;
|
||||
outline: none;
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
font-family: "PingFang SC", system-ui, sans-serif;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.input-shell input::placeholder {
|
||||
color: #7d91a1;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Fix for browser autofill background color */
|
||||
.input-shell input:-webkit-autofill,
|
||||
.input-shell input:-webkit-autofill:hover,
|
||||
.input-shell input:-webkit-autofill:focus,
|
||||
.input-shell input:-webkit-autofill:active {
|
||||
-webkit-box-shadow: 0 0 0 30px var(--input-bg) inset !important;
|
||||
-webkit-text-fill-color: #000 !important;
|
||||
transition: background-color 5000s ease-in-out 0s;
|
||||
}
|
||||
|
||||
.links-row {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 140px;
|
||||
padding: 0;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
line-height: 1.21;
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.links-row a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.links-row a:hover {
|
||||
color: var(--btn-gradient-start);
|
||||
}
|
||||
|
||||
.actions-row {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 32px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.btn-primary-v2 {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
padding: 6px 8px;
|
||||
width: 180px;
|
||||
height: 48px;
|
||||
border-radius: 32px;
|
||||
border: none;
|
||||
background-image: linear-gradient(90deg, #03a1ea 0%, #205baf 100%);
|
||||
color: #ffffff;
|
||||
font-family: "Noto Sans SC", system-ui, sans-serif;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
line-height: 1.43;
|
||||
cursor: pointer;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
.btn-primary-v2:disabled {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.checkbox-wrap {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-family: "PingFang SC", system-ui, sans-serif;
|
||||
font-size: 14px;
|
||||
color: rgba(0, 0, 0, 0.9);
|
||||
}
|
||||
|
||||
.checkbox-shell {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.checkbox-shell img {
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.help-text {
|
||||
margin-top: 24px !important;
|
||||
font-size: 16px !important;
|
||||
font-weight: 500 !important;
|
||||
line-height: 1.21 !important;
|
||||
text-align: center !important;
|
||||
color: var(--text-sub) !important;
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 27px;
|
||||
margin: 0 auto;
|
||||
padding-top: 12px;
|
||||
padding-bottom: 27px;
|
||||
}
|
||||
|
||||
.footer-line {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
/* background: #475569; */
|
||||
}
|
||||
|
||||
|
||||
.footer-text {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
color: #475569;
|
||||
font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
line-height: 15px;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.footer-text img{
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
/* QR 弹出气泡 */
|
||||
.footer-text .qr {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.qr-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.qr-label {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.qr-popup {
|
||||
position: absolute;
|
||||
bottom: calc(100% + 10px);
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 160px;
|
||||
padding: 8px;
|
||||
background: #ffffff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
|
||||
display: none;
|
||||
opacity: 0;
|
||||
transition: opacity 0.12s ease;
|
||||
z-index: 200;
|
||||
}
|
||||
|
||||
.qr-popup img {
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.qr-popup-arrow {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: -8px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 8px solid transparent;
|
||||
border-right: 8px solid transparent;
|
||||
border-top: 8px solid #ffffff;
|
||||
filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.06));
|
||||
}
|
||||
|
||||
.qr:hover .qr-popup,
|
||||
.qr:focus-within .qr-popup {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* 更细化的 footer 移动端兼容 */
|
||||
@media (max-width: 768px) {
|
||||
.footer-text,
|
||||
.footer-text-v2 {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
white-space: normal;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* 将二维码弹窗改为固定定位,避免被底部遮挡,且更接近触摸交互 */
|
||||
.qr-popup {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
bottom: 88px;
|
||||
transform: translateX(-50%);
|
||||
width: 180px;
|
||||
padding: 10px;
|
||||
z-index: 120000;
|
||||
}
|
||||
|
||||
.qr-popup img {
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
}
|
||||
|
||||
/* 箭头在固定定位下不适用,隐藏之 */
|
||||
.qr-popup-arrow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* 保证点击/聚焦时可见 */
|
||||
.qr:focus-within .qr-popup,
|
||||
.qr:active .qr-popup {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* footer 内的链接与 icon 缩小以适配 */
|
||||
.footer-text a,
|
||||
.footer-text-v2 a,
|
||||
.footer-text .qr-label,
|
||||
.footer-text-v2 .qr-label {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
.u-error-message {
|
||||
color: #ea5939;
|
||||
font-size: 14px;
|
||||
margin-bottom: 10px;
|
||||
text-align: center;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Toast styles (Reverted to original UI) */
|
||||
#toast-container {
|
||||
position: fixed;
|
||||
top: 10%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 999999;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.toast {
|
||||
min-width: 250px;
|
||||
max-width: 350px;
|
||||
padding: 15px 20px;
|
||||
border-radius: 50px;
|
||||
color: #fff;
|
||||
font-family: Arial, sans-serif;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
||||
opacity: 0.9;
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/* 居中文本 */
|
||||
text-align: center;
|
||||
/* 居中文本 */
|
||||
pointer-events: auto;
|
||||
/* 允许 Toast 接收事件 */
|
||||
}
|
||||
|
||||
.toast.success {
|
||||
background-color: #4CAF50;
|
||||
}
|
||||
|
||||
.toast.error {
|
||||
background-color: #f44336;
|
||||
}
|
||||
|
||||
.toast.info {
|
||||
background-color: #2196F3;
|
||||
}
|
||||
|
||||
.toast.fade-out {
|
||||
opacity: 0;
|
||||
transform: translateY(-20px);
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.content-wrap {
|
||||
padding-top: 80px;
|
||||
}
|
||||
|
||||
.links-row {
|
||||
padding: 0 40px;
|
||||
gap: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.page-bg {
|
||||
inset: 0px 0 0px;
|
||||
}
|
||||
|
||||
.content-wrap {
|
||||
padding-top: 60px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
.login-card {
|
||||
padding: 32px 24px;
|
||||
}
|
||||
|
||||
.login-title {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.links-row {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 0;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.footer-text-v2 {
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.content-wrap {
|
||||
padding-top: 40px;
|
||||
}
|
||||
|
||||
.login-card {
|
||||
padding: 24px 16px;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.help-text {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Modal v2 Styles */
|
||||
.modal-v2-password {
|
||||
width: 450px;
|
||||
max-width: calc(100vw - 48px);
|
||||
background: #FFFFFF;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0px 34px 44px -20px rgba(185, 206, 234, 0.25);
|
||||
padding: 32px;
|
||||
display: flex !important;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 32px;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.modal-v2-header {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.modal-v2-title {
|
||||
flex: 1;
|
||||
font-family: Nunito, system-ui, sans-serif;
|
||||
font-weight: 800;
|
||||
font-size: 32px;
|
||||
text-align: center;
|
||||
color: #020F30;
|
||||
}
|
||||
|
||||
.modal-v2-close {
|
||||
position: absolute !important;
|
||||
top: 0px !important;
|
||||
right: 0px !important;
|
||||
width: 32px !important;
|
||||
height: 32px !important;
|
||||
border: 0 !important;
|
||||
background: transparent !important;
|
||||
cursor: pointer !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.modal-v2-close img {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.modal-v2-body {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.modal-v2-field {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.modal-v2-label {
|
||||
font-family: Inter, system-ui, sans-serif;
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.modal-v2-input-wrap {
|
||||
width: 100%;
|
||||
border-radius: 8px;
|
||||
padding: 1px;
|
||||
background: linear-gradient(164deg, rgba(226, 230, 255, 1) 24%, rgba(255, 234, 227, 1) 95%);
|
||||
}
|
||||
|
||||
.modal-v2-input {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
border-radius: 7px;
|
||||
border: 0;
|
||||
padding: 0 12px;
|
||||
background: #F5F6F9;
|
||||
font-family: "PingFang SC", system-ui, sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #0F172A;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.modal-v2-actions {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.btn-get-code {
|
||||
background: linear-gradient(90deg, #52c41a 0%, #389e0d 100%) !important;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.modal-v2-password {
|
||||
padding: 24px 16px;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.modal-v2-title {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
1341
scratch-gui/static/css/login-new.css
Normal file
1341
scratch-gui/static/css/login-new.css
Normal file
File diff suppressed because it is too large
Load Diff
392
scratch-gui/static/css/login.css
Normal file
392
scratch-gui/static/css/login.css
Normal file
@@ -0,0 +1,392 @@
|
||||
.u-section-1 {
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
min-height: calc(831px * 0.6);
|
||||
height: 100vh; /* 强制背景占满窗口高度 */
|
||||
position: relative; /* 为伪元素定位提供参考 */
|
||||
overflow: hidden; /* 隐藏伪元素溢出的部分 */
|
||||
/* 移除以下属性 */
|
||||
/* background-size: cover; */
|
||||
/* background-position: center; */
|
||||
/* background-repeat: no-repeat; */
|
||||
/* background-image: url("../images/photo-1488590528505-98d2b5aba04b.jpeg"); */
|
||||
}
|
||||
|
||||
/* 定义背景渐变放大缩小的关键帧动画 */
|
||||
@keyframes backgroundScale {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url("../images/photo-1488590528505-98d2b5aba04b.jpeg"); /* 背景图片路径 */
|
||||
background-size: cover; /* 背景覆盖整个容器 */
|
||||
background-position: center; /* 背景图片居中 */
|
||||
background-repeat: no-repeat; /* 禁止重复 */
|
||||
transform: scale(1); /* 初始缩放 */
|
||||
transform-origin: center; /* 缩放中心 */
|
||||
animation: backgroundScale 10s ease-in-out infinite; /* 应用动画 */
|
||||
z-index: -1; /* 将伪元素置于内容后面 */
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-1 {
|
||||
padding: 0;
|
||||
transform: scale(0.6); /* 缩放到原来的 50% */
|
||||
transform-origin: top center; /* 以中心为缩放中心 */
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-1 {
|
||||
height: 831px;
|
||||
background-image: none;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
--radius: 36px;
|
||||
width: 742px;
|
||||
margin: 245px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-1 {
|
||||
margin-left: 0;
|
||||
line-height: 0.72;
|
||||
text-transform: uppercase;
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-1 {
|
||||
--radius: 50px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-3 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-2 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-2 {
|
||||
margin-left: 0;
|
||||
text-transform: uppercase;
|
||||
font-size: 2.25rem;
|
||||
line-height: 0.14;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-1 {
|
||||
border-style: solid;
|
||||
letter-spacing: 0px;
|
||||
background-image: none;
|
||||
width: 100%;
|
||||
font-size: 1.5rem;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
font-weight: 600;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-3 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
box-shadow: 2px 0 0 0 rgba(0,0,0,0);
|
||||
transition-duration: 0.5s;
|
||||
transform: rotate(0deg) scale(1) translateX(0px) translateY(0px);
|
||||
margin: -1065px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-2 {
|
||||
width: 659px;
|
||||
min-height: 76px;
|
||||
height: auto;
|
||||
margin: 662px auto 27px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-2 {
|
||||
padding-left: 30px;
|
||||
padding-right: 30px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2 {
|
||||
transition-duration: 0.5s;
|
||||
transform: rotate(0deg) scale(1) translateX(0px) translateY(0px);
|
||||
text-decoration: underline !important;
|
||||
margin: 24px auto 0 66px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-3 {
|
||||
transition-duration: 0.5s;
|
||||
transform: rotate(0deg) scale(1) translateX(0px) translateY(0px);
|
||||
text-decoration: underline !important;
|
||||
margin: -26px 74px 1px auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
.u-section-1 .u-image-1 {
|
||||
--radius: 30px;
|
||||
margin-right: initial;
|
||||
margin-left: initial;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-2 {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2 {
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-3 {
|
||||
border-style: solid;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.u-section-1 .u-form-1 {
|
||||
width: 720px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.u-section-1 .u-form-1 {
|
||||
width: 540px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-2 {
|
||||
width: 540px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-2 {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-3 {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.u-section-1 .u-form-1 {
|
||||
width: 340px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-group-2 {
|
||||
width: 340px;
|
||||
}
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2,
|
||||
.u-section-1 .u-image-2:before,
|
||||
.u-section-1 .u-image-2 > .u-container-layout:before {
|
||||
transition-property: fill, color, background-color, stroke-width, border-style, border-width, border-top-width, border-left-width, border-right-width, border-bottom-width, custom-border, borders, box-shadow, text-shadow, opacity, border-radius, stroke, border-color, font-size, font-style, font-weight, text-decoration, letter-spacing, transform, background-image, image-zoom, background-size, background-position;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2.u-image-2.u-image-2:hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2.u-image-2.u-image-2.hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2,
|
||||
.u-section-1 .u-btn-2:before,
|
||||
.u-section-1 .u-btn-2 > .u-container-layout:before {
|
||||
transition-property: fill, color, background-color, stroke-width, border-style, border-width, border-top-width, border-left-width, border-right-width, border-bottom-width, custom-border, borders, box-shadow, text-shadow, opacity, border-radius, stroke, border-color, font-size, font-style, font-weight, text-decoration, letter-spacing, transform, background-image, image-zoom, background-size, background-position;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2.u-btn-2.u-btn-2:hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2 {
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2.u-btn-2.u-btn-2.hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2 {
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-3,
|
||||
.u-section-1 .u-btn-3:before,
|
||||
.u-section-1 .u-btn-3 > .u-container-layout:before {
|
||||
transition-property: fill, color, background-color, stroke-width, border-style, border-width, border-top-width, border-left-width, border-right-width, border-bottom-width, custom-border, borders, box-shadow, text-shadow, opacity, border-radius, stroke, border-color, font-size, font-style, font-weight, text-decoration, letter-spacing, transform, background-image, image-zoom, background-size, background-position;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-3.u-btn-3.u-btn-3:hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-3 {
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-3.u-btn-3.u-btn-3.hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-3 {
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.u-input-rectangle {
|
||||
display: flex; /* 使用 Flexbox */
|
||||
align-items: center; /* 垂直居中 */
|
||||
justify-content: center; /* 水平居中 */
|
||||
text-align: center; /* 文本水平居中 */
|
||||
}
|
||||
|
||||
.u-form-send-error {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* 模态窗口的背景 */
|
||||
.modal {
|
||||
display: block; /* 始终保持为block,以便应用过渡效果 */
|
||||
position: fixed; /* 固定位置 */
|
||||
z-index: 1000; /* 确保模态窗口在最前面 */
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%; /* 全屏 */
|
||||
height: 100%; /* 全屏 */
|
||||
overflow: auto; /* 如果需要滚动 */
|
||||
background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
|
||||
|
||||
/* 初始状态为隐藏 */
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.3s ease, visibility 0.3s ease; /* 过渡效果 */
|
||||
}
|
||||
|
||||
/* 当模态窗口显示时应用 */
|
||||
.modal.show {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
/* 模态窗口的内容 */
|
||||
.modal-content {
|
||||
background-color: #fefefe;
|
||||
margin: 15% auto; /* 居中 */
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
width: 80%; /* 宽度 */
|
||||
max-width: 500px; /* 最大宽度 */
|
||||
border-radius: 10px; /* 圆角 */
|
||||
text-align: center;
|
||||
|
||||
/* 添加淡入效果 */
|
||||
transform: translateY(-20px);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.modal.show .modal-content {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* 关闭按钮 */
|
||||
.close-button {
|
||||
color: #aaa;
|
||||
float: right;
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.close-button:hover,
|
||||
.close-button:focus {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Toast 容器 */
|
||||
#toast-container {
|
||||
position: fixed;
|
||||
top: 10%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 100002; /* 确保在最上层 */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
pointer-events: none; /* 允许点击穿透 */
|
||||
}
|
||||
|
||||
/* 单个 Toast */
|
||||
.toast {
|
||||
min-width: 250px;
|
||||
max-width: 350px;
|
||||
padding: 15px 20px;
|
||||
border-radius: 5px;
|
||||
color: #fff;
|
||||
font-family: Arial, sans-serif;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
||||
opacity: 0.9;
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center; /* 居中文本 */
|
||||
text-align: center; /* 居中文本 */
|
||||
pointer-events: auto; /* 允许 Toast 接收事件 */
|
||||
}
|
||||
|
||||
/* 成功 Toast */
|
||||
.toast.success {
|
||||
background-color: #4CAF50; /* 绿色 */
|
||||
}
|
||||
|
||||
/* 错误 Toast */
|
||||
.toast.error {
|
||||
background-color: #f44336; /* 红色 */
|
||||
}
|
||||
|
||||
/* 信息 Toast */
|
||||
.toast.info {
|
||||
background-color: #2196F3; /* 蓝色 */
|
||||
}
|
||||
|
||||
/* 淡出效果 */
|
||||
.toast.fade-out {
|
||||
opacity: 0;
|
||||
transform: translateY(-20px);
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
}
|
||||
2275
scratch-gui/static/css/matchsum.css
Normal file
2275
scratch-gui/static/css/matchsum.css
Normal file
File diff suppressed because it is too large
Load Diff
1301
scratch-gui/static/css/modal.css
Normal file
1301
scratch-gui/static/css/modal.css
Normal file
File diff suppressed because it is too large
Load Diff
54925
scratch-gui/static/css/nicepage.css
Normal file
54925
scratch-gui/static/css/nicepage.css
Normal file
File diff suppressed because it is too large
Load Diff
494
scratch-gui/static/css/onegame.css
Normal file
494
scratch-gui/static/css/onegame.css
Normal file
@@ -0,0 +1,494 @@
|
||||
.u-section-1 .u-sheet-1 {
|
||||
min-height: 555px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-1 {
|
||||
margin: 38px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-list-1 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 38px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-repeater-1 {
|
||||
min-height: 426px;
|
||||
grid-auto-columns: calc(33.3333% - 6.66667px);
|
||||
grid-template-columns: repeat(3, calc(33.3333% - 6.66667px));
|
||||
grid-gap: 10px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-1 {
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
height: 298px;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 0;
|
||||
--radius: 20px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-2 {
|
||||
font-weight: 700;
|
||||
margin: 20px 61px 0 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-2 {
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
height: 298px;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 0;
|
||||
--radius: 20px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-3 {
|
||||
font-weight: 700;
|
||||
margin: 20px 61px 0 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-3 {
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
height: 298px;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 0;
|
||||
--radius: 20px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-4 {
|
||||
font-weight: 700;
|
||||
margin: 20px 61px 0 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-4 {
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
height: 298px;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 0;
|
||||
--radius: 20px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-5 {
|
||||
font-weight: 700;
|
||||
margin: 20px 61px 0 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-gallery-nav-1 {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-gallery-nav-2 {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
.u-section-1 .u-repeater-1 {
|
||||
grid-auto-columns: calc(33.333333333333336% - 6.66667px);
|
||||
grid-template-columns: repeat(3, calc(33.333333333333336% - 6.66667px));
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
height: 236px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-2 {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
height: 236px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-3 {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
height: 236px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-4 {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
height: 236px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-5 {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.u-section-1 .u-repeater-1 {
|
||||
grid-auto-columns: calc(50% - 5.0000025px);
|
||||
grid-template-columns: repeat(2, calc(50% - 5.0000025px));
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
height: 279px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
height: 279px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
height: 279px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
height: 279px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.u-section-1 .u-text-1 {
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-repeater-1 {
|
||||
grid-auto-columns: calc(100% - 0px);
|
||||
grid-template-columns: 100%;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-1 {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
height: 484px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-2 {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
height: 484px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-3 {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
height: 484px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-4 {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
height: 484px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.u-section-1 .u-repeater-1 {
|
||||
grid-auto-columns: 100%;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
height: 298px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
height: 298px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
height: 298px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
height: 298px;
|
||||
}
|
||||
} .u-section-2 {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.u-section-2 .u-sheet-1 {
|
||||
min-height: 551px;
|
||||
}
|
||||
|
||||
.u-section-2 .u-text-1 {
|
||||
--animation-custom_in-translate_x: -300px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
margin: 31px auto 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-list-1 {
|
||||
grid-template-rows: repeat(1, auto);
|
||||
margin-top: 35px;
|
||||
margin-bottom: 31px;
|
||||
}
|
||||
|
||||
.u-section-2 .u-repeater-1 {
|
||||
grid-template-columns: repeat(4, calc(25% - 22.5px));
|
||||
min-height: 401px;
|
||||
grid-auto-columns: calc(25% - 22.5px);
|
||||
grid-gap: 30px;
|
||||
}
|
||||
|
||||
.u-section-2 .u-image-1 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 300px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
--radius: 25px;
|
||||
background-image: linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('../images/photo-1539387893102-c0e198446a35.jpeg');
|
||||
background-position: 50% 50%;
|
||||
}
|
||||
|
||||
.u-section-2 .u-container-layout-1 {
|
||||
padding: 30px 0 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-text-2 {
|
||||
font-weight: 900;
|
||||
line-height: 0.4;
|
||||
font-size: 1.125rem;
|
||||
margin: 246px auto 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-btn-1 {
|
||||
--radius: 50px;
|
||||
border-style: solid;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.875rem;
|
||||
letter-spacing: 1px;
|
||||
margin: 36px auto 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-image-2 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 300px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
--radius: 25px;
|
||||
background-image: linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('../images/photo-1523215424-b900db56bc0d.jpeg');
|
||||
background-position: 50% 50%;
|
||||
}
|
||||
|
||||
.u-section-2 .u-container-layout-2 {
|
||||
padding: 30px 0 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-text-3 {
|
||||
font-weight: 900;
|
||||
line-height: 0.4;
|
||||
font-size: 1.125rem;
|
||||
margin: 246px auto 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-btn-2 {
|
||||
--radius: 50px;
|
||||
border-style: solid;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.875rem;
|
||||
letter-spacing: 1px;
|
||||
margin: 36px auto 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-image-3 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 300px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
--radius: 25px;
|
||||
background-image: linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('../images/O1CN012178lO23PdR5TJnyE_4193547248.png');
|
||||
background-position: 50% 50%;
|
||||
}
|
||||
|
||||
.u-section-2 .u-container-layout-3 {
|
||||
padding: 30px 0 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-text-4 {
|
||||
font-weight: 900;
|
||||
line-height: 0.4;
|
||||
font-size: 1.125rem;
|
||||
margin: 246px auto 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-btn-3 {
|
||||
--radius: 50px;
|
||||
border-style: solid;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.875rem;
|
||||
letter-spacing: 1px;
|
||||
margin: 36px auto 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-image-4 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 300px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
--radius: 25px;
|
||||
background-image: linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('../images/photo-1562229125-6d6075419a22.jpeg');
|
||||
background-position: 50% 50%;
|
||||
}
|
||||
|
||||
.u-section-2 .u-container-layout-4 {
|
||||
padding: 30px 0 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-text-5 {
|
||||
font-weight: 900;
|
||||
line-height: 0.4;
|
||||
font-size: 1.125rem;
|
||||
margin: 246px auto 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-btn-4 {
|
||||
--radius: 50px;
|
||||
border-style: solid;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.875rem;
|
||||
letter-spacing: 1px;
|
||||
margin: 36px auto 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-image-5 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 300px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
--radius: 25px;
|
||||
background-image: linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("../images/photo-1544193711-09caf25d5813.jpeg");
|
||||
}
|
||||
|
||||
.u-section-2 .u-container-layout-5 {
|
||||
padding: 30px 0 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-text-6 {
|
||||
font-weight: 900;
|
||||
line-height: 0.4;
|
||||
font-size: 1.125rem;
|
||||
margin: 246px auto 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-btn-5 {
|
||||
--radius: 50px;
|
||||
border-style: solid;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.875rem;
|
||||
letter-spacing: 1px;
|
||||
margin: 36px auto 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-image-6 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 300px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
--radius: 25px;
|
||||
background-image: linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("../images/photo-1539387893102-c0e198446a35.jpeg?rand=f0be");
|
||||
}
|
||||
|
||||
.u-section-2 .u-container-layout-6 {
|
||||
padding: 30px 0 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-text-7 {
|
||||
font-weight: 900;
|
||||
line-height: 0.4;
|
||||
font-size: 1.125rem;
|
||||
margin: 246px auto 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-btn-6 {
|
||||
--radius: 50px;
|
||||
border-style: solid;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.875rem;
|
||||
letter-spacing: 1px;
|
||||
margin: 36px auto 0;
|
||||
}
|
||||
|
||||
.u-section-2 .u-gallery-nav-1 {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.u-section-2 .u-gallery-nav-2 {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
.u-section-2 .u-image-5 {
|
||||
background-position: 50% 50%;
|
||||
}
|
||||
|
||||
.u-section-2 .u-image-6 {
|
||||
background-position: 50% 50%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.u-section-2 .u-repeater-1 {
|
||||
grid-template-columns: repeat(2, calc(50% - 15px));
|
||||
grid-auto-columns: calc(50% - 15px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.u-section-2 .u-text-1 {
|
||||
margin-top: 65px;
|
||||
}
|
||||
|
||||
.u-section-2 .u-repeater-1 {
|
||||
grid-template-columns: 100%;
|
||||
grid-auto-columns: calc(100% - 0px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.u-section-2 .u-repeater-1 {
|
||||
grid-auto-columns: 100%;
|
||||
}
|
||||
}
|
||||
1273
scratch-gui/static/css/programming-learning-new.css
Normal file
1273
scratch-gui/static/css/programming-learning-new.css
Normal file
File diff suppressed because it is too large
Load Diff
4254
scratch-gui/static/css/programming-learning.css
Normal file
4254
scratch-gui/static/css/programming-learning.css
Normal file
File diff suppressed because it is too large
Load Diff
726
scratch-gui/static/css/signup-new-v2.css
Normal file
726
scratch-gui/static/css/signup-new-v2.css
Normal file
@@ -0,0 +1,726 @@
|
||||
:root {
|
||||
--bg-page: #f0f4f9;
|
||||
--text-main: #020f30;
|
||||
--text-sub: #475569;
|
||||
--input-bg: #f5f6f9;
|
||||
--card-shadow: 0 34px 44px -20px rgba(185, 206, 234, 0.25);
|
||||
--required: #ea5939;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
|
||||
background-color: var(--bg-page);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.page {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
max-width: 1440px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.page-bg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background-image: url("../images/bg.png");
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.content-wrap {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
padding-top: 60px;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
.register-card {
|
||||
background-color: #fff;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
|
||||
padding: 40px 35px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 32px;
|
||||
width: 580px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.register-title {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-weight: 800 !important;
|
||||
font-size: 36px !important;
|
||||
line-height: 1.364 !important;
|
||||
color: var(--text-main) !important;
|
||||
}
|
||||
|
||||
.form {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.form-row {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.field-label {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
line-height: 1.21;
|
||||
color: #000;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.required-mark {
|
||||
color: var(--required);
|
||||
}
|
||||
|
||||
.label-with-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.label-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.label-icon img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.input-shell {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 0 12px;
|
||||
width: 100%;
|
||||
height: 48px;
|
||||
border-radius: 8px;
|
||||
position: relative;
|
||||
background: var(--input-bg);
|
||||
}
|
||||
|
||||
.input-shell::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
padding: 1px;
|
||||
background: linear-gradient(164deg, rgba(226, 230, 255, 1) 24%, rgba(255, 234, 227, 1) 95%);
|
||||
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
||||
-webkit-mask-composite: xor;
|
||||
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
||||
mask-composite: exclude;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.input-shell input,
|
||||
.input-shell select {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
outline: none;
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-family: "PingFang SC", system-ui, sans-serif;
|
||||
color: #000;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
}
|
||||
|
||||
.input-shell select {
|
||||
padding-right: 24px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.input-shell input::placeholder {
|
||||
color: #7d91a1;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.select-arrow {
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
flex: 0 0 16px;
|
||||
pointer-events: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.select-arrow img {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.grid-3 {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.grid-2 {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.agreement-block {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.checkbox-wrap {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-family: "PingFang SC", system-ui, sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
color: rgba(0, 0, 0, 0.9);
|
||||
}
|
||||
|
||||
.checkbox-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 16px;
|
||||
}
|
||||
|
||||
.checkbox-icon img {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.checkbox-wrap span a {
|
||||
color: #03a1ea;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.checkbox-wrap span a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.actions-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 32px;
|
||||
width: 100%;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.btn-primary-v2 {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
width: 180px;
|
||||
height: 48px;
|
||||
border-radius: 32px;
|
||||
border: none;
|
||||
background-image: linear-gradient(90deg, #03a1ea 0%, #205baf 100%);
|
||||
color: #ffffff;
|
||||
font-family: "Noto Sans SC", system-ui, sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.btn-primary-v2:disabled {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.btn-primary-v2 img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.btn-get-code {
|
||||
background: linear-gradient(90deg, #52c41a 0%, #389e0d 100%) !important;
|
||||
}
|
||||
|
||||
.back-link {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.back-link:hover {
|
||||
color: var(--text-main);
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 27px;
|
||||
margin: 0 auto;
|
||||
padding-top: 12px;
|
||||
padding-bottom: 27px;
|
||||
}
|
||||
|
||||
.footer-line {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
/* background: #475569; */
|
||||
}
|
||||
|
||||
|
||||
.footer-text {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
color: #475569;
|
||||
font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
line-height: 15px;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.footer-text img{
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
/* QR 弹出气泡 */
|
||||
.footer-text .qr {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.qr-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.qr-label {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.qr-popup {
|
||||
position: absolute;
|
||||
bottom: calc(100% + 10px);
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 160px;
|
||||
padding: 8px;
|
||||
background: #ffffff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
|
||||
display: none;
|
||||
opacity: 0;
|
||||
transition: opacity 0.12s ease;
|
||||
z-index: 200;
|
||||
}
|
||||
|
||||
.qr-popup img {
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.qr-popup-arrow {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: -8px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 8px solid transparent;
|
||||
border-right: 8px solid transparent;
|
||||
border-top: 8px solid #ffffff;
|
||||
filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.06));
|
||||
}
|
||||
|
||||
.qr:hover .qr-popup,
|
||||
.qr:focus-within .qr-popup {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
/* Password Toggle Style */
|
||||
.password-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.password-toggle {
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
cursor: pointer;
|
||||
color: #7d91a1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Modal styles preserved from login-new-v2.css */
|
||||
.modal-v2-password {
|
||||
width: 450px;
|
||||
max-width: calc(100vw - 48px);
|
||||
background: #FFFFFF;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0px 34px 44px -20px rgba(185, 206, 234, 0.25);
|
||||
padding: 32px;
|
||||
display: flex !important;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 32px;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.modal-v2-header {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.modal-v2-title {
|
||||
flex: 1;
|
||||
font-family: Nunito, system-ui, sans-serif;
|
||||
font-weight: 800;
|
||||
font-size: 32px;
|
||||
text-align: center;
|
||||
color: #020F30;
|
||||
}
|
||||
|
||||
.modal-v2-close {
|
||||
position: absolute !important;
|
||||
top: 0px !important;
|
||||
right: 0px !important;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.modal-v2-close img {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.modal-v2-body {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.modal-v2-field {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.modal-v2-label {
|
||||
font-family: Inter, system-ui, sans-serif;
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.modal-v2-input-wrap {
|
||||
width: 100%;
|
||||
border-radius: 8px;
|
||||
padding: 1px;
|
||||
background: linear-gradient(164deg, rgba(226, 230, 255, 1) 24%, rgba(255, 234, 227, 1) 95%);
|
||||
}
|
||||
|
||||
.modal-v2-input {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
border-radius: 7px;
|
||||
border: 0;
|
||||
padding: 0 12px;
|
||||
background: #F5F6F9;
|
||||
font-family: "PingFang SC", system-ui, sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #0F172A;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* School Search Modal Custom Styles */
|
||||
.u-dialog-section-school {
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.u-dialog-section-school.u-dialog-open {
|
||||
display: flex !important;
|
||||
}
|
||||
|
||||
.school-modal-wrap {
|
||||
min-height: 580px;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.school-list-container-v2 {
|
||||
width: 100%;
|
||||
background: #F5F6F9;
|
||||
border-radius: 8px;
|
||||
padding: 8px;
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
border: 1px solid #e2e8f0;
|
||||
}
|
||||
|
||||
.school-list-container-v2::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.school-list-container-v2::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.school-list-container-v2::-webkit-scrollbar-thumb {
|
||||
background: #cbd5e1;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.school-option-v2 {
|
||||
background: #ffffff;
|
||||
border: 1px solid #edf2f7;
|
||||
border-radius: 6px;
|
||||
padding: 11px 16px;
|
||||
margin-bottom: 8px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
color: #475569;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.school-option-v2:hover {
|
||||
background: #f8fafc;
|
||||
border-color: #cbd5e1;
|
||||
}
|
||||
|
||||
.school-option-v2.selected {
|
||||
background-image: linear-gradient(90deg, #03a1ea 0%, #205baf 100%);
|
||||
border-color: transparent;
|
||||
color: #ffffff;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.modal-v2-actions {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.register-card {
|
||||
padding: 32px 20px;
|
||||
}
|
||||
|
||||
.grid-3,
|
||||
.grid-2 {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.actions-row {
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Toast 容器 */
|
||||
#toast-container {
|
||||
position: fixed;
|
||||
top: 10%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 100002;
|
||||
/* 确保在最上层 */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
pointer-events: none;
|
||||
/* 允许点击穿透 */
|
||||
}
|
||||
|
||||
/* 单个 Toast */
|
||||
.toast {
|
||||
min-width: 250px;
|
||||
max-width: 350px;
|
||||
padding: 15px 20px;
|
||||
border-radius: 50px;
|
||||
color: #fff;
|
||||
font-family: Arial, sans-serif;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
||||
opacity: 0.9;
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/* 居中文本 */
|
||||
text-align: center;
|
||||
/* 居中文本 */
|
||||
pointer-events: auto;
|
||||
/* 允许 Toast 接收事件 */
|
||||
}
|
||||
|
||||
/* 成功 Toast */
|
||||
.toast.success {
|
||||
box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.4);
|
||||
background-image: linear-gradient(#00ff00, #009245);
|
||||
}
|
||||
|
||||
/* 错误 Toast */
|
||||
.toast.error {
|
||||
background-image: linear-gradient(#ff6474, #e01c4c);
|
||||
box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
/* 信息 Toast */
|
||||
.toast.info {
|
||||
background-image: linear-gradient(#31cdee, #0962a4);
|
||||
box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
/* 淡出效果 */
|
||||
.toast.fade-out {
|
||||
opacity: 0;
|
||||
transform: translateY(-20px);
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
}
|
||||
|
||||
/* 移动端隐藏footer */
|
||||
@media (max-width: 767px) {
|
||||
.u-footer {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* 更细化的 footer 移动端兼容 */
|
||||
@media (max-width: 768px) {
|
||||
.footer-text,
|
||||
.footer-text-v2 {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
white-space: normal;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* 将二维码弹窗改为固定定位,避免被底部遮挡,且更接近触摸交互 */
|
||||
.qr-popup {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
bottom: 88px;
|
||||
transform: translateX(-50%);
|
||||
width: 180px;
|
||||
padding: 10px;
|
||||
z-index: 120000;
|
||||
}
|
||||
|
||||
.qr-popup img {
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
}
|
||||
|
||||
/* 箭头在固定定位下不适用,隐藏之 */
|
||||
.qr-popup-arrow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* 保证点击/聚焦时可见 */
|
||||
.qr:focus-within .qr-popup,
|
||||
.qr:active .qr-popup {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* footer 内的链接与 icon 缩小以适配 */
|
||||
.footer-text a,
|
||||
.footer-text-v2 a,
|
||||
.footer-text .qr-label,
|
||||
.footer-text-v2 .qr-label {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
723
scratch-gui/static/css/singup-new.css
Normal file
723
scratch-gui/static/css/singup-new.css
Normal file
@@ -0,0 +1,723 @@
|
||||
.u-section-1 {
|
||||
background-image: url("../images/web-15.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50% 50%;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
width: 284px;
|
||||
height: 284px;
|
||||
margin: 0 calc(((100% - 1140px) / 2) + -240px) 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
width: 381px;
|
||||
height: 134px;
|
||||
margin: -243px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
width: 74px;
|
||||
height: 74px;
|
||||
margin: -90px auto 0 calc(((100% - 1140px) / 2) + -182px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
width: 251px;
|
||||
height: 251px;
|
||||
margin: 0 auto 0 calc(((100% - 1140px) / 2) + -403px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-5 {
|
||||
width: 143px;
|
||||
height: 143px;
|
||||
margin: -228px auto 0 calc(((100% - 1140px) / 2) + -143px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-6 {
|
||||
width: 143px;
|
||||
height: 143px;
|
||||
margin: 160px auto 0 calc(((100% - 1140px) / 2) + -277px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-7 {
|
||||
width: 251px;
|
||||
height: 250px;
|
||||
margin: -140px calc(((100% - 1140px) / 2) + -392px) 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-8 {
|
||||
width: 249px;
|
||||
height: 249px;
|
||||
margin: -98px calc(((100% - 1140px) / 2) + -249px) 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-9 {
|
||||
width: 74px;
|
||||
height: 74px;
|
||||
margin: -305px calc(((100% - 1140px) / 2) + -161px) 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-10 {
|
||||
width: 284px;
|
||||
height: 284px;
|
||||
margin: -74px auto 0 calc(((100% - 1140px) / 2) + -173px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-11 {
|
||||
width: 698px;
|
||||
min-height: 856px;
|
||||
height: auto;
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../images/web-151.png");
|
||||
background-size: cover;
|
||||
margin: -725px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-1 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-12 {
|
||||
width: 367px;
|
||||
height: 68px;
|
||||
margin: 83px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-1 {
|
||||
height: 586px;
|
||||
width: 532px;
|
||||
margin: 9px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-1 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-1 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-2 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-2 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-3 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-3 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-4 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-4 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-5 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-5 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-6 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-6 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-7 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-7 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-8 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-8 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-9 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-9 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-1 {
|
||||
letter-spacing: 0px;
|
||||
background-image: linear-gradient(#fcc75a, #ee6622);
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
text-transform: none;
|
||||
--radius: 50px;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
padding: 13px 57px 14px 55px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-1 {
|
||||
margin-left: 0;
|
||||
line-height: 0.72;
|
||||
text-transform: uppercase;
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 0;
|
||||
margin-top: 20px !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2 {
|
||||
font-size: 1.125rem;
|
||||
width: 100%;
|
||||
transition-duration: 0.5s;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
text-decoration: underline !important;
|
||||
transform: rotate(0deg) scale(1) translateX(0px) translateY(0px);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-13 {
|
||||
width: 143px;
|
||||
height: 143px;
|
||||
margin: -116px auto 60px calc(((100% - 1140px) / 2) + -99px);
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
.u-section-1 {
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 1;
|
||||
--animation-custom_in-rotate: 360deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
width: 134px;
|
||||
height: 134px;
|
||||
margin-top: 56px;
|
||||
margin-right: calc(((100% - 940px) / 2) + -11px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
width: 305px;
|
||||
height: 107px;
|
||||
margin-top: -174px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
margin-top: 37px;
|
||||
margin-left: calc(((100% - 940px) / 2) + -17px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
width: 127px;
|
||||
height: 127px;
|
||||
margin-top: 137px;
|
||||
margin-left: calc(((100% - 940px) / 2) + -17px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-5 {
|
||||
margin-top: -469px;
|
||||
margin-left: calc(((100% - 940px) / 2) + 14px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-6 {
|
||||
margin-top: 507px;
|
||||
margin-left: calc(((100% - 940px) / 2) + 22px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-7 {
|
||||
width: 143px;
|
||||
height: 143px;
|
||||
margin-top: -302px;
|
||||
margin-right: calc(((100% - 940px) / 2) + -32px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-8 {
|
||||
width: 139px;
|
||||
height: 139px;
|
||||
margin-top: 16px;
|
||||
margin-right: calc(((100% - 940px) / 2) + -28px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-9 {
|
||||
margin-top: -401px;
|
||||
margin-right: calc(((100% - 940px) / 2) + -28px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-10 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 0.3;
|
||||
animation-duration: 120000ms;
|
||||
margin-top: 108px;
|
||||
margin-left: calc(((100% - 940px) / 2) + -114px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-11 {
|
||||
margin-top: -420px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-1 {
|
||||
--radius: 36px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-1 {
|
||||
border-style: solid;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-13 {
|
||||
margin-left: calc(((100% - 940px) / 2) + -99px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.u-section-1 .u-image-1 {
|
||||
margin-right: calc(((100% - 720px) / 2) + -11px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
margin-left: calc(((100% - 720px) / 2) + -17px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
margin-left: calc(((100% - 720px) / 2) + -17px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-5 {
|
||||
margin-left: calc(((100% - 720px) / 2) + 14px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-6 {
|
||||
margin-left: calc(((100% - 720px) / 2) + 22px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-7 {
|
||||
margin-right: calc(((100% - 720px) / 2) + -32px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-8 {
|
||||
margin-right: calc(((100% - 720px) / 2) + -28px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-9 {
|
||||
margin-right: calc(((100% - 720px) / 2) + -28px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-10 {
|
||||
margin-left: calc(((100% - 720px) / 2) + -114px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-13 {
|
||||
margin-left: calc(((100% - 720px) / 2) + 172px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.u-section-1 .u-image-1 {
|
||||
margin-right: calc(((100% - 540px) / 2) + -11px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
margin-left: calc(((100% - 540px) / 2) + -17px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
margin-left: calc(((100% - 540px) / 2) + -17px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-5 {
|
||||
margin-top: -299px;
|
||||
margin-left: calc(((100% - 540px) / 2));
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-6 {
|
||||
margin-top: 337px;
|
||||
margin-left: calc(((100% - 540px) / 2) + 22px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-7 {
|
||||
margin-right: calc(((100% - 540px) / 2) + -32px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-8 {
|
||||
margin-right: calc(((100% - 540px) / 2) + -28px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-9 {
|
||||
margin-right: calc(((100% - 540px) / 2) + -28px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-10 {
|
||||
margin-left: calc(((100% - 540px) / 2) + -114px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-11 {
|
||||
width: 540px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-1 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-13 {
|
||||
margin-left: calc(((100% - 540px) / 2) + -99px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.u-section-1 .u-image-1 {
|
||||
margin-right: calc(((100% - 340px) / 2) + -11px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
margin-left: calc(((100% - 340px) / 2) + -17px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
margin-left: calc(((100% - 340px) / 2) + -17px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-5 {
|
||||
margin-left: calc(((100% - 340px) / 2));
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-6 {
|
||||
margin-left: calc(((100% - 340px) / 2) + 22px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-7 {
|
||||
margin-right: calc(((100% - 340px) / 2) + -32px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-8 {
|
||||
margin-right: calc(((100% - 340px) / 2) + -28px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-9 {
|
||||
margin-right: calc(((100% - 340px) / 2) + -28px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-10 {
|
||||
margin-left: calc(((100% - 340px) / 2) + -114px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-11 {
|
||||
width: 340px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-12 {
|
||||
width: 340px;
|
||||
height: 63px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-1 {
|
||||
width: 340px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-13 {
|
||||
margin-left: calc(((100% - 340px) / 2) + -99px);
|
||||
}
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2,
|
||||
.u-section-1 .u-btn-2:before,
|
||||
.u-section-1 .u-btn-2 > .u-container-layout:before {
|
||||
transition-property: fill, color, background-color, stroke-width, border-style, border-width, border-top-width, border-left-width, border-right-width, border-bottom-width, custom-border, borders, box-shadow, text-shadow, opacity, border-radius, stroke, border-color, font-size, font-style, font-weight, text-decoration, letter-spacing, transform, background-image, image-zoom, background-size, background-position;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2.u-btn-2.u-btn-2:hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2 {
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2.u-btn-2.u-btn-2.hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2 {
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
/* 为所有按钮添加悬停放大和点击缩小效果 */
|
||||
.u-btn,
|
||||
button,
|
||||
input[type="submit"] {
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.u-btn:hover,
|
||||
button:hover,
|
||||
input[type="submit"]:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.u-btn:active,
|
||||
button:active,
|
||||
input[type="submit"]:active {
|
||||
transform: scale(0.9);
|
||||
}
|
||||
|
||||
/* 为所有输入框添加悬停和选中时的放大效果 */
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="email"],
|
||||
input[type="tel"],
|
||||
select {
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
input[type="text"]:hover,
|
||||
input[type="password"]:hover,
|
||||
input[type="email"]:hover,
|
||||
input[type="tel"]:hover,
|
||||
select:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
select:focus {
|
||||
transform: scale(1.05);
|
||||
outline: none; /* 移除默认的聚焦轮廓 */
|
||||
}
|
||||
|
||||
/* 为所有输入框添加文字居中样式 */
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="email"],
|
||||
input[type="tel"],
|
||||
select {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* 密码输入框容器样式 */
|
||||
.password-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* 密码显示/隐藏按钮样式 */
|
||||
.password-toggle {
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
/* 眼睛图标样式 */
|
||||
.eye-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
opacity: 0.6;
|
||||
transition: opacity 0.3s ease;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.eye-icon:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* 调整密码输入框右侧padding,为图标留出空间 */
|
||||
.password-container input[type="password"],
|
||||
.password-container input[type="text"] {
|
||||
width: 100%;
|
||||
padding: 0 45px !important;
|
||||
text-align: center !important;
|
||||
height: 60px !important;
|
||||
line-height: 60px !important;
|
||||
}
|
||||
|
||||
/* 设置所有输入框的高度为60px */
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="email"],
|
||||
input[type="tel"],
|
||||
select {
|
||||
height: 60px !important;
|
||||
}
|
||||
|
||||
/* 调整select下拉框的箭头位置,使其垂直居中 */
|
||||
.u-form-select-wrapper .u-caret {
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
/* Footer样式 */
|
||||
.footer-content {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 20px;
|
||||
padding: 0;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.beian-link {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
text-decoration: none;
|
||||
transition: color 0.3s ease;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.beian-link:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.copyright-text {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 5px;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
font-size: 12px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.copyright-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
/* 响应式调整 */
|
||||
@media (max-width: 767px) {
|
||||
.footer-content {
|
||||
flex-direction: column;
|
||||
height: auto;
|
||||
padding: 5px 0;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.copyright-text {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.beian-link {
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Toast 容器 */
|
||||
#toast-container {
|
||||
position: fixed;
|
||||
top: 10%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 100002; /* 确保在最上层 */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
pointer-events: none; /* 允许点击穿透 */
|
||||
}
|
||||
|
||||
/* 单个 Toast */
|
||||
.toast {
|
||||
min-width: 250px;
|
||||
max-width: 350px;
|
||||
padding: 15px 20px;
|
||||
border-radius: 50px;
|
||||
color: #fff;
|
||||
font-family: Arial, sans-serif;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
||||
opacity: 0.9;
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center; /* 居中文本 */
|
||||
text-align: center; /* 居中文本 */
|
||||
pointer-events: auto; /* 允许 Toast 接收事件 */
|
||||
}
|
||||
|
||||
/* 成功 Toast */
|
||||
.toast.success {
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
background-image: linear-gradient(#00ff00, #009245);
|
||||
}
|
||||
|
||||
/* 错误 Toast */
|
||||
.toast.error {
|
||||
background-image: linear-gradient(#ff6474, #e01c4c);
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
/* 信息 Toast */
|
||||
.toast.info {
|
||||
background-image: linear-gradient(#31cdee, #0962a4);
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
/* 淡出效果 */
|
||||
.toast.fade-out {
|
||||
opacity: 0;
|
||||
transform: translateY(-20px);
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
}
|
||||
|
||||
/* 移动端隐藏footer */
|
||||
@media (max-width: 767px) {
|
||||
.u-footer {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
471
scratch-gui/static/css/singup.css
Normal file
471
scratch-gui/static/css/singup.css
Normal file
@@ -0,0 +1,471 @@
|
||||
.u-section-1 {
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
min-height: calc(831px * 1);
|
||||
height: 100vh; /* 强制背景占满窗口高度 */
|
||||
position: relative; /* 为伪元素定位提供参考 */
|
||||
overflow: hidden; /* 隐藏伪元素溢出的部分 */
|
||||
/* 移除以下属性 */
|
||||
/* background-size: cover; */
|
||||
/* background-position: center; */
|
||||
/* background-repeat: no-repeat; */
|
||||
/* background-image: url("../images/photo-1488590528505-98d2b5aba04b.jpeg"); */
|
||||
}
|
||||
|
||||
/* 定义背景渐变放大缩小的关键帧动画 */
|
||||
@keyframes backgroundScale {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url("../images/photo-1488590528505-98d2b5aba04b.jpeg"); /* 背景图片路径 */
|
||||
background-size: cover; /* 背景覆盖整个容器 */
|
||||
background-position: center; /* 背景图片居中 */
|
||||
background-repeat: no-repeat; /* 禁止重复 */
|
||||
transform: scale(1); /* 初始缩放 */
|
||||
transform-origin: center; /* 缩放中心 */
|
||||
animation: backgroundScale 10s ease-in-out infinite; /* 应用动画 */
|
||||
z-index: -1; /* 将伪元素置于内容后面 */
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-1 {
|
||||
padding: 0;
|
||||
margin-top: 0px;
|
||||
transform: scale(0.6); /* 缩放到原来的 60% */
|
||||
transform-origin: top center; /* 以中心为缩放中心 */
|
||||
}
|
||||
|
||||
.u-section-1 .u-container-layout-1 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-1 {
|
||||
height: 1005px;
|
||||
background-image: none;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
--radius: 36px;
|
||||
width: 742px;
|
||||
margin: 215px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-1 {
|
||||
margin-left: 0;
|
||||
line-height: 0.72;
|
||||
text-transform: uppercase;
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-1 {
|
||||
--radius: 50px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-3 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-2 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-4 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-3 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-5 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-4 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-6 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-5 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-7 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-6 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-8 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-7 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-9 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-8 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-10 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-9 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-group-11 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-input-10 {
|
||||
font-weight: 600;
|
||||
--radius: 50px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-line-1 {
|
||||
height: 0;
|
||||
border-style: dotted;
|
||||
margin-bottom: 20px !important;
|
||||
margin-top: 20px !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-1 {
|
||||
border-style: solid;
|
||||
letter-spacing: 0px;
|
||||
background-image: none;
|
||||
width: 100%;
|
||||
font-size: 1.5rem;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
font-weight: 600;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-2 {
|
||||
margin-left: 0;
|
||||
line-height: 0.72;
|
||||
text-transform: uppercase;
|
||||
font-size: 1.5rem;
|
||||
margin-top: 20px !important;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2 {
|
||||
font-size: 1.125rem;
|
||||
width: 100%;
|
||||
transition-duration: 0.5s;
|
||||
text-decoration: underline !important;
|
||||
transform: rotate(0deg) scale(1) translateX(0px) translateY(0px);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-3 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
width: 218px;
|
||||
height: 218px;
|
||||
box-shadow: 2px 0 0 0 rgba(0,0,0,0);
|
||||
transition-duration: 0.5s;
|
||||
transform: rotate(0deg) scale(1) translateX(0px) translateY(0px);
|
||||
margin: -1070px auto 0;
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
.u-section-1 .u-image-1 {
|
||||
--radius: 30px;
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-1 {
|
||||
height: 1092px;
|
||||
width: 730px;
|
||||
margin-top: 120px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-1 {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
width: 154px;
|
||||
height: 154px;
|
||||
margin-top: -1094px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.u-section-1 .u-form-1 {
|
||||
width: 660px;
|
||||
margin-top: 118px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
margin-top: -1103px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.u-section-1 .u-form-1 {
|
||||
width: 540px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-2 {
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.u-section-1 .u-image-1 {
|
||||
margin-top: 0;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-form-1 {
|
||||
height: 1273px;
|
||||
width: 340px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
width: 88px;
|
||||
height: 88px;
|
||||
margin-top: -1273px;
|
||||
}
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2,
|
||||
.u-section-1 .u-image-2:before,
|
||||
.u-section-1 .u-image-2 > .u-container-layout:before {
|
||||
transition-property: fill, color, background-color, stroke-width, border-style, border-width, border-top-width, border-left-width, border-right-width, border-bottom-width, custom-border, borders, box-shadow, text-shadow, opacity, border-radius, stroke, border-color, font-size, font-style, font-weight, text-decoration, letter-spacing, transform, background-image, image-zoom, background-size, background-position;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2.u-image-2.u-image-2:hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2.u-image-2.u-image-2.hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2,
|
||||
.u-section-1 .u-btn-2:before,
|
||||
.u-section-1 .u-btn-2 > .u-container-layout:before {
|
||||
transition-property: fill, color, background-color, stroke-width, border-style, border-width, border-top-width, border-left-width, border-right-width, border-bottom-width, custom-border, borders, box-shadow, text-shadow, opacity, border-radius, stroke, border-color, font-size, font-style, font-weight, text-decoration, letter-spacing, transform, background-image, image-zoom, background-size, background-position;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2.u-btn-2.u-btn-2:hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2 {
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2.u-btn-2.u-btn-2.hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-2 {
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-3,
|
||||
.u-section-1 .u-btn-3:before,
|
||||
.u-section-1 .u-btn-3 > .u-container-layout:before {
|
||||
transition-property: fill, color, background-color, stroke-width, border-style, border-width, border-top-width, border-left-width, border-right-width, border-bottom-width, custom-border, borders, box-shadow, text-shadow, opacity, border-radius, stroke, border-color, font-size, font-style, font-weight, text-decoration, letter-spacing, transform, background-image, image-zoom, background-size, background-position;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-3.u-btn-3.u-btn-3:hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-3 {
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-3.u-btn-3.u-btn-3.hover {
|
||||
transform: scale(1.1) translateX(0px) translateY(0px) !important;
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-3 {
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.u-input-rectangle {
|
||||
display: flex; /* 使用 Flexbox */
|
||||
align-items: center; /* 垂直居中 */
|
||||
justify-content: center; /* 水平居中 */
|
||||
text-align: center; /* 文本水平居中 */
|
||||
}
|
||||
|
||||
.u-form-send-error {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* 模态窗口的背景 */
|
||||
.modal {
|
||||
display: block; /* 始终保持为block,以便应用过渡效果 */
|
||||
position: fixed; /* 固定位置 */
|
||||
z-index: 1000; /* 确保模态窗口在最前面 */
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%; /* 全屏 */
|
||||
height: 100%; /* 全屏 */
|
||||
overflow: auto; /* 如果需要滚动 */
|
||||
background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
|
||||
|
||||
/* 初始状态为隐藏 */
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.3s ease, visibility 0.3s ease; /* 过渡效果 */
|
||||
}
|
||||
|
||||
/* 当模态窗口显示时应用 */
|
||||
.modal.show {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
/* 模态窗口的内容 */
|
||||
.modal-content {
|
||||
background-color: #fefefe;
|
||||
margin: 15% auto; /* 居中 */
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
width: 80%; /* 宽度 */
|
||||
max-width: 500px; /* 最大宽度 */
|
||||
border-radius: 10px; /* 圆角 */
|
||||
text-align: center;
|
||||
|
||||
/* 添加淡入效果 */
|
||||
transform: translateY(-20px);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.modal.show .modal-content {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* 关闭按钮 */
|
||||
.close-button {
|
||||
color: #aaa;
|
||||
float: right;
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.close-button:hover,
|
||||
.close-button:focus {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* 添加可点击的光标样式 */
|
||||
.u-form-send-message {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* 可选:为消息框添加一些过渡效果 */
|
||||
.u-form-send-message {
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
/* Toast 容器 */
|
||||
#toast-container {
|
||||
position: fixed;
|
||||
top: 10%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 100002; /* 确保在最上层 */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
pointer-events: none; /* 允许点击穿透 */
|
||||
}
|
||||
|
||||
/* 单个 Toast */
|
||||
.toast {
|
||||
min-width: 250px;
|
||||
max-width: 350px;
|
||||
padding: 15px 20px;
|
||||
border-radius: 5px;
|
||||
color: #fff;
|
||||
font-family: Arial, sans-serif;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
||||
opacity: 0.9;
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center; /* 居中文本 */
|
||||
text-align: center; /* 居中文本 */
|
||||
pointer-events: auto; /* 允许 Toast 接收事件 */
|
||||
}
|
||||
|
||||
/* 成功 Toast */
|
||||
.toast.success {
|
||||
background-color: #4CAF50; /* 绿色 */
|
||||
}
|
||||
|
||||
/* 错误 Toast */
|
||||
.toast.error {
|
||||
background-color: #f44336; /* 红色 */
|
||||
}
|
||||
|
||||
/* 信息 Toast */
|
||||
.toast.info {
|
||||
background-color: #2196F3; /* 蓝色 */
|
||||
}
|
||||
|
||||
/* 淡出效果 */
|
||||
.toast.fade-out {
|
||||
opacity: 0;
|
||||
transform: translateY(-20px);
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
}
|
||||
|
||||
232
scratch-gui/static/css/style.css
Normal file
232
scratch-gui/static/css/style.css
Normal file
@@ -0,0 +1,232 @@
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
background: #1f1f47;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.wrapper{
|
||||
position: relative;
|
||||
width: 400px;
|
||||
height: 450px;
|
||||
background:rgba(255, 255, 255, 0.15);
|
||||
box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
|
||||
border: 1px solid rgba(255, 255, 255, 0.18);
|
||||
border-radius: 20px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.wrapper_signup{
|
||||
position: relative;
|
||||
width: 400px;
|
||||
height: 800px;
|
||||
background:rgba(255, 255, 255, 0.15);
|
||||
box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
|
||||
border: 1px solid rgba(255, 255, 255, 0.18);
|
||||
border-radius: 20px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* 为下拉菜单 (select 元素) 添加样式 */
|
||||
select {
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
background: transparent;
|
||||
border: 2px solid #fff;
|
||||
border-radius: 5px;
|
||||
color: #fff;
|
||||
padding: 0 10px;
|
||||
font-size: 1em;
|
||||
outline: none;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%20viewBox%3D%220%200%20292.4%20292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4c7.6-7.6%207.6-20%200-27.6-7.6-7.6-20-7.6-27.6%200l-116.4%20116.5L32.9%2041.8c-7.6-7.6-20-7.6-27.6%200-7.6%207.6-7.6%2020%200%2027.6l130.1%20130.2c7.6%207.6%2020%207.6%2027.6%200L287%2069.4z%22/%3E%3C/svg%3E");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right 10px center;
|
||||
background-size: 10px;
|
||||
}
|
||||
|
||||
h2{
|
||||
font-size: 2em;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.input-box{
|
||||
position: relative;
|
||||
width: 320px;
|
||||
margin: 18px 0;
|
||||
border-bottom: 2px solid #fff;
|
||||
}
|
||||
|
||||
.input-box-select{
|
||||
position: relative;
|
||||
width: 320px;
|
||||
margin: 15px 0;
|
||||
border-bottom: 2px solid transparent; /* 将白色边框改为透明色 */
|
||||
}
|
||||
|
||||
.input-box label{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 5px;
|
||||
transform: translateY(-50%);
|
||||
font-size: 1em;
|
||||
pointer-events: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.input-box input{
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
outline: none;
|
||||
font-size: 1em;
|
||||
color: #fff;
|
||||
padding: 0 35px 0 5px;
|
||||
}
|
||||
|
||||
.input-box input:focus~label,
|
||||
.input-box input:valid~label{
|
||||
top: 5px;
|
||||
}
|
||||
|
||||
.input-box .icon{
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
color: #fff;
|
||||
font-size: 1.2em;
|
||||
line-height: 57px;
|
||||
}
|
||||
|
||||
.remeber-forgot{
|
||||
margin: -6px 0 15px;
|
||||
font-size: 0.9em;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.remeber-forgot a{
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
.remeber-forgot a:hover{
|
||||
text-decoration: underline;
|
||||
}
|
||||
.remeber-forgot label input{
|
||||
accent-color: #fa709a;
|
||||
margin-right: 3px;
|
||||
}
|
||||
button{
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
background: #fa709a;
|
||||
border: none;
|
||||
outline: none;
|
||||
border-radius: 40px;
|
||||
cursor: pointer;
|
||||
font-size: 1em;
|
||||
color: #fff;
|
||||
font-weight: 500;
|
||||
transition: transform 0.2s ease, background-color 0.2s ease;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* 当按钮被按下时的效果 */
|
||||
button:active {
|
||||
transform: scale(0.95); /* 按下时缩小按钮 */
|
||||
background: #c65375; /* 改变背景颜色 */
|
||||
}
|
||||
|
||||
/* 按下时添加的额外点击效果 */
|
||||
button.button-clicked {
|
||||
background: #c65375;
|
||||
transform: scale(0.95);
|
||||
box-shadow: 0 0 15px rgba(250, 112, 154, 0.5);
|
||||
}
|
||||
|
||||
button.loading {
|
||||
color: transparent; /* 隐藏按钮文字 */
|
||||
}
|
||||
|
||||
button.loading::after {
|
||||
content: "";
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 2px solid #fff;
|
||||
border-top-color: transparent;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
/* 旋转动画 */
|
||||
@keyframes spin {
|
||||
0% {
|
||||
transform: translate(-50%, -50%) rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: translate(-50%, -50%) rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.register-link{
|
||||
font-size: 0.9em;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
margin: 25px 0 0px;
|
||||
}
|
||||
.register-link a{
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.register-link a:hover{
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.blob{
|
||||
position: absolute;
|
||||
width: 500px;
|
||||
height: 500px;
|
||||
background: linear-gradient(180deg,rgba(47,184,255,0.42),#5c9df1 100%);
|
||||
border-radius: 24% 76% 35% 65% / 27% 36% 64% 73%;
|
||||
transform: translate(-100px,-50px) rotate(-90deg);
|
||||
transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
|
||||
animation: animateBlob 20s infinite alternate;
|
||||
}
|
||||
|
||||
.blob:hover{
|
||||
width: 520px;
|
||||
height: 520px;
|
||||
filter: blur(30px);
|
||||
box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.6),
|
||||
inset 100px 100px 0 0 #fa709a,
|
||||
inset 200px 200px 0 0 #784ba8,
|
||||
inset 300px 300px 0 0 #2b86c5;
|
||||
}
|
||||
|
||||
@keyframes animateBlob{
|
||||
100%{
|
||||
transform: translate(300px ,50px) rotate(-10deg);
|
||||
border-radius: 76% 24% 33% 67% / 68% 55% 45% 32%;
|
||||
}
|
||||
}
|
||||
385
scratch-gui/static/css/third-part-login.css
Normal file
385
scratch-gui/static/css/third-part-login.css
Normal file
@@ -0,0 +1,385 @@
|
||||
.u-section-1 {
|
||||
background-image: url("../images/web-15.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50% 50%;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
width: 284px;
|
||||
height: 284px;
|
||||
margin: 51px calc(((100% - 1140px) / 2) + 20px) 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
width: 74px;
|
||||
height: 74px;
|
||||
margin: -23px calc(((100% - 1140px) / 2) + 125px) 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
width: 143px;
|
||||
height: 143px;
|
||||
margin: -225px auto 0 calc(((100% - 1140px) / 2) + 177px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-1 {
|
||||
background-image: none;
|
||||
border-style: solid;
|
||||
margin: -101px calc(((100% - 1140px) / 2) + 330px) 0 auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
width: 74px;
|
||||
height: 74px;
|
||||
margin: 56px auto 0 calc(((100% - 1140px) / 2) + 37px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-5 {
|
||||
width: 381px;
|
||||
height: 134px;
|
||||
margin: 5px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-6 {
|
||||
width: 143px;
|
||||
height: 143px;
|
||||
margin: -151px auto 0 calc(((100% - 1140px) / 2) + 241px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-7 {
|
||||
width: 251px;
|
||||
height: 251px;
|
||||
margin: 72px calc(((100% - 1140px) / 2) + 203px) 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-8 {
|
||||
width: 251px;
|
||||
height: 250px;
|
||||
margin: -234px calc(((100% - 1140px) / 2)) 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-9 {
|
||||
width: 249px;
|
||||
height: 249px;
|
||||
margin: -410px calc(((100% - 1140px) / 2) + 95px) 0 auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-1 {
|
||||
font-weight: 800;
|
||||
font-size: 2.25rem;
|
||||
margin: -170px auto 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-10 {
|
||||
width: 143px;
|
||||
height: 143px;
|
||||
margin: 35px auto 0 calc(((100% - 1140px) / 2) + 73px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-11 {
|
||||
width: 284px;
|
||||
height: 284px;
|
||||
margin: -150px auto 50px calc(((100% - 1140px) / 2) + 171px);
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
.u-section-1 {
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-1 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 1;
|
||||
--animation-custom_in-rotate: 360deg;
|
||||
--animation-custom_in-scale: 1;
|
||||
width: 134px;
|
||||
height: 134px;
|
||||
margin-top: 56px;
|
||||
margin-right: calc(((100% - 940px) / 2) + -11px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
margin-top: 619px;
|
||||
margin-right: calc(((100% - 940px) / 2) + -28px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
margin-top: -854px;
|
||||
margin-left: calc(((100% - 940px) / 2) + 14px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-1 {
|
||||
margin-top: -243px;
|
||||
margin-right: calc(((100% - 940px) / 2) + 130px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
margin-top: 207px;
|
||||
margin-left: calc(((100% - 940px) / 2) + -17px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-5 {
|
||||
width: 305px;
|
||||
height: 107px;
|
||||
margin-top: -218px;
|
||||
margin-left: calc(((100% - 940px) / 2) + 379px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-6 {
|
||||
margin-top: 0;
|
||||
margin-left: calc(((100% - 940px) / 2) + -99px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-7 {
|
||||
width: 127px;
|
||||
height: 127px;
|
||||
margin-top: -29px;
|
||||
margin-right: calc(((100% - 940px) / 2) + 203px);
|
||||
margin-left: calc(((100% - 940px) / 2) + -17px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-8 {
|
||||
width: 143px;
|
||||
height: 143px;
|
||||
margin-top: 414px;
|
||||
margin-right: calc(((100% - 940px) / 2) + -32px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-9 {
|
||||
width: 139px;
|
||||
height: 139px;
|
||||
margin-top: 16px;
|
||||
margin-right: calc(((100% - 940px) / 2) + -28px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-1 {
|
||||
margin-top: -662px;
|
||||
margin-left: calc(((100% - 940px) / 2) + 316px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-10 {
|
||||
margin-top: 494px;
|
||||
margin-left: calc(((100% - 940px) / 2) + 22px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-11 {
|
||||
--animation-custom_in-translate_x: 0px;
|
||||
--animation-custom_in-translate_y: 0px;
|
||||
--animation-custom_in-opacity: 0;
|
||||
--animation-custom_in-rotate: 0deg;
|
||||
--animation-custom_in-scale: 0.3;
|
||||
animation-duration: 120000ms;
|
||||
margin-top: 108px;
|
||||
margin-bottom: 60px;
|
||||
margin-left: calc(((100% - 940px) / 2) + -114px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
.u-section-1 .u-image-1 {
|
||||
margin-top: 52px;
|
||||
margin-right: calc(((100% - 720px) / 2) + 54px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
margin-top: 482px;
|
||||
margin-right: auto;
|
||||
margin-left: calc(((100% - 720px) / 2) + 138px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
margin-top: -690px;
|
||||
margin-left: calc(((100% - 720px) / 2) + 57px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-1 {
|
||||
margin-top: -266px;
|
||||
margin-right: calc(((100% - 720px) / 2));
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
margin-top: 370px;
|
||||
margin-left: calc(((100% - 720px) / 2));
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-5 {
|
||||
margin-top: -129px;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-6 {
|
||||
margin-left: calc(((100% - 720px) / 2) + 172px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-7 {
|
||||
margin-top: 231px;
|
||||
margin-right: calc(((100% - 720px) / 2) + 269px);
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-8 {
|
||||
margin-top: -233px;
|
||||
margin-right: auto;
|
||||
margin-left: calc(((100% - 720px) / 2) + 52px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-9 {
|
||||
margin-top: -167px;
|
||||
margin-right: calc(((100% - 720px) / 2) + 27px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-1 {
|
||||
width: auto;
|
||||
margin-top: -209px;
|
||||
margin-left: auto;
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-10 {
|
||||
margin-top: 122px;
|
||||
margin-bottom: 60px;
|
||||
margin-left: calc(((100% - 720px) / 2) + 242px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-11 {
|
||||
margin-left: calc(((100% - 720px) / 2) + -114px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.u-section-1 .u-image-1 {
|
||||
margin-right: calc(((100% - 540px) / 2) + 54px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
margin-top: 273px;
|
||||
margin-right: calc(((100% - 540px) / 2) + -12px);
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
margin-top: -173px;
|
||||
margin-left: calc(((100% - 540px) / 2));
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-1 {
|
||||
margin-top: -442px;
|
||||
margin-right: calc(((100% - 540px) / 2));
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
margin-top: 236px;
|
||||
margin-left: calc(((100% - 540px) / 2) + -17px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-6 {
|
||||
margin-left: calc(((100% - 540px) / 2) + -99px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-7 {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
margin-top: -161px;
|
||||
margin-right: auto;
|
||||
margin-left: calc(((100% - 540px) / 2) + 22px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-8 {
|
||||
width: 104px;
|
||||
height: 104px;
|
||||
margin-top: 281px;
|
||||
margin-left: calc(((100% - 540px) / 2) + 3px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-9 {
|
||||
width: 62px;
|
||||
height: 62px;
|
||||
margin-top: -85px;
|
||||
margin-right: calc(((100% - 540px) / 2) + 103px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-1 {
|
||||
font-size: 1rem;
|
||||
margin-top: -236px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-10 {
|
||||
margin-top: 497px;
|
||||
margin-left: calc(((100% - 540px) / 2) + 22px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-11 {
|
||||
margin-left: calc(((100% - 540px) / 2) + -114px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.u-section-1 .u-image-1 {
|
||||
margin-right: calc(((100% - 340px) / 2) + 54px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-2 {
|
||||
margin-top: 454px;
|
||||
margin-right: auto;
|
||||
margin-left: calc(((100% - 340px) / 2) + 18px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-3 {
|
||||
margin-top: -251px;
|
||||
margin-left: calc(((100% - 340px) / 2) + -38px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-btn-1 {
|
||||
margin-top: -571px;
|
||||
margin-right: calc(((100% - 340px) / 2));
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-4 {
|
||||
margin-top: 146px;
|
||||
margin-left: calc(((100% - 340px) / 2) + -17px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-5 {
|
||||
margin-top: 9px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-6 {
|
||||
margin-left: calc(((100% - 340px) / 2) + -99px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-7 {
|
||||
margin-top: 203px;
|
||||
margin-right: calc(((100% - 340px) / 2) + -28px);
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-8 {
|
||||
margin-top: 308px;
|
||||
margin-right: calc(((100% - 340px) / 2) + -32px);
|
||||
margin-left: calc(((100% - 340px) / 2) + 52px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-9 {
|
||||
margin-top: -1091px;
|
||||
margin-right: auto;
|
||||
margin-left: calc(((100% - 340px) / 2) + -17px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-text-1 {
|
||||
margin-top: 373px;
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-10 {
|
||||
margin-top: 472px;
|
||||
margin-left: calc(((100% - 340px) / 2) + 22px);
|
||||
}
|
||||
|
||||
.u-section-1 .u-image-11 {
|
||||
margin-left: calc(((100% - 340px) / 2) + -114px);
|
||||
}
|
||||
}
|
||||
1751
scratch-gui/static/css/welcome-new.css
Normal file
1751
scratch-gui/static/css/welcome-new.css
Normal file
File diff suppressed because it is too large
Load Diff
2702
scratch-gui/static/css/welcome.css
Normal file
2702
scratch-gui/static/css/welcome.css
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user