Advertisement
TrinitysEnd

3/26/18 CSS Bugfix for Firefox

Mar 26th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 18.44 KB | None | 0 0
  1. .charsheet {
  2.     font-family: "cursive", "serif";
  3.     background-color: white;
  4. }
  5.  
  6. label input[type=checkbox] {
  7.     margin-right: 0.5em;
  8. }
  9.  
  10. /**input[type=number]::-webkit-inner-spin-button,
  11. input[type=number]::-webkit-outer-spin-button {
  12.   -webkit-appearance: none;
  13.   margin: 0;
  14. } **/
  15.  
  16. input[type="text"] {
  17.     text-align: center;
  18. }
  19.  
  20. button[type="roll"]:before {
  21.     float: left;
  22. }
  23.  
  24. .sheet-inventory,
  25. .sheet-actions,
  26. .sheet-feats,
  27. .sheet-perks,
  28. .sheet-flaws {
  29.     position: relative;
  30. }
  31.  
  32. .repcontainer:not(:empty) {
  33.     border: 2px solid gray;
  34.     border-radius: 0.7em;
  35. }
  36.  
  37. .repcontrol {
  38.     position: absolute;
  39.     top: 1em;
  40. }
  41.  
  42. .sheet-actions .repcontrol {
  43.     top: 2.5em;
  44.     left: 30%;
  45. }
  46.  
  47. .sheet-inventory .repcontrol {
  48.     left: 30%;
  49.     top: 2.5em;
  50. }
  51.  
  52. .repcontrol .repcontrol_edit,
  53. .repcontrol .repcontrol_add {
  54.     width: 1.5em;
  55.     font-family: "pictos";
  56.     padding: 0;
  57.     color: transparent;
  58.     background: transparent;
  59.     border: 0;
  60.     box-shadow: none;
  61.     float: none;
  62.     text-shadow: none;
  63.     overflow: hidden;
  64. }
  65.  
  66. .repcontrol .repcontrol_edit:before {
  67.     color: black;
  68.     content: "(";
  69.     font-size: 1.2em;
  70. }
  71.  
  72. .repcontrol .repcontrol_add:before {
  73.     color: green;
  74.     content: "+";
  75.     font-size: 1.2em;
  76. }
  77.  
  78. .editmode ~ .repcontrol .repcontrol_edit:before {
  79.     color: red;
  80.     content: ")";
  81. }
  82.  
  83. .repitem {
  84.     padding: 3%;
  85.     border-radius: 0.5em;
  86. }
  87.  
  88. .repitem:nth-child(odd) {
  89.     background-color: #EEE;
  90. }
  91.  
  92. .sheet-advantage-disadvantage {
  93.     background-color: #CCC;
  94.     margin: 2em auto;
  95. }
  96.  
  97. .sheet-advantage-disadvantage .sheet-labels {
  98.     background-color: #AAA;
  99.     font-size: 1.2em;
  100.     font-weight: bold;
  101.     line-height: 1em;
  102.     border-top-right-radius: 1em;
  103.     border: 2px solid black;
  104.     border-bottom: 0;
  105. }
  106.  
  107. .sheet-advantage-disadvantage .sheet-labels,
  108. .sheet-advantage-disadvantage .sheet-inputs {
  109.     display: flex;
  110.     justify-content: space-between;
  111. }
  112.  
  113. .sheet-advantage-disadvantage .sheet-labels div {
  114.     flex: 1 1;
  115.     padding: 1em 0.7em;
  116.     height: auto;
  117. }
  118.  
  119. .sheet-labels div:first-child:before {
  120.     font-family: "wingdings 3";
  121.     content: "i";
  122.     padding-right: 1em;
  123. }
  124.  
  125. .sheet-labels div:last-child:after {
  126.     font-family: "wingdings 3";
  127.     content: "i";
  128.     padding-left: 1em;
  129. }
  130.  
  131. .sheet-advantage-disadvantage .sheet-labels div:last-child {
  132.     text-align: right;
  133. }
  134.  
  135. .sheet-advantage-disadvantage .sheet-inputs div {
  136.     flex: 1 1;
  137.     display: flex;
  138.     flex-direction: column;
  139.     position: relative;
  140.     background-color: #DDD;
  141. }
  142.  
  143. .sheet-advantage-disadvantage .sheet-inputs div:nth-child(1) {
  144.     background-color: indianred;
  145. }
  146.  
  147. .sheet-advantage-disadvantage .sheet-inputs div:nth-child(15) {
  148.     background-color: mediumseagreen;
  149. }
  150.  
  151. .sheet-advantage-disadvantage .sheet-inputs input,
  152. .sheet-advantage-disadvantage .sheet-inputs label {
  153.     flex: 1 1;
  154.     display: block;
  155.     margin: 0 auto;
  156.     text-align: center;
  157.     font-size: 2em;
  158.     padding: 0.5em 0;
  159. }
  160.  
  161. .sheet-advantage-disadvantage .sheet-inputs input:checked ~ label {
  162.     background-color: gold;
  163. }
  164.  
  165. .sheet-advantage-disadvantage {
  166.     position: absolute;
  167.     font-size: 0.7em;
  168.     top: 0.5em;
  169.     padding-top: 1em;
  170.     background: transparent;
  171.     width: 100%;
  172.     z-index: 1000;
  173.  
  174.     display: none;
  175. }
  176.  
  177. .sheet-advantage-disadvantage .sheet-inputs {
  178.     background: white;
  179.     border-bottom-left-radius: 1.2em;
  180.     border-bottom-right-radius: 1.2em;
  181.     border: 2px solid black;
  182.     border-top: 0;
  183.     overflow: hidden;
  184. }
  185.  
  186. .sheet-advantage-disadvantage .sheet-inputs input {
  187.     width: auto;
  188.     opacity: 0;
  189.     position: absolute;
  190.     left: 25%;
  191.     height: 100%;
  192. }
  193.  
  194. button:hover ~ .sheet-advantage-disadvantage,
  195. .sheet-advantage-disadvantage:hover {
  196.     display: flex;
  197.     flex-direction: column;
  198. }
  199. .sheet-character-header {
  200.     min-width: 60em;
  201. }
  202.  
  203. .sheet-character-header input {
  204.     background: transparent;
  205.     border: none;
  206.     border-bottom: 2px solid black;
  207.     border-radius: 0;
  208.     box-shadow: none;
  209.     color: darkgoldenrod;
  210.     font-weight: bold;
  211.     font-size: 1.1em;
  212.     height: 1.5em;
  213.     text-align: left;
  214. }
  215.  
  216. .sheet-character-header input[type="number"] {
  217.     text-align: center;
  218. }
  219.  
  220. .sheet-field-row {
  221.     display: flex;
  222.     flex-direction: row;
  223. }
  224.  
  225. .sheet-field {
  226.     display: flex;
  227.     flex-direction: row;
  228.     flex: 1 1 30%;
  229.    
  230.     min-width: 0;
  231.     padding-right: 2%;
  232. }
  233.  
  234. .sheet-field label {
  235.     flex: 0 1;
  236. }
  237.  
  238. .sheet-field input {
  239.     flex: 1 3;
  240.     width: 3em;
  241. }
  242.  
  243. .sheet-banner {
  244.     display: flex;
  245.     width: 100%;
  246. }
  247.  
  248. .sheet-info {
  249.     flex: 1 1 75%;
  250.     max-width: 75%;
  251. }
  252.  
  253. .sheet-logo {
  254.     background: url(http://www.openlegendrpg.com/assets/img/open_legend_lg_logo.png) center right no-repeat;
  255.     background-size: contain;
  256.    
  257.     flex: 1 0 25%;
  258. }
  259.  
  260. .sheet-configuration {
  261.     position: relative;
  262. }
  263.  
  264. .sheet-configuration .sheet-option-toggle {
  265.     opacity: 0;
  266.     position: absolute;
  267.     right: 0;
  268.     width: 1.5em;
  269.     z-index: 2;
  270. }
  271.  
  272. .sheet-configuration .sheet-option-toggle-label {
  273.     position: absolute;
  274.     right: 0;
  275.     font-family: "pictos";
  276.     font-size: 1.5em;
  277. }
  278.  
  279. .sheet-configuration > div {
  280.     height: 2em;
  281.     margin: 0;
  282.     text-align: right;
  283.     width: 97%;
  284. }
  285.  
  286. .sheet-byline {
  287.     color: darkgray;
  288. }
  289.  
  290. .sheet-options label {
  291.     text-align: right;
  292.     font-size: 1em;
  293. }
  294.  
  295. .sheet-options label input {
  296.     margin-top: -0.1em;
  297. }
  298.  
  299. .sheet-configuration .sheet-options {
  300.     display: none;
  301. }
  302.  
  303. .sheet-configuration .sheet-option-toggle:checked ~ .sheet-byline {
  304.     display: none;
  305. }
  306.  
  307. .sheet-configuration .sheet-option-toggle:checked ~ .sheet-options {
  308.     display: block;
  309. }
  310.  
  311. .sheet-character-body {
  312.     display: flex;
  313.    
  314.     width: 100%;
  315. }
  316.  
  317. .sheet-character-body > div {
  318.     display: flex;
  319.    
  320.     flex: 1 1 60%;
  321.    
  322.     flex-direction: column;
  323.     min-width: 0;
  324. }
  325.  
  326. .sheet-character-body .sheet-attributes-block {
  327.     background-color: #EEE;
  328.     flex: 1 1 40%;
  329.     margin-right: 1em;
  330.     padding: 1em;
  331.     min-width: 25em;
  332. }
  333.  
  334. .sheet-section-header .sheet-header-field {
  335.     font-size: 0.7em;
  336.     margin: 0 auto;
  337.     text-align: center;
  338.     width: 36%;
  339. }
  340.  
  341. .sheet-header {
  342.     font-size: 2em;
  343.     margin: 0.5em 0;
  344.     text-align: center;
  345. }
  346.  
  347. .sheet-section-header label {
  348.     display: inline-block;
  349.     margin: 0;
  350.     padding-right: 3%;
  351.     text-align: right;
  352.     white-space: nowrap;
  353.     width: 60%;
  354. }
  355.  
  356. .sheet-section-header input {
  357.     display: inline-block;
  358.     height: 1.5em;
  359.     width: 3em !important; /* required due to overly specific Roll20 defaults */
  360. }
  361.  
  362. .sheet-attributes .repitem {
  363.     margin: 0;
  364.     padding: 0;
  365. }
  366.  
  367. .sheet-attributes .sheet-header {
  368.     background: #CCC;
  369.     margin: 0 auto 0.5em;
  370.     padding: 0.2em;
  371. }
  372.  
  373. .sheet-attribute-group {
  374.     display: flex;
  375.     flex-direction: row;
  376. }
  377.  
  378. .sheet-attribute-group button[type="roll"] {
  379.     text-align: right;
  380. }
  381.  
  382. .sheet-attribute-group-header {
  383.     background: #CCC;
  384.    
  385.     display: block;
  386.     font-size: 1.5em;
  387.    
  388.     margin-top: 5%;
  389.    
  390.     padding: 1% 5%;
  391.     width: 90%;
  392. }
  393.  
  394. .sheet-attribute-group-labels {
  395.     display: flex;
  396. }
  397.  
  398. .sheet-attribute-group {
  399.     display: flex;
  400.     flex-direction: column;
  401. }
  402.  
  403. .sheet-attribute-group .sheet-attribute-row {
  404.     display: flex;
  405.     flex: 1 1;
  406.     font-weight: bold;
  407.     justify-content: flex-end;
  408.     position: relative;
  409.     text-align: center;
  410. }
  411.  
  412. .sheet-attribute-group .sheet-attribute-row > div:first-child {
  413.     min-width: 50%;
  414.     text-align: left;
  415. }
  416.  
  417. .sheet-attribute-group .sheet-attribute-row > div {
  418.     flex: 1 1;
  419.     margin-bottom: 1em;
  420. }
  421.  
  422. .sheet-attribute-group .sheet-attribute-row > div:last-child {
  423.     min-width: 20%;
  424. }
  425.  
  426. .sheet-attribute-group .sheet-attribute-row > div:last-child input {
  427.     border-top-right-radius: 0;
  428.     border-bottom-right-radius: 0;
  429.     border-right: 0;
  430.     height: 2.1em;
  431.     margin-right: -5px;
  432.     text-align: right;
  433.     width: 2.5em;
  434.     -webkit-appearance: none;
  435. }
  436.  
  437. .sheet-attribute-group select,
  438. .sheet-attribute-group input {
  439.     border: 1px solid gray;
  440. }
  441.  
  442. .sheet-attribute-group select {
  443.     border-top-left-radius: 0;
  444.     border-bottom-left-radius: 0;
  445.     border-left: 0;
  446.     height: 2.1em;
  447.     line-height: 1em;
  448.     margin: 0;
  449.     width: 2.5em;
  450.     -webkit-appearance: none;
  451.     -moz-appearance: none;
  452. }
  453.  
  454. .sheet-attribute-group input {
  455.     text-align: center;
  456. }
  457.  
  458. .sheet-attribute-group .sheet-dice input {
  459.     width: 2.5em !important;
  460. }
  461.  
  462. .sheet-inventory .repeating_inventory,
  463. .sheet-inventory .repitem {
  464.     display: flex;
  465. }
  466.  
  467. .sheet-inventory .repeating_inventory > div,
  468. .sheet-inventory .repitem > div {
  469.     display: flex;
  470.     flex: 1 1 20%;
  471.     flex-direction: column;
  472.     justify-content: center;
  473. }
  474.  
  475. .sheet-inventory .repeating_inventory > .sheet-text-field,
  476. .sheet-inventory .repitem > .sheet-text-field {
  477.     flex-basis: 80%;
  478. }
  479.  
  480. .sheet-inventory .repeating_inventory label,
  481. .sheet-inventory .repitem label {
  482.     flex: 1 1;
  483.     margin: 0;
  484. }
  485.  
  486. .sheet-inventory .repeating_inventory textarea,
  487. .sheet-inventory .repitem textarea {
  488.     flex: 1 1;
  489.     margin: 0em 0.5em;
  490.     min-width: 0;
  491.     height: auto;
  492.     width: 90%;
  493. }
  494.  
  495. .sheet-stats {
  496.     flex: none;
  497. }
  498.  
  499. .sheet-actions,
  500. .sheet-feats-perks-flaws,
  501. .sheet-inventory {
  502.     border-top: 2px solid black;
  503.     min-width: 32em;
  504.     padding: 1.5em 0;
  505. }
  506.  
  507. .sheet-stats {
  508.     display: flex;
  509. }
  510.  
  511. .sheet-stats > div {
  512.     flex: 1 1;
  513.    
  514.     display: flex;
  515.     min-width: 19em;
  516.     flex-direction: column;
  517.    
  518.     justify-content: flex-start;
  519.    
  520.     width: 50%;
  521. }
  522.  
  523. .sheet-defenses > div {
  524.     flex: 1 1 50%;
  525.    
  526.     display: flex;
  527.     padding: 0.5em 0;
  528.    
  529.     text-align: center;
  530. }
  531.  
  532. .sheet-defenses > div > div {
  533.     flex: 1 1;
  534.     display: flex;
  535.     justify-content: center;
  536.     flex-direction: column;
  537.     margin: 1em;
  538. }
  539.  
  540. .sheet-defenses .sheet-score {
  541.     margin-right: 0;
  542.     border: 2px solid gray;
  543.     min-height: 8.3em;
  544.     min-width: 8em;
  545. }
  546.  
  547. .sheet-defenses .sheet-components {
  548.     margin: 1.7em;
  549.     margin-left: -2px;
  550.     min-height: 7em;
  551.     border: 2px solid gray;
  552.     border-left: 0;
  553. }
  554.  
  555. .sheet-score label {
  556.     text-align: center;
  557. }
  558.  
  559. .sheet-score input {
  560.     border: 0;
  561.     border-radius: 0;
  562.     box-shadow: none;
  563.     font-size: 3em;
  564.     margin: 0 auto;
  565.     padding: 0;
  566.     text-align: center;
  567.     width: 2em !important; /* required due to overly specific Roll20 defaults */
  568. }
  569.  
  570. .sheet-components div {
  571.     font-size: 0.7em;
  572.  
  573.     text-align: left;
  574.    
  575.     min-width: 13em;
  576. }
  577.  
  578. .sheet-components label {
  579.     display: inline-block;
  580.     margin: 0;
  581.     padding-right: 3%;
  582.     text-align: right;
  583.     white-space: nowrap;
  584.     width: 45%;
  585. }
  586.  
  587. .sheet-components input {
  588.     border: 0;
  589.     border-bottom: 2px solid black;
  590.     border-radius: 0;
  591.     box-shadow: none;
  592.     display: inline-block;
  593.     height: 1.5em;
  594.     text-align: center;
  595.     width: 3em !important; /* required due to overly specific Roll20 defaults */
  596. }
  597.  
  598. .sheet-other {
  599.     display: flex
  600.     flex-direction: column;
  601. }
  602.  
  603. .sheet-other > div {
  604.     flex: 1 0 20%;
  605.     padding: 0 2em;
  606.     align-items: center;
  607. }
  608.  
  609. .sheet-other label {
  610.     font-size: 1em;
  611.     margin-bottom: 0.25em;
  612.     margin-top: 0.3em;
  613. }
  614.  
  615. .sheet-other .sheet-score input {
  616.     font-size: 2.5em;
  617. }
  618.  
  619. .sheet-other > .sheet-hitpoints {
  620.     padding-top: 2em;
  621.     border: 2px solid gray;
  622.     margin: 1em;
  623. }
  624.  
  625. .sheet-hitpoints > div {
  626.     display: flex;
  627.     justify-content: center;
  628. }
  629.  
  630. .sheet-hitpoints .sheet-header {
  631.     margin-top: 0;
  632. }
  633.  
  634. .sheet-hitpoints .sheet-score:not(:last-child) input {
  635.     border-right: 1px solid black;
  636. }
  637.  
  638. .sheet-lethal input {
  639.     color: red;
  640. }
  641.  
  642. .sheet-lp-speed {
  643.     display: flex;
  644.     justify-content: center;
  645.     text-align: center;
  646. }
  647.  
  648. .sheet-lp-speed > div {
  649.     flex: 1 1;
  650.     border: 2px solid gray;
  651.     margin: 0.2em;
  652.     padding: 1em 0;
  653. }
  654.  
  655. .sheet-wealth {
  656.     text-align: center;
  657.     width: 10em;
  658.     margin: 0 auto;
  659. }
  660.  
  661. .sheet-wealth > div {
  662.     border: 2px solid gray;
  663.     margin: 0.2em;
  664.     padding: 1em 0;
  665. }
  666.  
  667. .sheet-actions .repeating_actions,
  668. .sheet-actions .repitem {
  669.     display: flex;
  670.     flex-direction: column;
  671. }
  672.  
  673. .sheet-actions .repeating_actions > div,
  674. .sheet-actions .repitem > div {
  675.     flex: 1 1;
  676.    
  677.     display: flex;
  678.    
  679.     width: 101%;
  680. }
  681.  
  682. .sheet-actions .repeating_actions > div > div,
  683. .sheet-actions .repitem > div > div {
  684.     line-height: 2em;
  685.     margin-right: 1%;
  686. }
  687.  
  688. .sheet-actions .repeating_actions .sheet-is-bane,
  689. .sheet-actions .repitem .sheet-is-bane,
  690. .sheet-actions .repeating_actions .sheet-is-boon,
  691. .sheet-actions .repitem .sheet-is-boon {
  692.     display: none;
  693. }
  694.  
  695. .sheet-actions .repeating_actions .sheet-is-boon input,
  696. .sheet-actions .repitem .sheet-is-boon input {
  697.     height: 2.2em;
  698.     width: 3em;
  699. }
  700.  
  701. .sheet-actions input[value="bane"] ~ .sheet-is-bane {
  702.     display: flex;
  703. }
  704.  
  705. .sheet-actions input[value="boon"] ~ .sheet-is-boon {
  706.     display: flex;
  707. }
  708.  
  709. .sheet-actions .repeating_actions input,
  710. .sheet-actions .repitem input {
  711.     flex: 1 1;
  712.     min-width: 0;
  713.     width: 10.5em;
  714. }
  715.  
  716. .sheet-actions .repeating_actions select,
  717. .sheet-actions .repitem select {
  718.     flex: 1 1;
  719.     min-width: 0;
  720.     width: auto;
  721. }
  722.  
  723. .sheet-actions .repeating_actions button[type="roll"],
  724. .sheet-actions .repitem button[type="roll"] {
  725.     width: 1.35em;
  726.     height: 1.5em;
  727.     text-align: right;
  728. }
  729.  
  730. .sheet-action-info .sheet-text-field {
  731.     flex: 1 1;
  732. }
  733.  
  734. .sheet-action-info .sheet-text-field input {
  735.     width: 100%;
  736. }
  737.  
  738. .sheet-action-details > div {
  739.     display: flex;
  740. }
  741.  
  742. .sheet-actions .repeating_actions .sheet-action-details,
  743. .sheet-actions .repitem .sheet-action-details {
  744.     position: relative;
  745. }
  746.  
  747. .sheet-actions .repeating_actions .sheet-action-details .sheet-text-field,
  748. .sheet-actions .repitem .sheet-action-details .sheet-text-field {
  749.     flex: 1 1;
  750. }
  751.  
  752. .sheet-actions .repeating_actions .sheet-text-field.sheet-dice,
  753. .sheet-actions .repitem .sheet-text-field.sheet-dice {
  754.     flex: none;
  755. }
  756.  
  757. .sheet-actions .repeating_actions .sheet-action-details input,
  758. .sheet-actions .repitem .sheet-action-details input {
  759.     width: auto;
  760. }
  761.  
  762.  
  763. .sheet-actions .repeating_actions .sheet-dice input[type="number"],
  764. .sheet-actions .repitem .sheet-dice input[type="number"] {
  765.     border: 1px solid gray;
  766.     border-top-right-radius: 0;
  767.     border-bottom-right-radius: 0;
  768.     border-right: 0;
  769.     flex: none;
  770.     height: 2.1em;
  771.     margin-right: -5px;
  772.     text-align: right;
  773.     width: 2.5em;
  774.     -webkit-appearance: none;
  775. }
  776.  
  777. .sheet-actions .repeating_actions .sheet-dice select,
  778. .sheet-actions .repitem .sheet-dice select {
  779.     border: 1px solid gray;
  780.     border-top-left-radius: 0;
  781.     border-bottom-left-radius: 0;
  782.     border-left: 0;
  783.     flex: none;
  784.     height: 2.1em;
  785.     line-height: 1em;
  786.     margin: 0;
  787.     width: 2.5em;
  788.     -webkit-appearance: none;
  789.     -moz-appearance: none;
  790. }
  791.  
  792. .sheet-actions input[type="text"] {
  793.     text-align: left;
  794. }
  795.  
  796. .sheet-feats-perks-flaws {
  797.     display: flex;
  798. }
  799.  
  800. .sheet-feats-perks-flaws fieldset,
  801. .sheet-feats-perks-flaws .repitem {
  802.     display: flex;
  803. }
  804.  
  805. .sheet-feats-perks-flaws fieldset .sheet-text-field,
  806. .sheet-feats-perks-flaws .repitem .sheet-text-field {
  807.     flex: 1 1;
  808. }
  809.  
  810. .sheet-feats-perks-flaws .sheet-text-field textarea {
  811.     flex: 1 1;
  812.     margin: 0em 0.5em;
  813.     min-width: 0;
  814.     height: auto;
  815.     width: 90%;
  816. }
  817.  
  818. .sheet-feats {
  819.     flex: 2 1;
  820.     margin-right: 3%;
  821. }
  822.  
  823. .sheet-perks-flaws {
  824.     flex: 1 0;
  825.    
  826.     display: flex;
  827.     flex-direction: column;
  828.     justify-content: flex-start;
  829. }
  830.  
  831. .sheet-perks-flaws > div {
  832.     flex: 1 1;
  833. }
  834.  
  835. .sheet-feats .sheet-section-header {
  836.     display: flex;
  837. }
  838.  
  839. .sheet-feats .sheet-section-header > div {
  840.     flex: 1 1;
  841. }
  842.  
  843. .sheet-feats .sheet-section-header .sheet-header-field {
  844.     margin: 0;
  845.     text-align: left;
  846.     width: 100%;
  847. }
  848.  
  849. .sheet-perks-flaws input[type="text"] {
  850.     text-align: left;
  851. }
  852.  
  853. .sheet-feats input[type="number"] {
  854.     text-align: center;
  855.     height: 100%;
  856. }
  857.  
  858. /* Roll Template Styles */
  859. .sheet-rolltemplate-olmin-attr table {
  860.   background-color: white;
  861.   border: 2px solid black;
  862.   border-top: 0;
  863.   border-spacing: 0;
  864.   width: 100%;
  865. }
  866.  
  867. .sheet-rolltemplate-olmin-attr caption {
  868.   background-color: #CCC;
  869.   border: 2px solid black;
  870.   border-bottom: 1px solid black;
  871.   font-size: 1.5em;
  872.   font-weight: bold;
  873.   line-height: 1.5em;
  874. }
  875.  
  876. .sheet-rolltemplate-olmin-attr td {
  877.   text-align: center;
  878. }
  879.  
  880. .sheet-rolltemplate-olmin-attr .sheet-roll {
  881.   font-size: 5em;
  882.   line-height: 1.1em;
  883.   padding-bottom: 0.25em;
  884. }
  885.  
  886. /* Override the default inline roll coloration */
  887. .sheet-rolltemplate-olmin-attr .inlinerollresult {
  888.     background-color: transparent !important;
  889.     border: 0 !important;
  890. }
  891.  
  892. .sheet-rolltemplate-olmin-attr .sheet-pl {
  893.   background-color: darkgray;
  894.   color: black;
  895.   display: flex;
  896.   justify-content: center;
  897.   padding: 0.5em;
  898. }
  899.  
  900. .sheet-rolltemplate-olmin-attr .sheet-pl span:first-child {
  901.     border-top-left-radius: 10px;
  902.     border-bottom-left-radius: 10px;
  903. }
  904.  
  905. .sheet-rolltemplate-olmin-attr .sheet-pl span {
  906.   background-color: transparent;
  907.   color: gray;
  908.   flex: 1 0;
  909.   font-size: 1.25em;
  910.   line-height: 1.5em;
  911. }
  912.  
  913. .sheet-rolltemplate-olmin-attr .sheet-pl .sheet-pl-pass {
  914.     background-color: limegreen;
  915.     color: black;
  916. }
  917.  
  918. .sheet-rolltemplate-olmin-attr .sheet-pl .sheet-pl-limit,
  919. .sheet-rolltemplate-olmin-attr .sheet-pl .sheet-pl-pass:last-child {
  920.   background-color: gold;
  921.   border-top-right-radius: 10px;
  922.   border-bottom-right-radius: 10px;
  923.   color: black;
  924. }
  925.  
  926. .sheet-rolltemplate-olmin-attr .sheet-table {
  927.   background-color: white;
  928.   border: 2px solid black;
  929.   border-top: 2px solid black;
  930.   border-spacing: 2px;
  931.   width: 100%;
  932.   text-align: center;
  933. }
  934.  
  935. .sheet-rolltemplate-olmin-attr .sheet-table .sheet-template-name {
  936.   background-color: #CCC;
  937.   border-bottom: 1px solid black;
  938.   font-size: 1.5em;
  939.   font-weight: bold;
  940.   line-height: 1.5em;
  941. }
  942.  
  943. textarea {
  944.     resize: vertical;
  945.     min-height: 1.35em;
  946. }
  947.  
  948.     /*** Remove the 'spinners' (up/down graphic arrows), mouse wheel still works as well as up/down arrows on keyboard ***/
  949. input[type=number]::-webkit-inner-spin-button,
  950. input[type=number]::-webkit-outer-spin-button {
  951.     -webkit-appearance: none;
  952.     -moz-appearance: textfield;
  953.     appearance: none;
  954.     margin: 0;
  955. }
  956. input[type=number] {
  957.     -moz-appearance: textfield;
  958. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement