ui.css 33 KB

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