ao.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  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: #fcfcfce1;
  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{
  32. color: var(--text_color) !important;
  33. border: 1px solid var(--text_color_secondary);
  34. }
  35. body.darkTheme .ui.basic.button:hover{
  36. background-color: var(--body_background_active) !important;
  37. }
  38. body.darkTheme span:not(.ui.message *):not(.ui.label *):not(.ui.dropdown *),
  39. body.darkTheme div:not(.ui.message *):not(.ui.label *):not(.ui.dropdown *),
  40. body.darkTheme p:not(.ui.message *):not(.ui.label *):not(.ui.dropdown *),
  41. body.darkTheme i:not(.ui.message *):not(.ui.label *):not(.ui.dropdown *){
  42. color: var(--text_color);
  43. }
  44. body.darkTheme .ui.header .sub.header{
  45. color: var(--text_color_secondary);
  46. }
  47. /* floatWindow CSS */
  48. .floatWindow{
  49. position:fixed;
  50. width:1024px;
  51. height:520px;
  52. left:0px;
  53. top:0px;
  54. border-radius: 6px;
  55. }
  56. .floatWindow .controls .title{
  57. color:white;
  58. display: inline-block;
  59. position:absolute;
  60. left:40.5px;
  61. top:5px;
  62. max-width: calc(100% - 140px);
  63. white-space: nowrap;
  64. overflow: hidden;
  65. text-overflow: ellipsis;
  66. }
  67. .floatWindow .controls .moduleicon{
  68. height:18px;
  69. width:18px;
  70. margin-top:6px;
  71. margin-left:12.5px;
  72. display: inline-block;
  73. }
  74. .floatWindow .controls{
  75. position:absolute;
  76. top:0px;
  77. left:0px;
  78. width: 100%;
  79. height:30px;
  80. padding-bottom:2px;
  81. user-select: none;
  82. border-radius: 6px 6px 0px 0px;
  83. }
  84. .floatWindow .iframewrapper{
  85. position:absolute;
  86. top: 30px;
  87. width:100%;
  88. height: calc(100% - 30px);
  89. border-left: 3px solid #37393e;
  90. border-right: 3px solid #37393e;
  91. border-bottom: 3px solid #37393e;
  92. border-radius: 0px 0px 6px 6px;
  93. }
  94. .floatWindow .iframewrapper .iframecover{
  95. position:absolute;
  96. top:0px;
  97. left:0px;
  98. width:100%;
  99. height:100%;
  100. display:none;
  101. }
  102. .floatWindow .iframewrapper iframe{
  103. height:100%;
  104. width:100%;
  105. overflow:hidden;
  106. position:absolute;
  107. top:0px;
  108. left:0px;
  109. border-radius: 0px 0px 6px 6px;
  110. }
  111. .floatWindow .fwcontrol .buttons:hover{
  112. background-color: rgba(224, 224, 224,0.75);
  113. }
  114. .floatWindow .fwcontrol .buttons.close{
  115. border-top-right-radius: 6px !important;
  116. }
  117. .floatWindow .fwcontrol .buttons.close:hover{
  118. background-color: rgba(232,142,142,0.7);
  119. }
  120. @supports (backdrop-filter: none) {
  121. .floatWindow{
  122. box-shadow: rgb(61, 61, 61) 1px 1px 4px;
  123. }
  124. .floatWindow .controls {
  125. background-color:var(--default_fw_theme);
  126. backdrop-filter: blur(5px);
  127. }
  128. .floatWindow .controls .title{
  129. color: white;
  130. }
  131. .floatWindow .iframewrapper{
  132. border-left: 3px solid var(--default_fw_theme);;
  133. border-right: 3px solid var(--default_fw_theme);;
  134. border-bottom: 3px solid var(--default_fw_theme);;
  135. backdrop-filter: blur(5px);
  136. }
  137. .floatWindow .fwcontrol .buttons:hover{
  138. background-color: rgba(224, 224, 224,.3);
  139. }
  140. /*
  141. White theme
  142. */
  143. .floatWindow.white{
  144. /* Updates 27-12-2020: Added box shadow and transparent boarder under backdrop filter mode*/
  145. box-shadow: rgb(61, 61, 61) 1px 1px 4px;
  146. }
  147. .floatWindow.white .controls {
  148. background-color:rgba(255,255,255, 0.85);
  149. backdrop-filter: blur(5px);
  150. }
  151. .floatWindow.white .controls .title{
  152. font-weight: 130%;
  153. color: rgb(20, 20, 20);
  154. padding-right: 12.5px;
  155. }
  156. .floatWindow.white .iframewrapper{
  157. border-left: 3px solid rgba(255,255,255,0.6);
  158. border-right: 3px solid rgba(255,255,255,0.6);;
  159. border-bottom: 3px solid rgba(255,255,255,0.6);;
  160. backdrop-filter: blur(5px);
  161. }
  162. .floatWindow.white .fwcontrol .buttons:hover{
  163. background-color: rgba(180, 180, 180,1);
  164. }
  165. .floatWindow.white .fwcontrol .buttons.close:hover{
  166. background-color: rgba(232,142,142,0.7);
  167. }
  168. }
  169. .floatWindow .fwcontrol{
  170. position:absolute;
  171. top:0px;
  172. right:0px;
  173. display: inline-block;
  174. }
  175. .floatWindow .fwcontrol .buttons{
  176. vertical-align: top;
  177. padding-top:5px;
  178. padding-bottom:2px;
  179. padding-left:10px;
  180. padding-right:10px;
  181. display: inline-block;
  182. height:30px !important;
  183. color:white;
  184. cursor: pointer;
  185. }
  186. .floatWindow .fwcontrol .buttons img{
  187. width:18px;
  188. height:auto;
  189. }
  190. .floatWindow .iframewrapper.widthHover{
  191. cursor:w-resize;
  192. }
  193. .floatWindow .iframewrapper.rightCorner{
  194. cursor:se-resize;
  195. }
  196. .floatWindow .iframewrapper.leftCorner{
  197. cursor:sw-resize;
  198. }
  199. .floatWindow .iframewrapper.heighHover{
  200. cursor:s-resize;
  201. }
  202. .fwdragger.resizbleCursor{
  203. cursor:s-resize;
  204. }
  205. .fwdragger {
  206. --text-outline-color: rgba(36, 36, 36, 0.75);
  207. 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);
  208. }