dash theme improved
This commit is contained in:
parent
dddb8b9aff
commit
9f6414a74a
913
themes/bulaksu/assets/css/desk.css
Normal file
913
themes/bulaksu/assets/css/desk.css
Normal file
|
@ -0,0 +1,913 @@
|
|||
#dashpanel-container {
|
||||
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-size: 14px;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
#dashpanel-container .navbar {
|
||||
min-height: 40px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 0px;
|
||||
}
|
||||
#dashpanel-container .navbar.disabled {
|
||||
background: #F2D2BB;
|
||||
animation: blinker 1s linear infinite;
|
||||
}
|
||||
@keyframes blinker {
|
||||
50% { background: #fff; }
|
||||
}
|
||||
#dashpanel-container .navbar-nav li a {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
#dashpanel-container .navbar-brand {
|
||||
height: 40px;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
#dashpanel-container .dropdown-menu li a {
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
#dashpanel-container .navbar-toggle {
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
body {
|
||||
padding-top: 42px;
|
||||
}
|
||||
body.dashboard-window-resizing {
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
body.dashboard-window-sidebar-resizing {
|
||||
cursor: ew-resize;
|
||||
}
|
||||
#dashpanel-container .navbar-brand img {
|
||||
display: inline-block;
|
||||
vertical-align: baseline;
|
||||
margin-right: 2px;
|
||||
}
|
||||
.dashboard-window {
|
||||
position: fixed;
|
||||
top: 100px;
|
||||
left: 100px;
|
||||
width: 400px;
|
||||
height: 300px;
|
||||
min-width: 70px;
|
||||
min-height: 70px;
|
||||
background-color: #e6e6e6;
|
||||
border: 1px solid #cccccc;
|
||||
box-shadow: 0px 0px 4px rgba(85, 70, 113, 0.41), inset 0px 0px 3px #ffffff;
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
z-index: 999;
|
||||
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-size: 14px;
|
||||
color: #080808;
|
||||
transition: background-color 50ms linear, box-shadow 50ms linear;
|
||||
/*
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
*/
|
||||
}
|
||||
.dashboard-window-focused {
|
||||
background-color: #f9f9f9;
|
||||
box-shadow: 0px 0px 4px rgba(85, 70, 113, 0.41), 0px 0px 3px #FFF inset;
|
||||
}
|
||||
.dashboard-window-disabled {
|
||||
background-color: #E7DDE6;
|
||||
}
|
||||
.dashboard-window-maximized {
|
||||
border-radius: 0px;
|
||||
}
|
||||
.dashboard-window-minimized {
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
background-color: #F2EBF9;
|
||||
box-shadow: 0px 0px 4px #E5DFF3, 0px 0px 3px #FFF inset;
|
||||
}
|
||||
.dashboard-window-moving {
|
||||
box-shadow: none;
|
||||
border: 1px solid #97CFE9;
|
||||
}
|
||||
.dashboard-windows-overlay {
|
||||
position: fixed;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(139, 117, 189, 0.1);
|
||||
z-index: 998;
|
||||
}
|
||||
.dashboard-window a:link,
|
||||
.dashboard-window a:visited {
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
}
|
||||
.dashboard-window a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
.dashboard-window a img {
|
||||
border: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-header {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
overflow: hidden;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-menu {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 24px;
|
||||
border-top: 1px solid #ffffff;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
background-color: #F4F5F8;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-sidebar {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 180px;
|
||||
height: 230px;
|
||||
border-top: 1px solid #efefef;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
background-color: #D0D9FB;
|
||||
overflow: auto;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.dashboard-window-focused .dashboard-window-sidebar {
|
||||
border-top: 1px solid #ffffff;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content {
|
||||
position: relative;
|
||||
width: auto;
|
||||
height: 230px;
|
||||
margin-left: 180px;
|
||||
border-top: 1px solid #efefef;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
background-color: #ffffff;
|
||||
overflow: auto;
|
||||
transition: background-color 100ms linear;
|
||||
}
|
||||
.dashboard-window-focused .dashboard-window-content {
|
||||
border-top: 1px solid #ffffff;
|
||||
}
|
||||
.dashboard-window-nosidebar .dashboard-window-content {
|
||||
margin-left: 0px;
|
||||
}
|
||||
.dashboard-window-disabled .dashboard-window-content {
|
||||
background-color: #F2EAF0;
|
||||
}
|
||||
.dashboard-window .dashboard-window-noselect-content {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-footer {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 16px;
|
||||
border-top: 1px solid #efefef;
|
||||
overflow: hidden;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.dashboard-window-focused .dashboard-window-footer {
|
||||
border-top: 1px solid #ffffff;
|
||||
}
|
||||
.dashboard-window .dashboard-window-header .dashboard-window-title {
|
||||
display: block;
|
||||
margin-left: 80px;
|
||||
margin-right: 80px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
cursor: default;
|
||||
color: #99A7A3;
|
||||
text-shadow: 1px 1px 1px #ffffff;
|
||||
}
|
||||
.dashboard-window-focused .dashboard-window-header .dashboard-window-title {
|
||||
color: #645A69;
|
||||
}
|
||||
.dashboard-window-animating .dashboard-window-header .dashboard-window-title {
|
||||
display: none;
|
||||
}
|
||||
.dashboard-window-minimized .dashboard-window-header,
|
||||
.dashboard-window-minimized .dashboard-window-header .dashboard-window-title {
|
||||
cursor: pointer;
|
||||
}
|
||||
.dashboard-window-minimized .dashboard-window-header .dashboard-window-title {
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
color: #4f494d;
|
||||
}
|
||||
.dashboard-window .dashboard-window-footer .dashboard-window-resizer {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
background-image: url(../images/dash-window-buttons-slice.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0 0;
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
.dashboard-window-noresize .dashboard-window-footer .dashboard-window-resizer,
|
||||
.dashboard-window-maximized .dashboard-window-footer .dashboard-window-resizer,
|
||||
.dashboard-window-minimized .dashboard-window-footer .dashboard-window-resizer,
|
||||
.dashboard-window-animating .dashboard-window-footer .dashboard-window-resizer,
|
||||
.dashboard-window-moving .dashboard-window-footer .dashboard-window-resizer {
|
||||
visibility: hidden;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-sidebar-resizer {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 4px;
|
||||
height: 230px;
|
||||
background-image: url(../images/dash-window-buttons-slice.png);
|
||||
background-repeat: repeat-y;
|
||||
background-position: -78px 0px;
|
||||
cursor: ew-resize;
|
||||
}
|
||||
.dashboard-window .dashboard-window-header a.dashboard-window-close-button:link,
|
||||
.dashboard-window .dashboard-window-header a.dashboard-window-close-button:visited {
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
left: 7px;
|
||||
top: 7px;
|
||||
text-decoration: none;
|
||||
background-image: url(../images/dash-window-buttons-slice.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: -16px 0px;
|
||||
}
|
||||
.dashboard-window-classic .dashboard-window-header a.dashboard-window-close-button:link,
|
||||
.dashboard-window-classic .dashboard-window-header a.dashboard-window-close-button:visited {
|
||||
left: auto;
|
||||
right: 7px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-header a.dashboard-window-close-button:hover {
|
||||
background-position: -16px -16px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-header a.dashboard-window-maximize-button:link,
|
||||
.dashboard-window .dashboard-window-header a.dashboard-window-maximize-button:visited {
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
left: 45px;
|
||||
top: 7px;
|
||||
text-decoration: none;
|
||||
background-image: url(../images/dash-window-buttons-slice.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: -48px 0px;
|
||||
}
|
||||
.dashboard-window-classic .dashboard-window-header a.dashboard-window-maximize-button:link,
|
||||
.dashboard-window-classic .dashboard-window-header a.dashboard-window-maximize-button:visited {
|
||||
left: auto;
|
||||
right: 26px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-header a.dashboard-window-maximize-button:hover {
|
||||
background-position: -48px -16px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-header a.dashboard-window-minimize-button:link,
|
||||
.dashboard-window .dashboard-window-header a.dashboard-window-minimize-button:visited {
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
left: 26px;
|
||||
top: 7px;
|
||||
text-decoration: none;
|
||||
background-image: url(../images/dash-window-buttons-slice.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: -32px 0px;
|
||||
}
|
||||
.dashboard-window-classic .dashboard-window-header a.dashboard-window-minimize-button:link,
|
||||
.dashboard-window-classic .dashboard-window-header a.dashboard-window-minimize-button:visited {
|
||||
left: auto;
|
||||
right: 45px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-header a.dashboard-window-minimize-button:hover {
|
||||
background-position: -32px -16px;
|
||||
}
|
||||
.dashboard-window-animating .dashboard-window-sidebar,
|
||||
.dashboard-window-moving .dashboard-window-sidebar,
|
||||
.dashboard-window-minimized .dashboard-window-sidebar {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dashboard-window-animating .dashboard-window-content,
|
||||
.dashboard-window-minimized .dashboard-window-content {
|
||||
overflow: hidden;
|
||||
}
|
||||
.dashboard-window .dashboard-window-menu .dropdown {
|
||||
margin-right: 24px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-menu ul.dashboard-window-menu-list {
|
||||
list-style-type: none;
|
||||
display: block;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
height: 24px;
|
||||
}
|
||||
.dashboard-window-animating .dashboard-window-menu ul.dashboard-window-menu-list {
|
||||
display: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-menu ul.dashboard-window-menu-list li.dashboard-window-menu-list-item {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
}
|
||||
.dashboard-window .dashboard-window-menu ul.dashboard-window-menu-list li.dashboard-window-menu-list-item a.dashboard-window-menu-list-item-link:link,
|
||||
.dashboard-window .dashboard-window-menu ul.dashboard-window-menu-list li.dashboard-window-menu-list-item a.dashboard-window-menu-list-item-link:visited {
|
||||
display: block;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
text-decoration: none;
|
||||
color: #404347;
|
||||
text-shadow: 1px 1px 1px #ffffff;
|
||||
font-size: 14px;
|
||||
padding: 0px 14px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-menu ul.dashboard-window-menu-list li.dashboard-window-menu-list-item a.dashboard-window-menu-list-item-link:hover,
|
||||
.dashboard-window .dashboard-window-menu ul.dashboard-window-menu-list li.dashboard-window-menu-list-item.open a.dashboard-window-menu-list-item-link {
|
||||
color: #FFFFFF;
|
||||
text-shadow: none;
|
||||
background-color: #9eaeb4;
|
||||
}
|
||||
.dashboard-window .dashboard-window-menu ul.dashboard-window-menu-list li.dashboard-window-menu-list-item .dropdown-menu {
|
||||
margin: 0px;
|
||||
border-top-left-radius: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-toolbar {
|
||||
height: 50px;
|
||||
position: relative;
|
||||
border-top: 1px solid #ffffff;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
background-color: #eee;
|
||||
overflow: hidden;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-toolbar .navbar {
|
||||
margin: 0px;
|
||||
border: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-toolbar .navbar-form {
|
||||
width: auto;
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
margin-right: 0px;
|
||||
margin-left: 0px;
|
||||
border: 0px none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.dashboard-window-animating .dashboard-window-toolbar .navbar {
|
||||
display: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-toolbar .navbar .navbar-left {
|
||||
float: left !important;
|
||||
margin-left: -15px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-toolbar .navbar .navbar-right {
|
||||
float: right !important;
|
||||
margin-right: -15px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-toolbar .navbar input[type=text].disabled {
|
||||
background-color: #EEE;
|
||||
}
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper {
|
||||
margin: 10px;
|
||||
font-size: 15px;
|
||||
color: #564C60;
|
||||
text-shadow: 0px 1px 1px #FFF;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.dashboard-window-animating .dashboard-window-sidebar .dashboard-sidebar-content-wrapper {
|
||||
display: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper div,
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper span {
|
||||
display: block;
|
||||
padding: 5px 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper .disabled {
|
||||
color: #9B979E;
|
||||
}
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper span.glyphicon {
|
||||
display: inline-block;
|
||||
padding: 0px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper a:link,
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper a:visited {
|
||||
display: block;
|
||||
padding: 5px 14px;
|
||||
color: #564C60;
|
||||
font-weight: normal;
|
||||
text-shadow: 0px 1px 1px #FFF;
|
||||
text-decoration: none;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper a:hover,
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper a.active {
|
||||
background-color: #58A3DD;
|
||||
color: #FBFBFB;
|
||||
text-shadow: 0px 1px 1px #5C7D92;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0px 0px 7px #507FB1 inset;
|
||||
}
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper a.disabled:link,
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper a.disabled:visited {
|
||||
color: #9B979E;
|
||||
}
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper a.disabled:hover {
|
||||
background: none;
|
||||
color: #9B979E;
|
||||
text-shadow: 0px 1px 1px #FFF;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper span.devider {
|
||||
height: 1px;
|
||||
border-bottom: 1px solid #EDEDF6;
|
||||
border-top: 1px solid #B3B6D1;
|
||||
padding: 0px;
|
||||
margin: 7px 14px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper ul {
|
||||
list-style-type: none;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper .badge {
|
||||
float: right;
|
||||
background: #378aba;
|
||||
font-weight: normal;
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
top: 5px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper {
|
||||
margin: 0px;
|
||||
padding: 0px 4px;
|
||||
color: #000000;
|
||||
text-shadow: none;
|
||||
font-size: 14px;
|
||||
white-space: normal;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-full-content-wrapper {
|
||||
padding: 0px;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.dashboard-window-animating .dashboard-window-content .dashboard-body-content-wrapper {
|
||||
display: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper a:link,
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper a:visited {
|
||||
color: #3C3F57;
|
||||
text-shadow: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper a:hover,
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper a.active {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper .dropdown-menu a:hover,
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper .dropdown-menu a.active {
|
||||
text-decoration: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper a.disabled:link,
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper a.disabled:visited,
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper a.inactive:link,
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper a.inactive:visited {
|
||||
color: #BDBDBD;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul {
|
||||
list-style-type: none;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-grid li {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin: 2px;
|
||||
text-align: center;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-grid li a:link,
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-grid li a:visited {
|
||||
display: block;
|
||||
padding: 13px;
|
||||
width: 86px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
font-size: 13px;
|
||||
cursor: default;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-grid li a:hover,
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-grid li a.active {
|
||||
background-color: #F3F5F9;
|
||||
box-shadow: 0px 0px 3px #E0E1F8 inset;
|
||||
text-decoration: none;
|
||||
border-radius: 7px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-grid li a.active {
|
||||
background-color: #C9D8F8;
|
||||
box-shadow: 0px 0px 3px #D3D4F5 inset;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-grid li img,
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-grid .dashwindow-content-icon {
|
||||
display: block;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-list li {
|
||||
display: block;
|
||||
margin: 0px;
|
||||
text-align: left;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-list li.odd {
|
||||
background-color: #F8F1FB;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-list li a:link,
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-list li a:visited {
|
||||
width: 100%;
|
||||
line-height: 60px;
|
||||
padding: 2px 13px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-list li a:hover,
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-list li a.active {
|
||||
border-radius: 0;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-list li img,
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-list .dashwindow-content-icon {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-list li.dashwindow-content-column-row a:link,
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-list li.dashwindow-content-column-row a:visited {
|
||||
padding-right: 80px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-grid .dashwindow-content-column {
|
||||
display: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper ul.dashwindow-content-list .dashwindow-content-column {
|
||||
display: block;
|
||||
float: right;
|
||||
width: 80px;
|
||||
text-align: center;
|
||||
margin-right: -80px;
|
||||
color: #888;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper .dashwindow-content-icon-html {
|
||||
background: url(../images/dash-window-buttons-slice.png) no-repeat 0px -277px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper .dashwindow-content-icon-txt {
|
||||
background: url(../images/dash-window-buttons-slice.png) no-repeat 0px -217px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper .dashwindow-content-icon-archive {
|
||||
background: url(../images/dash-window-buttons-slice.png) no-repeat 0px -152px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper .dashwindow-content-icon-file {
|
||||
background: url(../images/dash-window-buttons-slice.png) no-repeat 0px -32px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper .dashwindow-content-icon-folder {
|
||||
background: url(../images/dash-window-buttons-slice.png) no-repeat 0px -92px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper .dashwindow-content-icon-audio {
|
||||
background: url(../images/dash-window-buttons-slice.png) no-repeat 0px -338px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper .dashwindow-content-icon-video {
|
||||
background: url(../images/dash-window-buttons-slice.png) no-repeat 0px -397px;
|
||||
}
|
||||
.dashboard-window .dashboard-window-content .dashboard-body-content-wrapper .dashwindow-content-icon-blank {
|
||||
background: none;
|
||||
}
|
||||
.dashboard-window .dashboard-window-footer .dashboard-footer-content-wrapper {
|
||||
margin: 0px 10px;
|
||||
color: #9F9F9F;
|
||||
text-shadow: 0px 1px 1px #ffffff;
|
||||
font-size: 12px;
|
||||
line-height: 12px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.dashboard-window-animating .dashboard-window-footer .dashboard-footer-content-wrapper,
|
||||
.dashboard-window-moving .dashboard-window-footer .dashboard-footer-content-wrapper {
|
||||
visibility: hidden;
|
||||
}
|
||||
.dashboard-window .dashboard-window-loader {
|
||||
display: none;
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
top: 4px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background: url(../images/dash-window-loader.gif) no-repeat 0 0;
|
||||
}
|
||||
.dashboard-window-loading .dashboard-window-loader {
|
||||
display: block;
|
||||
}
|
||||
.dashboard-window-contextmenu {
|
||||
position: fixed;
|
||||
display: none;
|
||||
}
|
||||
.dashboard-window-contextmenu.open {
|
||||
display: block;
|
||||
}
|
||||
.dashboard-window-highlight {
|
||||
border: 1px solid #cdafff;
|
||||
box-shadow: 0px 0px 20px #AA83F6, inset 0px 0px 3px #ffffff;
|
||||
background-color: #D7CAFB;
|
||||
}
|
||||
.dashboard-window-highlight .dashboard-window-header .dashboard-window-title {
|
||||
color: #644484;
|
||||
text-shadow: 0px 1px 1px #ffffff;
|
||||
}
|
||||
.dashboard-window-blink {
|
||||
border: 1px solid #cdafff;
|
||||
box-shadow: 0px 0px 20px #AA83F6, inset 0px 0px 3px #ffffff;
|
||||
background-color: #D7CAFB;
|
||||
}
|
||||
.dashboard-window .mce-panel {
|
||||
border-color: #eeeeee !important;
|
||||
background-color: #F8F8F8 !important;
|
||||
}
|
||||
.dashboard-window .mce-btn {
|
||||
background-color: #F8F8F8 !important;
|
||||
}
|
||||
.mce-window {
|
||||
border-radius: 20px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0px 0px 10px #777777;
|
||||
padding: 10px 20px !important;
|
||||
}
|
||||
.mce-window .mce-window-head {
|
||||
border: none !important;
|
||||
}
|
||||
.mce-window .mce-foot {
|
||||
border: none !important;
|
||||
}
|
||||
.mce-window .mce-btn {
|
||||
border-radius: 6px;
|
||||
}
|
||||
.mce-window .mce-listbox {
|
||||
border-radius: 0px;
|
||||
}
|
||||
.dashboard-window .dash-window-form {
|
||||
padding: 0px 0px;
|
||||
}
|
||||
.dashboard-window .dash-window-form .form-group {
|
||||
margin: 0px;
|
||||
padding: 14px 0px;
|
||||
}
|
||||
.dashboard-window .dash-window-form .control-label {
|
||||
text-align: left;
|
||||
}
|
||||
.dashboard-window .dash-window-form .form-group.odd {
|
||||
background-color: #F8F1FB;
|
||||
}
|
||||
.dashboard-window .dashboard-glyphicon-pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
.system-warning {
|
||||
color: #ff397b;
|
||||
}
|
||||
.system-ok {
|
||||
color: #298069;
|
||||
}
|
||||
|
||||
/** Dashboard **/
|
||||
html.dashboard,
|
||||
body.dashboard,
|
||||
body.dashboard #main-wrapper,
|
||||
body.dashboard #dashboard-wrapper,
|
||||
body.dashboard #dashboard-canvas-wrapper,
|
||||
body.dashboard #dashboard-sidebar {
|
||||
height: 100%;
|
||||
}
|
||||
body.dashboard #main-wrapper {
|
||||
min-width: 800px;
|
||||
min-height: 500px;
|
||||
background: #efebf0;
|
||||
background: -moz-linear-gradient(top, #efebf0 0%, #dfd1f0 100%);
|
||||
background: -webkit-linear-gradient(top, #efebf0 0%,#dfd1f0 100%);
|
||||
background: linear-gradient(to bottom, #efebf0 0%,#dfd1f0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efebf0', endColorstr='#dfd1f0',GradientType=0 );
|
||||
}
|
||||
body.dashboard #dashboard-wrapper {
|
||||
background: url(../images/dash-pattern.png) repeat 0 0;
|
||||
}
|
||||
body.dashboard #dashboard-canvas-wrapper {
|
||||
background: url(../images/dash-wallpaper.png) no-repeat 50% 50%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
body.dashboard #dashboard-sidebar {
|
||||
width: 280px;
|
||||
float: right;
|
||||
background: #ddd;
|
||||
background: rgba(170, 233, 186, 0.4);
|
||||
border-left: 1px solid #F8F4F4;
|
||||
box-shadow: 0px 0px 1px #AEAEAE, 0px 0px 100px #ECF2E2 inset;
|
||||
}
|
||||
body.dashboard #remote-clock-wrapper {
|
||||
display: none;
|
||||
width: 230px;
|
||||
height: 230px;
|
||||
margin: 25px 0px 25px 25px;
|
||||
}
|
||||
body.dashboard #remote-clock-wrapper canvas {
|
||||
display: block;
|
||||
margin: 0px;
|
||||
}
|
||||
body.dashboard #dashboard_stats {
|
||||
text-align: right;
|
||||
padding: 25px 40px 25px 25px;
|
||||
}
|
||||
body.dashboard #dashboard_stats ul {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
list-style-type: none;
|
||||
}
|
||||
body.dashboard #dash-version {
|
||||
position: absolute;
|
||||
right: 40px;
|
||||
bottom: 20px;
|
||||
color: #240036;
|
||||
text-shadow: 1px 1px 0px #fff;
|
||||
font-size: 12px;
|
||||
}
|
||||
body.dashboard #memory-stick-wrapper {
|
||||
position: absolute;
|
||||
left: 20px;
|
||||
top: 20px;
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
background: url(../images/dash-memo-stick.png) no-repeat 0 0;
|
||||
}
|
||||
body.dashboard #memory-stick-wrapper textarea {
|
||||
border: none;
|
||||
background: none;
|
||||
width: 230px;
|
||||
height: 220px;
|
||||
resize: none;
|
||||
padding: 0px;
|
||||
margin: 40px 0px 0px 30px;
|
||||
outline: none;
|
||||
}
|
||||
body.dashboard #memory-stick-save {
|
||||
display: none;
|
||||
text-align: right;
|
||||
position: absolute;
|
||||
bottom: 14px;
|
||||
right: 14px;
|
||||
}
|
||||
body.dashboard #memory-stick-save span {
|
||||
cursor: pointer;
|
||||
}
|
||||
body.dashboard .dashboard-notification {
|
||||
display: none;
|
||||
position: fixed;
|
||||
width: 500px;
|
||||
margin: 0px auto;
|
||||
font-size: 16px;
|
||||
padding: 20px;
|
||||
color: #CAC6ED;
|
||||
background-color: #515769;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0px 0px 2px #7F6A8F;
|
||||
cursor: pointer;
|
||||
text-shadow: 1px 1px 0px #3E354E;
|
||||
}
|
||||
body.dashboard .dashboard-notification .dashboard-notification-close {
|
||||
float: right;
|
||||
color: #E4A691;
|
||||
cursor: pointer;
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
body.dashboard #dashboard-dock {
|
||||
position: fixed;
|
||||
top: 50px;
|
||||
left: -2px;
|
||||
padding: 14px 0px;
|
||||
background: #0f0f0f;
|
||||
background: rgba(26, 26, 29, 0.7);
|
||||
border-radius: 0px 10px 10px 0px;
|
||||
box-shadow: inset -1px 0px 5px #997C98;
|
||||
z-index: 998;
|
||||
}
|
||||
body.dashboard #dashboard-dock a:link,
|
||||
body.dashboard #dashboard-dock a:visited {
|
||||
display: block;
|
||||
font-size: 22px;
|
||||
color: #fff;
|
||||
margin: 5px;
|
||||
padding: 4px 10px;
|
||||
text-decoration: none;
|
||||
transition: background .3s ease;
|
||||
}
|
||||
body.dashboard #dashboard-dock a.c0 {
|
||||
color: #E9E5F9;
|
||||
}
|
||||
body.dashboard #dashboard-dock a.c1 {
|
||||
color: #DDF8A9;
|
||||
}
|
||||
body.dashboard #dashboard-dock a.c2 {
|
||||
color: #FBE482;
|
||||
}
|
||||
body.dashboard #dashboard-dock a.c3 {
|
||||
color: #F3A3DC;
|
||||
}
|
||||
body.dashboard #dashboard-dock a.c4 {
|
||||
color: #B9FFD2;
|
||||
}
|
||||
body.dashboard #dashboard-dock a.c5 {
|
||||
color: #97EAFC;
|
||||
}
|
||||
body.dashboard #dashboard-dock a.c6 {
|
||||
color: #FFBFD4;
|
||||
}
|
||||
body.dashboard #dashboard-dock a.minimize-all {
|
||||
color: #B0C5F9;
|
||||
}
|
||||
body.dashboard #dashboard-dock a:hover {
|
||||
color: #00b0e8;
|
||||
}
|
||||
body.dashboard #dashboard-dock a.active {
|
||||
background: #696577;
|
||||
border-radius: 5px;
|
||||
}
|
||||
body.dashboard .tooltip-inner {
|
||||
white-space: nowrap;
|
||||
max-width: 100%;
|
||||
font-size: 14px;
|
||||
padding: 10px 14px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
#dashpanel-container .report {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
#dashpanel-container .report {
|
||||
display: block;
|
||||
}
|
||||
}
|
BIN
themes/bulaksu/assets/images/dash-memo-stick.png
Normal file
BIN
themes/bulaksu/assets/images/dash-memo-stick.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
BIN
themes/bulaksu/assets/images/dash-pattern.png
Normal file
BIN
themes/bulaksu/assets/images/dash-pattern.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 385 B |
BIN
themes/bulaksu/assets/images/dash-wallpaper.png
Normal file
BIN
themes/bulaksu/assets/images/dash-wallpaper.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
themes/bulaksu/assets/images/dash-window-buttons-slice.png
Normal file
BIN
themes/bulaksu/assets/images/dash-window-buttons-slice.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.3 KiB |
BIN
themes/bulaksu/assets/images/dash-window-loader.gif
Normal file
BIN
themes/bulaksu/assets/images/dash-window-loader.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 743 B |
1
themes/bulaksu/dash/button.php
Normal file
1
themes/bulaksu/dash/button.php
Normal file
|
@ -0,0 +1 @@
|
|||
<a id="dashpanel-fixed-button" href="<?php echo Zira\Helper::url('dash') ?>"><img src="<?php echo Zira\Helper::assetUrl('images/zira.png'); ?>" width="16" height="16" alt="Zira" />Zira</a>
|
15
themes/bulaksu/dash/layout.php
Normal file
15
themes/bulaksu/dash/layout.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="dashboard">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="shortcut icon" href="<?php echo Zira\Helper::baseUrl('favicon.ico') ?>" type="image/x-icon"/>
|
||||
<?php layout_head() ?>
|
||||
</head>
|
||||
<body class="dashboard">
|
||||
<?php Dash\Dash::getInstance()->renderPanel(); ?>
|
||||
<div id="main-wrapper">
|
||||
<?php layout_content() ?>
|
||||
</div><!--/main-wrapper-->
|
||||
<?php echo Zira\View::getBodyBottomScripts(); ?>
|
||||
</body>
|
||||
</html>
|
62
themes/bulaksu/dash/page.php
Normal file
62
themes/bulaksu/dash/page.php
Normal file
|
@ -0,0 +1,62 @@
|
|||
<div id="dashboard-wrapper">
|
||||
<div id="dashboard-canvas-wrapper">
|
||||
<div id="dashboard-sidebar">
|
||||
<div id="remote-clock-wrapper">
|
||||
<canvas id="dashboard_remote_clock" width="230" height="230"></canvas>
|
||||
</div>
|
||||
<?php if (isset($settings)): ?>
|
||||
<div id="dashboard_stats">
|
||||
<h3><span class="glyphicon glyphicon-stats"></span> <?php echo t('Statistics').':'; ?></h3>
|
||||
<ul>
|
||||
<?php if (isset($settings['records'])): ?>
|
||||
<li><?php echo t('Records: %s', $settings['records']) ?></li>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($settings['comments'])): ?>
|
||||
<li><?php echo t('Comments: %s', $settings['comments']) ?></li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div id="memory-stick-wrapper">
|
||||
<textarea rows="10" cols="30" maxlength="255" name="memory-stick"><?php echo Zira\Helper::html(Zira\Config::get('memory_stick')) ?></textarea>
|
||||
<div id="memory-stick-save"><span class="glyphicon glyphicon-floppy-disk"></span></div>
|
||||
</div>
|
||||
<?php if (isset($content)) echo $content; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php layout_js_begin(); ?>
|
||||
<script type="text/javascript">
|
||||
(function($) {
|
||||
$(document).ready(function(){
|
||||
$('#remote-clock-wrapper').show();
|
||||
var date = new Date();
|
||||
dashboard_remote_clock.start_timestamp = Math.floor(date.getTime() / 1000);
|
||||
dashboard_remote_clock.remote_timestamp = <?php echo Zira\Datetime::getOffsetTime(); ?>;
|
||||
dashboard_clock();
|
||||
window.setInterval(dashboard_clock, 1000);
|
||||
|
||||
$('textarea[name=memory-stick]').keydown(function(){
|
||||
$('#memory-stick-save').show();
|
||||
});
|
||||
$('#memory-stick-save').click(function(){
|
||||
var data = $('textarea[name=memory-stick]').val();
|
||||
$.post('<?php echo Zira\Helper::url('dash/system/stick') ?>',{'content':data, 'token':'<?php echo Dash\Dash::getToken() ?>'}, function(response){
|
||||
if (response && response.ok) {
|
||||
$('#memory-stick-save').hide();
|
||||
}
|
||||
},'json');
|
||||
});
|
||||
|
||||
Desk.dock_open = Dock.show;
|
||||
Desk.dock_close = Dock.hide;
|
||||
Desk.dock_update = Dock.update;
|
||||
Desk.dock_update_focus = Dock.updateFocus;
|
||||
Desk.dock_position = Dock.position;
|
||||
Desk.dock_reset = Dock.reset;
|
||||
Dock.click = Desk.dock_click;
|
||||
Dock.init();
|
||||
});
|
||||
})(jQuery);
|
||||
</script>
|
||||
<?php layout_js_end(); ?>
|
79
themes/bulaksu/dash/panel.php
Normal file
79
themes/bulaksu/dash/panel.php
Normal file
|
@ -0,0 +1,79 @@
|
|||
<?php
|
||||
if (!empty($panelItems)) {
|
||||
echo '<div id="dashpanel-container">'."\r\n";
|
||||
echo '<nav class="navbar navbar-default">'."\r\n";
|
||||
echo '<div class="navbar-header">';
|
||||
echo '<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#dashpanel" aria-expanded="false">';
|
||||
echo '<span class="sr-only">'.t('Dashboard').'</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>';
|
||||
echo '</button>';
|
||||
echo '<a class="navbar-brand" href="http://dro1d.ru" target="_blank"><img src="'.Zira\Helper::assetUrl('images/zira.png').'" width="16" height="16" alt="Zira" class="glyphicon" />Zira</a>';
|
||||
echo '</div>'."\r\n";
|
||||
echo '<div id="dashpanel" class="dashpanel-wrapper collapse navbar-collapse">'."\r\n";
|
||||
$stack = array();
|
||||
$stackIndexes = array();
|
||||
$stack[]=$panelItems;
|
||||
$stackIndexes[]=0;
|
||||
while(count($stack)>0){
|
||||
$items = $stack[count($stack)-1];
|
||||
if ($stackIndexes[count($stackIndexes)-1]==0) {
|
||||
if (count($stack)==1) $class='dashpanel-menu nav navbar-nav';
|
||||
else $class='dropdown-menu';
|
||||
echo str_repeat("\t", count($stack)).'<ul class="'.$class.'">'."\r\n";
|
||||
} else {
|
||||
echo str_repeat("\t", count($stack)+1).'</li>'."\r\n";
|
||||
}
|
||||
while(count($items)>$stackIndexes[count($stackIndexes)-1]){
|
||||
$item = $items[$stackIndexes[count($stackIndexes)-1]];
|
||||
$stackIndexes[count($stackIndexes)-1]++;
|
||||
if (isset($item['label'])) $item['label'] = \Zira\Helper::html($item['label']);
|
||||
if (!empty($item['icon_class']) && isset($item['label'])) $item['label'] = '<span class="'.$item['icon_class'].'"></span> '.$item['label'];
|
||||
if (!empty($item['type']) && $item['type']=='separator') {
|
||||
echo str_repeat("\t", count($stack)+1).'<li role="separator" class="divider"></li>'."\r\n";
|
||||
} else if (is_array($item['rel'])){
|
||||
echo str_repeat("\t", count($stack)+1).'<li><a id="'.$item['id'].'" href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">'.$item['label'].' <span class="caret"></span></a>'."\r\n";
|
||||
$stack[]=$item['rel'];
|
||||
$stackIndexes[]=0;
|
||||
break;
|
||||
} else if (empty($item['rel'])) {
|
||||
echo str_repeat("\t", count($stack)+1).'<li><a id="'.$item['id'].'" href="javascript:void(0)">'.$item['label'].'</a></li>'."\r\n";
|
||||
} else {
|
||||
echo str_repeat("\t", count($stack)+1).'<li><a id="'.$item['id'].'" href="'.Zira\Helper::html($item['rel']).'">'.$item['label'].'</a></li>'."\r\n";
|
||||
}
|
||||
|
||||
}
|
||||
if (count($items)==$stackIndexes[count($stackIndexes)-1]){
|
||||
echo str_repeat("\t", count($stack)).'</ul>'."\r\n";
|
||||
array_pop($stack);
|
||||
array_pop($stackIndexes);
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($userMenu)) {
|
||||
echo "\t" . '<ul class="nav navbar-nav navbar-right">';
|
||||
echo '<li class="dropdown">';
|
||||
echo '<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">' . Zira\User::getProfileName() . ' <span class="caret"></span></a>';
|
||||
echo '<ul class="dropdown-menu">';
|
||||
echo '<li><a href="' . Zira\Helper::url('user/profile') . '"><span class="glyphicon glyphicon-user"></span> ' . t('Profile') . '</a></li>';
|
||||
echo '<li role="separator" class="divider"></li>';
|
||||
echo '<li><a href="' . Zira\Helper::url('user/logout') . '"><span class="glyphicon glyphicon-log-out"></span> ' . t('Logout') . '</a></li>';
|
||||
echo '</ul>';
|
||||
echo '</li>';
|
||||
echo '</ul>'."\r\n";
|
||||
} else {
|
||||
echo "\t" . '<ul class="nav navbar-nav navbar-right">';
|
||||
echo '<li>';
|
||||
echo '<a href="'.Zira\Helper::url('user/logout').'"><span class="glyphicon glyphicon-log-out"></span> ' . Zira\Locale::t('Logout') . '</a>';
|
||||
echo '</li>';
|
||||
echo '</ul>'."\r\n";
|
||||
}
|
||||
|
||||
echo "\t" . '<ul class="nav navbar-nav navbar-right report">';
|
||||
echo '<li>';
|
||||
echo '<a href="'.Zira\Helper::html(Dash\Dash::getBugReportUrl()).'" target="_blank"><span class="glyphicon glyphicon-comment"></span> ' . Zira\Locale::t('Report a bug') . '</a>';
|
||||
echo '</li>';
|
||||
echo '</ul>'."\r\n";
|
||||
|
||||
echo '</div>'."\r\n";
|
||||
echo '</nav>'."\r\n";
|
||||
echo '</div>';
|
||||
}
|
|
@ -163,8 +163,7 @@ body.dashboard-window-sidebar-resizing {
|
|||
height: 230px;
|
||||
border-top: 1px solid #efefef;
|
||||
border-bottom: 1px solid #C7CDCE;
|
||||
background-color: #D3D6E1;
|
||||
background-color: rgba(211, 214, 225, 0.8);
|
||||
background-color: #D3CCFE;
|
||||
overflow: auto;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
|
@ -504,7 +503,7 @@ body.dashboard-window-sidebar-resizing {
|
|||
}
|
||||
.dashboard-window .dashboard-window-sidebar .dashboard-sidebar-content-wrapper .badge {
|
||||
float: right;
|
||||
background: #62879c;
|
||||
background: #65629c;
|
||||
font-weight: normal;
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
|
|
Loading…
Reference in a new issue