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.

1043 lines
23 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 .mapping-alwaysOn {
  426. flex: 0 0 80px;
  427. text-align: center;
  428. }
  429. ol.token-variant-table .table-row .mapping-disable {
  430. flex: 0 0 60px;
  431. text-align: center;
  432. }
  433. ol.token-variant-table .table-row .mapping-config i.active {
  434. color: orange;
  435. }
  436. ol.token-variant-table .table-row .mapping-config.active {
  437. color: orange;
  438. }
  439. ol.token-variant-table .table-row .mapping-config-edit.active {
  440. color: orange;
  441. }
  442. ol.token-variant-table .table-row .mapping-expression {
  443. flex: 0.5;
  444. margin-top: 5px;
  445. }
  446. ol.token-variant-table .table-row .mapping-expression .div-input span {
  447. color: green;
  448. }
  449. ol.token-variant-table .table-row .mapping-expression .div-input.hidden {
  450. display: none;
  451. }
  452. ol.token-variant-table .table-row .mapping-expression .div-input span.hp-expression {
  453. color: blue;
  454. }
  455. ol.token-variant-table .table-row .tokens {
  456. position: absolute;
  457. right: 8px;
  458. color: red;
  459. }
  460. /* Copied from input[type="text"] with some adjustments */
  461. ol.token-variant-table .table-row .mapping-expression .div-input {
  462. white-space: nowrap;
  463. overflow: hidden;
  464. writing-mode: horizontal-tb !important;
  465. text-rendering: auto;
  466. letter-spacing: normal;
  467. word-spacing: normal;
  468. text-transform: none;
  469. text-indent: 0px;
  470. text-shadow: none;
  471. appearance: auto;
  472. -webkit-rtl-ordering: logical;
  473. cursor: text;
  474. border-width: 2px;
  475. border-style: inset;
  476. border-image: initial;
  477. border-color: red !important;
  478. min-width: 215px;
  479. max-width: 215px;
  480. height: var(--form-field-height);
  481. background: rgba(0, 0, 0, 0.05);
  482. padding: 3px 3px;
  483. margin: 0;
  484. color: var(--color-text-dark-primary);
  485. line-height: normal;
  486. border: 1px solid var(--color-border-light-tertiary);
  487. border-radius: 3px;
  488. -webkit-user-select: text;
  489. -moz-user-select: text;
  490. -ms-user-select: text;
  491. user-select: text;
  492. }
  493. ol.token-variant-table .table-row .mapping-expression .expression-container {
  494. position: relative;
  495. }
  496. ol.token-variant-table .table-row .mapping-expression .expression-switch > i {
  497. position: absolute;
  498. right: 0;
  499. bottom: 0;
  500. color: green;
  501. }
  502. ol.token-variant-table .table-row .mapping-expression .expression-code {
  503. margin-top: -5px;
  504. }
  505. ol.token-variant-table .table-row .mapping-expression .expression-code.hidden {
  506. display: none;
  507. }
  508. /* ---------------------------------------- */
  509. /* Active Effect Config */
  510. /* ---------------------------------------- */
  511. #token-variants-active-effect-config .mapping-config.active {
  512. color: orange;
  513. }
  514. /* ---------------------------------------- */
  515. /* Token HUD Settings */
  516. /* ---------------------------------------- */
  517. #tile-hud .token-variants-wrap,
  518. #token-hud .token-variants-wrap {
  519. position: absolute;
  520. left: 75px;
  521. visibility: hidden;
  522. top: 50%;
  523. transform: translate(0%, -50%);
  524. width: max-content;
  525. max-width: 350px;
  526. max-height: 350px;
  527. text-align: start;
  528. grid-template-columns: 100px 100px 100px;
  529. overflow-y: auto;
  530. }
  531. #tile-hud .token-variants-wrap.list,
  532. #token-hud .token-variants-wrap.list {
  533. grid-template-columns: unset !important;
  534. max-width: 450px;
  535. }
  536. #tile-hud .token-variants-wrap.active,
  537. #token-hud .token-variants-wrap.active {
  538. visibility: visible;
  539. }
  540. #tile-hud .token-variants-button-select,
  541. #token-hud .token-variants-button-select {
  542. max-width: 300px;
  543. overflow-wrap: break-word;
  544. padding-top: 0;
  545. padding-bottom: 0;
  546. width: max-content !important;
  547. padding: 0 !important;
  548. margin: 0 !important;
  549. line-height: 0 !important;
  550. position: relative;
  551. display: inline-block;
  552. }
  553. #tile-hud .token-variants-button-select.hide,
  554. #token-hud .token-variants-button-select.hide {
  555. display: none;
  556. }
  557. #tile-hud .token-variants-button-select .fa-share,
  558. #token-hud .token-variants-button-select .fa-share {
  559. position: absolute;
  560. left: 0;
  561. color: green;
  562. opacity: 0;
  563. pointer-events: none;
  564. }
  565. #tile-hud .token-variants-button-select .fa-cog,
  566. #token-hud .token-variants-button-select .fa-cog {
  567. position: absolute;
  568. right: 0;
  569. color: rgb(182, 182, 121);
  570. opacity: 0;
  571. pointer-events: none;
  572. }
  573. #tile-hud .token-variants-button-select .fa-play,
  574. #token-hud .token-variants-button-select .fa-play {
  575. position: absolute;
  576. left: 5px;
  577. top: 70%;
  578. color: dimgray;
  579. pointer-events: none;
  580. }
  581. #tile-hud .token-variants-button-select .fa-cog.active,
  582. #token-hud .token-variants-button-select .fa-cog.active {
  583. opacity: 1;
  584. }
  585. #tile-hud .token-variants-button-select .fa-share.active,
  586. #token-hud .token-variants-button-select .fa-share.active {
  587. opacity: 1;
  588. }
  589. #tile-hud .token-variants-context-menu,
  590. #token-hud .token-variants-context-menu {
  591. display: none;
  592. }
  593. #tile-hud .token-variants-context-menu.active,
  594. #token-hud .token-variants-context-menu.active {
  595. display: block;
  596. }
  597. #tile-hud .token-variants-context-menu > button,
  598. #token-hud .token-variants-context-menu > button {
  599. width: 48%;
  600. background-color: rgb(28, 28, 28, 0.7);
  601. color: white;
  602. border-color: black;
  603. }
  604. #tile-hud .token-variants-button-select:hover .token-variants-button-image,
  605. #token-hud .token-variants-button-select:hover .token-variants-button-image {
  606. opacity: 1 !important;
  607. }
  608. #tile-hud .token-variants-button-select.list,
  609. #token-hud .token-variants-button-select.list {
  610. max-width: 440px;
  611. width: 100% !important;
  612. margin: 8px 0px !important;
  613. line-height: 40px !important;
  614. }
  615. #tile-hud .token-variants-button-image,
  616. #token-hud .token-variants-button-image {
  617. width: 100px;
  618. height: 100px;
  619. margin: 2px;
  620. object-fit: contain;
  621. }
  622. #token-hud .token-variants-button-disabled span,
  623. #token-hud .token-variants-button-disabled img,
  624. #token-hud .token-variants-button-disabled video {
  625. opacity: 1 !important;
  626. filter: grayscale(100%);
  627. }
  628. #tile-hud .token-variants-button-disabled span,
  629. #tile-hud .token-variants-button-disabled img,
  630. #tile-hud .token-variants-button-disabled video {
  631. opacity: 1 !important;
  632. filter: grayscale(100%);
  633. }
  634. #token-hud .token-variants-button-disabled span,
  635. #token-hud .token-variants-button-disabled:hover img,
  636. #token-hud .token-variants-button-disabled:hover video {
  637. color: #ccc;
  638. }
  639. #tile-hud .token-variants-button-disabled span,
  640. #tile-hud .token-variants-button-disabled:hover img,
  641. #tile-hud .token-variants-button-disabled:hover video {
  642. color: #ccc;
  643. }
  644. .tile-sheet .token-variants-default,
  645. .token-sheet .token-variants-default {
  646. display: none;
  647. }
  648. .tile-sheet .token-variants-default.active,
  649. .token-sheet .token-variants-default.active {
  650. display: block;
  651. }
  652. /* ---------------------------------------- */
  653. /* Token Custom Config */
  654. /* ---------------------------------------- */
  655. .tva-config-checkbox {
  656. flex: 0 !important;
  657. }
  658. /* --------------------------------------- */
  659. /* JSON Edit */
  660. /* --------------------------------------- */
  661. /* .token-variants-json-edit {
  662. min-width: 360px;
  663. min-height: 320px;
  664. }
  665. .token-variants-json-edit form > * {
  666. flex: 0;
  667. }
  668. .token-variants-json-edit .form-group {
  669. flex: 1;
  670. }
  671. .token-variants-json-edit .form-group label {
  672. height: 24px;
  673. }
  674. .token-variants-json-edit textarea {
  675. height: calc(100% - 24px);
  676. height: -moz-calc(100%-100px);
  677. height: -webkit-calc(100%-100px);
  678. resize: none;
  679. } */
  680. /* ---------------------------------------- */
  681. /* Missing Image Form */
  682. /* ---------------------------------------- */
  683. #token-variants-missing-images header.table-header {
  684. background: rgba(0, 0, 0, 0.5);
  685. padding: 5px;
  686. border: 1px solid #191813;
  687. text-align: left;
  688. color: #f0f0e0;
  689. font-weight: bold;
  690. text-shadow: 1px 1px #000;
  691. }
  692. #token-variants-missing-images ul {
  693. list-style: none;
  694. margin: 0;
  695. padding: 0;
  696. max-height: 400px;
  697. overflow: hidden auto;
  698. scrollbar-width: thin;
  699. }
  700. #token-variants-missing-images li {
  701. border-bottom: 1px solid #7a7971;
  702. text-align: left;
  703. margin-top: 10px;
  704. }
  705. #token-variants-missing-images li .form-fields {
  706. justify-content: space-around;
  707. text-align: left;
  708. }
  709. #token-variants-missing-images li input[type='checkbox'] {
  710. margin: 0;
  711. }
  712. #token-variants-missing-images .index {
  713. flex: 0 0 36px;
  714. width: 36px;
  715. height: 36px;
  716. text-align: center;
  717. margin: 0;
  718. }
  719. #token-variants-missing-images .hint {
  720. flex: 0 0 100%;
  721. color: #4b4a44;
  722. font-size: 13px;
  723. margin: 5px 0 0;
  724. }
  725. #token-variants-missing-images .missing-document {
  726. flex: 0 0 110px;
  727. }
  728. #token-variants-missing-images .missing-image {
  729. flex: 0 0 50px;
  730. margin-left: 15px;
  731. }
  732. #token-variants-missing-images .missing-controls {
  733. flex: 0 0 50px;
  734. margin-left: 15px;
  735. }
  736. /* ---------------------------------------- */
  737. /* Overlay Config */
  738. /* ---------------------------------------- */
  739. .tva-overlay-form .shape-legend-input {
  740. width: 200px !important;
  741. margin-left: 15px !important;
  742. border: none !important;
  743. }
  744. .tva-overlay-form .non-empty-variables {
  745. background-color: rgb(252, 168, 138);
  746. }
  747. .tva-overlay-form .repeat-fieldset {
  748. border-style: hidden;
  749. }
  750. .tva-overlay-form .repeat-fieldset.active {
  751. border-style: inset;
  752. }
  753. .tva-overlay-form .text-field {
  754. font-family: Signika, 'FontAwesome';
  755. }
  756. .tva-overlay-form [type='range'] + .range-value {
  757. flex: 0 1 200px;
  758. }
  759. .tva-overlay-form .image-link.active {
  760. color: orange;
  761. }
  762. .tva-anchor {
  763. width: 100px;
  764. height: 100px;
  765. border-style: groove;
  766. margin: auto;
  767. margin-top: 15px;
  768. position: relative;
  769. }
  770. .tva-anchor input {
  771. position: absolute;
  772. }
  773. .tva-anchor .top {
  774. top: -8px;
  775. }
  776. .tva-anchor .mid {
  777. top: 38px;
  778. }
  779. .tva-anchor .bot {
  780. top: 87px;
  781. }
  782. .tva-anchor .left {
  783. left: -13px;
  784. }
  785. .tva-anchor .center {
  786. left: 35px;
  787. }
  788. .tva-anchor .right {
  789. right: -7px;
  790. }
  791. .tva-overlay-form .html-text {
  792. height: 600px;
  793. }
  794. /* ---------------------------------------- */
  795. /* Active Effect Scripts */
  796. /* ---------------------------------------- */
  797. .token-variants-macro {
  798. flex: 10;
  799. }
  800. .token-variants-macro > .form-group {
  801. height: 50%;
  802. }
  803. /* ---------------------------------------- */
  804. /* MISC. */
  805. /* ---------------------------------------- */
  806. input.tvaValid {
  807. border: 2px solid #009b00;
  808. }
  809. input.tvaInvalid {
  810. border: 2px solid #ff0000;
  811. }
  812. /* ---------------------------------------- */
  813. /* Templates */
  814. /* ---------------------------------------- */
  815. #token-variants-templates .template-list {
  816. list-style-type: none;
  817. padding: 0;
  818. margin-top: 0;
  819. overflow: auto;
  820. height: 350px;
  821. }
  822. #token-variants-templates .template-list li {
  823. border: 1px solid #ddd;
  824. margin-top: -1px;
  825. background-color: gray;
  826. padding: 5px;
  827. text-decoration: none;
  828. font-size: 18px;
  829. color: white;
  830. display: block;
  831. }
  832. #token-variants-templates .template-list li a {
  833. display: inline-block;
  834. max-width: 430px;
  835. }
  836. #token-variants-templates .template-list li .system {
  837. color: gold;
  838. font-size: small;
  839. }
  840. #token-variants-templates .template-list li:hover:not(.header) {
  841. background-color: brown;
  842. }
  843. #token-variants-templates .template-list .createdBy {
  844. color: gold;
  845. font-size: 0.9em;
  846. }
  847. #token-variants-templates .delete,
  848. #token-variants-templates .copy {
  849. position: absolute;
  850. right: 20px;
  851. }
  852. #token-variants-templates .delete:hover,
  853. #token-variants-templates .copy:hover {
  854. color: gold;
  855. }
  856. #token-variants-templates .tooltip {
  857. position: relative;
  858. display: inline-block;
  859. border-bottom: 1px dotted black;
  860. }
  861. #token-variants-templates .tooltip .tooltiptext {
  862. visibility: hidden;
  863. max-width: 500px;
  864. background-color: rgba(38, 38, 38, 0.85);
  865. color: #fff;
  866. text-align: center;
  867. border-radius: 6px;
  868. padding: 5px 0;
  869. /* Position the tooltip */
  870. position: fixed;
  871. margin-left: 500px;
  872. z-index: 1;
  873. }
  874. #token-variants-templates .tooltip:hover .tooltiptext {
  875. visibility: visible;
  876. }
  877. #token-variants-templates .tooltip .tooltiptext img {
  878. width: 90%;
  879. max-height: 500px;
  880. margin-bottom: 5px;
  881. }
  882. #token-variants-templates .tooltip .tooltiptext .description {
  883. margin-left: 5%;
  884. margin-right: 5%;
  885. margin-bottom: 10px;
  886. margin-top: 5px;
  887. text-align: left;
  888. }
  889. /* ---------------------------------------- */
  890. /* HTML Overlay */
  891. /* ---------------------------------------- */
  892. #tva-html-overlays {
  893. position: absolute;
  894. }
  895. .tva-html-overlay {
  896. position: absolute;
  897. border-style: dashed;
  898. z-index: -50;
  899. }
  900. .tva-html-overlay form {
  901. text-align: left;
  902. padding: 5px;
  903. pointer-events: auto;
  904. }