ao.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. h1, h2, h3, p, span, div { font-family: "Microsoft JhengHei","SimHei", "Apple LiGothic Medium", "STHeiti"}
  2. /* General purpose theme settings */
  3. body.whiteTheme {
  4. --body_text: black;
  5. --body_background: rgb(250, 250, 250);
  6. --body_background_secondary: #fcfcfc;
  7. --body_background_active: #eeeeee;
  8. --divider: #f0f0f0;
  9. --theme_color: #92cfe7;
  10. --text_color: rgb(29, 29, 29);
  11. --text_color_secondary: rgb(139, 139, 139);
  12. --text_color_invert: rgb(182, 182, 182);
  13. --box_shadow_color: rgba(54, 54, 54, 0.35);
  14. }
  15. body.darkTheme{
  16. --body_text: rgb(236, 236, 236);
  17. --body_background: rgb(37, 37, 37);
  18. --body_background_secondary: #27292d;
  19. --body_background_active: #3d3f47;
  20. --divider: #465561;
  21. --theme_color: #6682c4;
  22. --text_color: rgb(241, 241, 241);
  23. --text_color_secondary: rgb(214, 214, 214);
  24. --text_color_invert: rgb(63, 63, 63);
  25. --box_shadow_color: rgba(54, 54, 54, 0.15);
  26. }
  27. :root{
  28. --default_fw_theme: rgba(26, 26, 26, 0.3);
  29. }
  30. /* darktheme overwrite */
  31. body.darkTheme .ui.basic.button:not(.blue):not(.yellow):not(.teal):not(.green){
  32. color: var(--text_color) !important;
  33. border: 1px solid var(--text_color_secondary);
  34. }
  35. body.darkTheme .ui.basic.blue.button{
  36. border: 1px solid var(--theme_color) !important;
  37. }
  38. body.darkTheme .ui.horizontal.label{
  39. color: var(--text_color_invert) !important;
  40. }
  41. body.darkTheme .ui.basic.button:hover{
  42. background-color: var(--body_background_active) !important;
  43. }
  44. body.darkTheme span:not(.ui.message *):not(.ui.label *):not(.ui.dropdown *),
  45. body.darkTheme div:not(.ui.message *):not(.ui.label *):not(.ui.dropdown *),
  46. body.darkTheme p:not(.ui.message *):not(.ui.label *):not(.ui.dropdown *),
  47. body.darkTheme i:not(.ui.message *):not(.ui.label *):not(.ui.dropdown *){
  48. color: var(--text_color);
  49. }
  50. body.darkTheme .ui.header .sub.header{
  51. color: var(--text_color_secondary) !important;
  52. }
  53. /* floatWindow CSS */
  54. .floatWindow{
  55. position:fixed;
  56. width:1024px;
  57. height:520px;
  58. left:0px;
  59. top:0px;
  60. border-radius: 6px;
  61. }
  62. .floatWindow .controls .title{
  63. color:white;
  64. display: inline-block;
  65. position:absolute;
  66. left:40.5px;
  67. top:5px;
  68. max-width: calc(100% - 140px);
  69. white-space: nowrap;
  70. overflow: hidden;
  71. text-overflow: ellipsis;
  72. }
  73. .floatWindow .controls .moduleicon{
  74. height:18px;
  75. width:18px;
  76. margin-top:6px;
  77. margin-left:12.5px;
  78. display: inline-block;
  79. }
  80. .floatWindow .controls{
  81. position:absolute;
  82. top:0px;
  83. left:0px;
  84. width: 100%;
  85. height:30px;
  86. padding-bottom:2px;
  87. user-select: none;
  88. border-radius: 6px 6px 0px 0px;
  89. }
  90. .floatWindow .iframewrapper{
  91. position:absolute;
  92. top: 30px;
  93. width:100%;
  94. height: calc(100% - 30px);
  95. border-left: 3px solid #37393e;
  96. border-right: 3px solid #37393e;
  97. border-bottom: 3px solid #37393e;
  98. border-radius: 0px 0px 6px 6px;
  99. }
  100. .floatWindow .iframewrapper .iframecover{
  101. position:absolute;
  102. top:0px;
  103. left:0px;
  104. width:100%;
  105. height:100%;
  106. display:none;
  107. }
  108. .floatWindow .iframewrapper iframe{
  109. height:100%;
  110. width:100%;
  111. overflow:hidden;
  112. position:absolute;
  113. top:0px;
  114. left:0px;
  115. border-radius: 0px 0px 6px 6px;
  116. }
  117. .floatWindow .fwcontrol .buttons:hover{
  118. background-color: rgba(224, 224, 224,0.75);
  119. }
  120. .floatWindow .fwcontrol .buttons.close{
  121. border-top-right-radius: 6px !important;
  122. }
  123. .floatWindow .fwcontrol .buttons.close:hover{
  124. background-color: rgba(232,142,142,0.7);
  125. }
  126. @supports (backdrop-filter: none) {
  127. .floatWindow{
  128. box-shadow: rgb(61, 61, 61) 1px 1px 4px;
  129. }
  130. .floatWindow .controls {
  131. background-color:var(--default_fw_theme);
  132. backdrop-filter: blur(5px);
  133. }
  134. .floatWindow .controls .title{
  135. color: white;
  136. }
  137. .floatWindow .iframewrapper{
  138. border-left: 3px solid var(--default_fw_theme);;
  139. border-right: 3px solid var(--default_fw_theme);;
  140. border-bottom: 3px solid var(--default_fw_theme);;
  141. backdrop-filter: blur(5px);
  142. }
  143. .floatWindow .fwcontrol .buttons:hover{
  144. background-color: rgba(224, 224, 224,.3);
  145. }
  146. /*
  147. White theme
  148. */
  149. .floatWindow.white{
  150. /* Updates 27-12-2020: Added box shadow and transparent boarder under backdrop filter mode*/
  151. box-shadow: rgb(61, 61, 61) 1px 1px 4px;
  152. }
  153. .floatWindow.white .controls {
  154. background-color:rgba(255,255,255, 0.85);
  155. backdrop-filter: blur(5px);
  156. }
  157. .floatWindow.white .controls .title{
  158. font-weight: 130%;
  159. color: rgb(20, 20, 20);
  160. padding-right: 12.5px;
  161. }
  162. .floatWindow.white .iframewrapper{
  163. border-left: 3px solid rgba(255,255,255,0.6);
  164. border-right: 3px solid rgba(255,255,255,0.6);;
  165. border-bottom: 3px solid rgba(255,255,255,0.6);;
  166. backdrop-filter: blur(5px);
  167. }
  168. .floatWindow.white .fwcontrol .buttons:hover{
  169. background-color: rgba(180, 180, 180,1);
  170. }
  171. .floatWindow.white .fwcontrol .buttons.close:hover{
  172. background-color: rgba(232,142,142,0.7);
  173. }
  174. }
  175. .floatWindow .fwcontrol{
  176. position:absolute;
  177. top:0px;
  178. right:0px;
  179. display: inline-block;
  180. }
  181. .floatWindow .fwcontrol .buttons{
  182. vertical-align: top;
  183. padding-top:5px;
  184. padding-bottom:2px;
  185. padding-left:10px;
  186. padding-right:10px;
  187. display: inline-block;
  188. height:30px !important;
  189. color:white;
  190. cursor: pointer;
  191. }
  192. .floatWindow .fwcontrol .buttons img{
  193. width:18px;
  194. height:auto;
  195. }
  196. .floatWindow .iframewrapper.widthHover{
  197. cursor:w-resize;
  198. }
  199. .floatWindow .iframewrapper.rightCorner{
  200. cursor:se-resize;
  201. }
  202. .floatWindow .iframewrapper.leftCorner{
  203. cursor:sw-resize;
  204. }
  205. .floatWindow .iframewrapper.heighHover{
  206. cursor:s-resize;
  207. }
  208. .fwdragger.resizbleCursor{
  209. cursor:s-resize;
  210. }
  211. .fwdragger {
  212. --text-outline-color: rgba(36, 36, 36, 0.75);
  213. text-shadow: 1px 0 0 var(--text-outline-color), 0 -1px 0 var(--text-outline-color), 0 1px 0 var(--text-outline-color), -1px 0 0 var(--text-outline-color);
  214. }