custom.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  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. #textToChart {
  91. width: 90% !important; /* 視窗寬度 */
  92. /* height: 100%; 視窗高度 */
  93. }
  94. .sidebarToggle{
  95. display: none;
  96. }
  97. .templateImg{
  98. cursor: pointer;
  99. object-fit: cover;
  100. }
  101. .bgImg{
  102. cursor: pointer;
  103. object-fit: cover;
  104. }
  105. #chartdiv {
  106. width: 90%;
  107. height: 400px;
  108. overflow: visible; /* 显示超出容器的内容 */
  109. }
  110. .autocomplete-suggestions2 {
  111. display: none;
  112. border: 1px solid #ccc;
  113. max-height: 150px;
  114. overflow-y: auto;
  115. position: absolute;
  116. top:55px;
  117. z-index: 1000;
  118. background: #fff;
  119. width: 90%;
  120. }
  121. .autocomplete-suggestions {
  122. display: none;
  123. border: 1px solid #ccc;
  124. max-height: 150px;
  125. overflow-y: auto;
  126. position: absolute;
  127. bottom:80px;
  128. z-index: 1000;
  129. background: #fff;
  130. width: 100%;
  131. }
  132. .autocomplete-suggestion {
  133. padding: 8px;
  134. cursor: pointer;
  135. }
  136. .autocomplete-suggestion:hover {
  137. background: #f0f0f0;
  138. }
  139. #fixed_button{
  140. /* padding-left: 1.5rem;
  141. padding-right: 1.5rem; */
  142. position: fixed;
  143. bottom:5px;
  144. width: 95%;
  145. left: 25px;
  146. padding: 1rem;
  147. z-index: 101;
  148. }
  149. #recording_block{
  150. position: fixed;
  151. bottom:5px;
  152. width: 95%;
  153. left: 25px;
  154. z-index: 102;
  155. padding: 1rem;
  156. }
  157. #fixed_button .input-group{
  158. /* background: #fff; */
  159. padding: 1.5rem 1rem;
  160. }
  161. .scrollable-div {
  162. height: 200px; /* 設置高度 */
  163. overflow: auto; /* 設置溢出時顯示滾動條 */
  164. padding: 10px; /* 加上內邊距 */
  165. }
  166. .setting_button_content{
  167. }
  168. .centered-div {
  169. position: absolute;
  170. width: 80%;
  171. top: 30%;
  172. left: 50%;
  173. transform: translate(-50%, -50%);
  174. text-align: center; /* 可選:內容置中 */
  175. padding: 20px; /* 可選:內邊距 */
  176. z-index: 101;
  177. }
  178. #table-svg{
  179. color: rgb(118, 208, 235);
  180. }
  181. #line-icon{
  182. fill: rgb(118, 208, 235);
  183. width: 20px;
  184. }
  185. #bar-icon{
  186. fill:rgb(203, 139, 208);;
  187. width: 20px;
  188. }
  189. #pie-icon{
  190. fill: rgb(226, 197, 65);
  191. width: 20px;
  192. }
  193. #table-icon{
  194. fill: #6c757d;
  195. width: 20px;
  196. }
  197. .example{
  198. padding: 20px;
  199. transition: 0.3s;
  200. cursor: pointer;
  201. }
  202. .example:hover{
  203. background: #f8f9fa;
  204. }
  205. .setting_button{
  206. position: fixed;
  207. top:300px;
  208. right:10px;
  209. cursor: pointer;
  210. background: #00448F;
  211. color:#fff;
  212. padding: 10px;
  213. }
  214. .setting_button_content{
  215. writing-mode: vertical-rl; /* 垂直书写模式,从右到左 */
  216. /* 文字竖直排列 */
  217. }
  218. .show {
  219. right: 0px; /* 显示侧边栏 */
  220. }
  221. .hidden {
  222. display: none; /* 隐藏侧边栏 */
  223. }
  224. #style_setting,#style_setting_table {
  225. position: fixed;
  226. top: 78px;
  227. right: 10px;
  228. width: 450px;
  229. height: 78%;
  230. overflow-y: auto;
  231. padding: 20px;
  232. }
  233. #style_setting_close,#style_setting_close_table,#style_setting_close{
  234. font-size: 20px;
  235. cursor: pointer;
  236. }
  237. .table_template{
  238. width: 80%;
  239. margin: 30px;
  240. border: 5px solid #8a8a8a; /* 使用稍微深一些的灰色 */
  241. font-size: 32px;
  242. }
  243. .table td {
  244. border: 5px solid #C0C5CC;
  245. }
  246. .table thead {
  247. background: radial-gradient(circle, rgb(91, 84, 136) 0%, rgba(204, 204, 255, 0.5) 100%);
  248. color:#fff;
  249. text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  250. }
  251. .year-class{
  252. background: rgb(3, 74, 128);
  253. color:#fff;
  254. font-family: "Noto Sans TC", sans-serif;
  255. font-optical-sizing: auto;
  256. font-weight: 900;
  257. font-style: normal;
  258. width: 40%;
  259. }
  260. .average-class{
  261. /* background: linear-gradient(to right, rgb(168, 205, 235), white); */
  262. background: radial-gradient(circle, white 10%, rgb(168, 205, 235) 80%);
  263. color:#912B2B;
  264. font-weight: 900;
  265. font-family: "Noto Sans TC", sans-serif;
  266. font-optical-sizing: auto;
  267. font-weight: 900;
  268. font-style: normal;
  269. width: 60%;
  270. }
  271. .unit_box{
  272. display: none;
  273. position: absolute;
  274. bottom: 160px;
  275. left: 30px;
  276. width: 40px;
  277. color:#584B3D;
  278. text-shadow:
  279. -1px -1px 0 #fff,
  280. 1px -1px 0 #fff,
  281. -1px 1px 0 #fff,
  282. 1px 1px 0 #fff;
  283. font-size: 24px;
  284. font-family: "Noto Sans TC", sans-serif;
  285. font-optical-sizing: auto;
  286. font-weight: 600;
  287. }
  288. .unit_value{
  289. /* writing-mode: vertical-rl; 或者 vertical-lr 根據需求選擇
  290. text-orientation: upright; 使文字保持正直
  291. white-space: nowrap; 防止換行 */
  292. display: grid;
  293. grid-template-columns: 1fr; /* 單列網格 */
  294. grid-gap: 1px; /* 調整行高 */
  295. text-align: center;
  296. }
  297. .unit_value span {
  298. display: block; /* 每個字符占據一行 */
  299. line-height: 1.2;
  300. }
  301. .img_box{
  302. position: absolute;
  303. bottom: 91px;
  304. right: 15px;
  305. }
  306. #img_box_url{
  307. width: 150px;
  308. height: auto;
  309. }
  310. #chart-label {
  311. position: absolute;
  312. top: -20px; /* 调整标签位置 */
  313. left: 0;
  314. color: #fff;
  315. background-color: rgba(0, 0, 0, 0.5); /* 标签背景颜色 */
  316. padding: 5px 10px;
  317. border-radius: 5px;
  318. }
  319. .outlabeled_img{
  320. width: 700px;
  321. height: auto;
  322. }
  323. #downloadButton{
  324. display: none;
  325. }
  326. #chartType{
  327. display: none;
  328. }
  329. #logout{
  330. cursor: pointer;
  331. }
  332. .microphone{
  333. /* margin-top: 1rem; */
  334. cursor: pointer;
  335. transition: 0.3s;
  336. }
  337. .microphone:hover{
  338. opacity: 0.8;
  339. }
  340. .speechToText{
  341. background: none;
  342. border: none;
  343. }
  344. .circle-div {
  345. width: 100px;
  346. height: 100px;
  347. border-radius: 50%;
  348. display: flex;
  349. justify-content: center;
  350. align-items: center;
  351. background-color: #4CAF50;
  352. overflow: hidden;
  353. cursor: pointer;
  354. transition: 0.3s;
  355. }
  356. .circle-div:hover{
  357. opacity: 0.8;
  358. }
  359. .circle-div img {
  360. width: 50%;
  361. height: 50%;
  362. }
  363. .recording{
  364. font-size: 32px;
  365. }
  366. #stop{
  367. background: none;
  368. border:none;
  369. }
  370. .compare{
  371. display: none;
  372. }
  373. .chartType{
  374. height: calc(1.5em + .75rem + 2px);
  375. padding: .375rem .75rem;
  376. font-size: 1rem;
  377. font-weight: 400;
  378. line-height: 1.5;
  379. color: #6e707e;
  380. background-color: #fff;
  381. background-clip: padding-box;
  382. border: 1px solid #d1d3e2;
  383. border-radius: .35rem;
  384. }