custom.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480
  1. @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
  2. .input-group0-border2{
  3. border: 1px solid #000;
  4. }
  5. #chartDataLoading{
  6. display: none;
  7. }
  8. .x-axis-labels {
  9. text-align: center;
  10. }
  11. body{
  12. background-color: transparent;
  13. }
  14. .x-axis-labels span {
  15. margin-right:10px ;
  16. display: inline-block;
  17. color: #58493F; /* Change the color of the text */
  18. font-weight: bold;
  19. font-size: 24px;
  20. text-shadow:
  21. -1px -1px 0 #fff,
  22. 1px -1px 0 #fff,
  23. -1px 1px 0 #fff,
  24. 1px 1px 0 #fff; /* Apply text stroke effect */
  25. }
  26. .chart_background{
  27. /* background: #CECEDB; */
  28. }
  29. #downloadButton{
  30. /* margin:10px auto ; */
  31. background: #00448F;
  32. color:#fff;
  33. border-radius: .3rem;
  34. border:none;
  35. padding: .375rem .75rem;
  36. }
  37. .chartjs-title {
  38. -webkit-text-stroke-width: 5px;
  39. -webkit-text-stroke-color: #fff;
  40. }
  41. .chart_box{
  42. padding: 15px 20px;
  43. }
  44. #data_chart_box{
  45. background-repeat: no-repeat;
  46. background-size: cover;
  47. background-position: center;
  48. padding: 30px;
  49. }
  50. #data_chartJs_box{
  51. /* background: rgba(255, 255, 255,0.5); */
  52. border-radius: 15px;
  53. padding: 15px;
  54. position: relative;
  55. }
  56. .chart_box2{
  57. border-radius: 15px;
  58. /* background: rgba(229, 229, 234,0.6); */
  59. }
  60. .chart_title{
  61. font-family: "Noto Sans TC", sans-serif;
  62. font-optical-sizing: auto;
  63. font-weight: 900;
  64. font-style: normal;
  65. color: #1c2d6d;
  66. margin-bottom: 1rem;
  67. font-size: 32px;
  68. text-align: center;
  69. /* color: #fff; */
  70. /* text-shadow:
  71. -1px -1px 0 #584B3D,
  72. 1px -1px 0 #584B3D,
  73. -1px 1px 0 #584B3D,
  74. 1px 1px 0 #584B3D;
  75. font-weight: bold;
  76. letter-spacing: 8px; */
  77. }
  78. .chart_box2{
  79. /* padding: 10px; */
  80. }
  81. .chart_title{
  82. padding: 15px 0px 0px 30px;
  83. }
  84. .chartSetting{
  85. /* margin-bottom: 30px; */
  86. }
  87. .chartSettingBox{
  88. /* height: 90vh; */
  89. }
  90. .chart_content{
  91. width: 90% !important;
  92. }
  93. #textToChart {
  94. width: 100% !important; /* 視窗寬度 */
  95. /* height: 100%; 視窗高度 */
  96. }
  97. .sidebarToggle{
  98. display: none;
  99. }
  100. .templateImg{
  101. cursor: pointer;
  102. object-fit: cover;
  103. }
  104. .bgImg{
  105. cursor: pointer;
  106. object-fit: cover;
  107. }
  108. #chartdiv {
  109. width: 90%;
  110. height: 400px;
  111. overflow: visible; /* 显示超出容器的内容 */
  112. }
  113. .autocomplete-suggestions2 {
  114. display: none;
  115. border: 1px solid #ccc;
  116. max-height: 150px;
  117. overflow-y: auto;
  118. position: absolute;
  119. top:55px;
  120. z-index: 1000;
  121. background: #fff;
  122. width: 90%;
  123. }
  124. .autocomplete-suggestions {
  125. display: none;
  126. border: 1px solid #ccc;
  127. max-height: 150px;
  128. overflow-y: auto;
  129. position: absolute;
  130. bottom:80px;
  131. z-index: 1000;
  132. background: #fff;
  133. width: 100%;
  134. }
  135. .autocomplete-suggestion {
  136. padding: 8px;
  137. cursor: pointer;
  138. }
  139. .autocomplete-suggestion:hover {
  140. background: #f0f0f0;
  141. }
  142. #fixed_button{
  143. /* padding-left: 1.5rem;
  144. padding-right: 1.5rem; */
  145. position: fixed;
  146. bottom:5px;
  147. width: 95%;
  148. left: 25px;
  149. padding: 1rem;
  150. z-index: 101;
  151. }
  152. #recording_block{
  153. position: fixed;
  154. bottom:5px;
  155. width: 95%;
  156. left: 25px;
  157. z-index: 102;
  158. padding: 1rem;
  159. }
  160. #fixed_button .input-group{
  161. /* background: #fff; */
  162. padding: 1.5rem 1rem;
  163. }
  164. .scrollable-div {
  165. height: 200px; /* 設置高度 */
  166. overflow: auto; /* 設置溢出時顯示滾動條 */
  167. padding: 10px; /* 加上內邊距 */
  168. }
  169. .setting_button_content{
  170. }
  171. .centered-div {
  172. position: absolute;
  173. width: 80%;
  174. top: 30%;
  175. left: 50%;
  176. transform: translate(-50%, -50%);
  177. text-align: center; /* 可選:內容置中 */
  178. padding: 20px; /* 可選:內邊距 */
  179. z-index: 101;
  180. }
  181. #table-svg{
  182. color: rgb(118, 208, 235);
  183. }
  184. #line-icon{
  185. fill: rgb(118, 208, 235);
  186. width: 20px;
  187. }
  188. #bar-icon{
  189. fill:rgb(203, 139, 208);;
  190. width: 20px;
  191. }
  192. #pie-icon{
  193. fill: rgb(226, 197, 65);
  194. width: 20px;
  195. }
  196. #table-icon{
  197. fill: #6c757d;
  198. width: 20px;
  199. }
  200. .example{
  201. padding: 20px;
  202. transition: 0.3s;
  203. cursor: pointer;
  204. }
  205. .example:hover{
  206. background: #f8f9fa;
  207. }
  208. .setting_button{
  209. position: fixed;
  210. top:300px;
  211. right:10px;
  212. cursor: pointer;
  213. background: #00448F;
  214. color:#fff;
  215. padding: 10px;
  216. }
  217. .setting_button_content{
  218. writing-mode: vertical-rl; /* 垂直书写模式,从右到左 */
  219. /* 文字竖直排列 */
  220. }
  221. .show {
  222. right: 0px; /* 显示侧边栏 */
  223. }
  224. .hidden {
  225. display: none; /* 隐藏侧边栏 */
  226. }
  227. #style_setting,#style_setting_table {
  228. position: fixed;
  229. top: 78px;
  230. right: 10px;
  231. width: 450px;
  232. height: 78%;
  233. overflow-y: auto;
  234. padding: 20px;
  235. }
  236. #style_setting_close,#style_setting_close_table,#style_setting_close{
  237. font-size: 20px;
  238. cursor: pointer;
  239. }
  240. .table_template{
  241. width: 80%;
  242. margin: 30px;
  243. border: 5px solid #8a8a8a; /* 使用稍微深一些的灰色 */
  244. font-size: 32px;
  245. }
  246. .table td {
  247. border: 5px solid #C0C5CC;
  248. }
  249. .table thead {
  250. background: radial-gradient(circle, rgb(91, 84, 136) 0%, rgba(204, 204, 255, 0.5) 100%);
  251. color:#fff;
  252. text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  253. }
  254. .year-class{
  255. background: rgb(3, 74, 128);
  256. color:#fff;
  257. font-family: "Noto Sans TC", sans-serif;
  258. font-optical-sizing: auto;
  259. font-weight: 900;
  260. font-style: normal;
  261. width: 40%;
  262. }
  263. .average-class{
  264. /* background: linear-gradient(to right, rgb(168, 205, 235), white); */
  265. background: radial-gradient(circle, white 10%, rgb(168, 205, 235) 80%);
  266. color:#912B2B;
  267. font-weight: 900;
  268. font-family: "Noto Sans TC", sans-serif;
  269. font-optical-sizing: auto;
  270. font-weight: 900;
  271. font-style: normal;
  272. width: 60%;
  273. color:rgba(130, 163, 63, 1);
  274. }
  275. .unit_box{
  276. display: none;
  277. position: absolute;
  278. bottom: 160px;
  279. left: 30px;
  280. width: 40px;
  281. color:#584B3D;
  282. text-shadow:
  283. -1px -1px 0 #fff,
  284. 1px -1px 0 #fff,
  285. -1px 1px 0 #fff,
  286. 1px 1px 0 #fff;
  287. font-size: 24px;
  288. font-family: "Noto Sans TC", sans-serif;
  289. font-optical-sizing: auto;
  290. font-weight: 600;
  291. }
  292. .unit_value{
  293. /* writing-mode: vertical-rl; 或者 vertical-lr 根據需求選擇
  294. text-orientation: upright; 使文字保持正直
  295. white-space: nowrap; 防止換行 */
  296. display: grid;
  297. grid-template-columns: 1fr; /* 單列網格 */
  298. grid-gap: 1px; /* 調整行高 */
  299. text-align: center;
  300. }
  301. .unit_value span {
  302. display: block; /* 每個字符占據一行 */
  303. line-height: 1.2;
  304. }
  305. .img_box{
  306. position: absolute;
  307. bottom: 91px;
  308. right: 15px;
  309. }
  310. #img_box_url{
  311. width: 150px;
  312. height: auto;
  313. }
  314. #chart-label {
  315. position: absolute;
  316. top: -20px; /* 调整标签位置 */
  317. left: 0;
  318. color: #fff;
  319. background-color: rgba(0, 0, 0, 0.5); /* 标签背景颜色 */
  320. padding: 5px 10px;
  321. border-radius: 5px;
  322. }
  323. .outlabeled_img{
  324. width: 700px;
  325. height: auto;
  326. }
  327. #downloadButton{
  328. display: none;
  329. }
  330. #chartType{
  331. display: none;
  332. }
  333. #logout{
  334. cursor: pointer;
  335. }
  336. .microphone{
  337. /* margin-top: 1rem; */
  338. cursor: pointer;
  339. transition: 0.3s;
  340. }
  341. .microphone:hover{
  342. opacity: 0.8;
  343. }
  344. .speechToText{
  345. background: none;
  346. border: none;
  347. }
  348. .circle-div {
  349. width: 100px;
  350. height: 100px;
  351. border-radius: 50%;
  352. display: flex;
  353. justify-content: center;
  354. align-items: center;
  355. background-color: #4CAF50;
  356. overflow: hidden;
  357. cursor: pointer;
  358. transition: 0.3s;
  359. }
  360. .circle-div:hover{
  361. opacity: 0.8;
  362. }
  363. .circle-div img {
  364. width: 50%;
  365. height: 50%;
  366. }
  367. .recording{
  368. font-size: 32px;
  369. }
  370. #stop{
  371. background: none;
  372. border:none;
  373. }
  374. .compare{
  375. display: none;
  376. }
  377. .chartType{
  378. height: calc(1.5em + .75rem + 2px);
  379. padding: .375rem .75rem;
  380. font-size: 1rem;
  381. font-weight: 400;
  382. line-height: 1.5;
  383. color: #6e707e;
  384. background-color: #fff;
  385. background-clip: padding-box;
  386. border: 1px solid #d1d3e2;
  387. border-radius: .35rem;
  388. }
  389. #borderWidthRange{
  390. padding: .375rem .75rem;
  391. font-size: 1rem;
  392. font-weight: 400;
  393. line-height: 1.5;
  394. color: #6e707e;
  395. background-color: #fff;
  396. background-clip: padding-box;
  397. border: 1px solid #d1d3e2;
  398. border-radius: .35rem;
  399. }
  400. .chart-container {
  401. overflow: visible; /* 确保 hover 区域没有被遮挡 */
  402. }