All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1077 lines
24 KiB

  1. /* ---------------------------------------- */
  2. /* Pop-up Settings */
  3. /* ---------------------------------------- */
  4. .token-variants-popup-settings header.table-header {
  5. background: rgba(0, 0, 0, 0.5);
  6. padding: 5px;
  7. border: 1px solid #191813;
  8. text-align: center;
  9. color: #f0f0e0;
  10. font-weight: bold;
  11. text-shadow: 1px 1px #000;
  12. }
  13. .token-variants-popup-settings li.setting .form-fields {
  14. display: flex;
  15. justify-content: space-around;
  16. }
  17. .token-variants-popup-settings ul.setting-list {
  18. list-style: none;
  19. margin: 0;
  20. padding: 0;
  21. max-height: 400px;
  22. overflow: hidden auto;
  23. scrollbar-width: thin;
  24. }
  25. .token-variants-config-control {
  26. background: rgba(0, 0, 0, 0.4);
  27. padding: 2px;
  28. border: 1px solid #191813;
  29. color: #f0f0e0;
  30. font-weight: bold;
  31. text-shadow: 1px 1px #000;
  32. }
  33. /**
  34. * Role Permission Configuration Form
  35. */
  36. .token-variants-permissions header.table-header {
  37. background: rgba(0, 0, 0, 0.5);
  38. padding: 5px;
  39. border: 1px solid #191813;
  40. text-align: center;
  41. color: #f0f0e0;
  42. font-weight: bold;
  43. text-shadow: 1px 1px #000;
  44. }
  45. .token-variants-permissions ul.permissions-list {
  46. list-style: none;
  47. margin: 0;
  48. padding: 0;
  49. max-height: 400px;
  50. overflow: hidden auto;
  51. scrollbar-width: thin;
  52. }
  53. .token-variants-permissions li.permission {
  54. padding: 5px;
  55. border-bottom: 1px solid #7a7971;
  56. }
  57. .token-variants-permissions li.permission .form-fields {
  58. justify-content: space-around;
  59. }
  60. .token-variants-permissions li.permission input[type='checkbox'] {
  61. margin: 0;
  62. }
  63. .token-variants-permissions li.permission button {
  64. order: 0;
  65. }
  66. .token-variants-permissions .index {
  67. flex: 0 0 200px;
  68. text-align: left;
  69. font-weight: bold;
  70. }
  71. .token-variants-permissions .hint {
  72. flex: 0 0 100%;
  73. color: #4b4a44;
  74. font-size: 13px;
  75. margin: 5px 0 0;
  76. }
  77. /**
  78. * User List Configuration Form
  79. */
  80. #token-variants-user-list header.table-header {
  81. background: rgba(0, 0, 0, 0.5);
  82. padding: 5px;
  83. border: 1px solid #191813;
  84. text-align: center;
  85. color: #f0f0e0;
  86. font-weight: bold;
  87. text-shadow: 1px 1px #000;
  88. }
  89. #token-variants-user-list ul {
  90. list-style: none;
  91. margin: 0;
  92. padding: 0;
  93. max-height: 400px;
  94. overflow: hidden auto;
  95. scrollbar-width: thin;
  96. }
  97. #token-variants-user-list li {
  98. border-bottom: 1px solid #7a7971;
  99. text-align: left;
  100. }
  101. #token-variants-user-list li .form-fields {
  102. justify-content: space-around;
  103. text-align: left;
  104. }
  105. #token-variants-user-list li input[type='checkbox'] {
  106. margin: 0;
  107. }
  108. #token-variants-user-list .index {
  109. flex: 0 0 40px;
  110. text-align: left;
  111. font-weight: bold;
  112. }
  113. #token-variants-user-list .hint {
  114. flex: 0 0 100%;
  115. color: #4b4a44;
  116. font-size: 13px;
  117. margin: 5px 0 0;
  118. }
  119. /**
  120. * Config Settings
  121. */
  122. .tva-setting-nav {
  123. display: flex;
  124. flex-flow: wrap;
  125. height: 64px !important;
  126. margin-bottom: 10px !important;
  127. }
  128. .tva-setting-nav hr {
  129. width: 100%;
  130. flex-basis: 100%;
  131. height: 0;
  132. margin: 0;
  133. border: 0;
  134. }
  135. /* ---------------------------------------- */
  136. /* Art Select Sheet */
  137. /* ---------------------------------------- */
  138. .token-variants-grid {
  139. display: grid;
  140. grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  141. grid-gap: 0.5rem;
  142. text-align: center;
  143. }
  144. .token-variants-grid > div {
  145. display: grid;
  146. }
  147. .token-variants-grid > div > .token-variants-grid-box,
  148. .token-variants-grid > div > .token-variants-grid-image {
  149. grid-area: 1 / 1 / 2 / 2;
  150. }
  151. .token-variants-grid > div > .token-variants-grid-box {
  152. content: '';
  153. padding-bottom: 100%;
  154. display: block;
  155. border-style: solid;
  156. border-width: 1px;
  157. }
  158. .token-variants-grid > div > .token-variants-grid-box.selected {
  159. border-color: lime;
  160. border-width: 2px;
  161. }
  162. .token-variants-grid-image {
  163. max-width: 98%;
  164. max-height: 113px;
  165. border: none;
  166. display: block;
  167. margin: auto;
  168. pointer-events: none;
  169. }
  170. .token-variants-grid > div > .fa-play {
  171. display: inline-block;
  172. position: relative;
  173. grid-area: 1 / 1 / 2 / 2;
  174. left: -38%;
  175. top: 80%;
  176. pointer-events: none;
  177. }
  178. .token-variants-grid > div > .fa-cog {
  179. display: inline-block;
  180. position: relative;
  181. grid-area: 1 / 1 / 2 / 2;
  182. left: 38%;
  183. top: 6px;
  184. color: rgb(182, 182, 121);
  185. opacity: 0;
  186. pointer-events: none;
  187. }
  188. .token-variants-grid > div > .fa-cog.active {
  189. opacity: 1;
  190. }
  191. .token-variants-grid > div > .token-variants-grid-box:hover {
  192. box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
  193. }
  194. .token-variants-grid > div > p {
  195. overflow: auto;
  196. white-space: nowrap;
  197. }
  198. .token-variants-grid > div > p.token-variants-grid-image {
  199. white-space: normal;
  200. overflow-wrap: break-word;
  201. }
  202. .token-variants-grid > div > span {
  203. white-space: nowrap;
  204. }
  205. .token-variants-grid > div > p > mark {
  206. background-color: initial;
  207. font-weight: bold;
  208. color: rgba(255, 0, 0, 0.6);
  209. }
  210. .token-variants-grid .token-variants-unrecognised {
  211. border-color: red;
  212. }
  213. .token-variants-portrait-token > div {
  214. max-width: 80px;
  215. margin: auto;
  216. padding-bottom: 5px;
  217. color: green;
  218. font-weight: bold;
  219. }
  220. .token-variants-portrait-token.item {
  221. float: left;
  222. margin-right: 15px;
  223. }
  224. .token-variants-portrait-token > div > .image.active {
  225. box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
  226. }
  227. .token-variants-banner > div > input {
  228. text-align: center;
  229. }
  230. .token-variants-banner > .item-description {
  231. overflow: hidden;
  232. }
  233. .token-variants-banner > .item-description > .item-description-content {
  234. overflow: scroll;
  235. max-height: 200px;
  236. }
  237. .token-variants-banner {
  238. position: sticky;
  239. top: 0;
  240. padding-bottom: 10px;
  241. padding-top: 10px;
  242. background: inherit;
  243. top: -8px;
  244. }
  245. /* ---------------------------------------- */
  246. /* General */
  247. /* ---------------------------------------- */
  248. input[type='range'] + .token-variants-range-value {
  249. display: block;
  250. flex: 0 1 48px;
  251. text-align: center;
  252. border: 1px solid #b5b3a4;
  253. padding: 2px;
  254. margin-left: 10px;
  255. }
  256. /* ---------------------------------------- */
  257. /* Search Paths */
  258. /* ---------------------------------------- */
  259. ol.token-variant-table textarea {
  260. resize: none;
  261. min-height: 44px;
  262. }
  263. ol.token-variant-table {
  264. list-style: none;
  265. margin: 0;
  266. padding: 0;
  267. max-height: 600px;
  268. overflow-y: auto;
  269. }
  270. ol.token-variant-table .table-row {
  271. padding: 2px 0;
  272. border-top: 1px solid transparent;
  273. border-bottom: 1px solid transparent;
  274. }
  275. ol.token-variant-table .table-row input[type='text'] {
  276. width: 100%;
  277. height: 28px;
  278. }
  279. ol.token-variant-table .table-row input[type='checkbox'] {
  280. width: 100%;
  281. margin-top: 7px;
  282. }
  283. ol.token-variant-table .table-row > div {
  284. line-height: 36px;
  285. margin-right: 5px;
  286. }
  287. ol.token-variant-table .table-row .path-image {
  288. flex: 0 0 36px;
  289. width: 36px;
  290. height: 36px;
  291. text-align: center;
  292. margin: 0;
  293. }
  294. ol.token-variant-table .table-row .path-image img {
  295. border: none;
  296. object-fit: cover;
  297. object-position: 50% 0;
  298. }
  299. ol.token-variant-table .table-row .path-source {
  300. flex: 0.2;
  301. }
  302. ol.token-variant-table .table-row .path-text {
  303. flex: 1;
  304. }
  305. ol.token-variant-table .table-row .path-cache,
  306. ol.token-variant-table .table-row .path-category,
  307. ol.token-variant-table .table-row .path-config {
  308. flex: 0 0 50px;
  309. text-align: center;
  310. }
  311. ol.token-variant-table .table-row .path-config .select-config.active {
  312. color: orange;
  313. }
  314. ol.token-variant-table .table-row .path-share {
  315. flex: 0 0 50px;
  316. text-align: center;
  317. }
  318. ol.token-variant-table .table-row .path-controls,
  319. ol.token-variant-table .table-row .mapping-controls,
  320. ol.token-variant-table .table-row .imgur-control,
  321. ol.token-variant-table .table-row .json-control {
  322. flex: 0 0 44px;
  323. margin: 0;
  324. text-align: center;
  325. }
  326. ol.token-variant-table .table-row .imgur-control,
  327. ol.token-variant-table .table-row .json-control {
  328. display: none;
  329. }
  330. ol.token-variant-table .table-row .imgur-control.active,
  331. ol.token-variant-table .table-row .json-control.active {
  332. display: block;
  333. }
  334. ol.token-variant-table .table-row .path-controls i,
  335. ol.token-variant-table .table-row .mapping-controls i,
  336. ol.token-variant-table .table-row .imgur-control i,
  337. ol.token-variant-table .table-row .json-control i {
  338. width: 20px;
  339. }
  340. ol.token-variant-table .table-header {
  341. background: rgba(0, 0, 0, 0.05);
  342. border: 1px solid #7a7971;
  343. line-height: 24px;
  344. font-weight: bold;
  345. }
  346. ol.token-variant-table .group-title {
  347. background: rgba(0, 0, 0, 0.15);
  348. border: 1px solid #7a7971;
  349. line-height: 11px;
  350. font-weight: bold;
  351. margin-top: 5px;
  352. margin-left: 5px;
  353. margin-right: 5px;
  354. }
  355. ol.token-variant-table .group-title > p {
  356. margin-left: 6px;
  357. }
  358. ol.token-variant-table .group-disable {
  359. flex: 0.1;
  360. text-align: right;
  361. margin-right: 16px;
  362. margin-top: 7px;
  363. color: red;
  364. }
  365. ol.token-variant-table .group-disable.active {
  366. color: green;
  367. }
  368. ol.token-variant-table .group-toggle {
  369. flex: 0.11;
  370. text-align: right;
  371. margin-right: 10px;
  372. margin-top: 7px;
  373. }
  374. ol.token-variant-table .group-toggle.global {
  375. flex: 0.179;
  376. text-align: right;
  377. margin-right: 10px;
  378. margin-top: 7px;
  379. }
  380. ol.token-variant-table .group-toggle a.active {
  381. transform: rotate(180deg);
  382. }
  383. /* ---------------------------------------- */
  384. /* Mapping Config List */
  385. /* ---------------------------------------- */
  386. ol.token-variant-table .table-row .mapping-priority {
  387. flex: 0.1;
  388. }
  389. ol.token-variant-table .table-row .mapping-label {
  390. flex: 0.4;
  391. }
  392. ol.token-variant-table .table-row .mapping-target {
  393. flex: 0.12;
  394. text-align: center;
  395. }
  396. ol.token-variant-table .table-row .mapping-group {
  397. flex: 0.2;
  398. text-align: center;
  399. }
  400. ol.token-variant-table .table-row .mapping-group > input {
  401. width: 80px;
  402. }
  403. ol.token-variant-table .table-row .mapping-image {
  404. flex: 0.2;
  405. text-align: center;
  406. }
  407. ol.token-variant-table .table-row .mapping-config {
  408. flex: 0.12;
  409. text-align: center;
  410. }
  411. ol.token-variant-table .table-row .mapping-overlay {
  412. flex: 0.2;
  413. text-align: center;
  414. }
  415. ol.token-variant-table .table-row .mapping-overlay > input {
  416. vertical-align: top;
  417. width: 36%;
  418. }
  419. ol.token-variant-table .table-row .mapping-overlay > a {
  420. vertical-align: middle;
  421. }
  422. ol.token-variant-table .table-row .mapping-overlay > a.child {
  423. color: rgb(252, 30, 252);
  424. }
  425. ol.token-variant-table .table-row.child {
  426. padding-left: 5px;
  427. border-left: 2px solid rgb(252, 30, 252);
  428. }
  429. ol.token-variant-table .table-row .mapping-alwaysOn {
  430. flex: 0 0 80px;
  431. text-align: center;
  432. }
  433. ol.token-variant-table .table-row .mapping-disable {
  434. flex: 0 0 60px;
  435. text-align: center;
  436. }
  437. ol.token-variant-table .table-row .mapping-config i.active {
  438. color: orange;
  439. }
  440. ol.token-variant-table .table-row .mapping-config.active {
  441. color: orange;
  442. }
  443. ol.token-variant-table .table-row .mapping-config-edit.active {
  444. color: orange;
  445. }
  446. ol.token-variant-table .table-row .mapping-expression {
  447. flex: 0.5;
  448. margin-top: 5px;
  449. }
  450. ol.token-variant-table .table-row .mapping-expression .div-input span {
  451. color: green;
  452. }
  453. ol.token-variant-table .table-row .mapping-expression .div-input.hidden {
  454. display: none;
  455. }
  456. ol.token-variant-table .table-row .mapping-expression .div-input span.hp-expression {
  457. color: blue;
  458. }
  459. ol.token-variant-table .table-row .tokens {
  460. position: absolute;
  461. right: 8px;
  462. color: red;
  463. }
  464. /* Copied from input[type="text"] with some adjustments */
  465. ol.token-variant-table .table-row .mapping-expression .div-input {
  466. white-space: nowrap;
  467. overflow: hidden;
  468. writing-mode: horizontal-tb !important;
  469. text-rendering: auto;
  470. letter-spacing: normal;
  471. word-spacing: normal;
  472. text-transform: none;
  473. text-indent: 0px;
  474. text-shadow: none;
  475. appearance: auto;
  476. -webkit-rtl-ordering: logical;
  477. cursor: text;
  478. border-width: 2px;
  479. border-style: inset;
  480. border-image: initial;
  481. border-color: red !important;
  482. min-width: 215px;
  483. max-width: 215px;
  484. height: var(--form-field-height);
  485. background: rgba(0, 0, 0, 0.05);
  486. padding: 3px 3px;
  487. margin: 0;
  488. color: var(--color-text-dark-primary);
  489. line-height: normal;
  490. border: 1px solid var(--color-border-light-tertiary);
  491. border-radius: 3px;
  492. -webkit-user-select: text;
  493. -moz-user-select: text;
  494. -ms-user-select: text;
  495. user-select: text;
  496. }
  497. ol.token-variant-table .table-row .mapping-expression .expression-container {
  498. position: relative;
  499. }
  500. ol.token-variant-table .table-row .mapping-expression .expression-switch > i {
  501. position: absolute;
  502. right: 0;
  503. bottom: 0;
  504. color: green;
  505. }
  506. ol.token-variant-table .table-row .mapping-expression .expression-code {
  507. margin-top: -5px;
  508. }
  509. ol.token-variant-table .table-row .mapping-expression .expression-code.hidden {
  510. display: none;
  511. }
  512. #token-variants-active-effect-config .save-mappings {
  513. -webkit-transition-duration: 0.4s; /* Safari */
  514. transition-duration: 0.4s;
  515. overflow: hidden;
  516. position: relative;
  517. }
  518. #token-variants-active-effect-config .save-mappings:after {
  519. content: '';
  520. background: #ffb16e80;
  521. display: block;
  522. position: absolute;
  523. padding-top: 300%;
  524. padding-left: 350%;
  525. margin-left: -20px !important;
  526. margin-top: -120%;
  527. opacity: 0;
  528. transition: all 0.8s;
  529. }
  530. #token-variants-active-effect-config .save-mappings:active:after {
  531. padding: 0;
  532. margin: 0;
  533. opacity: 1;
  534. transition: 0s;
  535. }
  536. /* ---------------------------------------- */
  537. /* Active Effect Config */
  538. /* ---------------------------------------- */
  539. #token-variants-active-effect-config .mapping-config.active {
  540. color: orange;
  541. }
  542. /* ---------------------------------------- */
  543. /* Token HUD Settings */
  544. /* ---------------------------------------- */
  545. #tile-hud .token-variants-wrap,
  546. #token-hud .token-variants-wrap {
  547. position: absolute;
  548. left: 75px;
  549. visibility: hidden;
  550. top: 50%;
  551. transform: translate(0%, -50%);
  552. width: max-content;
  553. max-width: 350px;
  554. max-height: 350px;
  555. text-align: start;
  556. grid-template-columns: 100px 100px 100px;
  557. overflow-y: auto;
  558. }
  559. #tile-hud .token-variants-wrap.list,
  560. #token-hud .token-variants-wrap.list {
  561. grid-template-columns: unset !important;
  562. max-width: 450px;
  563. }
  564. #tile-hud .token-variants-wrap.active,
  565. #token-hud .token-variants-wrap.active {
  566. visibility: visible;
  567. }
  568. #tile-hud .token-variants-button-select,
  569. #token-hud .token-variants-button-select {
  570. max-width: 300px;
  571. overflow-wrap: break-word;
  572. padding-top: 0;
  573. padding-bottom: 0;
  574. width: max-content !important;
  575. padding: 0 !important;
  576. margin: 0 !important;
  577. line-height: 0 !important;
  578. position: relative;
  579. display: inline-block;
  580. }
  581. #tile-hud .token-variants-button-select.hide,
  582. #token-hud .token-variants-button-select.hide {
  583. display: none;
  584. }
  585. #tile-hud .token-variants-button-select .fa-share,
  586. #token-hud .token-variants-button-select .fa-share {
  587. position: absolute;
  588. left: 0;
  589. color: green;
  590. opacity: 0;
  591. pointer-events: none;
  592. }
  593. #tile-hud .token-variants-button-select .fa-cog,
  594. #token-hud .token-variants-button-select .fa-cog {
  595. position: absolute;
  596. right: 0;
  597. color: rgb(182, 182, 121);
  598. opacity: 0;
  599. pointer-events: none;
  600. }
  601. #tile-hud .token-variants-button-select .fa-play,
  602. #token-hud .token-variants-button-select .fa-play {
  603. position: absolute;
  604. left: 5px;
  605. top: 70%;
  606. color: dimgray;
  607. pointer-events: none;
  608. }
  609. #tile-hud .token-variants-button-select .fa-cog.active,
  610. #token-hud .token-variants-button-select .fa-cog.active {
  611. opacity: 1;
  612. }
  613. #tile-hud .token-variants-button-select .fa-share.active,
  614. #token-hud .token-variants-button-select .fa-share.active {
  615. opacity: 1;
  616. }
  617. #tile-hud .token-variants-context-menu,
  618. #token-hud .token-variants-context-menu {
  619. display: none;
  620. }
  621. #tile-hud .token-variants-context-menu.active,
  622. #token-hud .token-variants-context-menu.active {
  623. display: block;
  624. }
  625. #tile-hud .token-variants-context-menu > button,
  626. #token-hud .token-variants-context-menu > button {
  627. width: 48%;
  628. background-color: rgb(28, 28, 28, 0.7);
  629. color: white;
  630. border-color: black;
  631. }
  632. #tile-hud .token-variants-button-select:hover .token-variants-button-image,
  633. #token-hud .token-variants-button-select:hover .token-variants-button-image {
  634. opacity: 1 !important;
  635. }
  636. #tile-hud .token-variants-button-select.list,
  637. #token-hud .token-variants-button-select.list {
  638. max-width: 440px;
  639. width: 100% !important;
  640. margin: 8px 0px !important;
  641. line-height: 40px !important;
  642. }
  643. #tile-hud .token-variants-button-image,
  644. #token-hud .token-variants-button-image {
  645. width: 100px;
  646. height: 100px;
  647. margin: 2px;
  648. object-fit: contain;
  649. }
  650. #token-hud .token-variants-button-disabled span,
  651. #token-hud .token-variants-button-disabled img,
  652. #token-hud .token-variants-button-disabled video {
  653. opacity: 1 !important;
  654. filter: grayscale(100%);
  655. }
  656. #tile-hud .token-variants-button-disabled span,
  657. #tile-hud .token-variants-button-disabled img,
  658. #tile-hud .token-variants-button-disabled video {
  659. opacity: 1 !important;
  660. filter: grayscale(100%);
  661. }
  662. #token-hud .token-variants-button-disabled span,
  663. #token-hud .token-variants-button-disabled:hover img,
  664. #token-hud .token-variants-button-disabled:hover video {
  665. color: #ccc;
  666. }
  667. #tile-hud .token-variants-button-disabled span,
  668. #tile-hud .token-variants-button-disabled:hover img,
  669. #tile-hud .token-variants-button-disabled:hover video {
  670. color: #ccc;
  671. }
  672. .tile-sheet .token-variants-default,
  673. .token-sheet .token-variants-default {
  674. display: none;
  675. }
  676. .tile-sheet .token-variants-default.active,
  677. .token-sheet .token-variants-default.active {
  678. display: block;
  679. }
  680. /* ---------------------------------------- */
  681. /* Token Custom Config */
  682. /* ---------------------------------------- */
  683. .tva-config-checkbox {
  684. flex: 0 !important;
  685. }
  686. /* --------------------------------------- */
  687. /* JSON Edit */
  688. /* --------------------------------------- */
  689. /* .token-variants-json-edit {
  690. min-width: 360px;
  691. min-height: 320px;
  692. }
  693. .token-variants-json-edit form > * {
  694. flex: 0;
  695. }
  696. .token-variants-json-edit .form-group {
  697. flex: 1;
  698. }
  699. .token-variants-json-edit .form-group label {
  700. height: 24px;
  701. }
  702. .token-variants-json-edit textarea {
  703. height: calc(100% - 24px);
  704. height: -moz-calc(100%-100px);
  705. height: -webkit-calc(100%-100px);
  706. resize: none;
  707. } */
  708. /* ---------------------------------------- */
  709. /* Missing Image Form */
  710. /* ---------------------------------------- */
  711. #token-variants-missing-images header.table-header {
  712. background: rgba(0, 0, 0, 0.5);
  713. padding: 5px;
  714. border: 1px solid #191813;
  715. text-align: left;
  716. color: #f0f0e0;
  717. font-weight: bold;
  718. text-shadow: 1px 1px #000;
  719. }
  720. #token-variants-missing-images ul {
  721. list-style: none;
  722. margin: 0;
  723. padding: 0;
  724. max-height: 400px;
  725. overflow: hidden auto;
  726. scrollbar-width: thin;
  727. }
  728. #token-variants-missing-images li {
  729. border-bottom: 1px solid #7a7971;
  730. text-align: left;
  731. margin-top: 10px;
  732. }
  733. #token-variants-missing-images li .form-fields {
  734. justify-content: space-around;
  735. text-align: left;
  736. }
  737. #token-variants-missing-images li input[type='checkbox'] {
  738. margin: 0;
  739. }
  740. #token-variants-missing-images .index {
  741. flex: 0 0 36px;
  742. width: 36px;
  743. height: 36px;
  744. text-align: center;
  745. margin: 0;
  746. }
  747. #token-variants-missing-images .hint {
  748. flex: 0 0 100%;
  749. color: #4b4a44;
  750. font-size: 13px;
  751. margin: 5px 0 0;
  752. }
  753. #token-variants-missing-images .missing-document {
  754. flex: 0 0 110px;
  755. }
  756. #token-variants-missing-images .missing-image {
  757. flex: 0 0 50px;
  758. margin-left: 15px;
  759. }
  760. #token-variants-missing-images .missing-controls {
  761. flex: 0 0 50px;
  762. margin-left: 15px;
  763. }
  764. /* ---------------------------------------- */
  765. /* Overlay Config */
  766. /* ---------------------------------------- */
  767. .tva-overlay-form .shape-legend-input {
  768. width: 200px !important;
  769. margin-left: 15px !important;
  770. border: none !important;
  771. }
  772. .tva-overlay-form .non-empty-variables {
  773. background-color: rgb(252, 168, 138);
  774. }
  775. .tva-overlay-form .repeat-fieldset {
  776. border-style: hidden;
  777. }
  778. .tva-overlay-form .repeat-fieldset.active {
  779. border-style: inset;
  780. }
  781. .tva-overlay-form .text-field {
  782. font-family: Signika, 'FontAwesome';
  783. }
  784. .tva-overlay-form [type='range'] + .range-value {
  785. flex: 0 1 200px;
  786. }
  787. .tva-anchor {
  788. width: 100px;
  789. height: 100px;
  790. border-style: groove;
  791. margin: auto;
  792. margin-top: 15px;
  793. position: relative;
  794. }
  795. .tva-anchor input {
  796. position: absolute;
  797. }
  798. .tva-anchor .top {
  799. top: -8px;
  800. }
  801. .tva-anchor .mid {
  802. top: 38px;
  803. }
  804. .tva-anchor .bot {
  805. top: 87px;
  806. }
  807. .tva-anchor .left {
  808. left: -13px;
  809. }
  810. .tva-anchor .center {
  811. left: 35px;
  812. }
  813. .tva-anchor .right {
  814. right: -7px;
  815. }
  816. .tva-overlay-form .html-text {
  817. height: 600px;
  818. }
  819. /* ---------------------------------------- */
  820. /* Active Effect Scripts */
  821. /* ---------------------------------------- */
  822. .token-variants-macro {
  823. flex: 10;
  824. }
  825. .token-variants-macro > .form-group {
  826. height: 50%;
  827. }
  828. /* ---------------------------------------- */
  829. /* MISC. */
  830. /* ---------------------------------------- */
  831. input.tvaValid {
  832. border: 2px solid #009b00;
  833. }
  834. input.tvaInvalid {
  835. border: 2px solid #ff0000;
  836. }
  837. /* ---------------------------------------- */
  838. /* Templates */
  839. /* ---------------------------------------- */
  840. #token-variants-templates .template-list {
  841. list-style-type: none;
  842. padding: 0;
  843. margin-top: 0;
  844. overflow: auto;
  845. min-height: 350px;
  846. max-height: 700px;
  847. }
  848. #token-variants-templates .template-list li {
  849. border: 1px solid #ddd;
  850. margin-top: -1px;
  851. background-color: gray;
  852. padding: 5px;
  853. text-decoration: none;
  854. font-size: 18px;
  855. color: white;
  856. display: block;
  857. }
  858. #token-variants-templates .template-list li a {
  859. display: inline-block;
  860. max-width: 430px;
  861. }
  862. #token-variants-templates .template-list li .system {
  863. color: gold;
  864. font-size: small;
  865. }
  866. #token-variants-templates .template-list li .module {
  867. color: chartreuse;
  868. font-size: small;
  869. }
  870. #token-variants-templates .template-list li:hover:not(.header) {
  871. background-color: brown;
  872. }
  873. #token-variants-templates .template-list .createdBy {
  874. color: gold;
  875. font-size: 0.9em;
  876. }
  877. #token-variants-templates .delete,
  878. #token-variants-templates .copy {
  879. position: absolute;
  880. right: 20px;
  881. }
  882. #token-variants-templates .delete:hover,
  883. #token-variants-templates .copy:hover {
  884. color: gold;
  885. }
  886. #token-variants-templates .tooltip {
  887. position: relative;
  888. display: inline-block;
  889. border-bottom: 1px dotted black;
  890. }
  891. #token-variants-templates .tooltip .tooltiptext {
  892. visibility: hidden;
  893. max-width: 500px;
  894. background-color: rgba(38, 38, 38, 0.85);
  895. color: #fff;
  896. text-align: center;
  897. border-radius: 6px;
  898. padding: 5px 0;
  899. /* Position the tooltip */
  900. position: fixed;
  901. margin-left: 500px;
  902. z-index: 1;
  903. }
  904. #token-variants-templates .tooltip:hover .tooltiptext {
  905. visibility: visible;
  906. }
  907. #token-variants-templates .tooltip .tooltiptext img {
  908. width: 90%;
  909. max-height: 500px;
  910. margin-bottom: 5px;
  911. }
  912. #token-variants-templates .tooltip .tooltiptext .description {
  913. margin-left: 5%;
  914. margin-right: 5%;
  915. margin-bottom: 10px;
  916. margin-top: 5px;
  917. text-align: left;
  918. }
  919. /* ---------------------------------------- */
  920. /* HTML Overlay */
  921. /* ---------------------------------------- */
  922. #tva-html-overlays {
  923. position: absolute;
  924. }
  925. .tva-html-overlay {
  926. position: absolute;
  927. border-style: dashed;
  928. z-index: -50;
  929. }
  930. .tva-html-overlay form {
  931. text-align: left;
  932. padding: 5px;
  933. pointer-events: auto;
  934. }