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

TweakpaneEditorPlugin.css 6.4KB

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