custom.css 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  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: #f8f9fc !important;
  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: 30px 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. }
  148. #recording_block{
  149. position: fixed;
  150. bottom:5px;
  151. width: 95%;
  152. left: 25px;
  153. padding: 1rem;
  154. z-index: 99;
  155. }
  156. #fixed_button .input-group{
  157. /* background: #fff; */
  158. padding: 1.5rem 1rem;
  159. }
  160. .scrollable-div {
  161. height: 200px; /* 設置高度 */
  162. overflow: auto; /* 設置溢出時顯示滾動條 */
  163. padding: 10px; /* 加上內邊距 */
  164. }
  165. .setting_button_content{
  166. }
  167. .setting_button{
  168. position: fixed;
  169. top:300px;
  170. right:10px;
  171. cursor: pointer;
  172. background: #00448F;
  173. color:#fff;
  174. padding: 10px;
  175. }
  176. .setting_button_content{
  177. writing-mode: vertical-rl; /* 垂直书写模式,从右到左 */
  178. /* 文字竖直排列 */
  179. }
  180. .show {
  181. right: 0px; /* 显示侧边栏 */
  182. }
  183. .hidden {
  184. display: none; /* 隐藏侧边栏 */
  185. }
  186. #style_setting,#style_setting_table {
  187. position: fixed;
  188. top: 78px;
  189. right: 10px;
  190. width: 450px;
  191. height: 78%;
  192. overflow-y: auto;
  193. padding: 20px;
  194. }
  195. #style_setting_close,#style_setting_close_table,#style_setting_close{
  196. font-size: 20px;
  197. cursor: pointer;
  198. }
  199. .table_template{
  200. width: 80%;
  201. margin: 30px;
  202. border: 5px solid #8a8a8a; /* 使用稍微深一些的灰色 */
  203. font-size: 32px;
  204. }
  205. .table td {
  206. border: 5px solid #C0C5CC;
  207. }
  208. .table thead {
  209. background: radial-gradient(circle, rgb(91, 84, 136) 0%, rgba(204, 204, 255, 0.5) 100%);
  210. color:#fff;
  211. text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  212. }
  213. .year-class{
  214. background: rgb(3, 74, 128);
  215. color:#fff;
  216. font-family: "Noto Sans TC", sans-serif;
  217. font-optical-sizing: auto;
  218. font-weight: 900;
  219. font-style: normal;
  220. width: 40%;
  221. }
  222. .average-class{
  223. /* background: linear-gradient(to right, rgb(168, 205, 235), white); */
  224. background: radial-gradient(circle, white 10%, rgb(168, 205, 235) 80%);
  225. color:#912B2B;
  226. font-weight: 900;
  227. font-family: "Noto Sans TC", sans-serif;
  228. font-optical-sizing: auto;
  229. font-weight: 900;
  230. font-style: normal;
  231. width: 60%;
  232. }
  233. .unit_box{
  234. position: absolute;
  235. bottom: 180px;
  236. left: 30px;
  237. color:#584B3D;
  238. text-shadow:
  239. -1px -1px 0 #fff,
  240. 1px -1px 0 #fff,
  241. -1px 1px 0 #fff,
  242. 1px 1px 0 #fff;
  243. font-size: 24px;
  244. font-family: "Noto Sans TC", sans-serif;
  245. font-optical-sizing: auto;
  246. font-weight: 600;
  247. }
  248. .unit_value{
  249. writing-mode: vertical-rl; /* 或者 vertical-lr 根據需求選擇 */
  250. text-orientation: upright; /* 使文字保持正直 */
  251. white-space: nowrap; /* 防止換行 */
  252. }
  253. .img_box{
  254. position: absolute;
  255. bottom: 91px;
  256. right: 36px;
  257. }
  258. #img_box_url{
  259. width: 150px;
  260. height: auto;
  261. }
  262. #chart-label {
  263. position: absolute;
  264. top: -20px; /* 调整标签位置 */
  265. left: 0;
  266. color: #fff;
  267. background-color: rgba(0, 0, 0, 0.5); /* 标签背景颜色 */
  268. padding: 5px 10px;
  269. border-radius: 5px;
  270. }
  271. .outlabeled_img{
  272. width: 700px;
  273. height: auto;
  274. }
  275. #downloadButton{
  276. display: none;
  277. }
  278. #logout{
  279. cursor: pointer;
  280. }
  281. .microphone{
  282. /* margin-top: 1rem; */
  283. cursor: pointer;
  284. transition: 0.3s;
  285. }
  286. .microphone:hover{
  287. opacity: 0.8;
  288. }
  289. .speechToText{
  290. background: none;
  291. border: none;
  292. }
  293. .circle-div {
  294. width: 100px;
  295. height: 100px;
  296. border-radius: 50%;
  297. display: flex;
  298. justify-content: center;
  299. align-items: center;
  300. background-color: #4CAF50;
  301. overflow: hidden;
  302. cursor: pointer;
  303. transition: 0.3s;
  304. }
  305. .circle-div:hover{
  306. opacity: 0.8;
  307. }
  308. .circle-div img {
  309. width: 50%;
  310. height: 50%;
  311. }
  312. .recording{
  313. font-size: 32px;
  314. }
  315. #stop{
  316. background: none;
  317. border:none;
  318. }