Skip to content

Commit

Permalink
2.15.1 Tweaks to toolbar positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
classaxe committed Jul 7, 2020
1 parent fc5662b commit fda761b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 16 deletions.
11 changes: 7 additions & 4 deletions public/css/style.css
@@ -1,7 +1,7 @@
/*
* Project: RXX - NDB Logging Database
* Homepage: https://rxx.classaxe.com
* Version: 2.50.0
* Version: 2.15.1
* Date: 2020-07-06
* Licence: LGPL
* Copyright: 2020 Martin Francis
Expand Down Expand Up @@ -263,19 +263,22 @@ tr.other td {
}
}
@media (min-width: 61em) {
.topbar {
margin: 0 0.5em;
}
.topbar div.toolbar {
padding: 0 0.5em;
background-color: #eeeeee;
border: 1px solid #cccccc;
}
.topbar div.toolbar ul ul {
right: 0;
left: 0.5em;
}
.topbar .version-switcher {
float: left;
float: right;
}
.topbar .userStatus {
float: right;
float: left;
}
}
.topbar .userStatus ul {
Expand Down
2 changes: 1 addition & 1 deletion public/css/style.min.css

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions src/Repository/ModeRepository.php
Expand Up @@ -113,13 +113,6 @@ class ModeRepository
'title' => 'Logon',
'url'=> false
],
'logoff' => [
'admin' => true,
'guest' => false,
'menu' => 'Log Off',
'title' => 'Log Off',
'url'=> false
],
],
[
'admin/tools' => [
Expand Down
7 changes: 4 additions & 3 deletions src/css/include/topbar.less
Expand Up @@ -11,21 +11,22 @@
}
}
@media (min-width: 61em) {
margin: 0 0.5em;
div.toolbar {
padding: 0 0.5em;
background-color: #eeeeee;
border: 1px solid #cccccc;
ul {
ul {
right: 0;
left: 0.5em;
}
}
}
.version-switcher {
float: left;
float: right;
}
.userStatus {
float: right;
float: left;
}
}
.userStatus {
Expand Down
2 changes: 1 addition & 1 deletion templates/topbar.html.twig
@@ -1,6 +1,6 @@
<div class="topbar">
{% include 'version_switcher.html.twig' %}
{% include 'user_status.html.twig' %}
{% include 'version_switcher.html.twig' %}
</div>
<script>
$(document).ready(function() {
Expand Down

0 comments on commit fda761b

Please sign in to comment.