threepipe
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

TweakpaneEditorPlugin.css 6.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. .button-bar{
  2. background: var(--tp-base-background-color);
  3. /*background: #2c2c2e99;*/
  4. /*backdrop-filter: blur(8px);*/
  5. border: 1px solid #8F949C;
  6. width: fit-content;
  7. width: -moz-fit-content;
  8. height: auto;
  9. display: flex;
  10. flex-direction: row;
  11. justify-content: center;
  12. flex-wrap: wrap;
  13. z-index: 200;
  14. padding: 0.25rem 0.5rem 0.5rem;
  15. border-radius: 0.5rem;
  16. pointer-events: auto;
  17. box-shadow: 0 2px 4px var(--tp-base-shadow-color);
  18. gap: 8px;
  19. font-size: 0.85rem;
  20. line-height: 130%;
  21. font-family: Inter, "Roboto Mono", "Source Code Pro", Menlo, Courier, monospace;
  22. opacity: 1;
  23. transition: all 0.25s;
  24. }
  25. .button-bar-button {
  26. /*background-color: var(--tp-container-background-color-active);*/
  27. background-color: transparent;
  28. cursor: pointer;
  29. /*border-radius: 0.25rem;*/
  30. width: auto;
  31. height: auto;
  32. font-weight: 400;
  33. /*overflow: hidden;*/
  34. padding: 0.35rem 0.5rem;
  35. position: relative;
  36. user-select: none;
  37. color: #cccccc;
  38. transition: color 0.25s;
  39. }
  40. .button-bar-button:hover {
  41. /*background-color: var(--tp-container-background-color-hover);*/
  42. color: #eeeeee;
  43. }
  44. .button-bar-selected {
  45. color: white;
  46. /*background-color: #2c2c2eaa;*/
  47. /*outline: 1px solid #ccccccaa;*/
  48. }
  49. .button-bar-selected-box {
  50. color: white;
  51. }
  52. /*Divider*/
  53. .button-bar > .button-bar-button:not(:last-child)::after {
  54. content: '';
  55. position: absolute;
  56. right: -5px;
  57. top: 20%;
  58. width: 2px;
  59. height: 60%;
  60. border-radius: 1px;
  61. /*background-color: #555555;*/
  62. background-color: #413762;
  63. }
  64. .button-bar-selected {
  65. /*background-color: #2c2c2eaa;*/
  66. /*outline: 1px solid #ccccccaa;*/
  67. }
  68. .button-bar-button:before {
  69. left: 50%;
  70. width: 0;
  71. content: '';
  72. position: absolute;
  73. }
  74. .button-bar-selected:before {
  75. left: 25%;
  76. width: 50%;
  77. bottom: 0;
  78. height: 2px;
  79. border-radius: 1px;
  80. background-color: #cccccc;
  81. transition: width 0.25s, left 0.25s;
  82. /*background-color: #2c2c2eaa;*/
  83. /*outline: 1px solid #ccccccaa;*/
  84. }
  85. .button-bar-selected-box {
  86. background-color: #eeeeee55;
  87. border-radius: 0.25rem;
  88. transition: all 0.25s;
  89. }
  90. .round-button{
  91. width: 1rem;
  92. height: 1rem;
  93. padding: 0.6rem;
  94. background-color: var(--tp-base-background-color);
  95. border-radius: 1.2rem;
  96. color: #cccccc;
  97. cursor: pointer;
  98. box-shadow: 0 2px 4px var(--tp-base-shadow-color);
  99. transition: all 0.25s;
  100. }
  101. .round-button:hover{
  102. color: white;
  103. }
  104. .util-buttons-container{
  105. bottom: 1.25rem;
  106. right: 1.25rem;
  107. position: absolute;
  108. gap: 8px;
  109. padding: 0.25rem;
  110. }
  111. .util-button{
  112. position: relative;
  113. width: auto;
  114. height: 1.2rem;
  115. }
  116. .mode-buttons-container{
  117. border-top: 0;
  118. top: 0;
  119. left: 0;
  120. right: 0;
  121. margin-left: auto;
  122. margin-right: auto;
  123. position: absolute;
  124. min-width: 6rem;
  125. border-radius: 0 0 0.5rem 0.5rem;
  126. gap: 8px;
  127. }
  128. .mode-button {
  129. font-weight: 400;
  130. }
  131. .mode-button:hover {
  132. /*background-color: var(--tp-container-background-color-hover);*/
  133. }
  134. #webgi-logo{
  135. background-image: url("https://static.webgi.xyz/logo.svg");
  136. background-size: contain;
  137. background-repeat: no-repeat;
  138. background-position: center;
  139. bottom: 1.25rem;
  140. left: 1rem;
  141. z-index: 100;
  142. width: 8rem;
  143. height: 2.5rem;
  144. position: absolute;
  145. cursor: pointer;
  146. /*background-color: white;*/
  147. /*border-radius: 1.25rem;*/
  148. }
  149. #webgi-logo:hover{
  150. filter: grayscale(100%);
  151. }
  152. #fsToggle{
  153. position: absolute;
  154. right: 1.25rem;
  155. top: 1.25rem;
  156. }
  157. /*#modesToggle{*/
  158. /* top: 0;*/
  159. /* left: 0;*/
  160. /* width: auto;*/
  161. /* height: auto;*/
  162. /* padding: 0.5rem;*/
  163. /* position: absolute;*/
  164. /* border-radius: 0.375rem;*/
  165. /* color: white;*/
  166. /* z-index: 250;*/
  167. /* font-weight: 400;*/
  168. /* background: var(--tp-base-background-color);*/
  169. /* font-size: 0.75rem;*/
  170. /* cursor: pointer;*/
  171. /* user-select: none;*/
  172. /*}*/
  173. /*#modesToggle:hover{*/
  174. /* font-weight: 800;*/
  175. /*}*/
  176. /*.hidden{*/
  177. /* visibility: hidden;*/
  178. /* opacity: 0;*/
  179. /*}*/
  180. #assetManagerPopup {
  181. position: absolute;
  182. margin: auto;
  183. left: 0;
  184. right: 0;
  185. top: 0;
  186. bottom: 0;
  187. color: white;
  188. padding: 1.5rem;
  189. font-size: 0.85rem;
  190. overflow-y: scroll;
  191. background-color: var(--tp-base-background-color);
  192. }
  193. ::-webkit-scrollbar
  194. {
  195. width: 8px; /* for vertical scrollbars */
  196. height: 8px; /* for horizontal scrollbars */
  197. }
  198. ::-webkit-scrollbar-track
  199. {
  200. background: #28223Ccc !important;
  201. border-radius: 6px;
  202. }
  203. ::-webkit-scrollbar-thumb
  204. {
  205. background: #ffffff66;
  206. border-radius: 6px;
  207. }
  208. ::-webkit-scrollbar-corner {background: rgba(0,0,0,0.5);}
  209. .tippy-box[data-theme~='editor']{
  210. margin: 0.25rem !important;
  211. background-color: var(--tp-base-background-color) !important;
  212. font-size: 0.8rem !important;
  213. color: #dddddd !important;
  214. }
  215. #tweakpaneUiContainer {
  216. margin-top: 7.5rem;
  217. }
  218. @media only screen and (min-width: 480px) {
  219. #tweakpaneUiContainer {
  220. margin-top: 5.5rem;
  221. }
  222. }
  223. @media only screen and (max-width: 920px) {
  224. #tweakpaneUiContainer {
  225. height: calc(100% - 12.5rem) !important;
  226. max-height: calc(100% - 12.5rem) !important;
  227. }
  228. }
  229. #mcanvas {
  230. width: 100%;
  231. height: 100%;
  232. max-width: 100%;
  233. max-height: 100%;
  234. /*touch-action: none;*/
  235. z-index: -1;
  236. /*pointer-events: none; // dont */
  237. display: block;
  238. }
  239. #canvas-container {
  240. width: 100%;
  241. height: 100%;
  242. position: fixed;
  243. top: 0;
  244. z-index: 5;
  245. display: flex;
  246. justify-content: center;
  247. align-items: center;
  248. }
  249. @media only screen and (min-width: 920px) {
  250. #canvas-container {
  251. width: calc(100% - 3.5rem - max(var(--tweakpane-ui-container-width, 300px), 3rem)) !important;
  252. height: calc(100% - 5rem);
  253. margin: 3.5rem 1.5rem 1.5rem 1.5rem !important;
  254. border-radius: 0.5rem;
  255. box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
  256. }
  257. #mcanvas{
  258. border-radius: 0.5rem;
  259. }
  260. #tweakpaneUiContainer {
  261. margin-top: 2.5rem !important;
  262. }
  263. }
  264. body {
  265. background-color: #D1D4E7;
  266. }
  267. html, body {
  268. overflow: hidden;
  269. width: 100%;
  270. height: 100%;
  271. margin: 0;
  272. padding: 0;
  273. display: block;
  274. font-family: 'Inter', sans-serif !important;
  275. }
  276. .font-inter {
  277. font-family: 'Inter', sans-serif !important;
  278. }
  279. .font-gilroy {
  280. font-family: 'Gilroy', sans-serif !important;
  281. }