ui.css 31 KB

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