ao.css 4.0 KB

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