summaryrefslogtreecommitdiffstats
path: root/media/admin/css/base.css
diff options
context:
space:
mode:
Diffstat (limited to 'media/admin/css/base.css')
-rw-r--r--media/admin/css/base.css815
1 files changed, 510 insertions, 305 deletions
diff --git a/media/admin/css/base.css b/media/admin/css/base.css
index 995183e..1cb3acd 100644
--- a/media/admin/css/base.css
+++ b/media/admin/css/base.css
@@ -2,24 +2,122 @@
DJANGO Admin styles
*/
+@import url(fonts.css);
+
+/* VARIABLE DEFINITIONS */
+:root {
+ --primary: #79aec8;
+ --secondary: #417690;
+ --accent: #f5dd5d;
+ --primary-fg: #fff;
+
+ --body-fg: #333;
+ --body-bg: #fff;
+ --body-quiet-color: #666;
+ --body-loud-color: #000;
+
+ --header-color: #ffc;
+ --header-branding-color: var(--accent);
+ --header-bg: var(--secondary);
+ --header-link-color: var(--primary-fg);
+
+ --breadcrumbs-fg: #c4dce8;
+ --breadcrumbs-link-fg: var(--body-bg);
+ --breadcrumbs-bg: var(--primary);
+
+ --link-fg: #447e9b;
+ --link-hover-color: #036;
+ --link-selected-fg: #5b80b2;
+
+ --hairline-color: #e8e8e8;
+ --border-color: #ccc;
+
+ --error-fg: #ba2121;
+
+ --message-success-bg: #dfd;
+ --message-warning-bg: #ffc;
+ --message-error-bg: #ffefef;
+
+ --darkened-bg: #f8f8f8; /* A bit darker than --body-bg */
+ --selected-bg: #e4e4e4; /* E.g. selected table cells */
+ --selected-row: #ffc;
+
+ --button-fg: #fff;
+ --button-bg: var(--primary);
+ --button-hover-bg: #609ab6;
+ --default-button-bg: var(--secondary);
+ --default-button-hover-bg: #205067;
+ --close-button-bg: #888; /* Previously #bbb, contrast 1.92 */
+ --close-button-hover-bg: #747474;
+ --delete-button-bg: #ba2121;
+ --delete-button-hover-bg: #a41515;
+
+ --object-tools-fg: var(--button-fg);
+ --object-tools-bg: var(--close-button-bg);
+ --object-tools-hover-bg: var(--close-button-hover-bg);
+}
+
+@media (prefers-color-scheme: dark) {
+ :root {
+ --primary: #264b5d;
+ --primary-fg: #eee;
+
+ --body-fg: #eeeeee;
+ --body-bg: #121212;
+ --body-quiet-color: #e0e0e0;
+ --body-loud-color: #ffffff;
+
+ --breadcrumbs-link-fg: #e0e0e0;
+ --breadcrumbs-bg: var(--primary);
+
+ --link-fg: #81d4fa;
+ --link-hover-color: #4ac1f7;
+ --link-selected-fg: #6f94c6;
+
+ --hairline-color: #272727;
+ --border-color: #353535;
+
+ --error-fg: #e35f5f;
+ --message-success-bg: #006b1b;
+ --message-warning-bg: #583305;
+ --message-error-bg: #570808;
+
+ --darkened-bg: #212121;
+ --selected-bg: #1b1b1b;
+ --selected-row: #00363a;
+
+ --close-button-bg: #333333;
+ --close-button-hover-bg: #666666;
+ }
+}
+
+html, body {
+ height: 100%;
+}
+
body {
margin: 0;
padding: 0;
- font-size: 12px;
- font-family: "Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
- color: #333;
- background: #fff;
+ font-size: 14px;
+ font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
+ color: var(--body-fg);
+ background: var(--body-bg);
}
/* LINKS */
a:link, a:visited {
- color: #5b80b2;
+ color: var(--link-fg);
text-decoration: none;
+ transition: color 0.15s, background 0.15s;
+}
+
+a:focus, a:hover {
+ color: var(--link-hover-color);
}
-a:hover {
- color: #036;
+a:focus {
+ text-decoration: underline;
}
a img {
@@ -27,10 +125,14 @@ a img {
}
a.section:link, a.section:visited {
- color: #fff;
+ color: var(--header-link-color);
text-decoration: none;
}
+a.section:focus, a.section:hover {
+ text-decoration: underline;
+}
+
/* GLOBAL DEFAULTS */
p, ol, ul, dl {
@@ -47,10 +149,10 @@ h1,h2,h3,h4,h5 {
}
h1 {
- font-size: 18px;
- color: #666;
- padding: 0 6px 0 0;
- margin: 0 0 .2em 0;
+ margin: 0 0 20px;
+ font-weight: 300;
+ font-size: 20px;
+ color: var(--body-quiet-color);
}
h2 {
@@ -66,7 +168,7 @@ h2.subhead {
h3 {
font-size: 14px;
margin: .8em 0 .3em 0;
- color: #666;
+ color: var(--body-quiet-color);
font-weight: bold;
}
@@ -79,31 +181,23 @@ h4 {
h5 {
font-size: 10px;
margin: 1.5em 0 .5em 0;
- color: #666;
+ color: var(--body-quiet-color);
text-transform: uppercase;
letter-spacing: 1px;
}
-ul li {
+ul > li {
list-style-type: square;
padding: 1px 0;
}
-ul.plainlist {
- margin-left: 0 !important;
-}
-
-ul.plainlist li {
- list-style-type: none;
-}
-
li ul {
margin-bottom: 0;
}
li, dt, dd {
- font-size: 11px;
- line-height: 14px;
+ font-size: 13px;
+ line-height: 20px;
}
dt {
@@ -122,7 +216,10 @@ form {
fieldset {
margin: 0;
+ min-width: 0;
padding: 0;
+ border: none;
+ border-top: 1px solid var(--hairline-color);
}
blockquote {
@@ -135,14 +232,14 @@ blockquote {
code, pre {
font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
- background: inherit;
- color: #666;
- font-size: 11px;
+ color: var(--body-quiet-color);
+ font-size: 12px;
+ overflow-x: auto;
}
pre.literal-block {
margin: 10px;
- background: #eee;
+ background: var(--darkened-bg);
padding: 6px 8px;
}
@@ -152,8 +249,8 @@ code strong {
hr {
clear: both;
- color: #eee;
- background-color: #eee;
+ color: var(--hairline-color);
+ background-color: var(--hairline-color);
height: 1px;
border: none;
margin: 0;
@@ -168,28 +265,20 @@ hr {
font-size: 11px;
}
-.tiny {
- font-size: 10px;
-}
-
-p.tiny {
- margin-top: -2px;
-}
-
.mini {
- font-size: 9px;
+ font-size: 10px;
}
-p.mini {
- margin-top: -3px;
+.help, p.help, form p.help, div.help, form div.help, div.help li {
+ font-size: 11px;
+ color: var(--body-quiet-color);
}
-.help, p.help {
- font-size: 10px !important;
- color: #999;
+div.help ul {
+ margin-bottom: 0;
}
-img.help-tooltip {
+.help-tooltip {
cursor: help;
}
@@ -198,128 +287,92 @@ p img, h1 img, h2 img, h3 img, h4 img, td img {
}
.quiet, a.quiet:link, a.quiet:visited {
- color: #999 !important;
- font-weight: normal !important;
-}
-
-.quiet strong {
- font-weight: bold !important;
-}
-
-.float-right {
- float: right;
-}
-
-.float-left {
- float: left;
+ color: var(--body-quiet-color);
+ font-weight: normal;
}
.clear {
clear: both;
}
-.align-left {
- text-align: left;
-}
-
-.align-right {
- text-align: right;
-}
-
-.example {
- margin: 10px 0;
- padding: 5px 10px;
- background: #efefef;
-}
-
.nowrap {
white-space: nowrap;
}
+.hidden {
+ display: none;
+}
+
/* TABLES */
table {
border-collapse: collapse;
- border-color: #ccc;
+ border-color: var(--border-color);
}
td, th {
- font-size: 11px;
- line-height: 13px;
- border-bottom: 1px solid #eee;
+ font-size: 13px;
+ line-height: 16px;
+ border-bottom: 1px solid var(--hairline-color);
vertical-align: top;
- padding: 5px;
- font-family: "Lucida Grande", Verdana, Arial, sans-serif;
+ padding: 8px;
}
th {
+ font-weight: 600;
text-align: left;
- font-size: 12px;
- font-weight: bold;
}
thead th,
tfoot td {
- color: #666;
- padding: 2px 5px;
+ color: var(--body-quiet-color);
+ padding: 5px 10px;
font-size: 11px;
- background: #e1e1e1 url(../img/nav-bg.gif) top left repeat-x;
- border-left: 1px solid #ddd;
- border-bottom: 1px solid #ddd;
+ background: var(--body-bg);
+ border: none;
+ border-top: 1px solid var(--hairline-color);
+ border-bottom: 1px solid var(--hairline-color);
}
tfoot td {
border-bottom: none;
- border-top: 1px solid #ddd;
-}
-
-thead th:first-child,
-tfoot td:first-child {
- border-left: none !important;
-}
-
-thead th.optional {
- font-weight: normal !important;
-}
-
-fieldset table {
- border-right: 1px solid #eee;
+ border-top: 1px solid var(--hairline-color);
}
-tr.row-label td {
- font-size: 9px;
- padding-top: 2px;
- padding-bottom: 0;
- border-bottom: none;
- color: #666;
- margin-top: -1px;
+thead th.required {
+ color: var(--body-loud-color);
}
tr.alt {
- background: #f6f6f6;
+ background: var(--darkened-bg);
}
-.row1 {
- background: #EDF3FE;
+tr:nth-child(odd), .row-form-errors {
+ background: var(--body-bg);
}
-.row2 {
- background: #fff;
+tr:nth-child(even),
+tr:nth-child(even) .errorlist,
+tr:nth-child(odd) + .row-form-errors,
+tr:nth-child(odd) + .row-form-errors .errorlist {
+ background: var(--darkened-bg);
}
/* SORTABLE TABLES */
thead th {
- padding: 2px 5px;
+ padding: 5px 10px;
line-height: normal;
+ text-transform: uppercase;
+ background: var(--darkened-bg);
}
thead th a:link, thead th a:visited {
- color: #666;
+ color: var(--body-quiet-color);
}
thead th.sorted {
- background: #c5c5c5 url(../img/nav-bg-selected.gif) top left repeat-x;
+ background: var(--selected-bg);
}
thead th.sorted .text {
@@ -327,18 +380,18 @@ thead th.sorted .text {
}
table thead th .text span {
- padding: 2px 5px;
- display:block;
+ padding: 8px 10px;
+ display: block;
}
table thead th .text a {
display: block;
cursor: pointer;
- padding: 2px 5px;
+ padding: 8px 10px;
}
-table thead th.sortable:hover {
- background: #fff url(../img/nav-bg-reverse.gif) 0 -5px repeat-x;
+table thead th .text a:focus, table thead th .text a:hover {
+ background: var(--selected-bg);
}
thead th.sorted a.sortremove {
@@ -351,7 +404,7 @@ table thead th.sorted:hover a.sortremove {
table thead th.sorted .sortoptions {
display: block;
- padding: 4px 5px 0 5px;
+ padding: 9px 5px 0 5px;
float: right;
text-align: right;
}
@@ -360,112 +413,149 @@ table thead th.sorted .sortpriority {
font-size: .8em;
min-width: 12px;
text-align: center;
- vertical-align: top;
+ vertical-align: 3px;
+ margin-left: 2px;
+ margin-right: 2px;
}
table thead th.sorted .sortoptions a {
+ position: relative;
width: 14px;
- height: 12px;
+ height: 14px;
display: inline-block;
+ background: url(../img/sorting-icons.svg) 0 0 no-repeat;
+ background-size: 14px auto;
}
table thead th.sorted .sortoptions a.sortremove {
- background: url(../img/sorting-icons.gif) -4px -5px no-repeat;
+ background-position: 0 0;
+}
+
+table thead th.sorted .sortoptions a.sortremove:after {
+ content: '\\';
+ position: absolute;
+ top: -6px;
+ left: 3px;
+ font-weight: 200;
+ font-size: 18px;
+ color: var(--body-quiet-color);
+}
+
+table thead th.sorted .sortoptions a.sortremove:focus:after,
+table thead th.sorted .sortoptions a.sortremove:hover:after {
+ color: var(--link-fg);
}
+table thead th.sorted .sortoptions a.sortremove:focus,
table thead th.sorted .sortoptions a.sortremove:hover {
- background: url(../img/sorting-icons.gif) -4px -27px no-repeat;
+ background-position: 0 -14px;
}
table thead th.sorted .sortoptions a.ascending {
- background: url(../img/sorting-icons.gif) -5px -50px no-repeat;
+ background-position: 0 -28px;
}
+table thead th.sorted .sortoptions a.ascending:focus,
table thead th.sorted .sortoptions a.ascending:hover {
- background: url(../img/sorting-icons.gif) -5px -72px no-repeat;
+ background-position: 0 -42px;
}
table thead th.sorted .sortoptions a.descending {
- background: url(../img/sorting-icons.gif) -5px -94px no-repeat;
+ top: 1px;
+ background-position: 0 -56px;
}
+table thead th.sorted .sortoptions a.descending:focus,
table thead th.sorted .sortoptions a.descending:hover {
- background: url(../img/sorting-icons.gif) -5px -115px no-repeat;
-}
-
-/* ORDERABLE TABLES */
-
-table.orderable tbody tr td:hover {
- cursor: move;
-}
-
-table.orderable tbody tr td:first-child {
- padding-left: 14px;
- background-image: url(../img/nav-bg-grabber.gif);
- background-repeat: repeat-y;
-}
-
-table.orderable-initalized .order-cell, body>tr>td.order-cell {
- display: none;
+ background-position: 0 -70px;
}
/* FORM DEFAULTS */
-input, textarea, select, .form-row p {
+input, textarea, select, .form-row p, form .button {
margin: 2px 0;
padding: 2px 3px;
vertical-align: middle;
- font-family: "Lucida Grande", Verdana, Arial, sans-serif;
+ font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
font-weight: normal;
- font-size: 11px;
+ font-size: 13px;
+}
+.form-row div.help {
+ padding: 2px 3px;
}
textarea {
- vertical-align: top !important;
+ vertical-align: top;
+}
+
+input[type=text], input[type=password], input[type=email], input[type=url],
+input[type=number], input[type=tel], textarea, select, .vTextField {
+ border: 1px solid var(--border-color);
+ border-radius: 4px;
+ padding: 5px 6px;
+ margin-top: 0;
+ color: var(--body-fg);
+ background-color: var(--body-bg);
+}
+
+input[type=text]:focus, input[type=password]:focus, input[type=email]:focus,
+input[type=url]:focus, input[type=number]:focus, input[type=tel]:focus,
+textarea:focus, select:focus, .vTextField:focus {
+ border-color: var(--body-quiet-color);
}
-input[type=text], input[type=password], input[type=email], input[type=url], input[type=number],
-textarea, select, .vTextField {
- border: 1px solid #ccc;
+select {
+ height: 30px;
+}
+
+select[multiple] {
+ /* Allow HTML size attribute to override the height in the rule above. */
+ height: auto;
+ min-height: 150px;
}
/* FORM BUTTONS */
-.button, input[type=submit], input[type=button], .submit-row input {
- background: #fff url(../img/nav-bg.gif) bottom repeat-x;
- padding: 3px 5px;
- color: black;
- border: 1px solid #bbb;
- border-color: #ddd #aaa #aaa #ddd;
+.button, input[type=submit], input[type=button], .submit-row input, a.button {
+ background: var(--button-bg);
+ padding: 10px 15px;
+ border: none;
+ border-radius: 4px;
+ color: var(--button-fg);
+ cursor: pointer;
+ transition: background 0.15s;
+}
+
+a.button {
+ padding: 4px 5px;
}
-.button:active, input[type=submit]:active, input[type=button]:active {
- background-image: url(../img/nav-bg-reverse.gif);
- background-position: top;
+.button:active, input[type=submit]:active, input[type=button]:active,
+.button:focus, input[type=submit]:focus, input[type=button]:focus,
+.button:hover, input[type=submit]:hover, input[type=button]:hover {
+ background: var(--button-hover-bg);
}
.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
- background-image: url(../img/nav-bg.gif);
- background-position: bottom;
opacity: 0.4;
}
.button.default, input[type=submit].default, .submit-row input.default {
- border: 2px solid #5b80b2;
- background: #7CA0C7 url(../img/default-bg.gif) bottom repeat-x;
- font-weight: bold;
- color: #fff;
float: right;
+ border: none;
+ font-weight: 400;
+ background: var(--default-button-bg);
}
-.button.default:active, input[type=submit].default:active {
- background-image: url(../img/default-bg-reverse.gif);
- background-position: top;
+.button.default:active, input[type=submit].default:active,
+.button.default:focus, input[type=submit].default:focus,
+.button.default:hover, input[type=submit].default:hover {
+ background: var(--default-button-hover-bg);
}
-.button[disabled].default, input[type=submit][disabled].default, input[type=button][disabled].default {
- background-image: url(../img/default-bg.gif);
- background-position: bottom;
+.button[disabled].default,
+input[type=submit][disabled].default,
+input[type=button][disabled].default {
opacity: 0.4;
}
@@ -473,9 +563,9 @@ textarea, select, .vTextField {
/* MODULES */
.module {
- border: 1px solid #ccc;
- margin-bottom: 5px;
- background: #fff;
+ border: none;
+ margin-bottom: 30px;
+ background: var(--body-bg);
}
.module p, .module ul, .module h3, .module h4, .module dl, .module pre {
@@ -497,12 +587,19 @@ textarea, select, .vTextField {
.module h2, .module caption, .inline-group h2 {
margin: 0;
- padding: 2px 5px 3px 5px;
- font-size: 11px;
+ padding: 8px;
+ font-weight: 400;
+ font-size: 13px;
text-align: left;
- font-weight: bold;
- background: #7CA0C7 url(../img/default-bg.gif) top left repeat-x;
- color: #fff;
+ background: var(--primary);
+ color: var(--header-link-color);
+}
+
+.module caption,
+.inline-group h2 {
+ font-size: 12px;
+ letter-spacing: 0.5px;
+ text-transform: uppercase;
}
.module table {
@@ -517,51 +614,52 @@ ul.messagelist {
}
ul.messagelist li {
- font-size: 12px;
- font-weight: bold;
display: block;
- padding: 5px 5px 4px 25px;
- margin: 0 0 3px 0;
- border-bottom: 1px solid #ddd;
- color: #666;
- background: #dfd url(../img/icon_success.gif) 5px .3em no-repeat;
+ font-weight: 400;
+ font-size: 13px;
+ padding: 10px 10px 10px 65px;
+ margin: 0 0 10px 0;
+ background: var(--message-success-bg) url(../img/icon-yes.svg) 40px 12px no-repeat;
+ background-size: 16px auto;
+ color: var(--body-fg);
}
ul.messagelist li.warning {
- background: #ffc url(../img/icon_alert.gif) 5px .3em no-repeat;
+ background: var(--message-warning-bg) url(../img/icon-alert.svg) 40px 14px no-repeat;
+ background-size: 14px auto;
}
ul.messagelist li.error {
- background: #ffefef url(../img/icon_error.gif) 5px .3em no-repeat;
+ background: var(--message-error-bg) url(../img/icon-no.svg) 40px 12px no-repeat;
+ background-size: 16px auto;
}
.errornote {
- font-size: 12px !important;
- font-weight: bold;
+ font-size: 14px;
+ font-weight: 700;
display: block;
- padding: 5px 5px 4px 25px;
- margin: 0 0 3px 0;
- border: 1px solid #c22;
- color: #c11;
- background: #ffefef url(../img/icon_error.gif) 5px .38em no-repeat;
-}
-
-.errornote, ul.errorlist {
- border-radius: 1px;
+ padding: 10px 12px;
+ margin: 0 0 10px 0;
+ color: var(--error-fg);
+ border: 1px solid var(--error-fg);
+ border-radius: 4px;
+ background-color: var(--body-bg);
+ background-position: 5px 12px;
+ overflow-wrap: break-word;
}
ul.errorlist {
- margin: 0 0 4px !important;
- padding: 0 !important;
- color: #fff;
- background: #c11;
+ margin: 0 0 4px;
+ padding: 0;
+ color: var(--error-fg);
+ background: var(--body-bg);
}
ul.errorlist li {
- font-size: 12px !important;
+ font-size: 13px;
display: block;
- padding: 5px 5px 4px 7px;
- margin: 3px 0 0 0;
+ margin-bottom: 4px;
+ overflow-wrap: break-word;
}
ul.errorlist li:first-child {
@@ -569,44 +667,33 @@ ul.errorlist li:first-child {
}
ul.errorlist li a {
- color: #fff;
+ color: inherit;
text-decoration: underline;
}
td ul.errorlist {
- margin: 0 !important;
- padding: 0 !important;
+ margin: 0;
+ padding: 0;
}
td ul.errorlist li {
- margin: 0 !important;
-}
-
-.errors, .form-row.errors {
- background: #ffefef;
+ margin: 0;
}
.form-row.errors {
- border: 1px solid #c22;
- margin: -1px;
-}
-
-.errors input, .errors select, .errors textarea {
- border: 1px solid #c11;
+ margin: 0;
+ border: none;
+ border-bottom: 1px solid var(--hairline-color);
+ background: none;
}
-div.system-message {
- background: #ffc;
- margin: 10px;
- padding: 6px 8px;
- font-size: .8em;
+.form-row.errors ul.errorlist li {
+ padding-left: 0;
}
-div.system-message p.system-message-title {
- padding: 4px 5px 4px 25px;
- margin: 0;
- color: #c11;
- background: #ffefef url(../img/icon_error.gif) 5px .3em no-repeat;
+.errors input, .errors select, .errors textarea,
+td ul.errorlist + input, td ul.errorlist + select, td ul.errorlist + textarea {
+ border: 1px solid var(--error-fg);
}
.description {
@@ -617,38 +704,50 @@ div.system-message p.system-message-title {
/* BREADCRUMBS */
div.breadcrumbs {
- background: #fff url(../img/nav-bg-reverse.gif) 0 -10px repeat-x;
- padding: 2px 8px 3px 8px;
- font-size: 11px;
- color: #999;
- border-top: 1px solid #fff;
- border-bottom: 1px solid #ddd;
+ background: var(--breadcrumbs-bg);
+ padding: 10px 40px;
+ border: none;
+ color: var(--breadcrumbs-fg);
text-align: left;
}
+div.breadcrumbs a {
+ color: var(--breadcrumbs-link-fg);
+}
+
+div.breadcrumbs a:focus, div.breadcrumbs a:hover {
+ color: var(--breadcrumbs-fg);
+}
+
/* ACTION ICONS */
+.viewlink, .inlineviewlink {
+ padding-left: 16px;
+ background: url(../img/icon-viewlink.svg) 0 1px no-repeat;
+}
+
.addlink {
- padding-left: 12px;
- background: url(../img/icon_addlink.gif) 0 .2em no-repeat;
+ padding-left: 16px;
+ background: url(../img/icon-addlink.svg) 0 1px no-repeat;
}
-.changelink {
- padding-left: 12px;
- background: url(../img/icon_changelink.gif) 0 .2em no-repeat;
+.changelink, .inlinechangelink {
+ padding-left: 16px;
+ background: url(../img/icon-changelink.svg) 0 1px no-repeat;
}
.deletelink {
- padding-left: 12px;
- background: url(../img/icon_deletelink.gif) 0 .25em no-repeat;
+ padding-left: 16px;
+ background: url(../img/icon-deletelink.svg) 0 1px no-repeat;
}
a.deletelink:link, a.deletelink:visited {
- color: #CC3434;
+ color: #CC3434; /* XXX Probably unused? */
}
-a.deletelink:hover {
- color: #993333;
+a.deletelink:focus, a.deletelink:hover {
+ color: #993333; /* XXX Probably unused? */
+ text-decoration: none;
}
/* OBJECT TOOLS */
@@ -656,20 +755,10 @@ a.deletelink:hover {
.object-tools {
font-size: 10px;
font-weight: bold;
- font-family: Arial,Helvetica,sans-serif;
padding-left: 0;
float: right;
position: relative;
- margin-top: -2.4em;
- margin-bottom: -2em;
-}
-
-.form-row .object-tools {
- margin-top: 5px;
- margin-bottom: 5px;
- float: none;
- height: 2em;
- padding-left: 3.5em;
+ margin-top: -48px;
}
.object-tools li {
@@ -686,23 +775,35 @@ a.deletelink:hover {
.object-tools a:link, .object-tools a:visited {
display: block;
float: left;
- color: #fff;
- padding: .2em 10px;
- background: #999;
+ padding: 3px 12px;
+ background: var(--object-tools-bg);
+ color: var(--object-tools-fg);
+ font-weight: 400;
+ font-size: 11px;
+ text-transform: uppercase;
+ letter-spacing: 0.5px;
}
-.object-tools a:hover, .object-tools li:hover a {
- background-color: #5b80b2;
+.object-tools a:focus, .object-tools a:hover {
+ background-color: var(--object-tools-hover-bg);
+}
+
+.object-tools a:focus{
+ text-decoration: none;
}
-.object-tools a.viewsitelink, .object-tools a.golink {
- background: #999 url(../img/tooltag-arrowright.png) 95% center no-repeat;
+.object-tools a.viewsitelink, .object-tools a.addlink {
+ background-repeat: no-repeat;
+ background-position: right 7px center;
padding-right: 26px;
}
+.object-tools a.viewsitelink {
+ background-image: url(../img/tooltag-arrowright.svg);
+}
+
.object-tools a.addlink {
- background: #999 url(../img/tooltag-add.png) 95% center no-repeat;
- padding-right: 26px;
+ background-image: url(../img/tooltag-add.svg);
}
/* OBJECT HISTORY */
@@ -720,12 +821,33 @@ table#change-history tbody th {
#container {
position: relative;
width: 100%;
- min-width: 760px;
+ min-width: 980px;
padding: 0;
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+}
+
+#container > div {
+ flex-shrink: 0;
+}
+
+#container > .main {
+ display: flex;
+ flex: 1 0 auto;
+}
+
+.main > .content {
+ flex: 1 0;
+ max-width: 100%;
}
#content {
- margin: 10px 15px;
+ padding: 20px 40px;
+}
+
+.dashboard #content {
+ width: 600px;
}
#content-main {
@@ -735,9 +857,9 @@ table#change-history tbody th {
#content-related {
float: right;
- width: 18em;
+ width: 260px;
position: relative;
- margin-right: -19em;
+ margin-right: -300px;
}
#footer {
@@ -748,17 +870,17 @@ table#change-history tbody th {
/* COLUMN TYPES */
.colMS {
- margin-right: 20em !important;
+ margin-right: 300px;
}
.colSM {
- margin-left: 20em !important;
+ margin-left: 300px;
}
.colSM #content-related {
float: left;
margin-right: 0;
- margin-left: -19em;
+ margin-left: -300px;
}
.colSM #content-main {
@@ -766,48 +888,45 @@ table#change-history tbody th {
}
.popup .colM {
- width: 95%;
-}
-
-.subcol {
- float: left;
- width: 46%;
- margin-right: 15px;
-}
-
-.dashboard #content {
- width: 500px;
+ width: auto;
}
/* HEADER */
#header {
- width: 100%;
- background: #417690;
- color: #ffc;
+ width: auto;
+ height: auto;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 10px 40px;
+ background: var(--header-bg);
+ color: var(--header-color);
overflow: hidden;
}
#header a:link, #header a:visited {
- color: #fff;
+ color: var(--header-link-color);
}
-#header a:hover {
+#header a:focus , #header a:hover {
text-decoration: underline;
}
#branding {
float: left;
}
+
#branding h1 {
- padding: 0 10px;
- font-size: 18px;
- margin: 8px 0;
- font-weight: normal;
+ padding: 0;
+ margin: 0 20px 0 0;
+ font-weight: 300;
+ font-size: 24px;
+ color: var(--accent);
}
#branding h1, #branding h1 a:link, #branding h1 a:visited {
- color: #f4f379;
+ color: var(--accent);
}
#branding h2 {
@@ -815,7 +934,7 @@ table#change-history tbody th {
font-size: 14px;
margin: -8px 0 8px 0;
font-weight: normal;
- color: #ffc;
+ color: var(--header-color);
}
#branding a:hover {
@@ -824,24 +943,110 @@ table#change-history tbody th {
#user-tools {
float: right;
- padding: 1.2em 10px;
+ padding: 0;
+ margin: 0 0 0 20px;
+ font-weight: 300;
font-size: 11px;
+ letter-spacing: 0.5px;
+ text-transform: uppercase;
text-align: right;
}
+#user-tools a {
+ border-bottom: 1px solid rgba(255, 255, 255, 0.25);
+}
+
+#user-tools a:focus, #user-tools a:hover {
+ text-decoration: none;
+ border-bottom-color: var(--primary);
+ color: var(--primary);
+}
+
/* SIDEBAR */
+#content-related {
+ background: var(--darkened-bg);
+}
+
+#content-related .module {
+ background: none;
+}
+
#content-related h3 {
- font-size: 12px;
- color: #666;
- margin-bottom: 3px;
+ color: var(--body-quiet-color);
+ padding: 0 16px;
+ margin: 0 0 16px;
}
#content-related h4 {
- font-size: 11px;
+ font-size: 13px;
+}
+
+#content-related p {
+ padding-left: 16px;
+ padding-right: 16px;
+}
+
+#content-related .actionlist {
+ padding: 0;
+ margin: 16px;
+}
+
+#content-related .actionlist li {
+ line-height: 1.2;
+ margin-bottom: 10px;
+ padding-left: 18px;
}
#content-related .module h2 {
- background: #eee url(../img/nav-bg.gif) bottom left repeat-x;
- color: #666;
+ background: none;
+ padding: 16px;
+ margin-bottom: 16px;
+ border-bottom: 1px solid var(--hairline-color);
+ font-size: 18px;
+ color: var(--body-fg);
+}
+
+.delete-confirmation form input[type="submit"] {
+ background: var(--delete-button-bg);
+ border-radius: 4px;
+ padding: 10px 15px;
+ color: var(--button-fg);
+}
+
+.delete-confirmation form input[type="submit"]:active,
+.delete-confirmation form input[type="submit"]:focus,
+.delete-confirmation form input[type="submit"]:hover {
+ background: var(--delete-button-hover-bg);
+}
+
+.delete-confirmation form .cancel-link {
+ display: inline-block;
+ vertical-align: middle;
+ height: 15px;
+ line-height: 15px;
+ border-radius: 4px;
+ padding: 10px 15px;
+ color: var(--button-fg);
+ background: var(--close-button-bg);
+ margin: 0 0 0 10px;
+}
+
+.delete-confirmation form .cancel-link:active,
+.delete-confirmation form .cancel-link:focus,
+.delete-confirmation form .cancel-link:hover {
+ background: var(--close-button-hover-bg);
+}
+
+/* POPUP */
+.popup #content {
+ padding: 20px;
+}
+
+.popup #container {
+ min-width: 0;
+}
+
+.popup #header {
+ padding: 10px 20px;
}