ui.css 32 KB

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