A corporation manager and dashboard for EVE Online
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

565 lines
8.9 KiB

  1. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~ Calefaction Main CSS ~~~~~~~~~~~~~~~~~~~~~~~~~ */
  2. /* =============================== Universal =============================== */
  3. @import url(//fonts.googleapis.com/css?family=Open+Sans:400,400italic,700);
  4. body {
  5. display: flex;
  6. min-height: 100vh;
  7. flex-direction: column;
  8. margin: 0;
  9. font-family: "Open Sans", sans-serif;
  10. line-height: 1.3;
  11. color: #EAEAEA;
  12. background-color: black;
  13. background-size: cover;
  14. background-position: center;
  15. background-attachment: fixed;
  16. }
  17. a {
  18. color: #78CEFF;
  19. text-decoration: none;
  20. }
  21. a:hover {
  22. color: #68BEDD;
  23. text-decoration: underline;
  24. }
  25. h2, h3 {
  26. margin: 0.5em 0;
  27. }
  28. abbr[title], acronym[title] {
  29. border-bottom: 1px dotted #555;
  30. text-decoration: none;
  31. }
  32. .understate {
  33. font-weight: normal;
  34. }
  35. #container {
  36. display: flex;
  37. flex: 1;
  38. }
  39. #container > div {
  40. width: 100%;
  41. }
  42. .styled-border {
  43. border-color: #4A4A4A;
  44. border-style: solid;
  45. }
  46. main, header, footer {
  47. background-color: rgba(0, 0, 0, 0.8);
  48. }
  49. main {
  50. border-width: 1px;
  51. }
  52. header {
  53. border-width: 0 0 1px 0;
  54. }
  55. footer {
  56. padding: 0.5em 0;
  57. font-size: 85%;
  58. text-align: center;
  59. color: #BABABA;
  60. border-width: 1px 0 0;
  61. }
  62. header > div, footer > div {
  63. margin: 0 auto;
  64. }
  65. @media (min-width: 800px) {
  66. main, header > div, footer > div {
  67. max-width: 1000px;
  68. width: 80%;
  69. }
  70. main {
  71. margin: 2em auto;
  72. padding: 0.5em 1.5em;
  73. }
  74. header > div {
  75. display: table;
  76. }
  77. footer > div {
  78. padding: 0.5em 1.5em;
  79. }
  80. header > div > div {
  81. display: table-row;
  82. }
  83. header > div > div > div {
  84. display: table-cell;
  85. }
  86. header .left {
  87. padding: 0.5em 1.5em 0.5em 0;
  88. }
  89. header .right {
  90. padding: 0.5em 0;
  91. text-align: right;
  92. white-space: nowrap;
  93. }
  94. }
  95. @media (max-width: 799px) {
  96. main {
  97. margin: 1.5em auto;
  98. padding: 0 1em;
  99. }
  100. footer > div {
  101. padding: 0.5em 1em;
  102. }
  103. header > div > div > div {
  104. display: inline-block;
  105. }
  106. header .left {
  107. margin: 0.5em 1em 0em 1em;
  108. }
  109. header .right {
  110. margin: 0.25em 1em 0.5em 1em;
  111. }
  112. }
  113. header nav {
  114. display: inline-block;
  115. vertical-align: middle;
  116. padding: 0.25em 0;
  117. }
  118. header nav > ul {
  119. display: inline-block;
  120. margin: 0;
  121. padding: 0;
  122. }
  123. header nav > ul > li {
  124. display: inline-block;
  125. }
  126. header nav > ul > li:not(:last-child)::after {
  127. content: " \007c";
  128. color: #777;
  129. }
  130. header .spacer {
  131. height: 32px;
  132. vertical-align: middle;
  133. visibility: hidden;
  134. }
  135. header .sep {
  136. color: #777777;
  137. }
  138. footer ul {
  139. margin: 0;
  140. padding: 0;
  141. }
  142. footer ul li {
  143. display: inline-block;
  144. list-style: none;
  145. }
  146. footer ul li:not(:last-child)::after {
  147. content: " \00b7";
  148. }
  149. #corp-masthead {
  150. color: #EAEAEA;
  151. margin-right: 1.5em;
  152. }
  153. #corp-masthead:hover {
  154. color: #BABABA;
  155. text-decoration: none;
  156. }
  157. #corp-masthead img {
  158. height: 32px;
  159. margin-right: 0.25em;
  160. }
  161. #corp-masthead h1 {
  162. display: inline;
  163. font-size: 120%;
  164. font-weight: normal;
  165. }
  166. #corp-masthead > * {
  167. vertical-align: middle;
  168. }
  169. #flashes {
  170. margin-top: 0.5em;
  171. }
  172. #flashes > div {
  173. padding: 0.5em 0.75em;
  174. border-left-width: 4px;
  175. border-left-style: solid;
  176. }
  177. #flashes > .success {
  178. border-color: #33AA22;
  179. background-color: rgba(60, 255, 30, 0.2);
  180. }
  181. #flashes > .error {
  182. border-color: #AA3322;
  183. background-color: rgba(255, 60, 30, 0.2);
  184. }
  185. #flashes .dismiss {
  186. float: right;
  187. margin: 0 0 0.5em 0.5em;
  188. }
  189. #character-portrait {
  190. position: relative;
  191. display: inline-block;
  192. }
  193. #character-portrait img {
  194. height: 32px;
  195. width: 32px;
  196. margin-right: 0.25em;
  197. box-sizing: border-box;
  198. border-width: 1px;
  199. vertical-align: middle;
  200. }
  201. #character-summary {
  202. font-size: 90%;
  203. vertical-align: middle;
  204. }
  205. #character-options {
  206. position: absolute;
  207. margin-top: 1em;
  208. margin-left: -5px;
  209. background-color: rgba(0, 0, 0, 0.8);
  210. border-width: 1px;
  211. }
  212. #character-options::after, #character-options::before {
  213. bottom: 100%;
  214. left: 20px;
  215. border: solid transparent;
  216. content: " ";
  217. height: 0;
  218. width: 0;
  219. position: absolute;
  220. pointer-events: none;
  221. }
  222. #character-options::after {
  223. border-bottom-color: black;
  224. border-width: 10px;
  225. margin-left: -10px;
  226. }
  227. #character-options::before {
  228. border-bottom-color: #4A4A4A;
  229. border-width: 12px;
  230. margin-left: -12px;
  231. }
  232. #style-options {
  233. margin: 4px;
  234. line-height: 0;
  235. }
  236. #style-options > * {
  237. display: inline-block;
  238. padding: 4px;
  239. }
  240. #style-options > * > * {
  241. display: inline-block;
  242. height: 24px;
  243. width: 24px;
  244. margin: 0;
  245. padding: 0;
  246. background-color: transparent;
  247. background-size: contain;
  248. background-position: center;
  249. background-repeat: no-repeat;
  250. font-size: 0;
  251. border: 0;
  252. vertical-align: middle;
  253. }
  254. #style-options .cur {
  255. background-color: rgba(255, 255, 255, 0.3);
  256. }
  257. #style-options > :not(.cur) > * {
  258. cursor: pointer;
  259. }
  260. #error pre {
  261. white-space: pre-wrap;
  262. }
  263. #login-button {
  264. height: 30px;
  265. padding-bottom: 2px;
  266. vertical-align: middle;
  267. }
  268. #logout-form {
  269. margin-bottom: 1em;
  270. }
  271. /* ================================ Modules ================================ */
  272. /* ------------------------------- Campaigns ------------------------------- */
  273. #campaigns-select {
  274. display: inline-block;
  275. padding-right: 1em;
  276. background: transparent 100% 50%/contain no-repeat;
  277. border-width: 1px;
  278. }
  279. #campaigns-select select {
  280. max-width: 120px;
  281. padding: 0 0.25em;
  282. font-size: 100%;
  283. color: inherit;
  284. background: transparent;
  285. border: none;
  286. appearance: none;
  287. -webkit-appearance: none;
  288. -moz-appearance: none;
  289. }
  290. h2 .disabled {
  291. color: #989898;
  292. text-decoration: line-through;
  293. }
  294. h2 .disabled-info {
  295. margin-left: 0.5em;
  296. color: #989898;
  297. font-size: 85%;
  298. font-variant: none;
  299. }
  300. #operations {
  301. margin-bottom: 1em;
  302. }
  303. #operations section {
  304. display: flex;
  305. }
  306. #operations section.loose {
  307. justify-content: space-around;
  308. }
  309. #operations section.tight {
  310. justify-content: space-between;
  311. }
  312. .operation .primary .num {
  313. height: 60px;
  314. line-height: 60px;
  315. }
  316. .operation .big {
  317. font-size: 300%;
  318. }
  319. .operation .medium {
  320. font-size: 200%;
  321. }
  322. .operation .small {
  323. font-size: 150%;
  324. }
  325. .operation .secondary {
  326. font-size: 105%;
  327. }
  328. .operation .unit {
  329. font-style: italic;
  330. }
  331. .operation .summary .head {
  332. margin-top: 1em;
  333. font-size: 14px;
  334. }
  335. .operation .summary .contents {
  336. position: relative;
  337. margin-top: 0.5em;
  338. border: 1px solid #282828;
  339. font-size: 14px;
  340. }
  341. .operation .killboard {
  342. border-spacing: 0;
  343. border-collapse: collapse;
  344. text-align: left;
  345. }
  346. .operation .killboard:not(.expanded) tr:nth-child(2n) {
  347. background-color: #181818;
  348. }
  349. .operation .killboard:not(.expanded) tr:nth-child(2n+1) {
  350. background-color: #0A0A0A;
  351. }
  352. .operation .killboard td {
  353. padding: 0.25em 0;
  354. }
  355. .operation .killboard td:first-child {
  356. padding-left: 1em;
  357. }
  358. .operation .killboard td:last-child {
  359. padding-right: 1em;
  360. }
  361. .operation .killboard .fluid {
  362. padding-right: 0.5em;
  363. }
  364. .operation .killboard .icon {
  365. width: 46px;
  366. }
  367. .operation .killboard.expanded {
  368. position: absolute;
  369. z-index: 1;
  370. transition: clip-path 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  371. clip-path: inset(0 100% 0 0);
  372. }
  373. .operation .killboard:not(.expanded) .extra {
  374. display: none;
  375. }
  376. .operation .killboard.expanded .spacer {
  377. display: none;
  378. }
  379. .operation .killboard img {
  380. width: 42px;
  381. height: 42px;
  382. vertical-align: middle;
  383. }
  384. .operation .killboard abbr {
  385. border-bottom: none;
  386. }
  387. @media (min-width: 800px) {
  388. #operations {
  389. margin: 1em 0;
  390. }
  391. #operations section {
  392. margin-bottom: 2em;
  393. }
  394. .operation {
  395. margin: 0 0.75em;
  396. text-align: center;
  397. }
  398. .operation .secondary {
  399. margin-top: 0.5em;
  400. }
  401. .operation .secondary .unit {
  402. margin-left: 0.15em;
  403. }
  404. }
  405. @media (max-width: 799px) {
  406. #operations section {
  407. flex-direction: column;
  408. }
  409. .operation {
  410. margin: 0.5em 0;
  411. }
  412. .operation .overview {
  413. margin-left: 1em;
  414. }
  415. .operation .primary, .operation .primary .unit {
  416. display: inline-block;
  417. }
  418. .operation .unit {
  419. margin-left: 0.15em;
  420. }
  421. .operation .killboard:not(.expanded) {
  422. width: 100%;
  423. }
  424. }
  425. /* -------------------------------- Members -------------------------------- */
  426. #members-list {
  427. list-style: none;
  428. margin: 1em 0 0.5em 0;
  429. padding: 0;
  430. column-count: 2;
  431. }
  432. #members-list li {
  433. margin-bottom: 0.5em;
  434. }
  435. #members-list a:hover {
  436. text-decoration: none;
  437. }
  438. #members-list img {
  439. width: 48px;
  440. height: 48px;
  441. vertical-align: middle;
  442. border-width: 1px;
  443. }
  444. #members-list span {
  445. margin-left: 0.5em;
  446. vertical-align: middle;
  447. }
  448. #members-list em {
  449. font-size: 90%;
  450. }
  451. #members-list em::before {
  452. content: ", ";
  453. }