ui.css 32 KB

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