change navbar UI

This commit is contained in:
cuom1999 2020-06-10 23:48:44 -05:00
parent 973c58a71a
commit 35fd470c24
3 changed files with 23 additions and 12 deletions

View file

@ -220,11 +220,11 @@ header {
#nav-shadow { #nav-shadow {
height: 2px; height: 2px;
background: linear-gradient(#7dc7ff, transparent); background: linear-gradient(lightgray, transparent);
} }
#nav-container { #nav-container {
background: #7dc7ff; background: white;
// opacity: 0.77; // opacity: 0.77;
// filter: alpha(opacity=77) // filter: alpha(opacity=77)
@ -280,21 +280,27 @@ nav {
color: #9c3706; color: #9c3706;
padding: 13px 7px; padding: 13px 7px;
height: 18px; height: 18px;
border-top: 2px solid transparent;
border-bottom: 2px solid transparent;
font-weight: bold;
font-size: initial;
&:link { &:link {
color: #9c3706; color: #9c3706;
} }
&:hover { &:hover {
color: #FFF; border-top: 2px solid $widget_black;
color: $widget_black;
background: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.25);
margin: 0; margin: 0;
} }
&.active { &.active {
// color: #FFF; // color: #FFF;
background: $highlight_blue; border-top: 2px solid $widget_black;
color: black; color: $widget_black;
background: white;
} }
.nav-expand { .nav-expand {
@ -308,7 +314,7 @@ nav {
left: 5px; left: 5px;
display: none; display: none;
color: #fff; color: #fff;
background: $widget_black; background: #00c4cc;
margin: 0 !important; margin: 0 !important;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
@ -328,7 +334,7 @@ nav {
font-size: 0.8em; font-size: 0.8em;
line-height: 18px; line-height: 18px;
display: block; display: block;
border-left: 4px solid $highlight_blue; border-left: 4px solid black;
white-space: nowrap; white-space: nowrap;
} }
} }
@ -340,7 +346,7 @@ nav {
border: none; border: none;
width: 100%; width: 100%;
border-radius: 0; border-radius: 0;
height: auto; height: auto !important;
} }
&:hover > ul, &:active > ul, &:focus > ul { &:hover > ul, &:active > ul, &:focus > ul {
@ -373,6 +379,7 @@ hr {
#content { #content {
margin: 1em auto auto; margin: 1em auto auto;
margin-top: -0.5em;
// Header // Header
width: 90%; width: 90%;
@ -577,7 +584,7 @@ math {
display: block; display: block;
line-height: 26px; line-height: 26px;
font-size: 2em; font-size: 2em;
color: #FFF; color: $widget_black;
padding: 0 0.25em; padding: 0 0.25em;
margin: 4px 0.25em; margin: 4px 0.25em;
white-space: nowrap; white-space: nowrap;
@ -597,17 +604,19 @@ math {
border-left: 4px solid $highlight_blue; border-left: 4px solid $highlight_blue;
position: fixed; position: fixed;
top: 36px; top: 36px;
background: $widget_black; background: white;
bottom: 0; bottom: 0;
width: 8em; width: fit-content;
left: 0; left: 0;
box-shadow: none; box-shadow: none;
border: 1px solid;
li { li {
display: block; display: block;
a { a {
display: block; display: block;
font-weight: normal;
.nav-expand { .nav-expand {
float: right; float: right;

View file

@ -417,7 +417,7 @@ ul.select2-selection__rendered {
.sidebox h3 { .sidebox h3 {
margin: 0 -5px; margin: 0 -5px;
background: $widget_black; background: #05a081;
border-radius: $widget_border_radius $widget_border_radius 0 0; border-radius: $widget_border_radius $widget_border_radius 0 0;
color: white; color: white;
padding-top: 5px; padding-top: 5px;

View file

@ -174,6 +174,8 @@
} }
</style> </style>
</noscript> </noscript>
<style>
</style>
</head> </head>
<body> <body>
<svg width="0" height="0" style="display: block"> <svg width="0" height="0" style="display: block">