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

TweakpaneEditorPlugin.css 7.5KB

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