Change navbar color, add JS to remove &msg=xyz from URL,
pngcrush images, update material-color to v1.2
This commit is contained in:
parent
133b9c03cb
commit
16d9481abd
2
app.php
2
app.php
@ -56,7 +56,7 @@ if (!is_empty($_GET['page'])) {
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="navbar navbar-inverse navbar-<?php echo MENU_BAR_STYLE; ?>-top">
|
||||
<nav class="navbar navbar-inverse navbar-blue-grey navbar-<?php echo MENU_BAR_STYLE; ?>-top">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
|
||||
|
@ -12,44 +12,4 @@
|
||||
.footer {
|
||||
margin-top: 10em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.navbar-inverse .navbar-toggle .icon-bar {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
/*
|
||||
==============================
|
||||
THEMING
|
||||
==============================
|
||||
|
||||
Changing the .navbar-inverse background should be enough on modern browsers.
|
||||
If this app is to be used on IE < 9 (not supported), also set a background-color
|
||||
to replace the rgba()s.
|
||||
*/
|
||||
|
||||
/* navbar background */
|
||||
.navbar-inverse {
|
||||
background-color: #43a047;
|
||||
}
|
||||
|
||||
/* Selected page background */
|
||||
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
|
||||
background: rgba(0,0,0,.2);
|
||||
}
|
||||
|
||||
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
|
||||
border-color: rgba(0,0,0,.2);
|
||||
}
|
||||
|
||||
.navbar-inverse .navbar-brand {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.navbar-inverse .navbar-nav > li > a {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.navbar-inverse .navbar-link {
|
||||
color: white;
|
||||
}
|
@ -297,6 +297,9 @@
|
||||
NAVBAR
|
||||
\*****************************************************/
|
||||
|
||||
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
|
||||
border-color: rgba(0,0,0,.3);
|
||||
}
|
||||
|
||||
/* red */
|
||||
|
||||
|
2
static/css/material-color.min.css
vendored
2
static/css/material-color.min.css
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 8.9 KiB |
Binary file not shown.
Before Width: | Height: | Size: 516 B After Width: | Height: | Size: 415 B |
Binary file not shown.
Before Width: | Height: | Size: 538 B After Width: | Height: | Size: 408 B |
@ -12,4 +12,19 @@ $(document).ready(function () {
|
||||
|
||||
/* Activate tooltips */
|
||||
setupTooltips();
|
||||
});
|
||||
});
|
||||
|
||||
/*
|
||||
* Remove feedback params from the URL so they don't stick around too long
|
||||
*/
|
||||
function getniceurl() {
|
||||
var url = window.location.search;
|
||||
url = url.substring(url.lastIndexOf("/") + 1);
|
||||
url = url.replace(/&?msg=([^&]$|[^&]*)/i, "");
|
||||
return url;
|
||||
}
|
||||
try {
|
||||
window.history.replaceState("", "", getniceurl());
|
||||
} catch (ex) {
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user