Bez popisu

base.css 19KB

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