diff --git a/public_html/media/css/core.css b/public_html/media/css/core.css index b0803903..c4e48d48 100644 --- a/public_html/media/css/core.css +++ b/public_html/media/css/core.css @@ -96,8 +96,11 @@ body { margin-right: -1px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); } +#top-nav li.safety a:after { + content: ' '; +} #top-nav li.safety span { - visibility: hidden; + display: none; } #top-nav li.safety a:hover { opacity: .7; } #top-nav li.safety a.inactive { opacity: 1; } diff --git a/public_html/media/css/post-list.css b/public_html/media/css/post-list.css index 12355593..2951e2a7 100644 --- a/public_html/media/css/post-list.css +++ b/public_html/media/css/post-list.css @@ -6,3 +6,15 @@ width: 140px; height: 140px; } + +.posts .post-type-flash img { + border-color: #dd5; + box-shadow: 0.25em 0.25em #eeb, 0.1em 0.1em 0.5em 0.1em rgba(238,238,187,0.5); +} + +.posts a:focus img, +.posts a:hover img { + border: 1px solid firebrick; + box-shadow: 0.25em 0.25em pink; + opacity: .9; +} diff --git a/src/Helpers/TextHelper.php b/src/Helpers/TextHelper.php index c913bb94..fae9bd5b 100644 --- a/src/Helpers/TextHelper.php +++ b/src/Helpers/TextHelper.php @@ -36,6 +36,18 @@ class TextHelper return $string; } + public static function camelCaseToHumanCase($string, $ucfirst = false) + { + $string = preg_replace_callback('/[A-Z]/', function($x) + { + return ' ' . strtolower($x[0]); + }, $string); + $string = trim($string); + if ($ucfirst) + $string = ucfirst($string); + return $string; + } + public static function resolveConstant($constantName, $className = null) { $constantName = self::kebabCaseToCamelCase($constantName); diff --git a/src/Views/layout-normal.phtml b/src/Views/layout-normal.phtml index 9c631153..45ee276b 100644 --- a/src/Views/layout-normal.phtml +++ b/src/Views/layout-normal.phtml @@ -68,9 +68,9 @@