ui.css 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261
  1. :root {
  2. /**
  3. * Width to switch to diferent layoouts.
  4. */
  5. --width-small: 600px; /*Use with max-*/
  6. --width-medium: 768px;
  7. --width-large: 1024px; /*Use with min-*/
  8. /**
  9. * Global elements
  10. */
  11. --global-color: #ffffff;
  12. --global-background: #261d14;
  13. /**
  14. * Links.
  15. */
  16. --ui-color-a: #08fff6;
  17. --ui-color-a-hover: #cccccc;
  18. --ui-color-a-shadow: #000000;
  19. --ui-color-border: #c8ad78;
  20. /**
  21. * Header and footer.
  22. */
  23. --header-background: #79683c;
  24. --header-border: 0.15em solid var(--ui-color-border);
  25. --header-border-radius: 0.2em;
  26. --nav-color: var(--global-color);
  27. --nav-color-hover: #333333;
  28. --nav-background-hover: #ffffff33;
  29. --nav-separator: 0.1em solid #ffffff44;
  30. --nav-shadow: 0 0 0 #ffffff;
  31. --nav-shadow-hover: 0 0 0.2em #ffffff;
  32. /**
  33. * Sidebar.
  34. */
  35. --sidebar-width: 18em;
  36. --sidebar-background: #2c2218;
  37. --sidebar-border: 0.13em solid var(--ui-color-border);
  38. --sidebar-title-padding: 3em 0 0.2em 1em;
  39. /**
  40. * Sections.
  41. */
  42. --section-border: 0.13em solid var(--ui-color-border);
  43. --section-border-radius: 0.5em;
  44. --section-padding: 0.3em;
  45. --section-margin: 0.2em;
  46. --section-title-margin: -0.3em -0.3em 0.3em -0.3em;
  47. --section-title-background: #d4ae67;
  48. --section-title-border-radius: 0.35em;
  49. --section-title-padding: 0.2em 0 0.2em 1em;
  50. --section-title-font-size: 100%;
  51. --section-title-font-weight: bold;
  52. --section-background-list: #25120c;
  53. --section-background-content: #321c0f;
  54. --section-title-shadow: 0 0 0.2em #312515;
  55. /**
  56. * Subsections
  57. */
  58. --subsection-title-background: #886d3b;
  59. --subsection-title-shadow: 0 0 0.2em #312515;
  60. /**
  61. * Elemental colors.
  62. */
  63. --element-color-water: #0285f7;
  64. --element-color-fire: #f72302;
  65. --element-color-wind: #fcc923;
  66. --element-color-light: #f2f7aa;
  67. --element-color-dark: #4a0282;
  68. --element-color-magic: #e21af4;
  69. /**
  70. * Input elments
  71. */
  72. --input-color: #ffffff;
  73. --input-color-placeholder: #777777;
  74. --input-font-weight: normal;
  75. --input-padding: 0;
  76. --input-background: linear-gradient(0deg, #bb8440 0%, #c8ad78 97%, #d1a98f 100%);
  77. --input-background-disabled: linear-gradient(0deg, #603d20 0%, #64563c 97%, #685447 100%);
  78. --input-background-unchecked: #604728;
  79. --input-background-checked: #d1a98f;
  80. --input-border: 0;/*0.2em solid var(--ui-color-border);*/
  81. --input-border-radius: 0.2em;
  82. --input-text-shadow: 0 0 0.1em #000000;
  83. --input-box-shadow: 0 0 0.2em #000000;
  84. --input-button-padding: 0.3em 1em 0.3em 1em;
  85. /**
  86. * Error messages
  87. */
  88. --error-color: #ffffff;
  89. --error-color-background: #9f1d1d;
  90. --error-color-border: #ff0000;
  91. --error-border: 0.2em solid var(--error-color-border);
  92. --error-border-radius: 0.8em;
  93. /**
  94. * Other colors
  95. */
  96. --color-monster-tooltip-background: #351e0b;
  97. --color-monster-tooltip-header: #150e00;
  98. --color-table-rune-background: #7d6640;
  99. --color-table-rune-border: #3c2929;
  100. --color-unit-group-background: #2b1e06;
  101. --color-unit-group-border: #7d6c4b;
  102. }
  103. .desktop{ /* Elements to be shown only in large screens. */
  104. display: initial;
  105. }
  106. @media screen and (max-width : 990px){
  107. .desktop{
  108. display: none;
  109. }
  110. }
  111. .mobile{ /* Elements to be shown only in small screens. */
  112. display: none;
  113. }
  114. @media screen and (max-width : 990px){
  115. .mobile{
  116. display: initial !important;
  117. }
  118. }
  119. .bold{font-weight: bold;}
  120. .italic{font-style: italic;}
  121. .pointer {cursor: pointer;}
  122. .hidden{display: none;}
  123. .pointer{cursor: pointer;}
  124. .error{border-color: #ffaaaa;}
  125. .color_Fire{color: var(--element-color-fire);}
  126. .color_Wind{color: var(--element-color-wind);}
  127. .color_Water{color: var(--element-color-water);}
  128. .color_Light{color: var(--element-color-light);}
  129. .color_Dark{color: var(--element-color-dark);}
  130. .color_Magic{color: var(--element-color-magic);}
  131. .border_Fire{border-color: var(--element-color-fire);}
  132. .border_Wind{border-color: var(--element-color-wind);}
  133. .border_Water{border-color: var(--element-color-water);}
  134. .border_Light{border-color: var(--element-color-light);}
  135. .border_Dark{border-color: var(--element-color-dark);}
  136. .border_Magic{border-color: var(--element-color-magic);}
  137. .background_Fire{background-color: var(--element-color-fire);}
  138. .background_Wind{background-color: var(--element-color-wind);}
  139. .background_Water{background-color: var(--element-color-water);}
  140. .background_Light{background-color: var(--element-color-light);}
  141. .background_Dark{background-color: var(--element-color-dark);}
  142. .background_Magic{background-color: var(--element-color-magic);}
  143. html {height: 100%;}
  144. body{
  145. background-color: var(--global-background);
  146. color: var(--global-color);
  147. padding: 0;
  148. margin: 0;
  149. display: grid;
  150. /* Header and footer span the entire width, sidebars and content are fixed, with empty space on sides */
  151. grid-template-areas:
  152. "header header"
  153. "sidebar content"
  154. "footer footer";
  155. grid-template-columns: var(--sidebar-width); auto;
  156. }
  157. @media only screen and (max-width: 788px){
  158. body{
  159. display: initial;
  160. }
  161. }
  162. a{
  163. color: var(--ui-color-a);
  164. text-shadow: 0 0 0.5em var(--ui-color-a-shadow);
  165. text-decoration: none;
  166. transition: all .3s ease-in-out;
  167. }
  168. a:hover{
  169. color: var(--ui-color-a-hover);
  170. text-shadow: 0 0 0.1em var(--ui-color-a-shadow);
  171. }
  172. .fake_a{ /* Elements that look and act as links. */
  173. color: var(--ui-color-a);
  174. text-shadow: 0 0 0.5em var(--ui-color-a-shadow);
  175. text-decoration: none;
  176. cursor: pointer;
  177. transition: all .3s ease-in-out;
  178. }
  179. .fake_a:hover{
  180. color: var(--ui-color-a-hover);
  181. text-shadow: 0 0 0.1em var(--ui-color-a-shadow);
  182. }
  183. header{
  184. border-bottom-right-radius: var(--header-border-radius);
  185. border-bottom-left-radius: var(--header-border-radius);
  186. margin: 0 0 1em 0;
  187. background-color: var(--header-background);
  188. text-align: left;
  189. position: relative;
  190. grid-area: header;
  191. position: sticky;
  192. top: 0;
  193. z-index: 1000;
  194. }
  195. header nav{
  196. display: block;
  197. border-bottom: var(--header-border);
  198. }
  199. header nav table td{
  200. position: relative;
  201. padding: 0;
  202. vertical-align: middle;
  203. }
  204. header nav table td.item{
  205. border: var(--nav-separator);
  206. text-align: center;
  207. padding: 0;
  208. }
  209. header nav table td.last{
  210. width: 100%;
  211. text-align: right;
  212. padding-right: 0.5em;
  213. }
  214. header nav table td.item a{
  215. font-size: 80%;
  216. font-weight: bold;
  217. font-variant: small-caps;
  218. text-decoration: none;
  219. font-family: sans-serif;
  220. color: var(--nav-color);
  221. text-shadow: var(--nav-shadow);
  222. transition: all .4s ease-in-out;
  223. display: block;
  224. padding: 0.3em 0.6em;
  225. }
  226. header nav table td.item a:hover{
  227. background-color: var(--nav-background-hover);
  228. color: var(--nav-color-hover);
  229. text-shadow: var(--nav-shadow-hover);
  230. }
  231. header nav h1#logo_text{
  232. margin: 0em 0.5em;
  233. line-height: 0.6;
  234. text-align: center;
  235. font-family: sans-serif;
  236. font-size: 110%;
  237. }
  238. header nav td#search{
  239. min-width: 13em;
  240. text-align: center;
  241. }
  242. header nav td#search input:first-child{
  243. /* Search text input */
  244. margin: auto 0.2em auto 1em;
  245. width: 10em;
  246. }
  247. header nav td#search input:last-child{
  248. /* Search button */
  249. margin: auto 1em auto 0.2em;
  250. padding: 0 0.4em;
  251. }
  252. header nav select#player_select{
  253. margin: 0em 10px;
  254. }
  255. header table td.profile nav{
  256. float: right;
  257. margin-right: 0.5em;
  258. position: absolute;
  259. right: 0;
  260. top: 0em;
  261. }
  262. header table td.profile a{
  263. border-left: 0;
  264. font-size: 110%;
  265. font-weight: bold;
  266. text-transform: capitalize;
  267. font-variant: small-caps;
  268. margin: 0;
  269. text-decoration: none;
  270. position: relative;
  271. transition: all .4s ease-in-out;
  272. color: var(--nav-color);
  273. padding: 0.3em;
  274. text-align: center;
  275. display: inline-block;
  276. vertical-align: middle;
  277. text-shadow: var(--nav-shadow);
  278. }
  279. header table td.profile a:hover{
  280. color: var(--nav-color-hover);
  281. text-shadow: var(--nav-shadow-hover);
  282. }
  283. header nav table td.mode{
  284. text-align: center;
  285. }
  286. header nav table td.mode div#mode_switch{
  287. display: block;
  288. font-size: 70%;
  289. }
  290. header nav table td.mode div#mode_switch label{
  291. vertical-align: middle;
  292. }
  293. header nav table td.mode div#mode_switch .switch {
  294. position: relative;
  295. display: inline-block;
  296. width: 2em;
  297. height: 1.5em;
  298. }
  299. header nav table td.mode div#mode_switch .switch input {
  300. opacity: 0;
  301. width: 0;
  302. height: 0;
  303. }
  304. header nav table td.mode div#mode_switch .slider {
  305. position: absolute;
  306. cursor: pointer;
  307. top: 0;
  308. left: 0;
  309. right: 0;
  310. bottom: 0;
  311. background-color: #755739;
  312. -webkit-transition: .4s;
  313. transition: .4s;
  314. }
  315. header nav table td.mode div#mode_switch .slider:before {
  316. position: absolute;
  317. content: "";
  318. height: 1em;
  319. width: 1em;
  320. left: 0.25em;
  321. bottom: 0.25em;
  322. background-color: white;
  323. -webkit-transition: .4s;
  324. transition: .4s;
  325. }
  326. header nav table td.mode div#mode_switch input:checked + .slider {
  327. background-color: #324b4f;
  328. }
  329. header nav table td.mode div#mode_switch input:focus + .slider {
  330. box-shadow: 0 0 1px #2196F3;
  331. }
  332. header nav table td.mode div#mode_switch input:checked + .slider:before {
  333. -webkit-transform: translateX(0.5em);
  334. -ms-transform: translateX(0.5em);
  335. transform: translateX(0.5em);
  336. }
  337. header nav table td.mode div#mode_switch .slider.round {
  338. border-radius: 1.5em;
  339. }
  340. header nav table td.mode div#mode_switch .slider.round:before {
  341. border-radius: 50%;
  342. }
  343. aside{
  344. grid-area: sidebar;
  345. position: fixed;
  346. top: 0;
  347. bottom: 0;
  348. left: 0;
  349. width: calc(var(--sidebar-width) - 1em);
  350. overflow-y: hidden;
  351. text-align: left;
  352. border-right: var(--sidebar-border);
  353. padding: 0.3em;
  354. margin: 0;
  355. background: var(--sidebar-background);
  356. }
  357. @media only screen and (max-width: 788px){
  358. aside{
  359. grid-area: none;
  360. position: relative;
  361. width: 100%;
  362. border-right: 0;
  363. border-bottom: var(--sidebar-border);
  364. top: initial;
  365. bottom: initial;
  366. left: initial;
  367. overflow-y: initial;
  368. margin-bottom: 2em;
  369. }
  370. }
  371. aside h2{
  372. margin: -0.3em -0.3em 0.5em -0.3em;
  373. border-bottom: var(--section-border);
  374. background-color: var(--section-title-background);
  375. padding: var(--sidebar-title-padding);
  376. font-size: var(--section-title-font-size);
  377. font-weight: var(--section-title-font-weight);
  378. text-align: left;
  379. text-transform: capitalize;
  380. font-variant: small-caps;
  381. height: 1.2em;
  382. text-shadow: var(--section-title-shadow);
  383. }
  384. @media only screen and (max-width: 788px){
  385. aside h2{
  386. margin: 0;
  387. padding-top: 0.3em;
  388. }
  389. }
  390. aside p{
  391. font-style: italic;
  392. margin: 0.5em 1.5em;
  393. }
  394. aside form.filter table{
  395. margin: auto;
  396. display: inline;
  397. border-collapse: collapse;
  398. text-align: left;
  399. }
  400. @media only screen and (max-width: 788px){
  401. aside form.filter {
  402. margin: auto;
  403. display: block;
  404. text-align: center;
  405. }
  406. }
  407. aside form.filter input[type='submit']{
  408. margin: 1em auto;
  409. display: block;
  410. }
  411. main{
  412. grid-area: content;
  413. overflow-y: auto;
  414. }
  415. @media only screen and (max-width: 788px){
  416. main{
  417. grid-area: none;
  418. overflow-y: initial;
  419. }
  420. }
  421. footer{
  422. font-size: 70%;
  423. text-align: center;
  424. border-top: var(--header-border);
  425. border-top-right-radius: var(--header-border-radius);
  426. border-top-left-radius: var(--header-border-radius);
  427. margin: 2em 0 0 0;
  428. background-color: var(--header-background);
  429. padding: 0;
  430. grid-area: footer;
  431. bottom: 0;
  432. z-index: 1000;
  433. }
  434. @media only screen and (max-width: 788px){
  435. footer{
  436. margin: 2em 0 0 0;
  437. grid-area: none;
  438. position: relative;
  439. }
  440. }
  441. footer table#footer_table{
  442. margin-left: auto;
  443. margin-right: auto;
  444. width: 95%;
  445. table-layout: fixed;
  446. }
  447. footer table#footer_table td{
  448. width: 45%;
  449. padding: 0.5em;
  450. }
  451. @media screen and (max-width : 990px){
  452. footer table#footer_table td{
  453. width: auto;
  454. padding: 0.2em;
  455. font-size: 70%;
  456. line-height: 0.9em;
  457. }
  458. }
  459. input, select, a.a_button, textarea{
  460. font-size: 100%;
  461. text-transform: capitalize;
  462. font-variant: small-caps;
  463. color: var(--input-color);
  464. font-weight: var(--input-font-weight);
  465. padding: var(--input-padding);
  466. background: var(--input-background);
  467. border: var(--input-border);
  468. border-radius: var(--input-border-radius);
  469. text-shadow: var(--input-text-shadow);
  470. box-shadow: var(--input-box-shadow);
  471. }
  472. a.a_button, input[type=button]{
  473. cursor: pointer;
  474. transition: all .3s ease-in-out;
  475. padding: var(--input-button-padding);
  476. }
  477. input:disabled{
  478. background: var(--input-background-disabled);
  479. }
  480. input[type=text], textarea{
  481. text-transform: initial;
  482. font-variant: initial;
  483. }
  484. input[type=button], input[type=submit]{padding: var(--input-button-padding);}
  485. input[type=text], input[type=number], input[type=date], input[type=password], select{font-size: 80%;}
  486. input[type=number]{width: 3em;}
  487. select[multiple]{scrollbar-width: none;}
  488. input[type=checkbox]{
  489. display: none;
  490. margin-left: -2em;
  491. overflow: hidden;
  492. }
  493. input[type=checkbox] + label{
  494. display: inline-block;
  495. vertical-align: middle;
  496. cursor: pointer;
  497. }
  498. input[type=checkbox]:not(:checked) + label:before{
  499. content: " ";
  500. text-align: center;
  501. font-weight: bold;
  502. color: var(--input-color);
  503. text-shadow: var(--input-text-shadow);
  504. line-height: 0.8em;
  505. padding-top: 0.1em;
  506. display: inline-block;
  507. vertical-align: middle;
  508. width: 0.8em;
  509. height: 0.8em;
  510. margin-right: 0.5em;
  511. border: 0.2em solid var(--ui-color-border);
  512. border-radius: var(--input-border-radius);
  513. box-shadow: var(--input-box-shadow);
  514. background: var(--input-background-unchecked);
  515. }
  516. input[type=checkbox]:checked + label:before{
  517. content: "+";
  518. text-align: center;
  519. font-weight: bold;
  520. color: var(--input-color);
  521. text-shadow: var(--input-text-shadow);
  522. line-height: 0.8em;
  523. padding-top: 0.1em;
  524. display: inline-block;
  525. vertical-align: middle;
  526. width: 0.8em;
  527. height: 0.8em;
  528. margin-right: 0.5em;
  529. border: 0.2em solid var(--ui-color-border);
  530. border-radius: var(--input-border-radius);
  531. box-shadow: var(--input-box-shadow);
  532. background: var(--input-background-checked);
  533. }
  534. ::placeholder {color: var(--input-color-placeholder);}
  535. section{
  536. text-align: left;
  537. border: var(--section-border);
  538. border-radius: var(--section-border-radius);
  539. padding: var(--section-padding);
  540. margin: var(--section-margin);
  541. }
  542. section h2{
  543. margin: var(--section-title-margin);
  544. border-bottom: var(--section-border);
  545. background-color: var(--section-title-background);
  546. border-top-left-radius: var(--section-title-border-radius);
  547. border-top-right-radius: var(--section-title-border-radius);
  548. padding: var(--section-title-padding);
  549. font-size: var(--section-title-font-size);
  550. font-weight: var(--section-title-font-weight);
  551. text-align: left;
  552. text-transform: capitalize;
  553. font-variant: small-caps;
  554. height: 1.2em;
  555. text-shadow: var(--section-title-shadow);
  556. }
  557. @media screen and (max-width : 990px){
  558. section h2{
  559. padding: 0.15em 0 0.15em 1em;
  560. }
  561. }
  562. /* Main content, when it is a list of monsters, runes... */
  563. section.list{
  564. display: block;
  565. text-align: center;
  566. background-color: var(--section-background-list);
  567. }
  568. /* Main content, when it a single monster, rune... */
  569. section.content{
  570. text-align: center;
  571. background-color: var(--section-background-content);
  572. }
  573. /**
  574. * Rune boxes
  575. */
  576. div.rune_panel{
  577. width: 8em;
  578. height: 8em;
  579. border: 0.2em solid #000000;
  580. border-radius: 1em;
  581. position: relative;
  582. text-align: center;
  583. }
  584. div.rune_panel.rune_original_quality_normal{ /* Normal */
  585. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  586. }
  587. div.rune_panel.rune_original_quality_magic{ /* Magic */
  588. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  589. }
  590. div.rune_panel.rune_original_quality_rare{ /* Rare */
  591. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  592. }
  593. div.rune_panel.rune_original_quality_hero{ /* Hero */
  594. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  595. }
  596. div.rune_panel.rune_original_quality_legend{ /* Legend */
  597. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  598. }
  599. div.rune_panel img.rune_base{
  600. position: absolute;
  601. width: 9em;
  602. height: 9em;
  603. margin: -0.5em;
  604. top: 0;
  605. left: 0;
  606. }
  607. div.rune_panel.rune_ancient_1 img.rune_base{filter: brightness(150%) contrast(90%) saturate(100%) drop-shadow(0 0 0.3em #ffffff) drop-shadow(0 0 0.1em #ffffff);}
  608. div.rune_panel.rune_slot_1 img.rune_base{transform: rotate(0deg);}
  609. div.rune_panel.rune_slot_2 img.rune_base{transform: rotate(57deg);}
  610. div.rune_panel.rune_slot_3 img.rune_base{transform: rotate(123deg);}
  611. div.rune_panel.rune_slot_4 img.rune_base{transform: rotate(180deg);}
  612. div.rune_panel.rune_slot_5 img.rune_base{transform: rotate(237deg);}
  613. div.rune_panel.rune_slot_6 img.rune_base{transform: rotate(303deg);}
  614. div.rune_panel img.rune_icon{
  615. position: absolute;
  616. height: 3em;
  617. }
  618. div.rune_panel.rune_slot_1 img.rune_icon{
  619. top: 3.0em;
  620. left: 2.7em;
  621. }
  622. div.rune_panel.rune_slot_2 img.rune_icon{
  623. top: 2.9em;
  624. left: 2.3em;
  625. }
  626. div.rune_panel.rune_slot_3 img.rune_icon{
  627. top: 2.2em;
  628. left: 2.3em;
  629. }
  630. div.rune_panel.rune_slot_4 img.rune_icon{
  631. top: 2em;
  632. left: 2.8em;
  633. }
  634. div.rune_panel.rune_slot_5 img.rune_icon{
  635. top: 2.2em;
  636. left: 3.3em;
  637. }
  638. div.rune_panel.rune_slot_6 img.rune_icon{
  639. top: 2.9em;
  640. left: 3.3em;
  641. }
  642. div.rune_panel.rune_quality_normal img.rune_icon{filter: sepia(100%) saturate(500%) grayscale(100%);}
  643. div.rune_panel.rune_quality_magic img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(60deg);}
  644. div.rune_panel.rune_quality_rare img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(120deg);}
  645. div.rune_panel.rune_quality_hero img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(230deg);}
  646. div.rune_panel.rune_quality_legend img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(330deg);}
  647. div.rune_panel span.rune_stars{
  648. position: absolute;
  649. width: 9em;
  650. left: 0.9em;
  651. top: 0.2em;
  652. text-align: left;
  653. }
  654. div.rune_panel span.rune_stars img.star{
  655. width: 1.2em;
  656. height: 1.2em;
  657. margin-left: -0.6em;
  658. }
  659. div.rune_panel span.rune_level{
  660. font-size: 130%;
  661. font-weight: bold;
  662. text-shadow: 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000;
  663. position: relative;
  664. top: 4.7em;
  665. left: 1.5em;
  666. }
  667. div.rune_panel span.rune_level::before {
  668. content: "+";
  669. }
  670. div.rune_panel.rune_level_15 span.rune_level{color: #ff6f2d;}
  671. /**
  672. * /Rune boxes
  673. */
  674. /**
  675. * Artifact boxes
  676. */
  677. div.artifact_panel{
  678. width: 8em;
  679. height: 8em;
  680. border: 0.2em solid #000000;
  681. border-radius: 1em;
  682. position: relative;
  683. text-align: center;
  684. }
  685. div.artifact_panel.artifact_original_quality_normal{ /* Normal */
  686. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  687. }
  688. div.artifact_panel.artifact_original_quality_magic{ /* Magic */
  689. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  690. }
  691. div.artifact_panel.artifact_original_quality_rare{ /* Rare */
  692. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  693. }
  694. div.artifact_panel.artifact_original_quality_hero{ /* Hero */
  695. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  696. }
  697. div.artifact_panel.artifact_original_quality_legend{ /* Legend */
  698. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  699. }
  700. div.artifact_panel img.artifact_base{
  701. position: absolute;
  702. width: 8em;
  703. height: 8em;
  704. margin: 0;
  705. top: 0.1em;
  706. left: 0;
  707. }
  708. div.artifact_panel img.artifact_icon{
  709. position: absolute;
  710. height: 4em;
  711. top: 2em;
  712. left: 2em;
  713. }
  714. div.artifact_panel.artifact_level_15 span.artifact_stars img.star{filter: sepia(100%) saturate(300%) hue-rotate(320deg) saturate(400%) drop-shadow(0 0 0.1em #000000) drop-shadow(0 0 0.1em #000000);}
  715. div.artifact_panel span.artifact_level{
  716. font-size: 130%;
  717. font-weight: bold;
  718. text-shadow: 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000;
  719. position: relative;
  720. top: 4.7em;
  721. left: 1.5em;
  722. }
  723. div.artifact_panel span.artifact_level::before {
  724. content: "+";
  725. }
  726. div.artifact_panel.artifact_level_15 span.artifact_level{color: #ff6f2d;}
  727. /**
  728. * /Artifact boxes
  729. */
  730. /**
  731. * Monster panel
  732. */
  733. div.monster_panel{
  734. display: inline-block;
  735. width: 7em;
  736. height: 7em;
  737. position: relative;
  738. border-radius: 15%;
  739. overflow: hidden;
  740. }
  741. @media screen and (max-width : 990px){
  742. div.monster_panel{
  743. height: 6em;
  744. width: 6em;
  745. margin: 0.2em;
  746. }
  747. }
  748. div.monster_panel span.stars{
  749. position: absolute;
  750. top: 0.3em;
  751. left: 0.3em;
  752. pointer-events: none;
  753. }
  754. div.monster_panel span.stars img.star{
  755. width: 1.5em;
  756. height: 1.5em;
  757. margin-right: -0.95em;
  758. pointer-events: none;
  759. }
  760. @media screen and (max-width : 990px){
  761. div.monster_panel span.stars img.star{
  762. width: 1.1em;
  763. height: 1.1em;
  764. margin-left: -0.5em;
  765. }
  766. }
  767. div.monster_panel img.monster{
  768. width: 6.5em;
  769. height: 6.5em;
  770. border-style: solid;
  771. border-width: 0.3em;
  772. border-radius: 15%;
  773. box-shadow: inset 0 0 0.3em #000;
  774. }
  775. @media screen and (max-width : 990px){
  776. div.monster_panel img.monster{
  777. width: 5.6em;
  778. height: 5.6em;
  779. border-width: 0.2em;
  780. border-radius: 10%;
  781. }
  782. }
  783. div.monster_panel span.level{
  784. position: relative;
  785. font-weight: bold;
  786. color: #000;
  787. text-shadow: 0 0 0.5em #fff, 0 0 0.1em #fff, 0 0 0.5em #fff, 0 0 0.1em #fff;
  788. font-size: 1.5em;
  789. width: 95%;
  790. text-align: right;
  791. bottom: 1.5em;
  792. z-index: 1;
  793. pointer-events: none;
  794. display: block;
  795. }
  796. div.monster_panel span.badges{
  797. position: absolute;
  798. width: 1.6em;
  799. text-align: left;
  800. top: 1.5em;
  801. bottom: 0.6em;
  802. left: 0.1em;
  803. z-index: 1;
  804. display: block;
  805. transform: rotate(180deg);
  806. }
  807. div.monster_panel span.badges img{
  808. width: 1em;
  809. height: 1em;
  810. border-radius: 50%;
  811. border: 0.15em solid #000000;
  812. background-color: #ffffff;
  813. transform: rotate(180deg);
  814. margin: -0.11em 0 -0.11em 0;
  815. }
  816. /**
  817. * /Monster panel
  818. */
  819. /**
  820. * Monster transformation panel
  821. */
  822. div.monster_transformation_panel{
  823. display: inline-block;
  824. width: 4em;
  825. height: 4em;
  826. margin: 0.5em 0.5em 0.5em -0.5em;
  827. position: relative;
  828. border-radius: 15%;
  829. }
  830. @media screen and (max-width : 990px){
  831. div.monster_transformation_panel{
  832. height: 3em;
  833. width: 3em;
  834. margin: 0.2em 0.2em 0.2em -0.2em;
  835. }
  836. }
  837. div.monster_transformation_panel img.monster_transformation{
  838. width: 3.5em;
  839. height: 3.5em;
  840. border-style: solid;
  841. border-width: 0.2em;
  842. border-radius: 35%;
  843. }
  844. @media screen and (max-width : 990px){
  845. div.monster_transformation_panel img.monster_transformation{
  846. width: 2.6em;
  847. height: 2.6em;
  848. border-width: 0.1em;
  849. border-radius: 20%;
  850. }
  851. }
  852. /**
  853. * /Monster transformation panel
  854. */
  855. div.building_panel{
  856. display: inline-block;
  857. width: 4em;
  858. height: 4em;
  859. position: relative;
  860. border-radius: 15%;
  861. vertical-align: middle;
  862. }
  863. div.building_panel img.building, img.decoration{
  864. width: 4em;
  865. height: 4em;
  866. border-style: solid;
  867. border-width: 0.1em;
  868. border-radius: 15%;
  869. }
  870. div.building_panel span.level{
  871. position: relative;
  872. font-weight: bold;
  873. color: #000;
  874. text-shadow: 0 0 0.5em #fff, 0 0 0.1em #fff, 0 0 0.5em #fff, 0 0 0.1em #fff;
  875. font-size: 1.5em;
  876. width: 95%;
  877. text-align: right;
  878. bottom: 1.5em;
  879. z-index: 1;
  880. pointer-events: none;
  881. display: block;
  882. }
  883. div.item_panel{
  884. display: inline-block;
  885. width: 4em;
  886. height: 4em;
  887. position: relative;
  888. border-radius: 15%;
  889. vertical-align: middle;
  890. }
  891. div.item_panel img.item{
  892. width: 4em;
  893. height: 4em;
  894. border-style: solid;
  895. border-width: 0.1em;
  896. border-radius: 15%;
  897. }
  898. div.item_panel span.amount{
  899. position: relative;
  900. font-weight: bold;
  901. color: #000;
  902. text-shadow: 0 0 0.5em #fff, 0 0 0.1em #fff, 0 0 0.5em #fff, 0 0 0.1em #fff;
  903. font-size: 1.3em;
  904. width: 95%;
  905. text-align: right;
  906. bottom: 1.5em;
  907. z-index: 1;
  908. pointer-events: none;
  909. display: block;
  910. }
  911. /**
  912. * Rune table
  913. */
  914. table.rune{
  915. width: 21em;
  916. height: 7.5em;
  917. border-collapse: collapse;
  918. display: inline-block;
  919. vertical-align: top;
  920. font-size: 80%;
  921. position: relative;
  922. border-radius: 1em;
  923. margin: 0.5em;
  924. background-color: var(--color-table-rune-background);
  925. font-size: 90%;
  926. border: 0.3em solid var(--color-table-rune-border);
  927. font-family: monospace;
  928. }
  929. table.rune td.icon{
  930. vertical-align: top;
  931. padding-top: 0.3em;
  932. }
  933. table.rune td.icon div.assigned{
  934. max-width: 2.5em;
  935. max-height: 2.5em;
  936. position: absolute;
  937. left: 0.2em;
  938. top: 3.6em;
  939. }
  940. table.rune td.icon div.assigned img.monster_image{
  941. width: 2.5em;
  942. height: 2.5em;
  943. border-style: solid;
  944. border-width: 0.2em;
  945. border-radius: 15%;
  946. }
  947. table.rune td.icon div.rune_panel{font-size: 70%;}
  948. table.rune td.stats{width: 6em;}
  949. table.rune td.stats table{
  950. font-size: 90%;
  951. border-collapse: collapse;
  952. }
  953. table.rune td.stats table td{
  954. line-height: 100%;
  955. }
  956. table.rune td.stats table tr.main_stat{
  957. font-weight: bold;
  958. font-size: 110%;
  959. }
  960. table.rune td.stats table tr.innate_stat{font-style: italic;}
  961. table.rune td.stats table td.stat{text-align: right;}
  962. table.rune td.stats table td.value{
  963. text-align: right;
  964. vertical-align: middle;
  965. white-space: nowrap;
  966. }
  967. table.rune td.stats table td.grind{
  968. color: #ff7700;
  969. vertical-align: middle;
  970. font-size: 90%;
  971. font-weight: bold;
  972. margin-left: -0.4em;
  973. position: relative
  974. }
  975. table.rune td.stats table td.grind img{
  976. width: 1em;
  977. height: 1em;
  978. position: absolute;
  979. top: 0.1em;
  980. }
  981. table.rune td.details{
  982. padding-left: 0.5em;
  983. width: 16em;
  984. font-size: 80%;
  985. }
  986. table.rune td.details table.table_details{
  987. border-collapse: collapse;
  988. }
  989. table.rune td.details table.table_details td{
  990. line-height: 100%;
  991. }
  992. table.rune td.details table.table_details td.title{text-align: right;}
  993. table.rune td.details table.table_details td.value{
  994. text-align: right;
  995. }
  996. table.rune td.details table.table_details span.quality{
  997. border: 0.1em solid #000000;
  998. border-radius: 0.2em;
  999. font-weight: bold;
  1000. text-shadow: 0 0 0.1em #000000;
  1001. padding: 0 0.3em;
  1002. width: 3.5em;
  1003. text-align: center;
  1004. height: 1em;
  1005. font-size: 90%;
  1006. display: inline-block;
  1007. }
  1008. table.rune td.details table.table_details span.quality.quality_normal{background-color: #cccccc;}
  1009. table.rune td.details table.table_details span.quality.quality_magic{background-color: #55ff55;}
  1010. table.rune td.details table.table_details span.quality.quality_rare{background-color: #15c6e1;}
  1011. table.rune td.details table.table_details span.quality.quality_hero{background-color: #ad7fa8;}
  1012. table.rune td.details table.table_details span.quality.quality_legend{background-color: #f57900;}
  1013. /**
  1014. * /Rune table
  1015. */
  1016. /**
  1017. * Artifact table
  1018. */
  1019. table.artifact{
  1020. width: 24em;
  1021. border-collapse: collapse;
  1022. display: inline-block;
  1023. vertical-align: top;
  1024. font-size: 80%;
  1025. position: relative;
  1026. border-radius: 1em;
  1027. margin: 0.5em;
  1028. background-color: var(--color-table-rune-background);
  1029. font-size: 90%;
  1030. border: 0.3em solid var(--color-table-rune-border);
  1031. font-family: monospace;
  1032. }
  1033. table.artifact td.icon{
  1034. vertical-align: top;
  1035. padding-top: 0.3em;
  1036. }
  1037. table.artifact td.icon div.assigned{
  1038. max-width: 2.5em;
  1039. max-height: 2.5em;
  1040. position: absolute;
  1041. left: 0.2em;
  1042. top: 3.6em;
  1043. }
  1044. table.artifact td.icon div.assigned img.monster_image{
  1045. width: 2.5em;
  1046. height: 2.5em;
  1047. border-style: solid;
  1048. border-width: 0.2em;
  1049. border-radius: 15%;
  1050. }
  1051. table.artifact td.icon div.artifact_panel{font-size: 70%;}
  1052. /* TODO: While no details panel, stats can be wider. Normaly is 8em*/
  1053. table.artifact td.effects{
  1054. width: 21.5em;
  1055. text-align: left;
  1056. }
  1057. table.artifact td.effects table{font-size: 90%;}
  1058. table.artifact td.effects table tr.main_stat{
  1059. font-weight: bold;
  1060. font-size: 110%;
  1061. }
  1062. table.artifact td.details{
  1063. font-size: 80%;
  1064. text-align: center;
  1065. }
  1066. /**
  1067. * /Artifact table
  1068. */
  1069. /**
  1070. * Enchantment panel
  1071. */
  1072. div.enchantment_panel{
  1073. width: 4em;
  1074. height: 4em;
  1075. border: 0.1em solid var(--color-table-rune-border);
  1076. border-radius: 0.5em;
  1077. position: relative;
  1078. text-align: center;
  1079. display: inline-block;
  1080. }
  1081. div.enchantment_panel.enchantment_quality_normal{ /* Normal */
  1082. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  1083. }
  1084. div.enchantment_panel.enchantment_quality_magic{ /* Magic */
  1085. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  1086. }
  1087. div.enchantment_panel.enchantment_quality_rare{ /* Rare */
  1088. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  1089. }
  1090. div.enchantment_panel.enchantment_quality_hero{ /* Hero */
  1091. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  1092. }
  1093. div.enchantment_panel.enchantment_quality_legend{ /* Legend */
  1094. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  1095. }
  1096. div.enchantment_panel img.enchantment_base{
  1097. position: absolute;
  1098. width: 4em;
  1099. height: 4em;
  1100. margin: -0.5em;
  1101. top: 0.1em;
  1102. left: 0.5em;
  1103. }
  1104. div.enchantment_panel img.enchantment_icon{
  1105. position: absolute;
  1106. width: 1.5em;
  1107. height: 1.5em;
  1108. top: 0.8em;
  1109. left: 1.25em;
  1110. }
  1111. div.enchantment_panel.enchantment_ancient_1 img.enchantment_base{filter: brightness(150%) contrast(90%) saturate(100%) drop-shadow(0 0 0.3em #ffffff) drop-shadow(0 0 0.1em #ffffff);}
  1112. div.enchantment_panel.enchantment_quality_normal img.enchantment_base{filter: sepia(100%) saturate(500%) grayscale(100%);}
  1113. div.enchantment_panel.enchantment_quality_magic img.enchantment_base{filter: sepia(100%) saturate(500%) hue-rotate(60deg);}
  1114. div.enchantment_panel.enchantment_quality_rare img.enchantment_base{filter: sepia(100%) saturate(500%) hue-rotate(120deg);}
  1115. div.enchantment_panel.enchantment_quality_hero img.enchantment_base{filter: sepia(100%) saturate(500%) hue-rotate(230deg);}
  1116. div.enchantment_panel.enchantment_quality_legend img.enchantment_base{filter: sepia(100%) saturate(500%) hue-rotate(330deg);}
  1117. div.enchantment_panel span.enchantment_stat{
  1118. display: block;
  1119. width: 100%;
  1120. text-align: center;
  1121. font-size: 80%;
  1122. text-shadow: 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000;
  1123. position: absolute;
  1124. bottom: 0;
  1125. font-family: monospace;
  1126. }
  1127. div.enchantment_panel span.enchantment_stat span.enchantment_stat_name{
  1128. display: block;
  1129. margin: 0;
  1130. }
  1131. div.enchantment_panel span.enchantment_stat span.enchantment_stat_value{
  1132. display: block;
  1133. font-weight: bold;
  1134. margin: 0;
  1135. }
  1136. div.enchantment_panel span.enchantment_amount{
  1137. display: block;
  1138. position: absolute;
  1139. top: 0;
  1140. right: 0.2em;
  1141. text-align: right;
  1142. font-size: 90%;
  1143. font-weight: bold;
  1144. text-shadow: 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000;
  1145. }
  1146. /* Help tooltips */
  1147. div.help_tooltip{
  1148. display: inline-block;
  1149. width: 1em;
  1150. height: 1em;
  1151. color: var(--section-title-background);
  1152. background-color: var(--ui-color-border);
  1153. border: 0.1em solid var(--section-title-background);
  1154. border-radius: 50%;
  1155. font-family: monospace;
  1156. font-weight: bold;
  1157. vertical-align: bottom;
  1158. position: relative;
  1159. text-align: center;
  1160. cursor: pointer;
  1161. }
  1162. div.help_tooltip:after{
  1163. content: '?';
  1164. }
  1165. div.help_tooltip p{
  1166. font-size: 100%;
  1167. font-family: initial;
  1168. font-weight: initial;
  1169. border: var(--section-border);
  1170. color: #ffffff;
  1171. display: none;
  1172. position: absolute;
  1173. top: 0%;
  1174. left: -5em;
  1175. width: 10em;
  1176. border: var(--section-border);
  1177. border-radius: 0.8em;
  1178. background-color: var(--section-background-list);
  1179. padding: 0.4em;
  1180. text-align: left;
  1181. line-height: 95%;
  1182. filter: drop-shadow(0 0 0.5em #000000) drop-shadow(0 0 0.2em #000000) drop-shadow(0 0 0.1em #000000);
  1183. z-index: 999;
  1184. }
  1185. div.help_tooltip:hover p{
  1186. display: block;
  1187. }