mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
feature #1664: Improve navigation CSS
This commit is contained in:
1 parent
36b644c937
commit
4d399e316b
4 files changed
+1070
-1062
No files matched your search
+961
-978
File diff suppressed because it is too large.
Load diff
@@ -18,7 +18,10 @@
|
||||
|
||||
var templates_tab_content = '\
|
||||
<form class="custom" id="template_form" action="" action="javascript:alert(\'js error!\');">\
|
||||
<br>\
|
||||
<div class="panel">\
|
||||
<div class="row">\
|
||||
<h4 class="subheader">Templates</h4>\
|
||||
</div>\
|
||||
<div class="row">\
|
||||
<div class="nine columns">\
|
||||
<div class="action_blocks">\
|
||||
@@ -29,6 +32,7 @@ var templates_tab_content = '\
|
||||
</div>\
|
||||
<br>\
|
||||
<br>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="row">\
|
||||
<div class="twelve columns">\
|
||||
|
||||
@@ -119,33 +119,6 @@ div.button-bar {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
ul.nav-bar {
|
||||
background: -webkit-linear-gradient(left, #4d4d4d 95%, #000000 100%);
|
||||
margin-left: 10%;
|
||||
margin-top: 10%;
|
||||
}
|
||||
|
||||
ul.nav-bar.vertical {
|
||||
margin-top: 10%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -178,7 +151,7 @@ ul.nav-bar.vertical {
|
||||
padding-top: 6px;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
float:left;
|
||||
margin:10%;
|
||||
}
|
||||
|
||||
#login-info {
|
||||
@@ -214,43 +187,99 @@ ul.nav-bar.vertical {
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
border:0;
|
||||
}
|
||||
|
||||
background: #f2f2f2; /* Old browsers */
|
||||
background: -moz-linear-gradient(left, #f2f2f2 95%, rgb(145, 145, 145) 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, right top, color-stop(95%,#f2f2f2), color-stop(100%,rgb(145, 145, 145))); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(left, #f2f2f2 95%,rgb(145, 145, 145) 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(left, #f2f2f2 95%,rgb(145, 145, 145) 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(left, #f2f2f2 95%,rgb(145, 145, 145) 100%); /* IE10+ */
|
||||
background: linear-gradient(left, #f2f2f2 95%,rgb(145, 145, 145) 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='rgb(145, 145, 145)',GradientType=1 ); /* IE6-9 */
|
||||
#tabs_content {
|
||||
box-shadow: -8px -8px 11px -11px black;
|
||||
z-index: 2 !important;
|
||||
}
|
||||
|
||||
#navigation {
|
||||
margin: 8%;;
|
||||
box-shadow: 0 0 1px 0px black;
|
||||
}
|
||||
|
||||
#navigation > li {
|
||||
border:none;
|
||||
}
|
||||
|
||||
|
||||
#navigation .topTab {
|
||||
}
|
||||
|
||||
#navigation li {
|
||||
color: #ffffff;
|
||||
cursor: pointer;
|
||||
#navigation i {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
|
||||
#navigation li.subTab > a {
|
||||
background: #fdfdfd;
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
#navigation li.subsubTab {
|
||||
padding-left: 35px;
|
||||
}
|
||||
|
||||
#navigation li:hover, .navigation-active-li {
|
||||
background: #2ba6cb; /* Old browsers */
|
||||
background: -moz-linear-gradient(left, #2ba6cb 95%, #4d4d4d 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, right top, color-stop(95%,#2ba6cb), color-stop(100%,#4d4d4d)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(left, #2ba6cb 95%,#4d4d4d 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(left, #2ba6cb 95%,#4d4d4d 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(left, #2ba6cb 95%,#4d4d4d 100%); /* IE10+ */
|
||||
background: linear-gradient(left, #2ba6cb 95%,#4d4d4d 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ba6cb', endColorstr='#4d4d4d',GradientType=1 ); /* IE6-9 */
|
||||
}
|
||||
|
||||
|
||||
.navigation-active-li {
|
||||
font-weight: bold;
|
||||
border-left: 3px solid #555 !important;
|
||||
}
|
||||
|
||||
#navigation li:hover {
|
||||
color: #ffffff !important;
|
||||
}
|
||||
//ul.nav-bar {
|
||||
// background: -webkit-linear-gradient(left, #4d4d4d 95%, #000000 100%);
|
||||
// margin-top: 10%;
|
||||
// margin-left: 10%;
|
||||
//}
|
||||
//
|
||||
//ul.nav-bar.vertical {
|
||||
// margin-top: 10%;
|
||||
//}
|
||||
|
||||
//#navigation li {
|
||||
// color: #ffffff !important;
|
||||
// cursor: pointer;
|
||||
//}
|
||||
//
|
||||
//#navigation li:hover, .navigation-active-li {
|
||||
// border: none !important;
|
||||
// background: #2ba6cb; /* Old browsers */
|
||||
// background: -moz-linear-gradient(left, #2ba6cb 95%, #4d4d4d 100%); /* FF3.6+ */
|
||||
// background: -webkit-gradient(linear, left top, right top, color-stop(95%,#2ba6cb), color-stop(100%,#4d4d4d)); /* //Chrome,Safari4+ */
|
||||
// background: -webkit-linear-gradient(left, #2ba6cb 95%,#4d4d4d 100%); /* Chrome10+,Safari5.1+ */
|
||||
// background: -o-linear-gradient(left, #2ba6cb 95%,#4d4d4d 100%); /* Opera 11.10+ */
|
||||
// background: -ms-linear-gradient(left, #2ba6cb 95%,#4d4d4d 100%); /* IE10+ */
|
||||
// background: linear-gradient(left, #2ba6cb 95%,#4d4d4d 100%); /* W3C */
|
||||
// filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ba6cb', endColorstr='#4d4d4d',GradientType=1 ); /* IE6-9 //*/;
|
||||
// margin-left: -5% !important;
|
||||
//}
|
||||
//
|
||||
//
|
||||
//.navigation-active-li {
|
||||
// font-weight: bold;
|
||||
//}
|
||||
//
|
||||
//#navigation li:hover {
|
||||
// color: #ffffff !important;
|
||||
//}
|
||||
//
|
||||
//.subTab:not(.navigation-active-li) {
|
||||
// margin-left: 5%;
|
||||
// background: #919191; /* Old browsers */
|
||||
// background: -moz-linear-gradient(left, #919191 95%, black 100%); /* FF3.6+ */
|
||||
// background: -webkit-gradient(linear, left top, right top, color-stop(95%,#919191), color-stop(100%,black)); /* //Chrome,Safari4+ */
|
||||
// background: -webkit-linear-gradient(left, #919191 95%,black 100%); /* Chrome10+,Safari5.1+ */
|
||||
// background: -o-linear-gradient(left, #919191 95%,black 100%); /* Opera 11.10+ */
|
||||
// background: -ms-linear-gradient(left, #919191 95%,black 100%); /* IE10+ */
|
||||
// background: linear-gradient(left, #919191 95%,black 100%); /* W3C */
|
||||
// filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#919191', endColorstr='black',GradientType=1 ); /* IE6-9 */
|
||||
//}
|
||||
|
||||
//#navigation li.subsubTab {
|
||||
// padding-left: 25px;
|
||||
//}
|
||||
//
|
||||
|
||||
|
||||
|
||||
/* top menu css */
|
||||
@@ -300,14 +329,24 @@ ul.nav-bar.vertical {
|
||||
|
||||
|
||||
|
||||
#navigation li.subTab {
|
||||
padding-left: 35px;
|
||||
}
|
||||
|
||||
#navigation li.subsubTab {
|
||||
padding-left: 45px;
|
||||
}
|
||||
|
||||
.ui-layout-pane {
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
.button.small {
|
||||
font-size: 13px;
|
||||
padding: 6px 12px 6px;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.panel {
|
||||
padding: 0px;
|
||||
background: #fbfbfb;
|
||||
}
|
||||
|
||||
.tabs.vertical li a {
|
||||
padding: 15px 11px;
|
||||
}
|
||||
@@ -71,39 +71,21 @@
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="outer-center">
|
||||
<div class="outer-center" id="tabs_content">
|
||||
<div class="inner-center">
|
||||
</div>
|
||||
<div id="dialog" class="inner-south"></div>
|
||||
</div>
|
||||
|
||||
<div id="menu" class="outer-west">
|
||||
<ul id="navigation" class="nav-bar vertical">
|
||||
<div id="logo">
|
||||
<img src="images/opennebula-sunstone-big.png"/>
|
||||
</div>
|
||||
<ul id="navigation" class="tabs vertical">
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="header" class="ui-layout-north">
|
||||
<div id="logo">
|
||||
<img src="images/opennebula-sunstone-small.png"/>
|
||||
</div>
|
||||
|
||||
<div id="menutop_container">
|
||||
<div id="menutop_navbar">
|
||||
<ul id="menutop_ul">
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="login-info">
|
||||
<span id="welcome">Welcome</span> <span id="user"></span> | <a href="#" id="logout">Sign Out</a>
|
||||
</div>
|
||||
<div id="links">
|
||||
<a href="http://opennebula.org/documentation:documentation" target="_blank" id="doc_link">Documentation</a> |
|
||||
<a href="http://opennebula.org/support:support" target="_blank" id="support_link">Support</a> |
|
||||
<a href="http://opennebula.org/community:community" target="_blank" id="community_link">Community</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div id="footer" style="overflow:visible;" class="ui-layout-south">
|
||||
<a href="http://opennebula.org" target="_blank">OpenNebula 3.9.0</a> by <a href="http://c12g.com" target="_blank">C12G Labs</a>.
|
||||
</div>-->
|
||||
|
||||
Reference in new issue
Block a user