base.css 21 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145
  1. /*
  2. DJANGO Admin styles
  3. */
  4. /* VARIABLE DEFINITIONS */
  5. html[data-theme="light"],
  6. :root {
  7. --primary: #79aec8;
  8. --secondary: #417690;
  9. --accent: #f5dd5d;
  10. --primary-fg: #fff;
  11. --body-fg: #333;
  12. --body-bg: #fff;
  13. --body-quiet-color: #666;
  14. --body-loud-color: #000;
  15. --header-color: #ffc;
  16. --header-branding-color: var(--accent);
  17. --header-bg: var(--secondary);
  18. --header-link-color: var(--primary-fg);
  19. --breadcrumbs-fg: #c4dce8;
  20. --breadcrumbs-link-fg: var(--body-bg);
  21. --breadcrumbs-bg: var(--primary);
  22. --link-fg: #417893;
  23. --link-hover-color: #036;
  24. --link-selected-fg: #5b80b2;
  25. --hairline-color: #e8e8e8;
  26. --border-color: #ccc;
  27. --error-fg: #ba2121;
  28. --message-success-bg: #dfd;
  29. --message-warning-bg: #ffc;
  30. --message-error-bg: #ffefef;
  31. --darkened-bg: #f8f8f8; /* A bit darker than --body-bg */
  32. --selected-bg: #e4e4e4; /* E.g. selected table cells */
  33. --selected-row: #ffc;
  34. --button-fg: #fff;
  35. --button-bg: var(--primary);
  36. --button-hover-bg: #609ab6;
  37. --default-button-bg: var(--secondary);
  38. --default-button-hover-bg: #205067;
  39. --close-button-bg: #747474;
  40. --close-button-hover-bg: #333;
  41. --delete-button-bg: #ba2121;
  42. --delete-button-hover-bg: #a41515;
  43. --object-tools-fg: var(--button-fg);
  44. --object-tools-bg: var(--close-button-bg);
  45. --object-tools-hover-bg: var(--close-button-hover-bg);
  46. --font-family-primary:
  47. -apple-system,
  48. BlinkMacSystemFont,
  49. "Segoe UI",
  50. system-ui,
  51. Roboto,
  52. "Helvetica Neue",
  53. Arial,
  54. sans-serif,
  55. "Apple Color Emoji",
  56. "Segoe UI Emoji",
  57. "Segoe UI Symbol",
  58. "Noto Color Emoji";
  59. --font-family-monospace:
  60. ui-monospace,
  61. Menlo,
  62. Monaco,
  63. "Cascadia Mono",
  64. "Segoe UI Mono",
  65. "Roboto Mono",
  66. "Oxygen Mono",
  67. "Ubuntu Monospace",
  68. "Source Code Pro",
  69. "Fira Mono",
  70. "Droid Sans Mono",
  71. "Courier New",
  72. monospace,
  73. "Apple Color Emoji",
  74. "Segoe UI Emoji",
  75. "Segoe UI Symbol",
  76. "Noto Color Emoji";
  77. }
  78. html, body {
  79. height: 100%;
  80. }
  81. body {
  82. margin: 0;
  83. padding: 0;
  84. font-size: 0.875rem;
  85. font-family: var(--font-family-primary);
  86. color: var(--body-fg);
  87. background: var(--body-bg);
  88. }
  89. /* LINKS */
  90. a:link, a:visited {
  91. color: var(--link-fg);
  92. text-decoration: none;
  93. transition: color 0.15s, background 0.15s;
  94. }
  95. a:focus, a:hover {
  96. color: var(--link-hover-color);
  97. }
  98. a:focus {
  99. text-decoration: underline;
  100. }
  101. a img {
  102. border: none;
  103. }
  104. a.section:link, a.section:visited {
  105. color: var(--header-link-color);
  106. text-decoration: none;
  107. }
  108. a.section:focus, a.section:hover {
  109. text-decoration: underline;
  110. }
  111. /* GLOBAL DEFAULTS */
  112. p, ol, ul, dl {
  113. margin: .2em 0 .8em 0;
  114. }
  115. p {
  116. padding: 0;
  117. line-height: 140%;
  118. }
  119. h1,h2,h3,h4,h5 {
  120. font-weight: bold;
  121. }
  122. h1 {
  123. margin: 0 0 20px;
  124. font-weight: 300;
  125. font-size: 1.25rem;
  126. color: var(--body-quiet-color);
  127. }
  128. h2 {
  129. font-size: 1rem;
  130. margin: 1em 0 .5em 0;
  131. }
  132. h2.subhead {
  133. font-weight: normal;
  134. margin-top: 0;
  135. }
  136. h3 {
  137. font-size: 0.875rem;
  138. margin: .8em 0 .3em 0;
  139. color: var(--body-quiet-color);
  140. font-weight: bold;
  141. }
  142. h4 {
  143. font-size: 0.75rem;
  144. margin: 1em 0 .8em 0;
  145. padding-bottom: 3px;
  146. }
  147. h5 {
  148. font-size: 0.625rem;
  149. margin: 1.5em 0 .5em 0;
  150. color: var(--body-quiet-color);
  151. text-transform: uppercase;
  152. letter-spacing: 1px;
  153. }
  154. ul > li {
  155. list-style-type: square;
  156. padding: 1px 0;
  157. }
  158. li ul {
  159. margin-bottom: 0;
  160. }
  161. li, dt, dd {
  162. font-size: 0.8125rem;
  163. line-height: 1.25rem;
  164. }
  165. dt {
  166. font-weight: bold;
  167. margin-top: 4px;
  168. }
  169. dd {
  170. margin-left: 0;
  171. }
  172. form {
  173. margin: 0;
  174. padding: 0;
  175. }
  176. fieldset {
  177. margin: 0;
  178. min-width: 0;
  179. padding: 0;
  180. border: none;
  181. border-top: 1px solid var(--hairline-color);
  182. }
  183. blockquote {
  184. font-size: 0.6875rem;
  185. color: #777;
  186. margin-left: 2px;
  187. padding-left: 10px;
  188. border-left: 5px solid #ddd;
  189. }
  190. code, pre {
  191. font-family: var(--font-family-monospace);
  192. color: var(--body-quiet-color);
  193. font-size: 0.75rem;
  194. overflow-x: auto;
  195. }
  196. pre.literal-block {
  197. margin: 10px;
  198. background: var(--darkened-bg);
  199. padding: 6px 8px;
  200. }
  201. code strong {
  202. color: #930;
  203. }
  204. hr {
  205. clear: both;
  206. color: var(--hairline-color);
  207. background-color: var(--hairline-color);
  208. height: 1px;
  209. border: none;
  210. margin: 0;
  211. padding: 0;
  212. line-height: 1px;
  213. }
  214. /* TEXT STYLES & MODIFIERS */
  215. .small {
  216. font-size: 0.6875rem;
  217. }
  218. .mini {
  219. font-size: 0.625rem;
  220. }
  221. .help, p.help, form p.help, div.help, form div.help, div.help li {
  222. font-size: 0.6875rem;
  223. color: var(--body-quiet-color);
  224. }
  225. div.help ul {
  226. margin-bottom: 0;
  227. }
  228. .help-tooltip {
  229. cursor: help;
  230. }
  231. p img, h1 img, h2 img, h3 img, h4 img, td img {
  232. vertical-align: middle;
  233. }
  234. .quiet, a.quiet:link, a.quiet:visited {
  235. color: var(--body-quiet-color);
  236. font-weight: normal;
  237. }
  238. .clear {
  239. clear: both;
  240. }
  241. .nowrap {
  242. white-space: nowrap;
  243. }
  244. .hidden {
  245. display: none !important;
  246. }
  247. /* TABLES */
  248. table {
  249. border-collapse: collapse;
  250. border-color: var(--border-color);
  251. }
  252. td, th {
  253. font-size: 0.8125rem;
  254. line-height: 1rem;
  255. border-bottom: 1px solid var(--hairline-color);
  256. vertical-align: top;
  257. padding: 8px;
  258. }
  259. th {
  260. font-weight: 600;
  261. text-align: left;
  262. }
  263. thead th,
  264. tfoot td {
  265. color: var(--body-quiet-color);
  266. padding: 5px 10px;
  267. font-size: 0.6875rem;
  268. background: var(--body-bg);
  269. border: none;
  270. border-top: 1px solid var(--hairline-color);
  271. border-bottom: 1px solid var(--hairline-color);
  272. }
  273. tfoot td {
  274. border-bottom: none;
  275. border-top: 1px solid var(--hairline-color);
  276. }
  277. thead th.required {
  278. color: var(--body-loud-color);
  279. }
  280. tr.alt {
  281. background: var(--darkened-bg);
  282. }
  283. tr:nth-child(odd), .row-form-errors {
  284. background: var(--body-bg);
  285. }
  286. tr:nth-child(even),
  287. tr:nth-child(even) .errorlist,
  288. tr:nth-child(odd) + .row-form-errors,
  289. tr:nth-child(odd) + .row-form-errors .errorlist {
  290. background: var(--darkened-bg);
  291. }
  292. /* SORTABLE TABLES */
  293. thead th {
  294. padding: 5px 10px;
  295. line-height: normal;
  296. text-transform: uppercase;
  297. background: var(--darkened-bg);
  298. }
  299. thead th a:link, thead th a:visited {
  300. color: var(--body-quiet-color);
  301. }
  302. thead th.sorted {
  303. background: var(--selected-bg);
  304. }
  305. thead th.sorted .text {
  306. padding-right: 42px;
  307. }
  308. table thead th .text span {
  309. padding: 8px 10px;
  310. display: block;
  311. }
  312. table thead th .text a {
  313. display: block;
  314. cursor: pointer;
  315. padding: 8px 10px;
  316. }
  317. table thead th .text a:focus, table thead th .text a:hover {
  318. background: var(--selected-bg);
  319. }
  320. thead th.sorted a.sortremove {
  321. visibility: hidden;
  322. }
  323. table thead th.sorted:hover a.sortremove {
  324. visibility: visible;
  325. }
  326. table thead th.sorted .sortoptions {
  327. display: block;
  328. padding: 9px 5px 0 5px;
  329. float: right;
  330. text-align: right;
  331. }
  332. table thead th.sorted .sortpriority {
  333. font-size: .8em;
  334. min-width: 12px;
  335. text-align: center;
  336. vertical-align: 3px;
  337. margin-left: 2px;
  338. margin-right: 2px;
  339. }
  340. table thead th.sorted .sortoptions a {
  341. position: relative;
  342. width: 14px;
  343. height: 14px;
  344. display: inline-block;
  345. background: url(../img/sorting-icons.svg) 0 0 no-repeat;
  346. background-size: 14px auto;
  347. }
  348. table thead th.sorted .sortoptions a.sortremove {
  349. background-position: 0 0;
  350. }
  351. table thead th.sorted .sortoptions a.sortremove:after {
  352. content: '\\';
  353. position: absolute;
  354. top: -6px;
  355. left: 3px;
  356. font-weight: 200;
  357. font-size: 1.125rem;
  358. color: var(--body-quiet-color);
  359. }
  360. table thead th.sorted .sortoptions a.sortremove:focus:after,
  361. table thead th.sorted .sortoptions a.sortremove:hover:after {
  362. color: var(--link-fg);
  363. }
  364. table thead th.sorted .sortoptions a.sortremove:focus,
  365. table thead th.sorted .sortoptions a.sortremove:hover {
  366. background-position: 0 -14px;
  367. }
  368. table thead th.sorted .sortoptions a.ascending {
  369. background-position: 0 -28px;
  370. }
  371. table thead th.sorted .sortoptions a.ascending:focus,
  372. table thead th.sorted .sortoptions a.ascending:hover {
  373. background-position: 0 -42px;
  374. }
  375. table thead th.sorted .sortoptions a.descending {
  376. top: 1px;
  377. background-position: 0 -56px;
  378. }
  379. table thead th.sorted .sortoptions a.descending:focus,
  380. table thead th.sorted .sortoptions a.descending:hover {
  381. background-position: 0 -70px;
  382. }
  383. /* FORM DEFAULTS */
  384. input, textarea, select, .form-row p, form .button {
  385. margin: 2px 0;
  386. padding: 2px 3px;
  387. vertical-align: middle;
  388. font-family: var(--font-family-primary);
  389. font-weight: normal;
  390. font-size: 0.8125rem;
  391. }
  392. .form-row div.help {
  393. padding: 2px 3px;
  394. }
  395. textarea {
  396. vertical-align: top;
  397. }
  398. input[type=text], input[type=password], input[type=email], input[type=url],
  399. input[type=number], input[type=tel], textarea, select, .vTextField {
  400. border: 1px solid var(--border-color);
  401. border-radius: 4px;
  402. padding: 5px 6px;
  403. margin-top: 0;
  404. color: var(--body-fg);
  405. background-color: var(--body-bg);
  406. }
  407. input[type=text]:focus, input[type=password]:focus, input[type=email]:focus,
  408. input[type=url]:focus, input[type=number]:focus, input[type=tel]:focus,
  409. textarea:focus, select:focus, .vTextField:focus {
  410. border-color: var(--body-quiet-color);
  411. }
  412. select {
  413. height: 1.875rem;
  414. }
  415. select[multiple] {
  416. /* Allow HTML size attribute to override the height in the rule above. */
  417. height: auto;
  418. min-height: 150px;
  419. }
  420. /* FORM BUTTONS */
  421. .button, input[type=submit], input[type=button], .submit-row input, a.button {
  422. background: var(--button-bg);
  423. padding: 10px 15px;
  424. border: none;
  425. border-radius: 4px;
  426. color: var(--button-fg);
  427. cursor: pointer;
  428. transition: background 0.15s;
  429. }
  430. a.button {
  431. padding: 4px 5px;
  432. }
  433. .button:active, input[type=submit]:active, input[type=button]:active,
  434. .button:focus, input[type=submit]:focus, input[type=button]:focus,
  435. .button:hover, input[type=submit]:hover, input[type=button]:hover {
  436. background: var(--button-hover-bg);
  437. }
  438. .button[disabled], input[type=submit][disabled], input[type=button][disabled] {
  439. opacity: 0.4;
  440. }
  441. .button.default, input[type=submit].default, .submit-row input.default {
  442. border: none;
  443. font-weight: 400;
  444. background: var(--default-button-bg);
  445. }
  446. .button.default:active, input[type=submit].default:active,
  447. .button.default:focus, input[type=submit].default:focus,
  448. .button.default:hover, input[type=submit].default:hover {
  449. background: var(--default-button-hover-bg);
  450. }
  451. .button[disabled].default,
  452. input[type=submit][disabled].default,
  453. input[type=button][disabled].default {
  454. opacity: 0.4;
  455. }
  456. /* MODULES */
  457. .module {
  458. border: none;
  459. margin-bottom: 30px;
  460. background: var(--body-bg);
  461. }
  462. .module p, .module ul, .module h3, .module h4, .module dl, .module pre {
  463. padding-left: 10px;
  464. padding-right: 10px;
  465. }
  466. .module blockquote {
  467. margin-left: 12px;
  468. }
  469. .module ul, .module ol {
  470. margin-left: 1.5em;
  471. }
  472. .module h3 {
  473. margin-top: .6em;
  474. }
  475. .module h2, .module caption, .inline-group h2 {
  476. margin: 0;
  477. padding: 8px;
  478. font-weight: 400;
  479. font-size: 0.8125rem;
  480. text-align: left;
  481. background: var(--primary);
  482. color: var(--header-link-color);
  483. }
  484. .module caption,
  485. .inline-group h2 {
  486. font-size: 0.75rem;
  487. letter-spacing: 0.5px;
  488. text-transform: uppercase;
  489. }
  490. .module table {
  491. border-collapse: collapse;
  492. }
  493. /* MESSAGES & ERRORS */
  494. ul.messagelist {
  495. padding: 0;
  496. margin: 0;
  497. }
  498. ul.messagelist li {
  499. display: block;
  500. font-weight: 400;
  501. font-size: 0.8125rem;
  502. padding: 10px 10px 10px 65px;
  503. margin: 0 0 10px 0;
  504. background: var(--message-success-bg) url(../img/icon-yes.svg) 40px 12px no-repeat;
  505. background-size: 16px auto;
  506. color: var(--body-fg);
  507. word-break: break-word;
  508. }
  509. ul.messagelist li.warning {
  510. background: var(--message-warning-bg) url(../img/icon-alert.svg) 40px 14px no-repeat;
  511. background-size: 14px auto;
  512. }
  513. ul.messagelist li.error {
  514. background: var(--message-error-bg) url(../img/icon-no.svg) 40px 12px no-repeat;
  515. background-size: 16px auto;
  516. }
  517. .errornote {
  518. font-size: 0.875rem;
  519. font-weight: 700;
  520. display: block;
  521. padding: 10px 12px;
  522. margin: 0 0 10px 0;
  523. color: var(--error-fg);
  524. border: 1px solid var(--error-fg);
  525. border-radius: 4px;
  526. background-color: var(--body-bg);
  527. background-position: 5px 12px;
  528. overflow-wrap: break-word;
  529. }
  530. ul.errorlist {
  531. margin: 0 0 4px;
  532. padding: 0;
  533. color: var(--error-fg);
  534. background: var(--body-bg);
  535. }
  536. ul.errorlist li {
  537. font-size: 0.8125rem;
  538. display: block;
  539. margin-bottom: 4px;
  540. overflow-wrap: break-word;
  541. }
  542. ul.errorlist li:first-child {
  543. margin-top: 0;
  544. }
  545. ul.errorlist li a {
  546. color: inherit;
  547. text-decoration: underline;
  548. }
  549. td ul.errorlist {
  550. margin: 0;
  551. padding: 0;
  552. }
  553. td ul.errorlist li {
  554. margin: 0;
  555. }
  556. .form-row.errors {
  557. margin: 0;
  558. border: none;
  559. border-bottom: 1px solid var(--hairline-color);
  560. background: none;
  561. }
  562. .form-row.errors ul.errorlist li {
  563. padding-left: 0;
  564. }
  565. .errors input, .errors select, .errors textarea,
  566. td ul.errorlist + input, td ul.errorlist + select, td ul.errorlist + textarea {
  567. border: 1px solid var(--error-fg);
  568. }
  569. .description {
  570. font-size: 0.75rem;
  571. padding: 5px 0 0 12px;
  572. }
  573. /* BREADCRUMBS */
  574. div.breadcrumbs {
  575. background: var(--breadcrumbs-bg);
  576. padding: 10px 40px;
  577. border: none;
  578. color: var(--breadcrumbs-fg);
  579. text-align: left;
  580. }
  581. div.breadcrumbs a {
  582. color: var(--breadcrumbs-link-fg);
  583. }
  584. div.breadcrumbs a:focus, div.breadcrumbs a:hover {
  585. color: var(--breadcrumbs-fg);
  586. }
  587. /* ACTION ICONS */
  588. .viewlink, .inlineviewlink {
  589. padding-left: 16px;
  590. background: url(../img/icon-viewlink.svg) 0 1px no-repeat;
  591. }
  592. .addlink {
  593. padding-left: 16px;
  594. background: url(../img/icon-addlink.svg) 0 1px no-repeat;
  595. }
  596. .changelink, .inlinechangelink {
  597. padding-left: 16px;
  598. background: url(../img/icon-changelink.svg) 0 1px no-repeat;
  599. }
  600. .deletelink {
  601. padding-left: 16px;
  602. background: url(../img/icon-deletelink.svg) 0 1px no-repeat;
  603. }
  604. a.deletelink:link, a.deletelink:visited {
  605. color: #CC3434; /* XXX Probably unused? */
  606. }
  607. a.deletelink:focus, a.deletelink:hover {
  608. color: #993333; /* XXX Probably unused? */
  609. text-decoration: none;
  610. }
  611. /* OBJECT TOOLS */
  612. .object-tools {
  613. font-size: 0.625rem;
  614. font-weight: bold;
  615. padding-left: 0;
  616. float: right;
  617. position: relative;
  618. margin-top: -48px;
  619. }
  620. .object-tools li {
  621. display: block;
  622. float: left;
  623. margin-left: 5px;
  624. height: 1rem;
  625. }
  626. .object-tools a {
  627. border-radius: 15px;
  628. }
  629. .object-tools a:link, .object-tools a:visited {
  630. display: block;
  631. float: left;
  632. padding: 3px 12px;
  633. background: var(--object-tools-bg);
  634. color: var(--object-tools-fg);
  635. font-weight: 400;
  636. font-size: 0.6875rem;
  637. text-transform: uppercase;
  638. letter-spacing: 0.5px;
  639. }
  640. .object-tools a:focus, .object-tools a:hover {
  641. background-color: var(--object-tools-hover-bg);
  642. }
  643. .object-tools a:focus{
  644. text-decoration: none;
  645. }
  646. .object-tools a.viewsitelink, .object-tools a.addlink {
  647. background-repeat: no-repeat;
  648. background-position: right 7px center;
  649. padding-right: 26px;
  650. }
  651. .object-tools a.viewsitelink {
  652. background-image: url(../img/tooltag-arrowright.svg);
  653. }
  654. .object-tools a.addlink {
  655. background-image: url(../img/tooltag-add.svg);
  656. }
  657. /* OBJECT HISTORY */
  658. #change-history table {
  659. width: 100%;
  660. }
  661. #change-history table tbody th {
  662. width: 16em;
  663. }
  664. #change-history .paginator {
  665. color: var(--body-quiet-color);
  666. border-bottom: 1px solid var(--hairline-color);
  667. background: var(--body-bg);
  668. overflow: hidden;
  669. }
  670. /* PAGE STRUCTURE */
  671. #container {
  672. position: relative;
  673. width: 100%;
  674. min-width: 980px;
  675. padding: 0;
  676. display: flex;
  677. flex-direction: column;
  678. height: 100%;
  679. }
  680. #container > div {
  681. flex-shrink: 0;
  682. }
  683. #container > .main {
  684. display: flex;
  685. flex: 1 0 auto;
  686. }
  687. .main > .content {
  688. flex: 1 0;
  689. max-width: 100%;
  690. }
  691. .skip-to-content-link {
  692. position: absolute;
  693. top: -999px;
  694. margin: 5px;
  695. padding: 5px;
  696. background: var(--body-bg);
  697. z-index: 1;
  698. }
  699. .skip-to-content-link:focus {
  700. left: 0px;
  701. top: 0px;
  702. }
  703. #content {
  704. padding: 20px 40px;
  705. }
  706. .dashboard #content {
  707. width: 600px;
  708. }
  709. #content-main {
  710. float: left;
  711. width: 100%;
  712. }
  713. #content-related {
  714. float: right;
  715. width: 260px;
  716. position: relative;
  717. margin-right: -300px;
  718. }
  719. #footer {
  720. clear: both;
  721. padding: 10px;
  722. }
  723. /* COLUMN TYPES */
  724. .colMS {
  725. margin-right: 300px;
  726. }
  727. .colSM {
  728. margin-left: 300px;
  729. }
  730. .colSM #content-related {
  731. float: left;
  732. margin-right: 0;
  733. margin-left: -300px;
  734. }
  735. .colSM #content-main {
  736. float: right;
  737. }
  738. .popup .colM {
  739. width: auto;
  740. }
  741. /* HEADER */
  742. #header {
  743. width: auto;
  744. height: auto;
  745. display: flex;
  746. justify-content: space-between;
  747. align-items: center;
  748. padding: 10px 40px;
  749. background: var(--header-bg);
  750. color: var(--header-color);
  751. overflow: hidden;
  752. }
  753. #header a:link, #header a:visited, #logout-form button {
  754. color: var(--header-link-color);
  755. }
  756. #header a:focus , #header a:hover {
  757. text-decoration: underline;
  758. }
  759. #branding {
  760. display: flex;
  761. }
  762. #branding h1 {
  763. padding: 0;
  764. margin: 0;
  765. margin-inline-end: 20px;
  766. font-weight: 300;
  767. font-size: 1.5rem;
  768. color: var(--header-branding-color);
  769. }
  770. #branding h1 a:link, #branding h1 a:visited {
  771. color: var(--accent);
  772. }
  773. #branding h2 {
  774. padding: 0 10px;
  775. font-size: 0.875rem;
  776. margin: -8px 0 8px 0;
  777. font-weight: normal;
  778. color: var(--header-color);
  779. }
  780. #branding a:hover {
  781. text-decoration: none;
  782. }
  783. #logout-form {
  784. display: inline;
  785. }
  786. #logout-form button {
  787. background: none;
  788. border: 0;
  789. cursor: pointer;
  790. font-family: var(--font-family-primary);
  791. }
  792. #user-tools {
  793. float: right;
  794. margin: 0 0 0 20px;
  795. text-align: right;
  796. }
  797. #user-tools, #logout-form button{
  798. padding: 0;
  799. font-weight: 300;
  800. font-size: 0.6875rem;
  801. letter-spacing: 0.5px;
  802. text-transform: uppercase;
  803. }
  804. #user-tools a, #logout-form button {
  805. border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  806. }
  807. #user-tools a:focus, #user-tools a:hover,
  808. #logout-form button:active, #logout-form button:hover {
  809. text-decoration: none;
  810. border-bottom: 0;
  811. }
  812. #logout-form button:active, #logout-form button:hover {
  813. margin-bottom: 1px;
  814. }
  815. /* SIDEBAR */
  816. #content-related {
  817. background: var(--darkened-bg);
  818. }
  819. #content-related .module {
  820. background: none;
  821. }
  822. #content-related h3 {
  823. color: var(--body-quiet-color);
  824. padding: 0 16px;
  825. margin: 0 0 16px;
  826. }
  827. #content-related h4 {
  828. font-size: 0.8125rem;
  829. }
  830. #content-related p {
  831. padding-left: 16px;
  832. padding-right: 16px;
  833. }
  834. #content-related .actionlist {
  835. padding: 0;
  836. margin: 16px;
  837. }
  838. #content-related .actionlist li {
  839. line-height: 1.2;
  840. margin-bottom: 10px;
  841. padding-left: 18px;
  842. }
  843. #content-related .module h2 {
  844. background: none;
  845. padding: 16px;
  846. margin-bottom: 16px;
  847. border-bottom: 1px solid var(--hairline-color);
  848. font-size: 1.125rem;
  849. color: var(--body-fg);
  850. }
  851. .delete-confirmation form input[type="submit"] {
  852. background: var(--delete-button-bg);
  853. border-radius: 4px;
  854. padding: 10px 15px;
  855. color: var(--button-fg);
  856. }
  857. .delete-confirmation form input[type="submit"]:active,
  858. .delete-confirmation form input[type="submit"]:focus,
  859. .delete-confirmation form input[type="submit"]:hover {
  860. background: var(--delete-button-hover-bg);
  861. }
  862. .delete-confirmation form .cancel-link {
  863. display: inline-block;
  864. vertical-align: middle;
  865. height: 0.9375rem;
  866. line-height: 0.9375rem;
  867. border-radius: 4px;
  868. padding: 10px 15px;
  869. color: var(--button-fg);
  870. background: var(--close-button-bg);
  871. margin: 0 0 0 10px;
  872. }
  873. .delete-confirmation form .cancel-link:active,
  874. .delete-confirmation form .cancel-link:focus,
  875. .delete-confirmation form .cancel-link:hover {
  876. background: var(--close-button-hover-bg);
  877. }
  878. /* POPUP */
  879. .popup #content {
  880. padding: 20px;
  881. }
  882. .popup #container {
  883. min-width: 0;
  884. }
  885. .popup #header {
  886. padding: 10px 20px;
  887. }
  888. /* PAGINATOR */
  889. .paginator {
  890. display: flex;
  891. align-items: center;
  892. gap: 4px;
  893. font-size: 0.8125rem;
  894. padding-top: 10px;
  895. padding-bottom: 10px;
  896. line-height: 22px;
  897. margin: 0;
  898. border-top: 1px solid var(--hairline-color);
  899. width: 100%;
  900. }
  901. .paginator a:link, .paginator a:visited {
  902. padding: 2px 6px;
  903. background: var(--button-bg);
  904. text-decoration: none;
  905. color: var(--button-fg);
  906. }
  907. .paginator a.showall {
  908. border: none;
  909. background: none;
  910. color: var(--link-fg);
  911. }
  912. .paginator a.showall:focus, .paginator a.showall:hover {
  913. background: none;
  914. color: var(--link-hover-color);
  915. }
  916. .paginator .end {
  917. margin-right: 6px;
  918. }
  919. .paginator .this-page {
  920. padding: 2px 6px;
  921. font-weight: bold;
  922. font-size: 0.8125rem;
  923. vertical-align: top;
  924. }
  925. .paginator a:focus, .paginator a:hover {
  926. color: white;
  927. background: var(--link-hover-color);
  928. }
  929. .paginator input {
  930. margin-left: auto;
  931. }
  932. .base-svgs {
  933. display: none;
  934. }