Some style changes

This commit is contained in:
Bernd Bestel 2018-04-15 14:38:42 +02:00
parent 13566bc6fd
commit 5ddae116e0
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 25 additions and 9 deletions

View File

@ -45,10 +45,21 @@
transition: all 0.3s; transition: all 0.3s;
} }
.nav-sidebar > li > a:hover {
box-shadow: inset 4px 0 0 #337ab7;
transition: all 0.3s;
}
.nav-sidebar > li > a:focus {
box-shadow: inset 4px 0 0 #ab2230;
transition: all 0.3s;
}
.nav-sidebar > .active > a, .nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover, .nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus { .nav-sidebar > .active > a:focus {
background-color: #d6d6d6; background-color: #d6d6d6;
box-shadow: inset 4px 0 0 #ab2230;
transition: all 0.3s; transition: all 0.3s;
} }
@ -78,20 +89,20 @@
} }
.discrete-link { .discrete-link {
color: inherit; color: inherit !important;
transition: all 0.3s; transition: all 0.3s !important;
} }
a.discrete-link:hover { a.discrete-link:hover {
color: #337ab7; color: #337ab7 !important;
text-decoration: none; text-decoration: none !important;
transition: all 0.3s; transition: all 0.3s !important;
} }
a.discrete-link:focus { a.discrete-link:focus {
color: #ab2230; color: #ab2230 !important;
text-decoration: none; text-decoration: none !important;
transition: all 0.3s; transition: all 0.3s !important;
} }
.navbar-fixed-top { .navbar-fixed-top {
@ -103,6 +114,7 @@ a.discrete-link:focus {
font-weight: bold; font-weight: bold;
letter-spacing: -5px; letter-spacing: -5px;
font-size: 2.2em; font-size: 2.2em;
color: inherit !important;
} }
@ -151,3 +163,7 @@ a.discrete-link:focus {
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
} }
.well {
background-color: #e5e5e5;
}

View File

@ -26,8 +26,8 @@
<link href="/css/grocy.css?v={{ $version }}" rel="stylesheet"> <link href="/css/grocy.css?v={{ $version }}" rel="stylesheet">
<script src="/bower_components/jquery/dist/jquery.min.js?v={{ $version }}"></script> <script src="/bower_components/jquery/dist/jquery.min.js?v={{ $version }}"></script>
<script src="/js/grocy.js?v={{ $version }}"></script>
<script src="/js/extensions.js?v={{ $version }}"></script> <script src="/js/extensions.js?v={{ $version }}"></script>
<script src="/js/grocy.js?v={{ $version }}"></script>
<script>Grocy.ActiveNav = '@yield('activeNav', '')';</script> <script>Grocy.ActiveNav = '@yield('activeNav', '')';</script>
</head> </head>