ui.css 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227
  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. div.building_panel{
  856. display: inline-block;
  857. width: 4em;
  858. height: 4em;
  859. margin: 0.2em 0em;
  860. position: relative;
  861. border-radius: 15%;
  862. vertical-align: middle;
  863. }
  864. div.building_panel img.building, img.decoration{
  865. width: 4em;
  866. height: 4em;
  867. border-style: solid;
  868. border-width: 0.1em;
  869. border-radius: 15%;
  870. }
  871. div.building_panel span.level{
  872. position: relative;
  873. bottom: 1.6em;
  874. font-weight: bold;
  875. color: #000;
  876. text-shadow: 0 0 0.1em #fff, 0 0 0.2em #fff, 0 0 0.4em #fff, 0 0 0.4em #fff;
  877. bottom: 1.4em;
  878. z-index: 1;
  879. font-size: 1em;
  880. display: block;
  881. text-align: right;
  882. pointer-events: none;
  883. }
  884. /**
  885. * Rune table
  886. */
  887. table.rune{
  888. width: 21em;
  889. height: 7.5em;
  890. border-collapse: collapse;
  891. display: inline-block;
  892. vertical-align: top;
  893. font-size: 80%;
  894. position: relative;
  895. border-radius: 1em;
  896. margin: 0.5em;
  897. background-color: var(--color-table-rune-background);
  898. font-size: 90%;
  899. border: 0.3em solid var(--color-table-rune-border);
  900. font-family: monospace;
  901. }
  902. table.rune td.icon{
  903. vertical-align: top;
  904. padding-top: 0.3em;
  905. }
  906. table.rune td.icon div.assigned{
  907. max-width: 2.5em;
  908. max-height: 2.5em;
  909. position: absolute;
  910. left: 0.2em;
  911. top: 3.6em;
  912. }
  913. table.rune td.icon div.assigned img.monster_image{
  914. width: 2.5em;
  915. height: 2.5em;
  916. border-style: solid;
  917. border-width: 0.2em;
  918. border-radius: 15%;
  919. }
  920. table.rune td.icon div.rune_panel{font-size: 70%;}
  921. table.rune td.stats{width: 6em;}
  922. table.rune td.stats table{
  923. font-size: 90%;
  924. border-collapse: collapse;
  925. }
  926. table.rune td.stats table td{
  927. line-height: 100%;
  928. }
  929. table.rune td.stats table tr.main_stat{
  930. font-weight: bold;
  931. font-size: 110%;
  932. }
  933. table.rune td.stats table tr.innate_stat{font-style: italic;}
  934. table.rune td.stats table td.stat{text-align: right;}
  935. table.rune td.stats table td.value{
  936. text-align: right;
  937. vertical-align: middle;
  938. white-space: nowrap;
  939. }
  940. table.rune td.stats table td.grind{
  941. color: #ff7700;
  942. vertical-align: middle;
  943. font-size: 90%;
  944. font-weight: bold;
  945. margin-left: -0.4em;
  946. position: relative
  947. }
  948. table.rune td.stats table td.grind img{
  949. width: 1em;
  950. height: 1em;
  951. position: absolute;
  952. top: 0.1em;
  953. }
  954. table.rune td.details{
  955. padding-left: 0.5em;
  956. width: 16em;
  957. font-size: 80%;
  958. }
  959. table.rune td.details table.table_details{
  960. border-collapse: collapse;
  961. }
  962. table.rune td.details table.table_details td{
  963. line-height: 100%;
  964. }
  965. table.rune td.details table.table_details td.title{text-align: right;}
  966. table.rune td.details table.table_details td.value{
  967. text-align: right;
  968. }
  969. table.rune td.details table.table_details span.quality{
  970. border: 0.1em solid #000000;
  971. border-radius: 0.2em;
  972. font-weight: bold;
  973. text-shadow: 0 0 0.1em #000000;
  974. padding: 0 0.3em;
  975. width: 3.5em;
  976. text-align: center;
  977. height: 1em;
  978. font-size: 90%;
  979. display: inline-block;
  980. }
  981. table.rune td.details table.table_details span.quality.quality_normal{background-color: #cccccc;}
  982. table.rune td.details table.table_details span.quality.quality_magic{background-color: #55ff55;}
  983. table.rune td.details table.table_details span.quality.quality_rare{background-color: #15c6e1;}
  984. table.rune td.details table.table_details span.quality.quality_hero{background-color: #ad7fa8;}
  985. table.rune td.details table.table_details span.quality.quality_legend{background-color: #f57900;}
  986. /**
  987. * /Rune table
  988. */
  989. /**
  990. * Artifact table
  991. */
  992. table.artifact{
  993. width: 24em;
  994. border-collapse: collapse;
  995. display: inline-block;
  996. vertical-align: top;
  997. font-size: 80%;
  998. position: relative;
  999. border-radius: 1em;
  1000. margin: 0.5em;
  1001. background-color: var(--color-table-rune-background);
  1002. font-size: 90%;
  1003. border: 0.3em solid var(--color-table-rune-border);
  1004. font-family: monospace;
  1005. }
  1006. table.artifact td.icon{
  1007. vertical-align: top;
  1008. padding-top: 0.3em;
  1009. }
  1010. table.artifact td.icon div.assigned{
  1011. max-width: 2.5em;
  1012. max-height: 2.5em;
  1013. position: absolute;
  1014. left: 0.2em;
  1015. top: 3.6em;
  1016. }
  1017. table.artifact td.icon div.assigned img.monster_image{
  1018. width: 2.5em;
  1019. height: 2.5em;
  1020. border-style: solid;
  1021. border-width: 0.2em;
  1022. border-radius: 15%;
  1023. }
  1024. table.artifact td.icon div.artifact_panel{font-size: 70%;}
  1025. /* TODO: While no details panel, stats can be wider. Normaly is 8em*/
  1026. table.artifact td.effects{
  1027. width: 21.5em;
  1028. text-align: left;
  1029. }
  1030. table.artifact td.effects table{font-size: 90%;}
  1031. table.artifact td.effects table tr.main_stat{
  1032. font-weight: bold;
  1033. font-size: 110%;
  1034. }
  1035. table.artifact td.details{
  1036. font-size: 80%;
  1037. text-align: center;
  1038. }
  1039. /**
  1040. * /Artifact table
  1041. */
  1042. /**
  1043. * Enchantment panel
  1044. */
  1045. div.enchantment_panel{
  1046. width: 4em;
  1047. height: 4em;
  1048. border: 0.1em solid var(--color-table-rune-border);
  1049. border-radius: 0.5em;
  1050. position: relative;
  1051. text-align: center;
  1052. display: inline-block;
  1053. }
  1054. div.enchantment_panel.enchantment_quality_normal{ /* Normal */
  1055. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  1056. }
  1057. div.enchantment_panel.enchantment_quality_magic{ /* Magic */
  1058. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  1059. }
  1060. div.enchantment_panel.enchantment_quality_rare{ /* Rare */
  1061. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  1062. }
  1063. div.enchantment_panel.enchantment_quality_hero{ /* Hero */
  1064. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  1065. }
  1066. div.enchantment_panel.enchantment_quality_legend{ /* Legend */
  1067. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  1068. }
  1069. div.enchantment_panel img.enchantment_base{
  1070. position: absolute;
  1071. width: 4em;
  1072. height: 4em;
  1073. margin: -0.5em;
  1074. top: 0.1em;
  1075. left: 0.5em;
  1076. }
  1077. div.enchantment_panel img.enchantment_icon{
  1078. position: absolute;
  1079. width: 1.5em;
  1080. height: 1.5em;
  1081. top: 0.8em;
  1082. left: 1.25em;
  1083. }
  1084. 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);}
  1085. div.enchantment_panel.enchantment_quality_normal img.enchantment_base{filter: sepia(100%) saturate(500%) grayscale(100%);}
  1086. div.enchantment_panel.enchantment_quality_magic img.enchantment_base{filter: sepia(100%) saturate(500%) hue-rotate(60deg);}
  1087. div.enchantment_panel.enchantment_quality_rare img.enchantment_base{filter: sepia(100%) saturate(500%) hue-rotate(120deg);}
  1088. div.enchantment_panel.enchantment_quality_hero img.enchantment_base{filter: sepia(100%) saturate(500%) hue-rotate(230deg);}
  1089. div.enchantment_panel.enchantment_quality_legend img.enchantment_base{filter: sepia(100%) saturate(500%) hue-rotate(330deg);}
  1090. div.enchantment_panel span.enchantment_stat{
  1091. display: block;
  1092. width: 100%;
  1093. text-align: center;
  1094. font-size: 80%;
  1095. 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;
  1096. position: absolute;
  1097. bottom: 0;
  1098. font-family: monospace;
  1099. }
  1100. div.enchantment_panel span.enchantment_stat span.enchantment_stat_name{
  1101. display: block;
  1102. margin: 0;
  1103. }
  1104. div.enchantment_panel span.enchantment_stat span.enchantment_stat_value{
  1105. display: block;
  1106. font-weight: bold;
  1107. margin: 0;
  1108. }
  1109. div.enchantment_panel span.enchantment_amount{
  1110. display: block;
  1111. position: absolute;
  1112. top: 0;
  1113. right: 0.2em;
  1114. text-align: right;
  1115. font-size: 90%;
  1116. font-weight: bold;
  1117. 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;
  1118. }
  1119. /* Help tooltips */
  1120. div.help_tooltip{
  1121. display: inline-block;
  1122. width: 1em;
  1123. height: 1em;
  1124. color: var(--section-title-background);
  1125. background-color: var(--ui-color-border);
  1126. border: 0.1em solid var(--section-title-background);
  1127. border-radius: 50%;
  1128. font-family: monospace;
  1129. font-weight: bold;
  1130. vertical-align: bottom;
  1131. position: relative;
  1132. text-align: center;
  1133. cursor: pointer;
  1134. }
  1135. div.help_tooltip:after{
  1136. content: '?';
  1137. }
  1138. div.help_tooltip p{
  1139. font-size: 100%;
  1140. font-family: initial;
  1141. font-weight: initial;
  1142. border: var(--section-border);
  1143. color: #ffffff;
  1144. display: none;
  1145. position: absolute;
  1146. top: 0%;
  1147. left: -5em;
  1148. width: 10em;
  1149. border: var(--section-border);
  1150. border-radius: 0.8em;
  1151. background-color: var(--section-background-list);
  1152. padding: 0.4em;
  1153. text-align: left;
  1154. line-height: 95%;
  1155. filter: drop-shadow(0 0 0.5em #000000) drop-shadow(0 0 0.2em #000000) drop-shadow(0 0 0.1em #000000);
  1156. z-index: 999;
  1157. }
  1158. div.help_tooltip:hover p{
  1159. display: block;
  1160. }