/* DJANGO Admin styles */ /* MODULES */ .module { border: none; margin-bottom: 30px; background: #fff; } .module p, .module ul, .module h3, .module h4, .module dl, .module pre { padding-left: 10px; padding-right: 10px; } .module blockquote { margin-left: 12px; } .module ul, .module ol { margin-left: 1.5em; } .module h3 { margin-top: .6em; } .module h2, .module caption, .inline-group h2 { margin: 0; padding: 8px; font-weight: 400; font-size: 13px; text-align: left; background: #6f6f6f; color: #fff; } .module caption, .inline-group h2 { font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; } .module table { border-collapse: collapse; } /* MESSAGES & ERRORS */ ul.messagelist { padding: 0; margin: 0; } ul.messagelist li { display: block; font-weight: 400; font-size: 13px; padding: 10px 10px 10px 65px; margin: 0 0 10px 0; background: #dfd url(../img/icon-yes.svg) 40px 12px no-repeat; background-size: 16px auto; color: #333; } ul.messagelist li.warning { background: #ffc url(../img/icon-alert.svg) 40px 14px no-repeat; background-size: 14px auto; } ul.messagelist li.error { background: #ffefef url(../img/icon-no.svg) 40px 12px no-repeat; background-size: 16px auto; } .errornote { font-size: 14px; font-weight: 700; display: block; padding: 10px 12px; margin: 0 0 10px 0; color: #ba2121; border: 1px solid #ba2121; border-radius: 4px; background-color: #fff; background-position: 5px 12px; } ul.errorlist { margin: 0 0 4px; padding: 0; color: #ba2121; background: #fff; } ul.errorlist li { font-size: 13px; display: block; margin-bottom: 4px; } ul.errorlist li:first-child { margin-top: 0; } ul.errorlist li a { color: inherit; text-decoration: underline; } td ul.errorlist { margin: 0; padding: 0; } td ul.errorlist li { margin: 0; } .form-row.errors { margin: 0; border: none; border-bottom: 1px solid #eee; background: none; } .form-row.errors ul.errorlist { margin-left: 0; padding-right: 10px; } .form-row.errors ul.errorlist li { padding-left: 0; } .errors input, .errors select, .errors textarea { border: 1px solid #ba2121; } div.system-message { background: #ffc; margin: 10px; padding: 6px 8px; font-size: .8em; } div.system-message p.system-message-title { padding: 4px 5px 4px 25px; margin: 0; color: #c11; background: #ffefef url(../img/icon-no.svg) 5px 5px no-repeat; } .description { font-size: 12px; padding: 5px 0 0 12px; } /* BREADCRUMBS */ div.breadcrumbs { background: #6f6f6f; padding: 10px 40px; border: none; font-size: 14px; color: #c4dce8; text-align: left; } div.breadcrumbs a { color: #fff; } div.breadcrumbs a:focus, div.breadcrumbs a:hover { color: #c4dce8; } /* ACTION ICONS */ .viewlink, .inlineviewlink { padding-left: 16px; background: url(../img/icon-viewlink.svg) 0 1px no-repeat; } .addlink { padding-left: 16px; background: url(../img/icon-addlink.svg) 0 1px no-repeat; } .changelink, .inlinechangelink { padding-left: 16px; background: url(../img/icon-changelink.svg) 0 1px no-repeat; } .deletelink { padding-left: 16px; background: url(../img/icon-deletelink.svg) 0 1px no-repeat; } a.deletelink:link, a.deletelink:visited { color: #CC3434; } a.deletelink:focus, a.deletelink:hover { color: #993333; text-decoration: none; } /* OBJECT TOOLS */ .object-tools { font-size: 10px; font-weight: bold; padding-left: 0; float: right; position: relative; margin-top: -48px; } .form-row .object-tools { margin-top: 5px; margin-bottom: 5px; float: none; height: 2em; padding-left: 3.5em; } .object-tools li { display: block; float: left; margin-left: 5px; height: 16px; } .object-tools a { border-radius: 15px; } .object-tools a:link, .object-tools a:visited { display: block; float: left; padding: 3px 12px; background: #999; font-weight: 400; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #fff; } .object-tools a:focus, .object-tools a:hover { background-color: #007bff; } .object-tools a:focus{ text-decoration: none; } .object-tools a.viewsitelink, .object-tools a.golink,.object-tools a.addlink { background-repeat: no-repeat; background-position: right 7px center; padding-right: 26px; } .object-tools a.viewsitelink, .object-tools a.golink { background-image: url(../img/tooltag-arrowright.svg); } .object-tools a.addlink { background-image: url(../img/tooltag-add.svg); } /* OBJECT HISTORY */ table#change-history { width: 100%; } table#change-history tbody th { width: 16em; } /* PAGE STRUCTURE */ #container { position: relative; width: 100%; min-width: 980px; padding: 0; } #content { padding: 20px 40px; } .dashboard #content { width: 600px; } #content-main { float: left; width: 100%; } #content-related { float: right; width: 260px; position: relative; margin-right: -300px; } #footer { clear: both; padding: 10px; } /* COLUMN TYPES */ .colMS { margin-right: 300px; } .colSM { margin-left: 300px; } .colSM #content-related { float: left; margin-right: 0; margin-left: -300px; } .colSM #content-main { float: right; } .popup .colM { width: auto; } /* HEADER */ #header { width: auto; height: auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 40px; background: #417690; color: #ffc; overflow: hidden; } #header a:link, #header a:visited { color: #fff; } #header a:focus , #header a:hover { text-decoration: underline; } #branding { float: left; } #branding h1 { padding: 0; margin: 0 20px 0 0; font-weight: 300; font-size: 24px; color: #f5dd5d; } #branding h1, #branding h1 a:link, #branding h1 a:visited { color: #f5dd5d; } #branding h2 { padding: 0 10px; font-size: 14px; margin: -8px 0 8px 0; font-weight: normal; color: #ffc; } #branding a:hover { text-decoration: none; } #user-tools { float: right; 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: #343a40; color: #343a40; } /* SIDEBAR */ #content-related { background: #f8f8f8; } #content-related .module { background: none; } #content-related h3 { font-size: 14px; color: #666; padding: 0 16px; margin: 0 0 16px; } #content-related h4 { 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: none; padding: 16px; margin-bottom: 16px; border-bottom: 1px solid #eaeaea; font-size: 18px; color: #333; } .delete-confirmation form input[type="submit"] { background: #ba2121; border-radius: 4px; padding: 10px 15px; color: #fff; } .delete-confirmation form input[type="submit"]:active, .delete-confirmation form input[type="submit"]:focus, .delete-confirmation form input[type="submit"]:hover { background: #a41515; } .delete-confirmation form .cancel-link { display: inline-block; vertical-align: middle; height: 15px; line-height: 15px; background: #ddd; border-radius: 4px; padding: 10px 15px; color: #333; margin: 0 0 0 10px; } .delete-confirmation form .cancel-link:active, .delete-confirmation form .cancel-link:focus, .delete-confirmation form .cancel-link:hover { background: #ccc; } /* POPUP */ .popup #content { padding: 20px; } .popup #container { min-width: 0; } .popup #header { padding: 10px 20px; }