base.css 20 KB

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