mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-22 04:53:46 +09:00
use sprite in topNav bar
This commit is contained in:
1 parent
8ef58ef77c
commit
ad37b867b6
4 files changed
+64
-4
No files matched your search
@@ -0,0 +1,59 @@
|
||||
.sprite-topnav {
|
||||
background-image: url(../sprites/topnav-sprite.png);
|
||||
background-repeat: no-repeat;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sprite-topnav-contactAdmin {
|
||||
width: 11px;
|
||||
height: 10px;
|
||||
background-position: -1px -1px;
|
||||
}
|
||||
|
||||
.sprite-topnav-help {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background-position: -14px -1px;
|
||||
}
|
||||
|
||||
.sprite-topnav-logout {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
background-position: -26px -1px;
|
||||
}
|
||||
|
||||
.sprite-topnav-mainWebsite {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background-position: -1px -14px;
|
||||
}
|
||||
|
||||
.sprite-topnav-messages {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
background-position: -13px -14px;
|
||||
}
|
||||
|
||||
.sprite-topnav-profile {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
background-position: -26px -14px;
|
||||
}
|
||||
|
||||
.sprite-topnav-register {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background-position: -1px -27px;
|
||||
}
|
||||
|
||||
.sprite-topnav-settings {
|
||||
width: 10px;
|
||||
height: 11px;
|
||||
background-position: -39px -1px;
|
||||
}
|
||||
|
||||
.sprite-topnav-tasks {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
background-position: -13px -27px;
|
||||
}
|
||||
@@ -50,19 +50,19 @@
|
||||
<div class="userNav">
|
||||
<ul>
|
||||
<li class="loading" style="display:none;"><img src="images/loader.gif" alt="" /><span>{% trans 'Loading ...' %}</span></li>
|
||||
<li class="dd"><img src="images/icons/topnav/register.png" alt="" /><span>{% trans 'New' %}</span>
|
||||
<li class="dd"><span><i class="sprite-topnav sprite-topnav-register" style="margin-right: 5px;"></i>{% trans 'New' %}</span>
|
||||
{% include "partial_menu_top.phtml" %}
|
||||
</li>
|
||||
{% if admin.system_is_allowed({"mod":"system"}) %}
|
||||
<li class="dd"><img src="images/icons/topnav/settings.png" alt="" /><span>{% trans 'Settings' %}</span>
|
||||
<li class="dd"><span><i class="sprite-topnav sprite-topnav-settings" style="margin-right: 5px;"></i>{% trans 'Settings' %}</span>
|
||||
<ul class="menu_body">
|
||||
<li><a href="{{ 'system'|alink }}" title="">{% trans 'All settings' %}</a></li>
|
||||
<li><a href="{{ 'theme'|alink }}/{{ guest.extension_theme.code }}" title="">{% trans 'Theme settings' %}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li><a href="{{ '/'|link }}" title="" target="_blank"><img src="images/icons/topnav/mainWebsite.png" alt=""/><span>{% trans 'Visit site' %}</span></a></li>
|
||||
<li><a href="{{ 'api/admin/profile/logout'|link }}" title="" class="api-link" data-api-redirect="{{ 'staff/login'|alink }}"><img src="images/icons/topnav/logout.png" alt="" /><span>{% trans 'Logout' %}</span></a></li>
|
||||
<li><a href="{{ '/'|link }}" title="" target="_blank"><span><i class="sprite-topnav sprite-topnav-mainWebsite" style="margin-right: 5px;"></i>{% trans 'Visit site' %}</span></a></li>
|
||||
<li><a href="{{ 'api/admin/profile/logout'|link }}" title="" class="api-link" data-api-redirect="{{ 'staff/login'|alink }}"><span><i class="sprite-topnav sprite-topnav-logout" style="margin-right: 5px;"></i>{% trans 'Logout' %}</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="fix"></div>
|
||||
|
||||
@@ -3,4 +3,5 @@
|
||||
<link rel="stylesheet" href="css/bb.css?v={{guest.system_version}}" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="css/dark-icons-sprite.css?v={{guest.system_version}}" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="css/dark-icons-23-sprite.css?v={{guest.system_version}}" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="css/topnav-sprite.css?v={{guest.system_version}}" type="text/css" media="screen" />
|
||||
<link href="css/jquery-ui.css?v={{guest.system_version}}" rel="stylesheet" type="text/css" />
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
Reference in new issue
Block a user