1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00
Files
peeringdb-peeringdb/peeringdb_server/static/site.css
2019-02-19 22:08:29 +00:00

1186 lines
19 KiB
CSS

/* PeeringDB Colors
Black - #000000
Emerald Green - #1c3f28 - buttons, links
Grayish Cyan - #4b6063 - footer
Light Grayish Cyan - #1c3f28 - highlights
Racing Green - #1c3f28
Dark Blue - #00203e - fonts
*/
html, body {
font: 14px Arial, Helvetica;
padding: 0px;
}
body {
background-color: #4b6063;
}
input[type="text"]:focus,
input[type="text"]:active,
input[type="text"]:active:focus {
outline: none !important;
box-shadow: none !important;
border: 2px #1c3f28 solid !important;
}
input[type="password"]:focus,
input[type="password"]:active,
input[type="password"]:active:focus {
outline: none !important;
box-shadow: none !important;
border: 2px #1c3f28 solid !important;
}
input[type="textarea"]:focus,
input[type="textarea"]:active,
input[type="textarea"]:active:focus {
outline: none !important;
box-shadow: none !important;
border-color: #1c3f28 !important;
}
.attention {
color: #9e1e1e;
font-weight: bold;
}
.tiny {
font-size: 10px;
}
.suffix {
margin-left: 5px;
display: inline;
}
.hidden {
display: none;
}
.left {
text-align: left !important;
}
.right {
text-align: right;
}
.center {
text-align: center;
}
.marg-top {
margin-top: 3px;
}
.marg-top-15 {
margin-top: 15px;
}
.marg-top-30 {
margin-top: 30px;
}
.marg-top-60 {
margin-top: 60px;
}
.pad-left-15 {
padding-left: 15px;
}
.pad-side-15 {
padding-left: 15px;
padding-right: 15px;
}
.marg-bot-15 {
margin-bottom: 15px;
}
.pad-top {
padding-top: 3px;
}
a, a:hover, a:visited {
color: #1c3f28;
text-decoration: underline;
}
a.empty {
color:#000;
text-decoration: none;
}
a.btn {
text-decoration: none;
}
h5 {
font-weight: bold;
}
.row {
position: relative;
}
.row.sub {
background-color: #f1f1f1;
}
.mode-edit .row.separator {
padding-top:5px;
border-top: 3px #1c3f28 solid;
}
.row.sub.add {
padding-top: 5px;
}
.row.sub.add a {
position: relative;
top: -5px;
}
.btn-primary,
.btn-default {
background-color: #33744a;
margin-left: 10px;
color: #ffffff;
display: inline-block;
text-decoration: none;
/* font-weight: bold; */
padding: 5px 10px 5px 10px;
border-radius: 5px;
border: none;
}
.btn:hover,
.btn-pimary:hover,
.btn-default:hover {
background-color: #4b6063 !important;
color: #ffffff !important;
}
.btn:active,
.btn-pimary:active,
.btn-default:active {
background-color: #4b6063 !important;
color: #ffffff !important;
}
.btn:focus,
.btn-pimary:focus,
.btn-default:focus {
background-color: #4b6063 !important;
color: #ffffff !important;
}
/* error */
div.error {
background-color: #f1f1f1;
border: 1px #9e1e1e solid;
padding: 3px;
color: #9e1e1e;
text-align: center;
font-weight: bold;
}
/* header */
div.header {
background-color: #f1f1f1;
/* FOO */
border-bottom: 3px #4b6063 solid;
}
div.view_header {
background-color: #4b6063;
}
div.header img.button {
width: 70px;
display: inline !important;
}
div.header a {
color: #00203e;
}
div.view_header a {
color: #00203e;
}
div.header div.nav {
color: #00203e;
}
div.header div.nav div.user {
display: inline-block;
font-size:12px;
font-weight: bold;
}
div.header div.nav div.user div.status {
font-size:11px;
font-weight: normal;
color: #00203e;
}
div.header div.nav a.btn {
background-color: #33744a;
margin-left: 10px;
color: #ffffff;
display: inline-block;
text-decoration: none;
/* font-weight: bold; */
padding: 5px 10px 5px 10px;
border-radius: 5px;
border: none;
}
div.header div.nav a.btn:active {
background-color: #4b6063;
}
div.header div.nav a.btn:focus {
background-color: #4b6063;
}
div.header div.nav a.btn:hover {
background-color: #4b6063;
}
div.header div.nav div.dropdown {
display: inline-block;
}
div.header div.nav div.dropdown img {
width: 18px;
height: 18px;
}
div.header div.advanced-search {
padding: 5px;
}
img.logo {
padding-top: 7px;
padding-bottom: 7px;
//--width: 250px;
}
/* landing page: search */
@media (max-width: 991px) {
div.header div.advanced-search {
padding-top: 0px;
padding-bottom: 0px;
font-size: 12px;
}
}
@media (min-width: 768px) {
div.header div.nav {
margin-top: 5px;
font-size: 12px;
}
}
@media (max-width: 768px) {
div.header div.toolbar {
padding-bottom: 10px;
}
div.header div.advanced-search {
font-size: 12px;
padding: 5px;
}
}
div.landing_search div.options {
font-size: 18px;
color: #00203e;
padding: 5px;
}
div.landing_search div.searchbox {
color: #00203e;
background-color: #f1f1f1;
position: relative;
height: 65px;
margin-top: 40px;
}
#search {
margin-top:8px;
width:100%;
}
div.landing_search div.searchbox input[type=submit] {
font-size: 18px;
font-weight: bold;
background-color:transparent;
border: none;
color: #008390;
margin-top:12px;
line-height: 40px;
border-left: 3px #d5dbdc solid;
}
/* content */
content {
padding-top: 0px;
background-color: #f1f1f1;
}
/* panel */
div.panel {
padding-top: 0px;
background-color: #f1f1f1;
color: #00203e;
text-align: left;
}
div.panel h3 {
margin: 0px 0px 10px 0px;
font-size: 18px;
color: #00203e;
text-align: center;
}
div.panel.marg-right {
margin-right: 5px;
}
div.panel.marg-left {
margin-left: 5px;
}
div.panel > div,
div.panel > input.editable,
div.panel > .btn {
margin-bottom: 5px;
}
/* landing page: info */
div.landing_info {
color: #00203e;
background-color: #f1f1f1;
text-align: center;
padding: 5px;
/* border-bottom: 5px #000000 solid; */
padding-bottom: 5px;
padding-top: 20px;
}
div.view_error {
color: #00203e;
background-color: #f1f1f1;
text-align: center;
padding: 5px;
/* border-bottom: 5px #000000 solid; */
padding-bottom: 5px;
padding-top: 00px;
}
div.view_info {
color: #00203e;
background-color: #f1f1f1;
text-align: center;
padding: 5px;
/* border-bottom: 0px #000000 solid; */
padding-bottom: 0px;
padding-top: 20px;
}
div.landing_info h1 {
color: #00203e;
font-size: 28px;
margin-bottom: 4440px;
}
div.landing_info h2 {
color: #00203e;
font-size: 28px;
padding-bottom: 4px;
margin-bottom: 8px;
margin-top: -9px;
}
/* landing page: footer */
div.landing_footer {
color: #ffffff;
padding-top: 10px;
padding-bottom: 15px;
background-color: #4b6063;
}
div.landing_footer h4 {
margin-top: 0px;
margin-bottom: 5px;
font-size: 14px;
/* font-weight: bold; */
}
div.landing_footer img.socialmedia_icon {
width: 25px;
margin: 5px;
}
div.landing_footer a {
color: #ffffff;
}
/* recent participant updates */
div.recent h3 {
color: #00203e;
font-weight: 400;
font-size: 18px;
margin: 0px 0px 5px 0px;
}
div.recent h4 {
color: #00203e;
font-weight: 400;
font-size: 16px;
margin: 0px 0px 5px 0px;
}
div.recent div.participant > a {
}
div.recent div.age {
font-size: 12px;
color: #4b6063;
margin-bottom: 5px;
}
/* views */
div.view_fields {
padding-left: 15px;
padding-right: 10px;
background-color: #4b6063;
}
div.view_title {
color: #00203e;
font-size: 24px;
/* border-bottom: 3px #1c3f28 solid; */
margin-top: 20px;
margin-bottom: 10px;
}
div.view_title a.btn {
position: relative;
top: -5px;
}
div.view_title > div.button-bar > div {
display: inline;
vertical-align: middle;
}
div.section_title {
color: #00203e;
font-size: 18px;
border-bottom: 2px #1c3f28 solid;
margin-top: 5px;
}
img.view_logo {
width: 135px;
display: inline;
}
img.profile {
width: 30px;
display: inline;
}
div.view_row {
border-bottom: 1px #1c3f28 solid;
}
div.view_row > div.help {
background-color: #1c3f28;
padding: 3px;
font-size: 12px;
}
div.view_field {
color: #ffffff;
background-color: #4b6063;
padding: 5px;
/* font-weight: bold; */
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
div.view_field > div.help {
font-weight: normal;
font-size: 11px;
white-space: normal;
}
div.view_sub {
background-color: #f1f1f1;
padding-top:20px;
color: #00203e;
font-size: 18px;
font-weight: normal;
}
div.view_value {
background-color: #f1f1f1;
overflow: hidden;
text-overflow: ellipsis;
min-height:27px;
padding: 5px;
}
.mode-edit div.view_value {
overflow: visible;
}
div.view_value.fmt_text {
/*white-space: pre-wrap;*/
}
div.view_value.fmt_text h1 {
font-size: 20px;
margin: 0px 0px 5px 0px;
font-weight: bold
}
div.view_value.fmt_text h2 {
margin: 0px 0px 5px 0px;
font-size: 18px;
font-weight: bold
}
div.view_value.fmt_text h3 {
margin: 0px 0px 5px 0px;
font-size: 16px;
font-weight: bold
}
div.view_value.fmt_text h4,h5 {
margin: 0px 0px 5px 0px;
font-size: 14px;
font-weight: bold;
}
img.checkmark {
width : 14px;
vertical-align: middle;
}
span.disabled {
opacity : 0.5;
}
@media (min-width: 768px) {
div.view {
position: relative;
top: -30px;
}
}
/* search results */
div.result_title {
font-weight: bold;
padding: 5px;
}
#search-result,
.search-result {
padding-bottom: 20px;
}
div.result_row, table.result td {
color: #1c3f28;
vertical-align: top;
background-color: #f1f1f1;
padding: 3px;
}
div.result_row a, table.result a {
color: #1c3f28;
}
table.result {
font-size: 11px;
width: 100%;
}
div.list {
margin-left: 15px;
margin-right: 15px;
}
div.list div.header {
background-color: #f1f1f1;
border-bottom: 10px #f1f1f1 solid;
}
div.list div.filter {
padding: 5px;
}
div.list h5 {
margin-top: 13px;
color: #00203e;
font-size: 18px;
font-weight: 400;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: left;
}
div.list div.empty-result {
background-color: #f1f1f1;
margin-left: -15px;
text-align: center;
padding: 5px;
display: none;
}
div.list div.empty-result div.help {
font-size: 11px;
color: #4b6063;
}
div.list > div.scrollable {
overflow-y: auto;
overflow-x: hidden;
max-height: 500px;
margin-left: -15px;
margin-right: -15px;
padding-left: 15px;
/* border-bottom: 3px #1c3f28 solid; */
}
div.list > div.row.header,
table.result th {
background-color: #4b6063;
color: #ffffff;
padding-top: 10px;
padding-bottom: 5px;
}
div.row.header > div > div {
overflow: hidden;
text-overflow: ellipsis;
white-space:nowrap;
}
div.list > h5 {
margin-bottom: 5px;
}
div.list div.row div.row.inner > div {
padding-left: 0px;
}
div.list div.row .small {
font-size: 11px;
}
div.list div.row > div > div:nth-child(1) {
margin-bottom: 3px;
}
div.list div.row > div > div:nth-child(2) {
font-size: 12px;
}
div.list div.row.item > div > div:nth-child(2) {
color: #4b6063;
}
div.list div.row.item > div > div:nth-child(2) input[type="text"],
div.list div.row.item > div > div:nth-child(2) select {
color: #000000;
font-size: 14px;
}
div.list div.row.item {
border-bottom: 1px #1c3f28 solid;
background-color: #f1f1f1;
}
div.list div.row.item img {
width: 15px;
}
*[data-sort-target] {
cursor: pointer;
}
div.list .sort-desc:after {
content: url('ico-up-arrow.png');
}
div.list .sort-asc:after {
content: url('ico-down-arrow.png');
}
@media (max-width: 768px) {
div.list {
margin-top: 10px;
}
#content {
padding-top: 0px;
}
}
/* inline search */
div.inline-search {
position: relative;
z-index: 10;
}
input.inline-search {
border:none;
font-size: 18px;
padding: 3px;
}
/* editable */
div.editable.input-frame {
width: 100%;
}
div.view_value.flags div.editable.input-frame {
width: auto;
}
div.editable.input-frame > textarea {
width: 100%;
padding: 3px;
}
div.editable.input-frame > textarea.markdown {
height: 150px;
}
div.view div.editable.input-frame > input[type="text"] {
width: 100%;
padding: 3px;
-margin: -3px 0px -3px 0px;
-border: 1px #1c3f28 solid;
-background-color: #4b6063;
-color: #00203e;
}
div.editable.input-frame > select {
width: 100%;
padding: 3px;
}
input[type="text"],
input[type="password"],
#search,
select.editable,
textarea {
border-radius: 4px;
border: 1px solid;
}
[data-edit-type="bool"] div.editable.input-frame {
width: auto;
}
div.editable.mode-edit div.view_field {
}
.editable input.validation-error {
border-color: #9e1e1e;
}
.editable.input-note.validation-error {
background-color: #9e1e1e;
}
div.view > div.editable.popin.error {
margin-top: 20px;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
div.editable.popin.error {
border-color: #9e1e1e;
color: #9e1e1e;
background-color: #f1f1f1;
font-weight: normal;
margin-bottom: 10px;
/*( box-shadow: 5px 5px 0px rgba(0,0,0,0.15); */
}
div.editable.popin.error > div.extra {
color: #000000;
font-weight: normal;
}
div.editable.popin.help {
border: none;
border-top: 1px #1c3f28 solid;
font-size: 12px;
}
div.editable.popin.info {
border-color: #000000
}
div.editable.note.info, div.note.info {
border: 1px #1c3f28 solid;
padding: 10px;
background-color: #f1f1f1;
}
div.editable.note.inactive, div.note.inactive {
border: 1px #1c3f28 dashed;
padding: 10px;
background-color: #f1f1f1;
font-style: italic;
}
div.editable.note.warning, div.note.warning {
background-color: #f1f1f1;
border: 1px #9e1e1e solid;
padding: 3px;
color: #9e1e1e;
text-align: center;
font-weight: bold;
}
div.note.error > div.details {
color: #000000;
font-weight: normal;
}
.editable .view_title input[type="text"] {
margin-bottom: 5px;
margin-left: -5px;
max-width: 468px;
}
.editable.loading-shim {
background-color: #f1f1f1;
background-image: url('loading.gif');
background-position: center 20%;
background-attachment: fixed;
background-repeat: no-repeat;
margin-top: 10px;
opacity: 0.5;
margin-left: -15px;
margin-right: -15px;
}
.tab-pane .editable.loading-shim {
background-color: #f1f1f1;
opacity: 0.5;
margin-top: 0px;
}
input.editable.autocomplete.valid {
color: #2FD179;
}
input.editable.autocomplete.invalid {
color: #D71E1E;
}
span.yourlabs-autocomplete > span > div.sub {
font-size: 12px;
color: #717D7F;
}
span.yourlabs-autocomplete > span.hilight > div.sub {
color: #fff;
}
.editable a.btn-row-delete {
display: inline-block;
text-align: center;
text-decoration: none;
width: 14px;
height: 14px;
margin-top: 2px;
border-radius: 2px;
vertical-align: middle;
background-color: #4b6063;
color: #ffffff;
cursor: pointer;
line-height: 13px;
}
.editable a.btn-row-delete + div {
display: inline;
vertical-align: middle;
}
.editable a.btn-row-delete.next-to-input {
position: absolute;
z-index: 10;
}
.editable a.btn-row-delete.next-to-input + div input {
margin-left: 20px;
}
/*
* api listing module
*/
div[data-edit-component="add"] {
z-index: 1000;
}
@keyframes newrow_animation {
from {background-color: #4b6063;}
to {background-color: #4b6063;}
}
div.list div.newrow {
animation-name: newrow_animation;
animation-duration: 2s;
}
/*
* oauth
*/
div.oauth img {
width: 40px;
}
/*
* tabs
*/
.advanced-search-view .nav-tabs {
border-bottom: none;
}
.nav-tabs li.active a,
.nav-tabs li.active a:visited,
.nav-tabs li.active a:hover,
.nav-tabs li.active a:active {
text-decoration: none;
background-color: #33744a !important;
color: #fff !important;
}
div.tab-content > div.active {
background-color: #f1f1f1;
padding: 15px;
margin-left: 1px;
}
/*
* entity creation
*/
div.create-form div.row {
margin-top: 5px;
margin-bottom: 5px;
}
div.create-form div.editable.input-frame input {
width: 100%;
padding: 3px;
}
div.create-form div.editable.input-note {
left: auto;
right: 3px;
}
div.create-form div[data-edit-type="bool"] div.editable.input-frame {
width: 100%;
}
div.create-form div[data-edit-type="bool"] div.editable.input-frame input {
width: auto
}
/*
* entity status
*/
div.view_title div.status-pending {
background-color: #f1f1f1;
padding: 5px;
font-size: 12px;
position: relative;
top: -2px;
}
div.row.item.status-pending {
background-color: #f1f1f1 !important;
}
/*
* advanced search
*/
div.filter-form div.row {
margin-bottom: 5px;
}
div.filter-form select[multiple] {
min-height: 110px;
}
div.filter-form div.editable.input-frame input {
width: 100%;
}
div.advanced-search-view div.headers div.row {
background-color: #4d6063;
color: #fff;
margin-bottom: 0px;
padding-bottom: 5px;
padding-top: 5px;
}
div.advanced-search-view div.headers div.row > div > div:nth-child(2) {
font-size: 11px;
}
div.advanced-search-view div.results div.row div.media {
margin-top: 0px;
}
div.advanced-search-view div.results div.row {
background-color: #f1f1f1;
margin-bottom: 0px;
border-bottom: 1px #1c3f28 solid;
padding-bottom: 5px;
padding-top: 5px;
}
div.advanced-search-view div.headers div.row div,
div.advanced-search-view div.results div.row div {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
div.advanced-search-view div.headers .sort-asc:after {
content: url('ico-down-arrow.png');
color: #fff;
}
div.advanced-search-view div.headers .sort-desc:after {
content: url('ico-up-arrow.png');
}
div.advanced-search-view div.results div.row > div > div:empty:before {
content: '-';
}
div.advanced-search-view div.results div.row > div > div:nth-child(2),
span.hint {
color: #00203e;
font-size: 11px;
display: block;
}
div.advanced-search-view a.btn-advanced-search-download {
position: absolute;
right: 5px;
top: 5px;
}
/*
* sponsorships
*/
div.sponsor.silver h3 {
background-color: #f1f1f1;
border-bottom: 2px solid #1c3f28;
}
div.sponsor.gold h3 {
background-color: #f1f1f1;
border-bottom: 2px solid #1c3f28;
}
div.sponsor.platinum h3 {
background-color: #f1f1f1;
border-bottom: 2px solid #1c3f28;
}
div.sponsor.diamond h3 {
background-color: #f1f1f1;
border-bottom: 2px solid #1c3f28;
}
div.view_title div.sponsor::after {
border-radius: 5px;
font-size: 11px;
vertical-align: middle;
background-color: #f1f1f1;
border: 1px #000000 solid;
position: relative;
top: -2px;
left: 5px;
padding: 3px;
font-weight: bold;
cursor: pointer;
}
div.view_title div.sponsor.diamond::after {
background-color: #00aca1;
border-color: #00aca1;
color: #ffffff;
content: 'Diamond Sponsor';
}
div.view_title div.sponsor.platinum::after {
background-color: #899a9d;
border-color: #899a9d;
color: #ffffff;
content: 'Platinum Sponsor';
}
div.view_title div.sponsor.gold::after {
background-color: #e3a631;
border-color: #e3a631;
color: #ffffff;
content: 'Gold Sponsor';
}
div.view_title div.sponsor.silver::after {
border-color: #626a75;
background-color: #626a75;
color: #ffffff;
content: 'Silver Sponsor';
}
div.mode-edit div.view_title div.sponsor::after {
content: '';
display: none;
}
span.inline.delimited input {
margin-bottom: 10px;
}
.ip6,
div[name=ipaddr6],
div[data-edit-name=ipaddr6]
{ word-break: break-all; }