1937 lines
36 KiB
CSS
Executable File
1937 lines
36 KiB
CSS
Executable File
/* 禁用用户选择 */
|
|
* {
|
|
-webkit-user-select: none;
|
|
/* Chrome, Opera, Safari */
|
|
-moz-user-select: none;
|
|
/* Firefox */
|
|
-ms-user-select: none;
|
|
/* Internet Explorer/Edge */
|
|
user-select: none;
|
|
/* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
|
|
-webkit-tap-highlight-color: transparent;
|
|
/* 禁用触控点击的蓝色叠加层 */
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
/* background-color: #4a0e8f; */
|
|
background-image: url("../images/background.jpg");
|
|
/* Change 'path/to/your/background.jpg' to the path of your actual image */
|
|
background-size: cover;
|
|
/* Cover the entire page */
|
|
background-position: center;
|
|
/* Center the background image */
|
|
background-attachment: fixed;
|
|
/* Optional: Fix the background image during scrolling */
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
max-width: 100vw;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
button {
|
|
width: 18vw;
|
|
height: 80%;
|
|
font-size: 18px;
|
|
color: white;
|
|
font-weight: bold;
|
|
background: linear-gradient(
|
|
to bottom,
|
|
rgb(212, 96, 241, 0.8),
|
|
rgba(145, 66, 197, 0.5)
|
|
);
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
/* box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.2); */
|
|
}
|
|
|
|
.top-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px 20px;
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 40px;
|
|
z-index: 1000;
|
|
background-color: rgba(255, 255, 255, 0.288);
|
|
backdrop-filter: blur(5px);
|
|
/* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); */
|
|
/* 添加阴影 */
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
color: #ffffffcc;
|
|
position: absolute;
|
|
left: 10px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.logo img {
|
|
width: 32px;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.logo span {
|
|
margin-left: 10px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.date-time-container {
|
|
display: grid;
|
|
grid-template-rows: 1fr 1fr;
|
|
grid-template-columns: 1fr 2fr;
|
|
font-size: 16px;
|
|
color: white;
|
|
text-align: center;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.weekday {
|
|
text-align: center;
|
|
grid-row: 1 / 2;
|
|
grid-column: 1 / 2;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.date {
|
|
text-align: center;
|
|
grid-row: 2 / 3;
|
|
grid-column: 1 / 2;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.time {
|
|
text-align: center;
|
|
grid-row: 1 / 3;
|
|
/* 跨越两行 */
|
|
grid-column: 2 / 3;
|
|
font-size: 32px;
|
|
/* 更大的字体大小 */
|
|
font-weight: bold;
|
|
}
|
|
|
|
.right-section {
|
|
display: flex;
|
|
align-items: center;
|
|
position: absolute;
|
|
right: 10px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.status {
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.status span {
|
|
margin-left: 10px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.status img {
|
|
width: 32px;
|
|
}
|
|
|
|
.shutdown {
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.shutdown img {
|
|
width: 36px;
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.top-bar .mode-switch {
|
|
display: flex;
|
|
position: absolute;
|
|
left: 8vw;
|
|
border-radius: 20px;
|
|
-webkit-border-radius: 20px;
|
|
-moz-border-radius: 20px;
|
|
-ms-border-radius: 20px;
|
|
-o-border-radius: 20px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.top-bar .mode {
|
|
cursor: pointer;
|
|
color: #fff;
|
|
background-color: #6666667a;
|
|
/* width: 100px; */
|
|
height: 30px;
|
|
text-align: center;
|
|
/* border-radius: 4px; */
|
|
display: flex;
|
|
flex-direction: column;
|
|
/* align-items: center; */
|
|
justify-content: center;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
|
|
text-wrap: nowrap;
|
|
padding: 0 14px;
|
|
min-width: 50px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.top-bar .mode.active {
|
|
background-color: #ff769f83;
|
|
}
|
|
|
|
.top-bar .mode:not(.active):hover {
|
|
background-color: #55555575;
|
|
}
|
|
|
|
/* 弹窗的背景遮罩 */
|
|
.popup-modal {
|
|
display: none;
|
|
/* 默认隐藏 */
|
|
position: fixed;
|
|
z-index: 1000;
|
|
/* 确保弹窗在最顶层 */
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
/* 背景透明 */
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
/* 弹窗的内容 */
|
|
.popup-content {
|
|
background-color: rgba(255, 255, 255, 0.7);
|
|
/* 背景透明度 */
|
|
backdrop-filter: blur(5px);
|
|
/* 背景模糊效果 */
|
|
padding: 20px;
|
|
border-radius: 15px;
|
|
text-align: center;
|
|
width: 300px;
|
|
box-shadow: 0px 0px 24px rgba(255, 255, 255, 0.65);
|
|
|
|
/* 与其他元素一致的阴影效果 */
|
|
}
|
|
|
|
#popup-buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* 按钮样式 */
|
|
#popup-buttons button {
|
|
margin: 5px;
|
|
padding: 10px 25px;
|
|
border: none;
|
|
border-radius: 10px;
|
|
background: linear-gradient(
|
|
to right bottom,
|
|
rgb(212, 96, 241),
|
|
rgba(145, 66, 197, 0.5)
|
|
);
|
|
/* 紫色渐变 */
|
|
color: white;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
transition: background 0.3s ease;
|
|
}
|
|
|
|
#popup-buttons button:active {
|
|
background: linear-gradient(
|
|
to right bottom,
|
|
rgba(145, 66, 197, 1),
|
|
rgb(212, 96, 241)
|
|
);
|
|
/* 悬停时加深渐变 */
|
|
}
|
|
|
|
.container {
|
|
width: 85%;
|
|
height: 75%;
|
|
/*width: 100%;
|
|
height: calc(100% - 60px);
|
|
*/
|
|
transform: translateY(4%);
|
|
-webkit-transform: translateY(4%);
|
|
-moz-transform: translateY(4%);
|
|
-ms-transform: translateY(4%);
|
|
-o-transform: translateY(4%);
|
|
display: grid;
|
|
grid-template-columns: 1fr 2fr;
|
|
gap: 20px;
|
|
}
|
|
|
|
.container .body-container,
|
|
.container .operate-container {
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
/* background-color: #dddddd93; */
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
|
|
background: rgba(255, 255, 255, 0.7);
|
|
border-radius: 15px;
|
|
-webkit-border-radius: 15px;
|
|
-moz-border-radius: 15px;
|
|
-ms-border-radius: 15px;
|
|
-o-border-radius: 15px;
|
|
}
|
|
|
|
.container .body-container {
|
|
padding: 5%;
|
|
}
|
|
|
|
.container .operate-container {
|
|
padding: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.container .body-container .body-image .massage-img-box {
|
|
width: 100%;
|
|
/*display: block;*/
|
|
/*将图片设为块级元素,方便布局*/
|
|
max-width: 100%;
|
|
/*限制图片的最大宽度为容器宽度*/
|
|
height: 100%;
|
|
/*保持图片比例,允许横向裁减*/
|
|
object-fit: cover;
|
|
object-position: center;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
border-radius: 15px;
|
|
-webkit-border-radius: 15px;
|
|
-moz-border-radius: 15px;
|
|
-ms-border-radius: 15px;
|
|
-o-border-radius: 15px;
|
|
}
|
|
|
|
.resize-container {
|
|
display: none;
|
|
position: absolute;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 1px solid rgba(255, 255, 255, 0.8);
|
|
width: 200px;
|
|
height: 200px;
|
|
touch-action: none;
|
|
box-sizing: border-box;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin-left: -100px;
|
|
margin-top: -100px;
|
|
}
|
|
|
|
.resize-container.show {
|
|
display: block;
|
|
}
|
|
|
|
.resize-handle {
|
|
position: absolute;
|
|
width: 20px;
|
|
height: 20px;
|
|
background-color: white;
|
|
border: 1px solid #666;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.resize-handle.top-left {
|
|
top: -10px;
|
|
left: -10px;
|
|
}
|
|
|
|
.resize-handle.top-right {
|
|
top: -10px;
|
|
right: -10px;
|
|
}
|
|
|
|
.resize-handle.bottom-left {
|
|
bottom: -10px;
|
|
left: -10px;
|
|
}
|
|
|
|
.resize-handle.bottom-right {
|
|
bottom: -10px;
|
|
right: -10px;
|
|
}
|
|
|
|
.rotate-handle {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: -40px;
|
|
width: 30px;
|
|
height: 30px;
|
|
transform: translateX(-50%);
|
|
cursor: pointer;
|
|
background-color: white;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.rotate-handle img {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.rotate-line {
|
|
position: absolute;
|
|
width: 2px;
|
|
height: 30px;
|
|
background-color: white;
|
|
left: 50%;
|
|
top: -30px;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.ojo-point-box {
|
|
display: block;
|
|
color: #9142c5;
|
|
font-size: 12px;
|
|
background: #fff;
|
|
width: 30px;
|
|
position: relative;
|
|
/* left: -50%; */
|
|
margin-left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 9999;
|
|
margin-top: 40px;
|
|
padding: 6px;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
}
|
|
.ojo-point {
|
|
position: absolute;
|
|
width: 10px;
|
|
height: 10px;
|
|
background: #9142c5;
|
|
border-radius: 5px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: -15px;
|
|
}
|
|
|
|
.center-point {
|
|
position: absolute;
|
|
width: 8px;
|
|
height: 8px;
|
|
background-color: #9142c5;
|
|
border-radius: 50%;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
box-shadow: 2px 20px 30px rgba(0, 0, 0, 1); /* 轻微的阴影 */
|
|
}
|
|
|
|
.container .operate-container {
|
|
position: relative;
|
|
}
|
|
|
|
.container .operate-container .step-status {
|
|
position: absolute;
|
|
bottom: 20px;
|
|
left: 20px;
|
|
width: 100%;
|
|
}
|
|
|
|
.container .operate-container .step-status .step-box {
|
|
display: flex;
|
|
align-items: center;
|
|
z-index: 2;
|
|
justify-content: space-between;
|
|
width: calc(100% - 40px);
|
|
}
|
|
|
|
.step-box .step-item {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
opacity: 0.9;
|
|
text-shadow: none;
|
|
color: #666;
|
|
min-height: 40px;
|
|
border-radius: 15px;
|
|
-webkit-border-radius: 15px;
|
|
-moz-border-radius: 15px;
|
|
-ms-border-radius: 15px;
|
|
-o-border-radius: 15px;
|
|
/* background: rgba(184, 184, 184, 0.3); */
|
|
background: rgba(249, 249, 249, 0.3);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.step-box .step-item.active {
|
|
background: snow;
|
|
color: #333;
|
|
}
|
|
|
|
.step-box .step-item.done {
|
|
background: #dca4ff;
|
|
color: #fff;
|
|
}
|
|
|
|
.step-box .step-arrow {
|
|
width: 40px;
|
|
margin: 0 10px;
|
|
opacity: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.step-arrow img {
|
|
width: 100%;
|
|
}
|
|
|
|
.container .body-container .body-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 15px;
|
|
-webkit-border-radius: 15px;
|
|
-moz-border-radius: 15px;
|
|
-ms-border-radius: 15px;
|
|
-o-border-radius: 15px;
|
|
position: relative;
|
|
}
|
|
|
|
/* #konva-overlay {
|
|
pointer-events: none;
|
|
}
|
|
|
|
body {
|
|
user-select: none;
|
|
} */
|
|
|
|
/* .container .body-container .body-image .image-stage {
|
|
width: 100%;
|
|
position: absolute;
|
|
border: 1px solid #ccc;
|
|
overflow: hidden;
|
|
bottom: 33%;
|
|
left: 50%;
|
|
} */
|
|
.operate-panel {
|
|
box-sizing: border-box;
|
|
width: calc(100% - 40px);
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.operate-panel .operate-title {
|
|
/* font-style: italic; */
|
|
font-size: 16px;
|
|
/* margin: 5px 0; */
|
|
font-weight: 600;
|
|
color: #666;
|
|
margin: 10px 0;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.operate-panel .manual-switch,
|
|
.operate-panel .radio-switch {
|
|
position: relative;
|
|
height: 40px;
|
|
width: 80px;
|
|
background-color: #f5f5f5;
|
|
border-radius: 20px;
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
|
|
z-index: 3;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.operate-panel .manual-switch .manual-slide-toggle,
|
|
.operate-panel .radio-switch .radio-slide-toggle {
|
|
position: absolute;
|
|
height: 41px;
|
|
width: 41px;
|
|
background: linear-gradient(
|
|
to right bottom,
|
|
rgb(212, 96, 241, 1),
|
|
rgba(145, 66, 197, 1)
|
|
);
|
|
border-radius: 50%;
|
|
transition: left 0.2s ease-in-out;
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
|
|
box-shadow: -4px 2px 8px rgba(0, 0, 0, 0.25);
|
|
-webkit-transition: left 0.2s ease-in-out;
|
|
-moz-transition: left 0.2s ease-in-out;
|
|
-ms-transition: left 0.2s ease-in-out;
|
|
-o-transition: left 0.2s ease-in-out;
|
|
}
|
|
|
|
.operate-panel .operate-subtitle {
|
|
font-size: 14px;
|
|
height: 24px;
|
|
font-weight: 600;
|
|
color: #666;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.operate-panel .operate-button,
|
|
.operate-panel .area-button {
|
|
/*background: rgba(255, 255, 255, 0.4);
|
|
padding: 20px;
|
|
*/
|
|
box-sizing: border-box;
|
|
border-radius: 15px;
|
|
-webkit-border-radius: 15px;
|
|
-moz-border-radius: 15px;
|
|
-ms-border-radius: 15px;
|
|
-o-border-radius: 15px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.operate-panel .operate-button-item,
|
|
.operate-panel .area-button-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 14px 8px;
|
|
opacity: 0.9;
|
|
text-shadow: none;
|
|
color: #333;
|
|
min-height: 60px;
|
|
box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.4);
|
|
width: 128px;
|
|
border-radius: 15px;
|
|
-webkit-border-radius: 15px;
|
|
-moz-border-radius: 15px;
|
|
-ms-border-radius: 15px;
|
|
-o-border-radius: 15px;
|
|
/* background: rgba(184, 184, 184, 0.3); */
|
|
background: rgba(255, 255, 255, 0.4);
|
|
/* background: linear-gradient(to right bottom, rgba(235, 235, 235, 0.8), rgba(176, 176, 177, 0.8)); */
|
|
}
|
|
|
|
/*
|
|
.operate-panel .operate-button-item:hover {
|
|
background: linear-gradient(to right bottom, rgb(212, 96, 241, 0.8), rgba(145, 66, 197, 0.8));
|
|
color: white;
|
|
} */
|
|
|
|
.operate-button-item.active,
|
|
.area-button-item.active {
|
|
background: linear-gradient(
|
|
to right bottom,
|
|
rgba(212, 96, 241, 0.8),
|
|
rgba(145, 66, 197, 0.8)
|
|
);
|
|
color: white;
|
|
}
|
|
|
|
.operate-button-item .item-icon,
|
|
.area-button-item .item-icon {
|
|
margin-bottom: 6px;
|
|
height: 36px;
|
|
width: 36px;
|
|
}
|
|
|
|
.operate-button-item .item-title,
|
|
.area-button-item .item-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
min-height: 26px;
|
|
}
|
|
|
|
.header-button {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 20px;
|
|
overflow-y: auto;
|
|
max-height: 340px;
|
|
}
|
|
|
|
.header-button .header-button-item {
|
|
position: relative;
|
|
height: 140px;
|
|
width: calc(25% - 15px);
|
|
/* background: rgba(255, 255, 255, 0.7); */
|
|
border-radius: 15px;
|
|
-webkit-border-radius: 15px;
|
|
-moz-border-radius: 15px;
|
|
-ms-border-radius: 15px;
|
|
-o-border-radius: 15px;
|
|
color: rgba(252, 74, 252, 0.7);
|
|
background: rgba(255, 255, 255, 0.4);
|
|
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.header-button .header-button-item.active {
|
|
background: linear-gradient(
|
|
to right bottom,
|
|
rgb(212, 96, 241, 0.8),
|
|
rgba(145, 66, 197, 0.8)
|
|
);
|
|
color: white;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.header-button .header-button-item .header-img {
|
|
position: absolute;
|
|
height: 55%;
|
|
width: 55%;
|
|
object-fit: cover;
|
|
/*使图片适应框架大小*/
|
|
z-index: 2;
|
|
/*add-code*/
|
|
/* margin: 16px 25% 0; */
|
|
aspect-ratio: 1/1;
|
|
opacity: 0.5;
|
|
bottom: 22.5%;
|
|
right: 22.5%;
|
|
transform: rotateZ(-35deg);
|
|
-webkit-transform: rotateZ(-35deg);
|
|
-moz-transform: rotateZ(-35deg);
|
|
-ms-transform: rotateZ(-35deg);
|
|
-o-transform: rotateZ(-35deg);
|
|
}
|
|
|
|
.header-button .header-button-item .header-text {
|
|
box-sizing: border-box;
|
|
width: 90%;
|
|
height: calc(100% - 20px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
bottom: 50%;
|
|
left: 50%;
|
|
letter-spacing: 0px;
|
|
font-size: 3vw;
|
|
line-height: 3.2vw;
|
|
opacity: 0.6;
|
|
align-self: center;
|
|
transform: translate(-50%, 50%);
|
|
-webkit-transform: translate(-50%, 50%);
|
|
-moz-transform: translate(-50%, 50%);
|
|
-ms-transform: translate(-50%, 50%);
|
|
-o-transform: translate(-50%, 50%);
|
|
font-weight: 900;
|
|
text-align: center;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.step-button-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.step-button {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 14px 16px;
|
|
background: linear-gradient(
|
|
to bottom,
|
|
rgb(212, 96, 241, 0.8),
|
|
rgba(145, 66, 197, 0.8)
|
|
);
|
|
border-radius: 15px;
|
|
-webkit-border-radius: 15px;
|
|
-moz-border-radius: 15px;
|
|
-ms-border-radius: 15px;
|
|
-o-border-radius: 15px;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
|
|
color: #ffffff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.acupuncture-fun {
|
|
margin-top: 10px;
|
|
font-size: 14px;
|
|
color: #333;
|
|
}
|
|
|
|
.step-button .step-button-icon {
|
|
width: 22px;
|
|
height: 22px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.step-button .step-button-text {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.step-button:active {
|
|
background: rgba(184, 184, 184, 0.3);
|
|
color: rgba(145, 66, 197, 0.8);
|
|
}
|
|
|
|
.step-input-box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.radio-box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.step-input-box .step-input-text {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.step-input-box .loop-btn {
|
|
border-radius: 10px;
|
|
background: linear-gradient(
|
|
to bottom,
|
|
rgb(212, 96, 241, 0.8),
|
|
rgba(145, 66, 197, 0.5)
|
|
);
|
|
padding: 3px;
|
|
color: #ffffff;
|
|
cursor: pointer;
|
|
margin-right: 6px;
|
|
width: 40px;
|
|
box-sizing: border-box;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.step-input-box .input-num {
|
|
padding: 6px 12px;
|
|
border-radius: 10px;
|
|
outline: none;
|
|
margin-right: 8px;
|
|
border: 1px solid #dedede;
|
|
width: 100px;
|
|
}
|
|
|
|
.step {
|
|
opacity: 0;
|
|
transition: all 0.5s ease;
|
|
border-radius: 10px;
|
|
-webkit-transition: all 0.5s ease;
|
|
-moz-transition: all 0.5s ease;
|
|
-ms-transition: all 0.5s ease;
|
|
-o-transition: all 0.5s ease;
|
|
position: absolute;
|
|
-webkit-border-radius: 10px;
|
|
-moz-border-radius: 10px;
|
|
-ms-border-radius: 10px;
|
|
-o-border-radius: 10px;
|
|
transform: translateX(150%);
|
|
-webkit-transform: translateX(150%);
|
|
-moz-transform: translateX(150%);
|
|
-ms-transform: translateX(150%);
|
|
-o-transform: translateX(150%);
|
|
}
|
|
|
|
.step.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
#step1 {
|
|
z-index: 10;
|
|
transform: translateX(0%);
|
|
-webkit-transform: translateX(0%);
|
|
-moz-transform: translateX(0%);
|
|
-ms-transform: translateX(0%);
|
|
-o-transform: translateX(0%);
|
|
}
|
|
|
|
/* #step1 {
|
|
z-index: 13;
|
|
}
|
|
|
|
#step2 {
|
|
z-index: 12;
|
|
}
|
|
|
|
#step3 {
|
|
z-index: 11;
|
|
}
|
|
|
|
#step4 {
|
|
z-index: 10;
|
|
} */
|
|
|
|
.massage-type-container {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
}
|
|
|
|
.massage-info-item {
|
|
position: relative;
|
|
height: 140px;
|
|
width: calc(25% - 15px);
|
|
border-radius: 15px;
|
|
background: rgba(255, 255, 255, 0.4);
|
|
box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.4);
|
|
}
|
|
.info-long-item {
|
|
position: relative;
|
|
height: 140px;
|
|
width: calc(50% - 15px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 15px;
|
|
background: rgba(255, 255, 255, 0.4);
|
|
box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.massage-info-part,
|
|
.massage-info-head,
|
|
.massage-info-acupoint {
|
|
height: 140px;
|
|
position: relative;
|
|
}
|
|
|
|
.massage-info-part {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.massage-info-head {
|
|
color: rgba(252, 74, 252, 0.7);
|
|
}
|
|
|
|
.massage-info-acupoint {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-evenly;
|
|
flex: 1;
|
|
}
|
|
|
|
.massage-info-part .massage-info-bg {
|
|
background: linear-gradient(
|
|
to right bottom,
|
|
rgba(212, 96, 241, 0.8),
|
|
rgba(145, 66, 197, 0.8)
|
|
);
|
|
position: absolute;
|
|
height: 60%;
|
|
width: 80%;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
-webkit-transform: translate(-50%, -50%);
|
|
-moz-transform: translate(-50%, -50%);
|
|
-ms-transform: translate(-50%, -50%);
|
|
-o-transform: translate(-50%, -50%);
|
|
border-radius: 15px;
|
|
-webkit-border-radius: 15px;
|
|
-moz-border-radius: 15px;
|
|
-ms-border-radius: 15px;
|
|
-o-border-radius: 15px;
|
|
}
|
|
|
|
.massage-info-part .info-part-icon {
|
|
margin-bottom: 6px;
|
|
width: 24px;
|
|
height: 24px;
|
|
z-index: 10;
|
|
}
|
|
|
|
.massage-info-part .info-part-title {
|
|
font-size: 12px;
|
|
z-index: 10;
|
|
}
|
|
|
|
.massage-info-head .info-header-img {
|
|
position: absolute;
|
|
height: 60%;
|
|
width: 60%;
|
|
object-fit: cover;
|
|
aspect-ratio: 1/1;
|
|
opacity: 0.7;
|
|
bottom: 20%;
|
|
right: 20%;
|
|
transform: rotateZ(-35deg);
|
|
}
|
|
|
|
.massage-info-head .info-header-text {
|
|
box-sizing: border-box;
|
|
width: 90%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
bottom: 50%;
|
|
left: 50%;
|
|
letter-spacing: 0px;
|
|
font-size: 3vw;
|
|
line-height: 3.2vw;
|
|
opacity: 0.5;
|
|
overflow: hidden;
|
|
align-self: center;
|
|
transform: translate(-50%, 50%);
|
|
font-weight: 900;
|
|
text-align: center;
|
|
}
|
|
|
|
.massage-info-acupoint .info-acupoint-text {
|
|
font-size: 12px;
|
|
padding: 2px 16px;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #333;
|
|
}
|
|
.info-acupoint-text .info-acupoint-img {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: 6px;
|
|
}
|
|
.massage-info-operation {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
height: 140px;
|
|
justify-content: space-evenly;
|
|
flex: 0.8;
|
|
}
|
|
|
|
.massage-operation-btn {
|
|
background: linear-gradient(
|
|
to right bottom,
|
|
rgba(212, 96, 241, 0.8),
|
|
rgba(145, 66, 197, 0.8)
|
|
);
|
|
color: #fff;
|
|
font-size: 13px;
|
|
border-radius: 10px;
|
|
padding: 6px 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.massage-operation-btn:hover {
|
|
background: #9f3ee8;
|
|
}
|
|
.operation-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.status-container {
|
|
box-sizing: border-box;
|
|
/* grid-auto-rows: auto; 原注释代码 */
|
|
/* justify-content: space-between; */
|
|
/* display: flex;
|
|
flex-wrap: wrap;
|
|
align-content: start; */
|
|
/* gap: 12px; */
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
grid-gap: 10px 14px;
|
|
}
|
|
|
|
.status-card {
|
|
background-color: rgba(255, 255, 255, 0.507);
|
|
border-radius: 15px;
|
|
font-size: 16px;
|
|
text-align: center;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
overflow: hidden;
|
|
position: relative;
|
|
transition: all 0.15s ease-in-out;
|
|
/* add-code */
|
|
/* width: calc(25% - 12px); */
|
|
width: 100%;
|
|
/* height: 170px; */
|
|
height: 150px;
|
|
max-height: 230px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/*
|
|
.status-card:not(:nth-child(4n)) {
|
|
margin-right: 10px;
|
|
} */
|
|
|
|
.massage-head-card img {
|
|
/* max-width: 100%; */
|
|
position: absolute;
|
|
height: 55%;
|
|
width: 55%;
|
|
object-fit: cover;
|
|
/* 使图片适应框架大小 */
|
|
z-index: 2;
|
|
transform: rotateZ(-35deg);
|
|
/* add-code */
|
|
margin: 16px 25% 0;
|
|
aspect-ratio: 1/1;
|
|
opacity: 0.5;
|
|
bottom: 20px;
|
|
}
|
|
|
|
.status-title {
|
|
padding: 6px 10px;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
letter-spacing: 1px;
|
|
color: rgb(247, 0, 255);
|
|
/* 默认颜色 */
|
|
color: rgba(252, 74, 252, 0.7);
|
|
/* 使用 RGBA 透明色 */
|
|
text-shadow: 1px 3px 6px #fff, /* 模拟内阴影的颜色 */ 0 0 0 #000,
|
|
/* 透明阴影,用来确保支持老浏览器 */ 2px 3px 6px #fff;
|
|
/* 模拟内阴影的颜色 */
|
|
z-index: 1;
|
|
opacity: 0.45;
|
|
text-align: left;
|
|
text-wrap: nowrap;
|
|
overflow: hidden;
|
|
/* overflow-x: auto; */
|
|
min-height: 25px;
|
|
line-height: 25px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.status-title::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.status-title-span {
|
|
max-width: 84px;
|
|
overflow-x: auto;
|
|
}
|
|
.common-range {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.status-content {
|
|
width: 100%;
|
|
/* font-size: 16px; */
|
|
font-weight: 900;
|
|
letter-spacing: 5px;
|
|
color: rgb(247, 0, 255);
|
|
/* 默认颜色 */
|
|
color: rgba(252, 74, 252, 0.7);
|
|
/* 使用 RGBA 透明色 */
|
|
text-shadow: 1px 3px 6px #fff, /* 模拟内阴影的颜色 */ 0 0 0 #000,
|
|
/* 透明阴影,用来确保支持老浏览器 */ 2px 3px 6px #fff;
|
|
/* 模拟内阴影的颜色 */
|
|
z-index: 1;
|
|
opacity: 0.4;
|
|
text-align: center;
|
|
white-space: pre-wrap;
|
|
/* 保持空白符和换行符 */
|
|
border-radius: 15px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
display: flex;
|
|
/* add-code */
|
|
flex: 1;
|
|
height: calc(100% - 25px);
|
|
}
|
|
|
|
.common-button {
|
|
bottom: 0;
|
|
/* width: 90%; */
|
|
/* add-code */
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
z-index: 9999;
|
|
box-sizing: border-box;
|
|
padding: 10px;
|
|
}
|
|
|
|
.common-button button {
|
|
flex: 1;
|
|
height: 46px;
|
|
background: #bb29ff13 !important;
|
|
color: rgba(255, 255, 255, 0.65) !important;
|
|
border: none;
|
|
border-radius: 10px;
|
|
/*圆角矩形*/
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 32px;
|
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
|
-webkit-border-radius: 10px;
|
|
-moz-border-radius: 10px;
|
|
-ms-border-radius: 10px;
|
|
-o-border-radius: 10px;
|
|
}
|
|
|
|
.common-button button:first-child {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.common-button button:active {
|
|
background-color: rgba(255, 177, 238, 0.507);
|
|
}
|
|
|
|
.common-add,
|
|
.common-down {
|
|
width: 25px;
|
|
height: 25px;
|
|
background: linear-gradient(
|
|
to right bottom,
|
|
rgb(212, 96, 241),
|
|
rgba(145, 66, 197, 0.5)
|
|
) !important;
|
|
mask-size: cover;
|
|
background-size: cover;
|
|
-webkit-mask-size: cover;
|
|
}
|
|
|
|
.common-add {
|
|
mask-image: url("../images/massage_control/加号.svg");
|
|
-webkit-mask-image: url("../images/massage_control/加号.svg");
|
|
}
|
|
|
|
.common-down {
|
|
mask-image: url("../images/massage_control/减号.svg");
|
|
-webkit-mask-image: url("../images/massage_control/减号.svg");
|
|
}
|
|
|
|
#force {
|
|
bottom: 0;
|
|
letter-spacing: normal;
|
|
display: flex;
|
|
align-items: baseline;
|
|
/* 让数字和字母的底部对齐 */
|
|
margin-top: -18px;
|
|
}
|
|
|
|
#temperature {
|
|
bottom: 0;
|
|
display: flex;
|
|
align-items: baseline;
|
|
/* Align the bottom of numbers and unit */
|
|
margin-top: -20px;
|
|
}
|
|
|
|
.temperature-value {
|
|
letter-spacing: normal;
|
|
}
|
|
|
|
.temperature-unit {
|
|
letter-spacing: -4px;
|
|
}
|
|
|
|
.common-value,
|
|
.common-unit {
|
|
letter-spacing: normal;
|
|
text-align: center;
|
|
}
|
|
|
|
.common-value {
|
|
font-size: 3.5vw;
|
|
}
|
|
|
|
.common-unit {
|
|
font-size: 3vw;
|
|
}
|
|
|
|
.common-no-unit {
|
|
bottom: 0;
|
|
letter-spacing: normal;
|
|
display: flex;
|
|
align-items: baseline;
|
|
margin-top: -18px;
|
|
}
|
|
|
|
.common-no-unit-value {
|
|
font-size: 3.5vw;
|
|
/* Adjust the size here */
|
|
letter-spacing: normal;
|
|
}
|
|
|
|
#direction {
|
|
opacity: 0.9;
|
|
margin-top: -16px;
|
|
}
|
|
|
|
.direction-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.direction-value {
|
|
opacity: 0.4;
|
|
letter-spacing: normal;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.common-switch {
|
|
position: relative;
|
|
height: 40px;
|
|
width: 80px;
|
|
background-color: #f5f5f5;
|
|
border-radius: 20px;
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
|
|
z-index: 3;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.common-slide-toggle {
|
|
position: absolute;
|
|
height: 41px;
|
|
width: 41px;
|
|
background: linear-gradient(
|
|
to right bottom,
|
|
rgb(212, 96, 241, 1),
|
|
rgba(145, 66, 197, 1)
|
|
);
|
|
border-radius: 50%;
|
|
transition: left 0.2s ease-in-out;
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
|
|
box-shadow: -4px 2px 8px rgba(0, 0, 0, 0.25);
|
|
-webkit-transition: left 0.2s ease-in-out;
|
|
-moz-transition: left 0.2s ease-in-out;
|
|
-ms-transition: left 0.2s ease-in-out;
|
|
-o-transition: left 0.2s ease-in-out;
|
|
}
|
|
|
|
.button-container {
|
|
margin-top: 80px;
|
|
display: flex;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.control-button {
|
|
/* flex: 8; */
|
|
display: flex;
|
|
/* flex-direction: column; */
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
flex: 1;
|
|
width: 100% !important;
|
|
/* width: calc(100% - 40px); */
|
|
overflow: hidden !important;
|
|
gap: 10px;
|
|
}
|
|
|
|
.control-button .pause-btn-box {
|
|
position: relative;
|
|
overflow: hidden !important;
|
|
flex: 3.5;
|
|
border-radius: 10px;
|
|
-webkit-border-radius: 10px;
|
|
-moz-border-radius: 10px;
|
|
-ms-border-radius: 10px;
|
|
-o-border-radius: 10px;
|
|
}
|
|
|
|
.control-button button {
|
|
height: 60px;
|
|
/* height: 55px; */
|
|
background: rgba(255, 255, 255, 0.507);
|
|
color: rgba(255, 255, 255, 0.65);
|
|
border: none;
|
|
border-radius: 10px;
|
|
/* 圆角矩形 */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.progress-bar {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
animation: rise 12s linear forwards;
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(214, 111, 240, 0.8),
|
|
rgba(145, 66, 197, 0.8)
|
|
) !important;
|
|
overflow: hidden;
|
|
-webkit-animation: rise 12s linear forwards;
|
|
}
|
|
|
|
/* @keyframes rise {
|
|
0% {
|
|
width: 50px;
|
|
}
|
|
|
|
100% {
|
|
height: 100%;
|
|
filter: hue-rotate(360deg);
|
|
}
|
|
} */
|
|
|
|
.progress-bar::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
margin-top: -40px;
|
|
right: -74px;
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 45%;
|
|
background-color: rgba(255, 255, 255, 0.507);
|
|
animation: move 8s linear infinite;
|
|
}
|
|
|
|
@keyframes move {
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.progress-bar::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
margin-top: -35px;
|
|
right: -62px;
|
|
width: 70px;
|
|
height: 70px;
|
|
border-radius: 38%;
|
|
background-color: rgba(255, 255, 255, 0.507);
|
|
animation: move2 5s linear infinite;
|
|
}
|
|
|
|
@keyframes move2 {
|
|
100% {
|
|
transform: rotate(360deg);
|
|
-webkit-transform: rotate(360deg);
|
|
-moz-transform: rotate(360deg);
|
|
-ms-transform: rotate(360deg);
|
|
-o-transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.control-button button:active {
|
|
background-color: rgba(255, 177, 238, 0.507);
|
|
}
|
|
|
|
.start div {
|
|
background: linear-gradient(45deg, #ff7e5f, #ffa764);
|
|
/* background: linear-gradient(45deg, #ff7e5f, #ffa764); */
|
|
}
|
|
|
|
.stop {
|
|
flex: 1;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.stop div {
|
|
background: linear-gradient(45deg, #ff9fc4, #f83b64);
|
|
position: relative;
|
|
z-index: 1;
|
|
text-align: right;
|
|
}
|
|
|
|
.progress-num {
|
|
background: linear-gradient(45deg, #ff9fc4, #f83b64);
|
|
margin-left: 10px;
|
|
font-size: 15px !important;
|
|
text-align: left;
|
|
font-weight: bolder;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
/* position: relative;
|
|
z-index: 1; */
|
|
color: transparent;
|
|
/* 设置文字颜色为透明,让背景色能透过文字 */
|
|
z-index: 3;
|
|
}
|
|
|
|
.start div,
|
|
.stop div {
|
|
font-size: 18px;
|
|
/* max-height: 55px; */
|
|
max-height: 60px;
|
|
font-weight: bolder;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
/* word-break: break-word; */
|
|
text-wrap: nowrap;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.pause {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.pause-icon {
|
|
z-index: 3;
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.re-start-icon {
|
|
width: 30px;
|
|
height: 30px;
|
|
display: none;
|
|
}
|
|
|
|
.acupuncture-btn {
|
|
position: absolute;
|
|
right: 0;
|
|
height: 44px;
|
|
padding: 0 30px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: linear-gradient(
|
|
to bottom,
|
|
rgb(212, 96, 241, 0.8),
|
|
rgba(145, 66, 197, 0.8)
|
|
);
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
-webkit-border-radius: 10px;
|
|
-moz-border-radius: 10px;
|
|
-ms-border-radius: 10px;
|
|
-o-border-radius: 10px;
|
|
}
|
|
|
|
.acupuncture-btn .acupuncture-text {
|
|
font-size: 12px;
|
|
color: white;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.acupuncture-btn .acupuncture-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.acupuncture-btn:active {
|
|
background: rgba(184, 184, 184, 0.3);
|
|
color: rgba(145, 66, 197, 0.8);
|
|
}
|
|
|
|
#example {
|
|
margin-top: 10px;
|
|
overflow-y: scroll;
|
|
height: calc(100% - 64px);
|
|
}
|
|
|
|
/* #selectionDialog div {
|
|
max-width: 300px;
|
|
margin: auto;
|
|
}
|
|
|
|
#dialogOptions div {
|
|
background: #f0f0f0;
|
|
margin: 5px 0;
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
#dialogOptions div:hover {
|
|
background: #d0d0d0;
|
|
} */
|
|
|
|
.save-btn-box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.save-button {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 10px 20px;
|
|
margin-top: 10px;
|
|
background: linear-gradient(
|
|
to bottom,
|
|
rgb(212, 96, 241, 0.8),
|
|
rgba(145, 66, 197, 0.8)
|
|
);
|
|
border-radius: 15px;
|
|
-webkit-border-radius: 15px;
|
|
-moz-border-radius: 15px;
|
|
-ms-border-radius: 15px;
|
|
-o-border-radius: 15px;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.save-button .save-button-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.save-button .save-button-text {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.save-button:active {
|
|
background: rgba(184, 184, 184, 0.3);
|
|
color: rgba(145, 66, 197, 0.8);
|
|
}
|
|
|
|
#step4 {
|
|
visibility: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: calc(100% - 40px);
|
|
}
|
|
|
|
#acupuncture-iframe {
|
|
width: 100%;
|
|
outline: none;
|
|
border: none;
|
|
background: transparent;
|
|
margin-top: 10px;
|
|
border-radius: 15px;
|
|
flex: 1;
|
|
}
|
|
|
|
.function-switch {
|
|
height: 30px;
|
|
position: absolute;
|
|
top: 10px;
|
|
background-color: #dddddd93;
|
|
border-radius: 15px;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
|
|
z-index: 3;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
-webkit-transform: translateX(-50%);
|
|
-moz-transform: translateX(-50%);
|
|
-ms-transform: translateX(-50%);
|
|
-o-transform: translateX(-50%);
|
|
}
|
|
|
|
.function {
|
|
text-align: center;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: small;
|
|
transition: color 0.2s ease-in-out, font-weight 0.2s ease-in-out;
|
|
position: relative;
|
|
z-index: 3;
|
|
padding: 0 14px;
|
|
height: 30px;
|
|
}
|
|
|
|
.function.active {
|
|
font-weight: bold;
|
|
color: white;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
height: 30px;
|
|
background: linear-gradient(
|
|
to right bottom,
|
|
rgb(212, 96, 241),
|
|
rgba(145, 66, 197, 0.5)
|
|
);
|
|
border-radius: 15px;
|
|
transition: left 0.2s ease-in-out;
|
|
z-index: 1;
|
|
box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.operate-iframe {
|
|
height: 100%;
|
|
width: 100%;
|
|
border: none;
|
|
border-radius: 15px;
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
opacity: 0;
|
|
z-index: 0;
|
|
transition: opacity 0.2s ease-in-out, z-index 0.2s ease-in-out;
|
|
-webkit-transition: opacity 0.2s ease-in-out, z-index 0.2s ease-in-out;
|
|
-moz-transition: opacity 0.2s ease-in-out, z-index 0.2s ease-in-out;
|
|
-ms-transition: opacity 0.2s ease-in-out, z-index 0.2s ease-in-out;
|
|
-o-transition: opacity 0.2s ease-in-out, z-index 0.2s ease-in-out;
|
|
}
|
|
|
|
.operate-iframe.active {
|
|
opacity: 1;
|
|
z-index: 2;
|
|
/* Make sure active iframe is always on top */
|
|
}
|
|
|
|
.operate-iframe.inactive {
|
|
opacity: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
#massage-frame {
|
|
padding: 20px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* 为脖子左侧点添加样式 */
|
|
.neck-point-left {
|
|
display: block;
|
|
position: absolute;
|
|
left: 25%;
|
|
top: 15px;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 9998;
|
|
}
|
|
|
|
.neck-point-right {
|
|
display: block;
|
|
position: absolute;
|
|
right: 25%;
|
|
top: 15px;
|
|
transform: translate(50%, -50%);
|
|
z-index: 9998;
|
|
}
|
|
|
|
.neck-point-bottom-left {
|
|
display: block;
|
|
position: absolute;
|
|
left: 25%;
|
|
top: 100%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 9998;
|
|
}
|
|
|
|
.neck-point-bottom-right {
|
|
display: block;
|
|
position: absolute;
|
|
right: 25%;
|
|
top: 100%;
|
|
transform: translate(50%, -50%);
|
|
z-index: 9998;
|
|
}
|
|
|
|
.neck-point {
|
|
width: 10px;
|
|
height: 10px;
|
|
background: #9142c5;
|
|
border-radius: 5px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.neck-text {
|
|
color: #9142c5;
|
|
font-size: 12px;
|
|
background: #fff;
|
|
padding: 3px 6px;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
margin-top: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
#neck-text-left {
|
|
transform: translate(-20px, -40px);
|
|
}
|
|
|
|
#neck-text-right {
|
|
transform: translate(20px, -40px);
|
|
}
|
|
|
|
/* 线条拖动容器样式 */
|
|
.line-container {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
pointer-events: none;
|
|
z-index: 5;
|
|
display: none;
|
|
touch-action: none;
|
|
}
|
|
|
|
.line-container.show {
|
|
display: block !important;
|
|
}
|
|
|
|
.line-svg {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.line-point {
|
|
position: absolute;
|
|
width: 16px;
|
|
height: 16px;
|
|
background-color: #ffffff;
|
|
border: 2px solid #ff80bf;
|
|
border-radius: 50%;
|
|
transform: translate(-50%, -50%);
|
|
cursor: move;
|
|
pointer-events: auto;
|
|
z-index: 6;
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
|
|
touch-action: none;
|
|
}
|
|
|
|
#line-point-1 {
|
|
top: 10%;
|
|
left: 20%;
|
|
}
|
|
|
|
#line-point-2 {
|
|
top: 50%;
|
|
left: 30%;
|
|
}
|
|
|
|
#line-point-3 {
|
|
top: 90%;
|
|
left: 25%;
|
|
}
|
|
|
|
#line-point-4 {
|
|
top: 10%;
|
|
right: 20%;
|
|
}
|
|
|
|
#line-point-5 {
|
|
top: 50%;
|
|
right: 30%;
|
|
}
|
|
|
|
#line-point-6 {
|
|
top: 90%;
|
|
right: 25%;
|
|
}
|
|
|
|
/* 曲率控制点样式 */
|
|
.curve-point {
|
|
position: absolute;
|
|
width: 12px;
|
|
height: 12px;
|
|
background-color: #ffcc00;
|
|
border: 2px solid #ff80bf;
|
|
border-radius: 50%;
|
|
transform: translate(-50%, -50%);
|
|
cursor: move;
|
|
pointer-events: auto;
|
|
z-index: 5;
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
|
|
touch-action: none;
|
|
}
|
|
|
|
/* 初始位置设置为线段中点 */
|
|
#curve-point-1 {
|
|
top: 30%;
|
|
left: 25%;
|
|
}
|
|
|
|
#curve-point-2 {
|
|
top: 70%;
|
|
left: 27.5%;
|
|
}
|
|
|
|
#curve-point-3 {
|
|
top: 30%;
|
|
right: 25%;
|
|
}
|
|
|
|
#curve-point-4 {
|
|
top: 70%;
|
|
right: 27.5%;
|
|
}
|
|
|
|
.leg-text {
|
|
color: #9142c5;
|
|
font-size: 12px;
|
|
background: #fff;
|
|
padding: 3px 6px;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
position: absolute;
|
|
top: -3px;
|
|
left: 50%;
|
|
width: max-content;
|
|
z-index: 7;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
#leg-text-left {
|
|
margin-left: -50px;
|
|
}
|
|
|
|
#leg-text-right {
|
|
margin-left: 50px;
|
|
}
|
|
|
|
|
|
.pre-heat{
|
|
font-size: 12px;
|
|
align-items: center;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.heat-hint-icon{
|
|
width: 16px;
|
|
height: 16px;
|
|
} |