custom.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  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. }
  49. #data_chartJs_box{
  50. /* background: rgba(255, 255, 255,0.5); */
  51. border-radius: 15px;
  52. padding: 15px;
  53. position: relative;
  54. }
  55. .chart_box2{
  56. border-radius: 15px;
  57. /* background: rgba(229, 229, 234,0.6); */
  58. }
  59. .chart_title{
  60. font-family: "Noto Sans TC", sans-serif;
  61. font-optical-sizing: auto;
  62. font-weight: 900;
  63. font-style: normal;
  64. color: #1c2d6d;
  65. margin-bottom: 1rem;
  66. font-size: 32px;
  67. text-align: center;
  68. /* color: #fff; */
  69. /* text-shadow:
  70. -1px -1px 0 #584B3D,
  71. 1px -1px 0 #584B3D,
  72. -1px 1px 0 #584B3D,
  73. 1px 1px 0 #584B3D;
  74. font-weight: bold;
  75. letter-spacing: 8px; */
  76. }
  77. .chart_box2{
  78. /* padding: 10px; */
  79. }
  80. .chart_title{
  81. padding: 30px 0px 0px 30px;
  82. }
  83. .chartSetting{
  84. /* margin-bottom: 30px; */
  85. }
  86. .chartSettingBox{
  87. height: 78vh;
  88. }
  89. #textToChart {
  90. width: 90% !important; /* 視窗寬度 */
  91. /* height: 100%; 視窗高度 */
  92. }
  93. .sidebarToggle{
  94. display: none;
  95. }
  96. .templateImg{
  97. cursor: pointer;
  98. object-fit: cover;
  99. }
  100. .bgImg{
  101. cursor: pointer;
  102. object-fit: cover;
  103. }
  104. #chartdiv {
  105. width: 90%;
  106. height: 400px;
  107. overflow: visible; /* 显示超出容器的内容 */
  108. }
  109. .autocomplete-suggestions {
  110. display: none;
  111. border: 1px solid #ccc;
  112. max-height: 150px;
  113. overflow-y: auto;
  114. position: absolute;
  115. bottom:80px;
  116. z-index: 1000;
  117. background: #fff;
  118. width: 100%;
  119. }
  120. .autocomplete-suggestion {
  121. padding: 8px;
  122. cursor: pointer;
  123. }
  124. .autocomplete-suggestion:hover {
  125. background: #f0f0f0;
  126. }
  127. #fixed_button{
  128. /* padding-left: 1.5rem;
  129. padding-right: 1.5rem; */
  130. position: fixed;
  131. bottom:5px;
  132. width: 95%;
  133. left: 25px;
  134. padding: 1rem;
  135. }
  136. #recording_block{
  137. position: fixed;
  138. bottom:5px;
  139. width: 95%;
  140. left: 25px;
  141. padding: 1rem;
  142. z-index: 99;
  143. }
  144. #fixed_button .input-group{
  145. /* background: #fff; */
  146. padding: 1.5rem 1rem;
  147. }
  148. .scrollable-div {
  149. height: 200px; /* 設置高度 */
  150. overflow: auto; /* 設置溢出時顯示滾動條 */
  151. padding: 10px; /* 加上內邊距 */
  152. }
  153. .setting_button_content{
  154. }
  155. .setting_button{
  156. position: fixed;
  157. top:300px;
  158. right:10px;
  159. cursor: pointer;
  160. background: #00448F;
  161. color:#fff;
  162. padding: 10px;
  163. }
  164. .setting_button_content{
  165. writing-mode: vertical-rl; /* 垂直书写模式,从右到左 */
  166. /* 文字竖直排列 */
  167. }
  168. .show {
  169. right: 0px; /* 显示侧边栏 */
  170. }
  171. .hidden {
  172. display: none; /* 隐藏侧边栏 */
  173. }
  174. #style_setting,#style_setting_table {
  175. position: fixed;
  176. top: 78px;
  177. right: 10px;
  178. width: 450px;
  179. height: 78%;
  180. overflow-y: auto;
  181. padding: 20px;
  182. }
  183. #style_setting_close,#style_setting_close_table,#style_setting_close{
  184. font-size: 20px;
  185. cursor: pointer;
  186. }
  187. .table_template{
  188. width: 80%;
  189. margin: 30px;
  190. border: 5px solid #8a8a8a; /* 使用稍微深一些的灰色 */
  191. font-size: 32px;
  192. }
  193. .table td {
  194. border: 5px solid #C0C5CC;
  195. }
  196. .table thead {
  197. background: radial-gradient(circle, rgb(91, 84, 136) 0%, rgba(204, 204, 255, 0.5) 100%);
  198. color:#fff;
  199. text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  200. }
  201. .year-class{
  202. background: rgb(3, 74, 128);
  203. color:#fff;
  204. font-family: "Noto Sans TC", sans-serif;
  205. font-optical-sizing: auto;
  206. font-weight: 900;
  207. font-style: normal;
  208. width: 40%;
  209. }
  210. .average-class{
  211. /* background: linear-gradient(to right, rgb(168, 205, 235), white); */
  212. background: radial-gradient(circle, white 10%, rgb(168, 205, 235) 80%);
  213. color:#912B2B;
  214. font-weight: 900;
  215. font-family: "Noto Sans TC", sans-serif;
  216. font-optical-sizing: auto;
  217. font-weight: 900;
  218. font-style: normal;
  219. width: 60%;
  220. }
  221. .img_box{
  222. position: absolute;
  223. bottom: 91px;
  224. right: 36px;
  225. }
  226. #img_box_url{
  227. width: 150px;
  228. height: auto;
  229. }
  230. #chart-label {
  231. position: absolute;
  232. top: -20px; /* 调整标签位置 */
  233. left: 0;
  234. color: #fff;
  235. background-color: rgba(0, 0, 0, 0.5); /* 标签背景颜色 */
  236. padding: 5px 10px;
  237. border-radius: 5px;
  238. }
  239. .outlabeled_img{
  240. width: 700px;
  241. height: auto;
  242. }
  243. #downloadButton{
  244. display: none;
  245. }
  246. #logout{
  247. cursor: pointer;
  248. }
  249. .microphone{
  250. /* margin-top: 1rem; */
  251. cursor: pointer;
  252. transition: 0.3s;
  253. }
  254. .microphone:hover{
  255. opacity: 0.8;
  256. }
  257. .speechToText{
  258. background: none;
  259. border: none;
  260. }
  261. .circle-div {
  262. width: 100px;
  263. height: 100px;
  264. border-radius: 50%;
  265. display: flex;
  266. justify-content: center;
  267. align-items: center;
  268. background-color: #4CAF50;
  269. overflow: hidden;
  270. cursor: pointer;
  271. transition: 0.3s;
  272. }
  273. .circle-div:hover{
  274. opacity: 0.8;
  275. }
  276. .circle-div img {
  277. width: 50%;
  278. height: 50%;
  279. }
  280. .recording{
  281. font-size: 32px;
  282. }
  283. #stop{
  284. background: none;
  285. border:none;
  286. }