ao.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. h1, h2, h3, p, span, div { font-family: "Microsoft JhengHei","SimHei", "Apple LiGothic Medium", "STHeiti"}
  2. .ts.primary.button{
  3. background-color:#4287f5;
  4. border: 1px solid transparent;
  5. }
  6. .ts.primary.button:hover{
  7. background-color:#3570cf !important;
  8. }
  9. /* floatWindow CSS */
  10. .floatWindow{
  11. position:fixed;
  12. width:1024px;
  13. height:520px;
  14. left:0px;
  15. top:0px;
  16. border-radius: 6px;
  17. }
  18. .floatWindow .controls .title{
  19. color:white;
  20. display: inline-block;
  21. position:absolute;
  22. left:30px;
  23. top:3px;
  24. max-width:70%;
  25. white-space: nowrap;
  26. overflow: hidden;
  27. text-overflow: ellipsis;
  28. }
  29. .floatWindow .controls .moduleicon{
  30. height:75%;
  31. width:auto;
  32. margin-top:4px;
  33. margin-left:8px;
  34. display: inline-block;
  35. }
  36. .floatWindow .controls{
  37. position:absolute;
  38. top:0px;
  39. left:0px;
  40. width: 100%;
  41. height:22px;
  42. padding-bottom:2px;
  43. user-select: none;
  44. border-radius: 6px 6px 0px 0px;
  45. }
  46. .floatWindow .iframewrapper{
  47. position:absolute;
  48. top: 22px;
  49. width:100%;
  50. height: calc(100% - 22px);
  51. border-left: 3px solid #37393e;
  52. border-right: 3px solid #37393e;
  53. border-bottom: 3px solid #37393e;
  54. border-radius: 0px 0px 6px 6px;
  55. }
  56. .floatWindow .iframewrapper .iframecover{
  57. position:absolute;
  58. top:0px;
  59. left:0px;
  60. width:100%;
  61. height:100%;
  62. display:none;
  63. }
  64. .floatWindow .iframewrapper iframe{
  65. height:100%;
  66. width:100%;
  67. overflow:hidden;
  68. position:absolute;
  69. top:0px;
  70. left:0px;
  71. border-radius: 0px 0px 6px 6px;
  72. }
  73. .floatWindow .fwcontrol .buttons:hover{
  74. background-color: rgba(224, 224, 224,0.3);
  75. }
  76. .floatWindow .fwcontrol .buttons.close:hover{
  77. background-color: rgba(232,142,142,0.7);
  78. }
  79. @supports (backdrop-filter: none) {
  80. .floatWindow{
  81. box-shadow: rgb(61, 61, 61) 1px 1px 4px;
  82. }
  83. .floatWindow .controls {
  84. background-color:rgba(26, 26, 26, 0.85);
  85. backdrop-filter: blur(5px);
  86. }
  87. .floatWindow .controls .title{
  88. color: white;
  89. }
  90. .floatWindow .iframewrapper{
  91. border-left: 3px solid transparent;
  92. border-right: 3px solid transparent;
  93. border-bottom: 3px solid transparent;
  94. backdrop-filter: blur(5px);
  95. }
  96. .floatWindow .fwcontrol .buttons:hover{
  97. background-color: rgba(224, 224, 224,.3);
  98. }
  99. /*
  100. White theme
  101. */
  102. .floatWindow.white{
  103. /* Updates 27-12-2020: Added box shadow and transparent boarder under backdrop filter mode*/
  104. box-shadow: rgb(61, 61, 61) 1px 1px 4px;
  105. }
  106. .floatWindow.white .controls {
  107. background-color:rgba(255,255,255, 0.85);
  108. backdrop-filter: blur(5px);
  109. }
  110. .floatWindow.white .controls .title{
  111. font-weight: 130%;
  112. color: rgb(20, 20, 20);
  113. padding-right: 3px;
  114. }
  115. .floatWindow.white .iframewrapper{
  116. border-left: 3px solid rgba(255,255,255,0.6);
  117. border-right: 3px solid rgba(255,255,255,0.6);;
  118. border-bottom: 3px solid rgba(255,255,255,0.6);;
  119. backdrop-filter: blur(5px);
  120. }
  121. .floatWindow.white .fwcontrol .buttons:hover{
  122. background-color: rgba(180, 180, 180,1);
  123. }
  124. .floatWindow.white .fwcontrol .buttons.close:hover{
  125. background-color: rgba(232,142,142,0.7);
  126. }
  127. }
  128. .floatWindow .fwcontrol{
  129. position:absolute;
  130. top:0px;
  131. right:5px;
  132. display: inline-block;
  133. }
  134. .floatWindow .fwcontrol .buttons{
  135. vertical-align: top;
  136. padding-top:2px;
  137. padding-bottom:2px;
  138. padding-left:6px;
  139. padding-right:6px;
  140. display: inline-block;
  141. height:23px !important;
  142. color:white;
  143. cursor: pointer;
  144. }
  145. .floatWindow .fwcontrol .buttons img{
  146. width:18px;
  147. height:auto;
  148. }
  149. .floatWindow .iframewrapper.widthHover{
  150. cursor:w-resize;
  151. }
  152. .floatWindow .iframewrapper.rightCorner{
  153. cursor:se-resize;
  154. }
  155. .floatWindow .iframewrapper.leftCorner{
  156. cursor:sw-resize;
  157. }
  158. .floatWindow .iframewrapper.heighHover{
  159. cursor:s-resize;
  160. }