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.

398 lines
8.2 KiB

  1. .sheet-main {
  2. display: grid;
  3. width: 800px;
  4. height: 900px;
  5. grid-gap: 4px;
  6. grid-template-columns: 1fr 1fr;
  7. grid-template-rows: 130px 1fr 1fr 1fr;
  8. grid-template-areas:"header header"
  9. "attributes saves"
  10. "lactions ractions"
  11. "equipment loot"
  12. "spells spells";
  13. }
  14. .sheet-npc {
  15. display: grid;
  16. grid-gap: 4px;
  17. grid-template-columns: 1fr 1fr;
  18. }
  19. .sheet-section {
  20. padding: 5px;
  21. border-style: solid;
  22. }
  23. .sheet-inner-section {
  24. padding: 5px;
  25. }
  26. /** SECTION LISTING **/
  27. .sheet-header {
  28. grid-area: header;
  29. /*background-color: olive;*/
  30. }
  31. .sheet-attributes {
  32. grid-area: attributes;
  33. /*background-color: orange;*/
  34. }
  35. .sheet-saves {
  36. grid-area: saves;
  37. /*background-color: brown;*/
  38. }
  39. .sheet-lactions {
  40. grid-area: lactions;
  41. /*background-color: coral;*/
  42. }
  43. .sheet-ractions {
  44. grid-area: ractions;
  45. /*background-color: green;*/
  46. }
  47. .sheet-spells {
  48. grid-area: spells;
  49. /*grid-column: 1 / span 2;*/
  50. }
  51. /** INNER GRIDS **/
  52. div.sheet-grid-container-2col {
  53. display: grid;
  54. grid-template-columns: 1fr 1fr;
  55. }
  56. div.sheet-header-grid {
  57. display: grid;
  58. grid-template-columns: 1fr 1fr;
  59. grid-template-rows: 30px 1fr;
  60. row-gap: 5px;
  61. column-gap: 5px;
  62. }
  63. div.sheet-header-field-grid {
  64. padding: 5px 15px;
  65. display: grid;
  66. grid-template-columns: 80px 1fr;
  67. }
  68. div.sheet-stat-grid {
  69. display: grid;
  70. grid-template-columns: 50px 50px 50px 50px;
  71. row-gap: 5px;
  72. }
  73. div.sheet-stat2-grid {
  74. display: grid;
  75. grid-template-columns: 1fr 1fr;
  76. row-gap: 5px;
  77. column-gap: 5px;
  78. }
  79. div.sheet-movement-grid {
  80. display: grid;
  81. grid-template-columns: 1fr 1fr;
  82. row-gap: 5px;
  83. }
  84. div.sheet-saves-grid {
  85. display: grid;
  86. grid-template-columns: 100px auto auto auto;
  87. row-gap: 5px;
  88. column-gap: 10px;
  89. }
  90. div.sheet-attacks-grid {
  91. display: grid;
  92. grid-template-columns: 1fr 50px 50px 50px;
  93. row-gap: 5px;
  94. column-gap: 10px;
  95. margin-bottom: 5px;
  96. }
  97. div.sheet-hitdie-grid {
  98. display: grid;
  99. grid-template-columns: 1fr 50px 80px 50px;
  100. row-gap: 5px;
  101. column-gap: 10px;
  102. margin-bottom: 5px;
  103. }
  104. div.sheet-proficiencies-grid {
  105. display: grid;
  106. grid-template-columns: 1fr 50px 50px;
  107. row-gap: 5px;
  108. column-gap: 10px;
  109. margin-bottom: 5px;
  110. }
  111. div.sheet-equipment-grid {
  112. display: grid;
  113. grid-template-columns: 1fr 75px;
  114. row-gap: 5px;
  115. column-gap: 10px;
  116. margin-bottom: 5px;
  117. }
  118. div.sheet-currency-grid {
  119. display: grid;
  120. grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  121. row-gap: 5px;
  122. column-gap: 10px;
  123. }
  124. div.sheet-spells-grid {
  125. display: grid;
  126. grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  127. row-gap: 5px;
  128. column-gap: 10px;
  129. margin-bottom: 5px;
  130. }
  131. /** GENERAL ELEMENT STYLE **/
  132. input.sheet-line-input {
  133. width: 214px!important;
  134. border: 0;
  135. outline: 0;
  136. border-bottom: 1px solid black;
  137. background: rgba(0, 0, 0, 0.0);
  138. border-radius: 0px;
  139. }
  140. input.sheet-name-input {
  141. width: 100%;
  142. }
  143. div.sheet-spells-grid span {
  144. text-align: center;
  145. }
  146. div.sheet-spells.grid input {
  147. padding-left: 50px;
  148. margin-left: 50px;
  149. }
  150. .sheet-stat-input {
  151. width: 100%;
  152. text-align: center;
  153. background: rgba(255, 255, 255, 0.25);
  154. }
  155. .sheet-stat-span {
  156. text-align: center;
  157. text-transform: uppercase;
  158. font-weight: bold;
  159. font-size: 16px;
  160. font-family: "Candal";
  161. }
  162. .sheet-initiative-span {
  163. font-weight: bold;
  164. font-size: 18px;
  165. grid-column: 1 / span 2;
  166. }
  167. input.sheet-currency-input {
  168. font-size: 11px;
  169. width: 60px!important;
  170. }
  171. input.sheet-spells-input {
  172. width: 60px!important;
  173. margin-left: 22px;
  174. }
  175. .sheet-text-center {
  176. text-align: center;
  177. }
  178. .sheet-title-line {
  179. font-weight: bold;
  180. font-size: 18px;
  181. }
  182. .sheet-textarea {
  183. outline: 0;
  184. border-radius: 0;
  185. box-sizing: content-box;
  186. background-color: rgba(255, 255, 255, 0.3);
  187. overflow-y: hidden;
  188. padding: 10px;
  189. max-width: 90%;
  190. resize: none;
  191. }
  192. .sheet-roll-button {
  193. font-size: 1.6em;
  194. border-radius: 0.25em;
  195. }
  196. .sheet-header-field-grid select {
  197. margin: 5px 0px;
  198. }
  199. .sheet-header-field-grid span {
  200. margin: 5px 0px;
  201. }
  202. .sheet-hidden {
  203. display: none;
  204. }
  205. .sheet-margin-top {
  206. margin-top: 35px;
  207. }
  208. .sheet-grid-span-1-2 {
  209. grid-column: 1 / span 2;
  210. }
  211. .sheet-grid-span-4-2 {
  212. grid-column: 4 / span 3;
  213. }
  214. input.sheet-input-big {
  215. width: 55px!important;
  216. }
  217. /** INDIVIDUAL ELEMENT STYLES **/
  218. .sheet-system-title {
  219. margin-bottom: 10px;
  220. }
  221. .sheet-stat-title {
  222. text-align: center;
  223. grid-column: 1 / span 4;
  224. }
  225. .sheet-movement-title {
  226. text-align: center;
  227. grid-column: 1 / span 2;
  228. }
  229. .sheet-saves-title {
  230. text-align: center;
  231. grid-column: 1 / span 4;
  232. }
  233. .sheet-attack-title {
  234. text-align: center;
  235. grid-column: 1 / span 4;
  236. margin-top: 10px;
  237. }
  238. .sheet-proficiency-title {
  239. text-align: center;
  240. grid-column: 1 / span 3;
  241. margin-top: 25px;
  242. }
  243. .sheet-equipment-title {
  244. text-align: center;
  245. grid-column: 1 / span 2;
  246. }
  247. .sheet-currency-title {
  248. text-align: center;
  249. grid-column: 1 / span 5;
  250. margin-top: 25px;
  251. }
  252. .sheet-spells-title {
  253. text-align: center;
  254. grid-column: 1 / span 9;
  255. }
  256. .sheet-exp-title {
  257. text-align: center;
  258. grid-column: 1 / span 5;
  259. }
  260. .sheet-hp-span {
  261. font-size: 28px;
  262. text-align: center;
  263. text-transform: uppercase;
  264. font-weight: bold;
  265. vertical-align: bottom;
  266. grid-column: 1 / span 2;
  267. }
  268. .sheet-hp-input {
  269. width: 75%;
  270. float: right;
  271. }
  272. .sheet-ac-wrapper {
  273. grid-column: 1 / span 2;
  274. text-align: center;
  275. }
  276. .sheet-hp-mod-input {
  277. width: 75%;
  278. float: left;
  279. }
  280. .sheet-ac-input {
  281. width: 50%;
  282. }
  283. .sheet-exp-current {
  284. grid-column: 1 / span 2;
  285. }
  286. .sheet-exp-needed {
  287. grid-column: 3 / span 2;
  288. }
  289. .sheet-exp-current > input, .sheet-exp-needed > input {
  290. width: 150px;
  291. }
  292. .sheet-lootbox {
  293. grid-column: 1 / span 5;
  294. }
  295. div.sheet-npc-rsection, div.sheet-npc-lsection {
  296. padding: 5px;
  297. border: 4px solid black;
  298. border-radius: 4px;
  299. margin-left: 10px;
  300. }
  301. .sheet-spells-grid-daily > input {
  302. text-align: center;
  303. }
  304. .sheet-total-encumb-display {
  305. text-align: center;
  306. grid-column: 1 / span 2;
  307. margin-bottom: 15px;
  308. }
  309. /** Roll Templates **/
  310. .sheet-rolltemplate-acks {}
  311. .sheet-rolltemplate-acks div.sheet-acks-container {
  312. border: 2px solid #333;
  313. border-radius: 3px;
  314. margin-right: 5px;
  315. box-shadow: 5px 5px 5px 0px #9B9DA3;
  316. }
  317. .sheet-rolltemplate-acks div.sheet-acks-header {
  318. background-color: rgb(123, 62, 136);
  319. border-bottom: 1px solid #333;
  320. padding: 4px;
  321. line-height: 1.4em;
  322. font-size: 1.2em;
  323. font-weight: bold;
  324. color: #F2EBEB;
  325. text-align: center;
  326. }
  327. .sheet-rolltemplate-acks div.sheet-acks-charname {
  328. background-color: rgb(123, 62, 136);
  329. padding-top: 5px;
  330. line-height: 1.0em;
  331. font-size: 0.85em;
  332. color: #F2EBEB;
  333. text-align: center;
  334. }
  335. .sheet-rolltemplate-acks div.sheet-acks-subheader {
  336. font-weight: bold;
  337. text-align: center;
  338. color: rgb(112, 32, 130);
  339. font-size: 1.1em;
  340. }
  341. .sheet-rolltemplate-acks div.sheet-acks-row {
  342. padding: 10px;
  343. line-height: 1.0em;
  344. font-size: 0.8em;
  345. }
  346. .sheet-rolltemplate-acks div.sheet-acks-row:not(.sheet-acks-desc) .inlinerollresult {
  347. float: right;
  348. }
  349. .sheet-rolltemplate-acks div.sheet-acks-row .sheet-acks-target-value {
  350. float: right;
  351. border: none;
  352. background-color: transparent;
  353. color: green;
  354. }
  355. .sheet-rolltemplate-acks div.sheet-acks-row:nth-child(odd) {
  356. background-color: rgba(217, 217, 214, 1);
  357. }
  358. .sheet-rolltemplate-acks div.sheet-acks-row:nth-child(even) {
  359. background-color: rgba(233, 233, 233, 1);
  360. }
  361. .sheet-rolltemplate-acks div.sheet-acks-desc {
  362. font-size: 0.8em;
  363. line-height: 1.5em;
  364. color: rgb(115, 115, 115);
  365. }
  366. div.sheet-main { display: grid; }
  367. div.sheet-npc { display: none; }
  368. /*input.sheet-block-switch { display: none; };*/
  369. input.sheet-block-switch:checked ~ div.sheet-main { display: none; }
  370. input.sheet-block-switch:checked ~ div.sheet-npc { display: grid; }
  371. textarea.sheet-txtarea {
  372. height: 24px;
  373. margin: 0;
  374. padding: 0;
  375. text-align: left;
  376. }
  377. input.sheet-hd-checkbox {
  378. -webkit-appearance: none;
  379. -moz-appearance: none;
  380. border: 1px solid #888;
  381. width: 10px;
  382. height: 10px;
  383. overflow: hidden;
  384. }
  385. input.sheet-hd-checkbox:checked {
  386. background-color: #aaa;
  387. }