NEW add web accessible colours to web view dev/build

This commit is contained in:
Sacha Judd 2017-07-12 14:23:04 +12:00
parent b2831b809c
commit f367a0aa62
2 changed files with 31 additions and 12 deletions

View File

@ -4,7 +4,7 @@ body {
margin: 0; margin: 0;
overflow-x: hidden; overflow-x: hidden;
padding: 0; padding: 0;
color: #66727d; color: #4F5861;
background: #f6f7f8; background: #f6f7f8;
font-size: 15px; font-size: 15px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
@ -31,6 +31,19 @@ ul {
padding: 0 0 0 18px; padding: 0 0 0 18px;
} }
li {
padding: 2px 0;
}
li.info {
word-wrap: break-word;
padding: 0;
}
.build-info-before {
color: #66727d;
}
b { b {
color: #4f5861; color: #4f5861;
font-weight: bold; font-weight: bold;
@ -49,7 +62,7 @@ a:active {
.info { .info {
position: relative; position: relative;
z-index: 9999; z-index: 9999;
padding: 20px; padding: 15px 15px 0;
} }
.info h1 { .info h1 {
@ -71,14 +84,20 @@ a:active {
border-bottom: solid 1px #004e7f; border-bottom: solid 1px #004e7f;
color: white; color: white;
background: #005a93; background: #005a93;
padding: 15px;
}
.header p {
color: #fff;
} }
.header h1 { .header h1 {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmdJREFUeNpiYCASxJ17p8BAAmAh0sD5QAyiFYk1mJGAoQFQQwWgQoKLjIQ+kG0w0EABqIEByOKLjYWZ/////48Yg5lwuPI+uqF/f/88TqyhKGEMdWU/ECegK/r358/Va8tnx5AceVBD9wOxAbqCX18+zbm+am7HpaktD9AcEQCNUBDYAAz7CxhhDFTYAKTqkSX+//37+N3tq4Xboh33ALmfYcEAVJsA9ZkAmhtABifCLIAZ/B5Z4Z9vX1ddXjK15srMzkdAA38iudQB6jNcAJRiFEEpBxbGAsiRtNxWLh3I/ITkSpC3Q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9a1yVu0AhT0QM0cefjSPhYs7DEm/IAs0TFewcvOmodmKnuSevLp0uouVi3sDMEJ3AX31GZ60uLjV0DLSJ7DB9/dsalHxDrcGukYbV+B9enJ/xu5Un2tA5i1YhCKVIwbIqQkUN+Ccd7Ip7+nlRZP9QakB3UCQwrc3LoVsDrY4BdTwF8nQAiB1HogdkNX//v5tOUpZwQgMZCDFZ906S51fQVUGmjk+7Un3vwRKRkgGYi1HYMkUmKJSQMGEUQgBLWBGyur/gIp+I6VjA2g6Rs8cDNAIbYalKIzkBvIuKDnjCGqMHAdKdi8vnCgE+uwESoQykAYc0MuRlfaKVdCg+o232MRT6AugRyjQ0BKgga/RDSUJgCI39vTrRxGHHszWzahQBfLZGagFgIaJAzE/NAXhBQABBgBJL0aZBy/F5wAAAABJRU5ErkJggg==) no-repeat right 3px;
color: #fff;
} }
.header h3 { .header h3 {
color: #7da4be; color: #fff;
font-weight: 400; font-weight: 400;
} }
@ -99,8 +118,8 @@ a:active {
.trace { .trace {
position: relative; position: relative;
z-index: 9999; z-index: 9999;
padding: 20px; padding: 15px;
background: #f6f7f8 !important; background: #f6f7f8;
} }
.options .description { .options .description {
@ -110,19 +129,19 @@ a:active {
} }
.build .success { .build .success {
color: #3fa142; color: #2b6c2d;
} }
.build .error { .build .error {
color: #d40404; color: #d30000;
} }
.build .warning { .build .warning {
color: #f0ad4e; color: #8a6d3b;
} }
.build .info { .build .info {
color: #5bc0de; color: #0073c1;
} }
/* Backtrace styles */ /* Backtrace styles */
@ -141,5 +160,5 @@ pre span {
} }
pre .error { pre .error {
color: #d40404; color: #d30000;
} }

View File

@ -473,7 +473,7 @@ abstract class DBSchemaManager
// Updated index // Updated index
$this->transAlterIndex($table, $index, $spec); $this->transAlterIndex($table, $index, $spec);
$this->alterationMessage( $this->alterationMessage(
"Index $table.$index: changed to $specString <i style=\"color: #AAA\">(from $oldSpecString)</i>", "Index $table.$index: changed to $specString <i class=\"build-info-before\">(from $oldSpecString)</i>",
"changed" "changed"
); );
} }
@ -694,7 +694,7 @@ abstract class DBSchemaManager
} }
$this->transAlterField($table, $field, $spec_orig); $this->transAlterField($table, $field, $spec_orig);
$this->alterationMessage( $this->alterationMessage(
"Field $table.$field: changed to $specValue <i style=\"color: #AAA\">(from {$fieldValue})</i>", "Field $table.$field: changed to $specValue <i class=\"build-info-before\">(from {$fieldValue})</i>",
"changed" "changed"
); );
} }