ui.css 33 KB

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