|
@@ -0,0 +1,93 @@
|
|
|
+.custom-toolbar {
|
|
|
+ --background: rgba(255, 255, 255, 0.8); /* 使工具栏背景透明 */
|
|
|
+ display: flex; /* 使用 Flexbox 布局 */
|
|
|
+ justify-content: center; /* 水平居中 */
|
|
|
+ align-items: center; /* 垂直居中 */
|
|
|
+ padding: 0; /* 去掉默认内边距 */
|
|
|
+}
|
|
|
+
|
|
|
+.custom-title {
|
|
|
+ font-size: 1.3em; /* 字体大小 */
|
|
|
+ font-weight: bold; /* 加粗 */
|
|
|
+ color: #000000;
|
|
|
+ text-align: center; /* 文字居中对齐 */
|
|
|
+ margin: 0; /* 去掉默认外边距 */
|
|
|
+ text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* 添加文字阴影效果 */
|
|
|
+ /* 添加其他美化效果 */
|
|
|
+ font-family: "微软雅黑"; /* 自定义字体 */
|
|
|
+}
|
|
|
+
|
|
|
+/* 全局样式 */
|
|
|
+ion-content {
|
|
|
+ background-color: #7acbd9; /* 背景颜色 */
|
|
|
+ padding: 20px; /* 内边距 */
|
|
|
+ font-family: 'Arial', sans-serif; /* 字体 */
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 文本区域样式 */
|
|
|
+ ion-textarea {
|
|
|
+ border: 1px solid #55e788; /* ���框颜色 */
|
|
|
+ border-radius: 8px; /* 圆角 */
|
|
|
+ padding: 10px; /* 内边距 */
|
|
|
+ font-size: 16px; /* 字体大小 */
|
|
|
+ color: #333; /* 字体颜色 */
|
|
|
+ background-color: #fff; /* 背景颜色 */
|
|
|
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 阴影效果 */
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 按钮样式 */
|
|
|
+ ion-button {
|
|
|
+ background-color: #6be4ea; /* 按钮背景颜色 */
|
|
|
+ color: white; /* 按钮文字颜色 */
|
|
|
+ border-radius: 8px; /* 圆角 */
|
|
|
+ font-size: 18px; /* 字体大小 */
|
|
|
+ padding: 10px; /* 内边距 */
|
|
|
+ transition: background-color 0.3s; /* 背景颜色过渡效果 */
|
|
|
+ }
|
|
|
+
|
|
|
+ ion-button:hover {
|
|
|
+ background-color: #53d888; /* 悬停时的背景颜色 */
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 图片容器样式 */
|
|
|
+ img {
|
|
|
+ max-width: 100%; /* 最大宽度为100% */
|
|
|
+ height: auto; /* 高度自动 */
|
|
|
+ border-radius: 8px; /* 圆角 */
|
|
|
+ margin-top: 10px; /* 上边距 */
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 图片地址样式 */
|
|
|
+ h3 {
|
|
|
+ color: #555; /* 字体颜色 */
|
|
|
+ font-size: 14px; /* 字体大小 */
|
|
|
+ margin-top: 10px; /* 上边距 */
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 生成状态样式 */
|
|
|
+ h1 {
|
|
|
+ color: #333; /* 字体颜色 */
|
|
|
+ font-size: 24px; /* 字体大小 */
|
|
|
+ text-align: center; /* 居中对齐 */
|
|
|
+ margin-top: 20px; /* 上边距 */
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 意境画面提示词样式 */
|
|
|
+ .desc {
|
|
|
+ background-color: #8ceea6; /* 背景颜色 */
|
|
|
+ border: 1px solid #24e34e; /* 边框颜色 */
|
|
|
+ border-radius: 8px; /* 圆角 */
|
|
|
+ padding: 15px; /* 内边距 */
|
|
|
+ margin-top: 20px; /* 上边距 */
|
|
|
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 阴影效果 */
|
|
|
+ }
|
|
|
+
|
|
|
+ .copyable {
|
|
|
+ user-select: text; /* 允许文本选择 */
|
|
|
+ background-color: #f9f9f9; /* 背景颜色 */
|
|
|
+ padding: 5px; /* 内边距 */
|
|
|
+ border: 1px solid #ccc; /* 边框 */
|
|
|
+ border-radius: 4px; /* 圆角 */
|
|
|
+ display: inline-block; /* 使其呈现为块级元素 */
|
|
|
+ cursor: text; /* 鼠标悬停时显示文本光标 */
|
|
|
+ }
|