mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
highlited active status
This commit is contained in:
parent
44b6b01d78
commit
d5e855cf40
3 changed files with 59 additions and 14 deletions
|
@ -2,10 +2,10 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td style="padding: 2px 0 0 6px">
|
<td style="padding: 2px 0 0 6px">
|
||||||
<div style="submenu-button-block">
|
<div style="submenu-button-block">
|
||||||
<a class="vst" <?php if ((empty($_GET['period'])) || ($_GET['period'] == 'daily')) echo "style='color: #174f82'" ?> href="?period=daily"><?php print _('Daily');?></a>
|
<a class="vst<?php if ((empty($_GET['period'])) || ($_GET['period'] == 'daily')) echo "-selected" ?>" href="?period=daily"><?php print _('Daily');?></a>
|
||||||
<a class="vst" <?php if ((!empty($_GET['period'])) && ($_GET['period'] == 'weekly')) echo "style='color: #174f82'" ?> href="?period=weekly"><?php print _('Weekly');?></a>
|
<a class="vst<?php if ((!empty($_GET['period'])) && ($_GET['period'] == 'weekly')) echo "-selected" ?>" href="?period=weekly"><?php print _('Weekly');?></a>
|
||||||
<a class="vst" <?php if ((!empty($_GET['period'])) && ($_GET['period'] == 'monthly')) echo "style='color: #174f82'" ?> href="?period=monthly"><?php print _('Monthly');?></a>
|
<a class="vst<?php if ((!empty($_GET['period'])) && ($_GET['period'] == 'monthly')) echo "-selected" ?>" href="?period=monthly"><?php print _('Monthly');?></a>
|
||||||
<a class="vst" <?php if ((!empty($_GET['period'])) && ($_GET['period'] == 'yearly')) echo "style='color: #174f82'" ?> href="?period=yearly"><?php print _('Yearly');?></a>
|
<a class="vst<?php if ((!empty($_GET['period'])) && ($_GET['period'] == 'yearly')) echo "-selected" ?>" href="?period=yearly"><?php print _('Yearly');?></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="submenu-search-block">
|
<div class="submenu-search-block">
|
||||||
<form action="/search/" method="get">
|
<form action="/search/" method="get">
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<td style="padding: 2px 0 0 6px">
|
<td style="padding: 2px 0 0 6px">
|
||||||
<div class="submenu-button-block">
|
<div class="submenu-button-block">
|
||||||
<form action="/list/stats/" method="get" id="objects">
|
<form action="/list/stats/" method="get" id="objects">
|
||||||
<a class="vst" <?php if (empty($_GET['user'])) echo "style='color: #174f82'"; ?> href='/list/stats/'><?php print _('Overall Statistics');?></a>
|
<a class="vst<?php if (empty($_GET['user'])) echo "-selected"; ?>" href='/list/stats/'><?php print _('Overall Statistics');?></a>
|
||||||
<div class="submenu-select-block">
|
<div class="submenu-select-block">
|
||||||
<select class="submenu-select-dropdown" name="user">
|
<select class="submenu-select-dropdown" name="user">
|
||||||
<option value=""><?php print _('show per user');?></option>
|
<option value=""><?php print _('show per user');?></option>
|
||||||
|
|
|
@ -70,8 +70,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-link:active{
|
.top-link:active{
|
||||||
color: #ccc;
|
color: #fff;
|
||||||
background: #999;
|
background: #f79b44;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-selected-link {
|
.top-selected-link {
|
||||||
|
@ -94,7 +94,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-logout:hover {
|
.top-logout:hover {
|
||||||
color: white;
|
color: #;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-logout:active {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #f79b44;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-logo {
|
.nav-logo {
|
||||||
|
@ -194,7 +199,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.submenu-button {
|
.submenu-button {
|
||||||
width: 120px;
|
width: 130px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #333;
|
color: #333;
|
||||||
|
@ -217,12 +222,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.submenu-button:active {
|
.submenu-button:active {
|
||||||
background-color: #e6e6e6;
|
color: #fff;
|
||||||
|
border: 1px solid #f79b44;
|
||||||
|
background-color: #f79b44;
|
||||||
}
|
}
|
||||||
|
|
||||||
.submenu-select-block {
|
.submenu-select-block {
|
||||||
float:left;
|
float:left;
|
||||||
padding-left: 28px;
|
padding-left: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.submenu-select-link {
|
.submenu-select-link {
|
||||||
|
@ -240,6 +247,12 @@
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.submenu-select-link:active {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #f79b44;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
.submenu-select-dropdown {
|
.submenu-select-dropdown {
|
||||||
font-family:Arial, Helvetica, sans-serif;
|
font-family:Arial, Helvetica, sans-serif;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
|
@ -300,7 +313,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.vst {
|
.vst {
|
||||||
padding: 0 8px 0 0;
|
padding: 0 4px 0 4px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #999;
|
color: #999;
|
||||||
|
@ -313,7 +326,26 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.vst:active {
|
.vst:active {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #f79b44;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vst-selected {
|
||||||
|
padding: 0 4px 0 4px;
|
||||||
|
margin: 0;
|
||||||
|
text-decoration: none;
|
||||||
color: #174f82;
|
color: #174f82;
|
||||||
|
font-size: 12pt;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vst-selected:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vst-selected:active {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #f79b44;
|
||||||
}
|
}
|
||||||
|
|
||||||
.data {
|
.data {
|
||||||
|
@ -656,13 +688,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.button:active {
|
.button:active {
|
||||||
background-color: #e6e6e6;
|
color: #fff;
|
||||||
|
border: 1px solid #f79b44;
|
||||||
|
background-color: #f79b44;
|
||||||
}
|
}
|
||||||
|
|
||||||
.genpass {
|
.genpass {
|
||||||
color: #34536a;
|
color: #34536a;
|
||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
padding: 0 5px 0 8px;
|
padding: 0 5px;
|
||||||
letter-spacing: 0.1em;
|
letter-spacing: 0.1em;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
@ -671,11 +705,17 @@
|
||||||
color: #7fa1cb;
|
color: #7fa1cb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.genpass:active {
|
||||||
|
background-color: #f79b44;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
.vst-advanced {
|
.vst-advanced {
|
||||||
color: #34536a;
|
color: #34536a;
|
||||||
font-size: 10pt;
|
font-size: 10pt;
|
||||||
letter-spacing: 0.1em;
|
letter-spacing: 0.1em;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
padding: 0 2px;
|
||||||
border-bottom: 1px solid #f79b44;
|
border-bottom: 1px solid #f79b44;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -683,6 +723,11 @@
|
||||||
color: #7fa1cb;
|
color: #7fa1cb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.vst-advanced:active {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #f79b44;
|
||||||
|
}
|
||||||
|
|
||||||
.fixed{
|
.fixed{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
border: none;
|
border: none;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue