threepipe
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

TweakpaneEditorPlugin.css 7.4KB

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