File size: 3,579 Bytes
e636070 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
/* main-style.css */
html, body {
margin: 0;
padding: 0;
height: 100vh;
width: 100%;
overflow: auto;
font-family: Arial, sans-serif;
background-color: #fdf5ee;
}
.main-container {
display: flex;
height: 100vh;
width: calc(100% - 60px);
margin: 0 auto;
padding: 0 30px;
overflow: hidden;
}
.left-section {
width: 24%;
height: 100vh;
display: flex;
flex-direction: column;
border-right: 1px solid #5f3737;
padding: 0 10px;
}
/* 地图区域 */
.map-section {
height: 280px;
background-color: #fdf5ee;
border-bottom: 1px solid #5f3737;
margin-bottom: 50px;
}
/* 角色档案区域 */
.character-profiles {
flex: 1;
background-color: #fdf5ee;
overflow-y: auto;
padding: 10px;
}
/* 聊天框 */
.chat-section {
flex-grow: 1;
height: 100vh;
overflow: hidden;
display: flex;
justify-content: center;
}
.chat-container {
width: 50%;
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
/* 顶部工具栏样式 */
.toolbar {
background-color: #5c4545;
padding: 10px;
display: flex;
justify-content: space-between;
gap: 10px;
border-bottom: 1px solid #c4a983;
}
.toolbar button {
background: none;
border: none;
color: #ebe3d7;
cursor: pointer;
padding: 5px 10px;
}
.toolbar button:hover {
color: #fff;
}
.control-btn {
display: flex;
align-items: center;
gap: 5px;
padding: 5px 10px;
border: none;
border-radius: 4px;
background-color: #5f3737;
color: white;
cursor: pointer;
transition: background-color 0.3s;
}
.control-btn:hover {
background-color: #7a4747;
}
.control-btn i {
font-size: 14px;
}
.control-btn span {
font-size: 12px;
}
#stopBtn {
background-color: #873434;
}
#stopBtn:hover {
background-color: #a34141;
}
.left-tools, .right-tools {
display: flex;
gap: 10px;
}
.language-btn {
padding: 8px 15px;
border: 1px solid #ddd;
border-radius: 4px;
background-color: #fff;
cursor: pointer;
display: flex;
align-items: center;
gap: 5px;
}
.language-btn:hover {
background-color: #f5f5f5;
}
/* right-section */
.right-section {
width: 24%;
height: 100vh;
display: flex;
flex-direction: column;
background-color: #fdf5ee;
border-left: 1px solid #5f3737;
overflow: hidden;
}
.right-toolbar {
padding: 10px;
display: flex;
gap: 10px;
background-color: #5f3737;
}
.tab-btn {
padding: 8px 16px;
border: none;
border-radius: 4px;
background-color: transparent;
color: #fdf5ee;
cursor: pointer;
transition: background-color 0.3s;
}
.tab-btn:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.tab-btn.active {
background-color: #fdf5ee;
color: #5f3737;
}
.right-content {
flex: 1;
overflow-y: auto;
}
.tab-panel {
display: none;
padding: 20px;
height: calc(100% - 40px);
overflow-y: auto;
}
.tab-panel.active {
display: block;
}
/* 滚动条美化 */
*::-webkit-scrollbar {
/*滚动条整体样式*/
width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
height: 1px;
}
*::-webkit-scrollbar-thumb {
/*滚动条里面深色条*/
border-radius: 10px;
box-shadow: inset 0 0 5px rgba(236, 236, 236, 0.1);
background: #ccc;
}
*::-webkit-scrollbar-track {
/*滚动条里面轨道*/
box-shadow: inset 0 0 5px rgba(236, 236, 236, 0.1);
border-radius: 10px;
background: #ededed;
} |