custom.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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. }
  135. #fixed_button .input-group{
  136. background: #fff;
  137. padding: 1.5rem 1rem;
  138. }
  139. .scrollable-div {
  140. height: 200px; /* 設置高度 */
  141. overflow: auto; /* 設置溢出時顯示滾動條 */
  142. padding: 10px; /* 加上內邊距 */
  143. }
  144. .setting_button_content{
  145. }
  146. .setting_button{
  147. position: fixed;
  148. top:300px;
  149. right:10px;
  150. cursor: pointer;
  151. background: #00448F;
  152. color:#fff;
  153. padding: 10px;
  154. }
  155. .setting_button_content{
  156. writing-mode: vertical-rl; /* 垂直书写模式,从右到左 */
  157. /* 文字竖直排列 */
  158. }
  159. .show {
  160. right: 10px; /* 显示侧边栏 */
  161. }
  162. .hidden {
  163. display: none; /* 隐藏侧边栏 */
  164. }
  165. #style_setting,#style_setting_table {
  166. position: fixed;
  167. top: 78px;
  168. right: 10px;
  169. width: 450px;
  170. height: 78%;
  171. overflow-y: auto;
  172. padding: 20px;
  173. }
  174. #style_setting_close,#style_setting_close_table{
  175. font-size: 20px;
  176. cursor: pointer;
  177. }
  178. .table_template{
  179. width: 80%;
  180. margin: 30px;
  181. border: 5px solid #8a8a8a; /* 使用稍微深一些的灰色 */
  182. font-size: 32px;
  183. }
  184. .table td {
  185. border: 5px solid #C0C5CC;
  186. }
  187. .table thead {
  188. background: radial-gradient(circle, rgb(91, 84, 136) 0%, rgba(204, 204, 255, 0.5) 100%);
  189. color:#fff;
  190. text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  191. }
  192. .year-class{
  193. background: rgb(3, 74, 128);
  194. color:#fff;
  195. font-family: "Noto Sans TC", sans-serif;
  196. font-optical-sizing: auto;
  197. font-weight: 900;
  198. font-style: normal;
  199. width: 40%;
  200. }
  201. .average-class{
  202. /* background: linear-gradient(to right, rgb(168, 205, 235), white); */
  203. background: radial-gradient(circle, white 10%, rgb(168, 205, 235) 80%);
  204. color:#912B2B;
  205. font-weight: 900;
  206. font-family: "Noto Sans TC", sans-serif;
  207. font-optical-sizing: auto;
  208. font-weight: 900;
  209. font-style: normal;
  210. width: 60%;
  211. }
  212. .img_box{
  213. position: absolute;
  214. bottom: 91px;
  215. right: 36px;
  216. }
  217. #img_box_url{
  218. width: 150px;
  219. height: auto;
  220. }
  221. #chart-label {
  222. position: absolute;
  223. top: -20px; /* 调整标签位置 */
  224. left: 0;
  225. color: #fff;
  226. background-color: rgba(0, 0, 0, 0.5); /* 标签背景颜色 */
  227. padding: 5px 10px;
  228. border-radius: 5px;
  229. }
  230. .outlabeled_img{
  231. width: 700px;
  232. height: auto;
  233. }