Orbit-bar in front-end and back-end, side-bar and drop-down menu

This commit is contained in:
Christophe Vilayphiou committed 2012-02-15 00:34:22 +08:00
1 parent dcc6a53430
commit 55ae7de01c
39 files changed
+15632 -166

No files matched your search

+108
View File
@@ -0,0 +1,108 @@
h1, h2, h3, h4, h5, h6 {
font-weight:normal ;
}
.tooltip {
font-size: 12px;
}
.tooltip-inner {
text-align: left;
}
.control-group {
margin-bottom: 0px;
}
.well {
margin-top:10px;
margin-bottom: 10px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5) inset;
padding:9px;
}
hr {
margin: 5px 0;
}
.label-tags {
background-color: #FF5B00;
}
.modal-body .control-group > label {
width: 140px;
}
.modal-body .controls {
margin-left: 160px;
}
.dropdown-menu {
min-width: 90px;
}
.form-horizontal .form-actions {
text-align:right;
}
.subhead {
padding-bottom: 0;
margin-bottom: 9px;
}
.subhead h1 {
font-size: 54px;
}
/* Subnav */
.subnav {
width: 100%;
height: 36px;
background-color: #eeeeee; /* Old browsers */
background-repeat: repeat-x; /* Repeat the gradient */
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f5f5f5), color-stop(100%, #eeeeee)); /* Chrome,Safari4+ */
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
background-image: -ms-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* IE10+ */
background-image: -o-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* Opera 11.10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee', GradientType=0 ); /* IE6-9 */
background-image: linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* W3C */
border: 1px solid #e5e5e5;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.subnav .nav {
margin-bottom: 0;
}
.subnav .nav > li > a {
margin: 0;
padding-top: 11px;
padding-bottom: 11px;
border-left: 1px solid #f5f5f5;
border-right: 1px solid #e5e5e5;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
.subnav .nav > .active > a, .subnav .nav > .active > a:hover {
padding-left: 13px;
color: #777;
background-color: #e9e9e9;
border-right-color: #ddd;
border-left: 0;
-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
-moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
}
.subnav .nav > .active > a .caret, .subnav .nav > .active > a:hover .caret {
border-top-color: #777;
}
.subnav .nav > li:first-child > a, .subnav .nav > li:first-child > a:hover {
border-left: 0;
padding-left: 12px;
-webkit-border-radius: 4px 0 0 4px;
-moz-border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
}
.subnav .nav > li:last-child > a {
border-right: 0;
}
.subnav .dropdown-menu {
-webkit-border-radius: 0 0 4px 4px;
-moz-border-radius: 0 0 4px 4px;
border-radius: 0 0 4px 4px;
}
table .span1-2 {
width: 94px;
float: none;
margin-left: 0;
}
File diff suppressed because it is too large. Load diff
+88
View File
@@ -0,0 +1,88 @@
.list-remove {
position: relative;
top: 2px;
left: 2px;
}
.table th.select {
border-bottom:2px solid #0088CC;
}
.main-list {
margin-bottom: 0;
}
.main-list thead th {
background-color: rgba(0,0,0,0.05);
}
.main-list .span1 {
min-width: 32px;
}
.main-list .span7 {
min-width: 300px;
}
.main-list .nav-pills > li > a {
border-radius: 5px 5px 5px 5px;
margin: 2px;
padding:5px
}
.main-list tbody .quick-edit {
position:relative;
height:40px;
}
.main-list tbody .quick-edit .nav {
left: -55px;
position: absolute;
top: -3px;
width: 350px;
}
.main-list td {
/*height:80px;*/
}
.main-list .nav {
margin-top: 15px;
margin-bottom: 3px;
}
.main-list tr:hover .hide {
display:block !important;
}
.qe-block td {
height:auto;
}
legend {
font-size: 15px;
line-height: 30px;
margin-bottom: 15px;
padding-bottom: 5px;
}
.upload-picture {
margin-left: 20px;
}
.subnav {
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
border-left: none;
border-right: none;
}
.subnav .nav > li:first-child > a, .subnav .nav > li:first-child > a:hover {
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}
.dropdown-menu.tags {
max-width: none;
}
.dropdown-menu.tags .tags-cloud {
width: 300px;
padding:10px;
}
.dropdown-menu.tags .tags-cloud .active {
background-color: #0088CC;
color: #FFFFFF;
}
.dropdown-menu.tags .tags-cloud a {
display: inline-block;
margin-bottom: 3px;
}
.dropdown-menu.tags li:last-child a {
display: block;
text-align:center;
}
+14
View File
@@ -0,0 +1,14 @@
/*
*This is a manifest file that'll automatically include all the stylesheets available in this directory
*and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
*the top of the compiled file, but it's generally better to create a new file per style scope.
*= require reset
*= require_self
*= require message
*= require bootstrap
*= require bootstrap-orbit
*= require list
*= require widget
*= require style
*= require scroll_style
*/
+1 -34
View File
@@ -1,34 +1,5 @@
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}
a {
text-decoration:none;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
-webkit-text-size-adjust:none;
}
/*自定*/
input:focus, select:focus, textarea:focus {
@@ -41,8 +12,4 @@ input:focus, select:focus, textarea:focus {
display:block;
height:0;
visibility:hidden;
}
.fixed {
position: fixed;
z-index: 100;
}
+59
View File
@@ -0,0 +1,59 @@
@charset "UTF-8";
/* CSS Document */
.my_scroll {
width: 100%;
clear: both;
}
.my_scroll .viewport {
width: 1005;
overflow: hidden;
position: relative;
}
.my_scroll .overview {
list-style: none;
position: absolute;
left: 0;
top: 0;
width: 100%;
}
.my_scroll .thumb .end, .my_scroll .thumb {
background-color: #000000;
}
.my_scroll .scrollbar {
position: relative;
float: right;
width: 8px;
top:2px;
right:-2px;
}
.my_scroll .track {
background-color: #CFCFCF;
height: 100%;
width:7px;
position: relative;
padding: 0 1px;
border-radius: 7px;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
opacity: 0.3;
}
.my_scroll .thumb {
height: 20px;
width:7px;
cursor: pointer;
overflow: hidden;
position: absolute;
top: 0;
border-radius: 7px;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
}
.my_scroll .thumb .end {
display:none;
overflow: hidden;
height: 5px;
width: 13px;
}
.my_scroll .disable {
display: none;
}
+434
View File
@@ -0,0 +1,434 @@
@font-face{
font-family: 'WebSymbolsRegular';
src: url(<%= asset_path "websymbols-regular-webfont.eot" %>);
src: url(<%= asset_path "websymbols-regular-webfont.eot?#iefix" %>) format('embedded-opentype'),
url(<%= asset_path "websymbols-regular-webfont.woff" %>) format('woff'),
url(<%= asset_path "websymbols-regular-webfont.ttf" %>) format('truetype'),
url(<%= asset_path "websymbols-regular-webfont.svg#WebSymbolsRegular" %>) format('svg');
}
#orbit-bar {
margin-bottom: 0;
position:fixed;
width:100%;
z-index: 99;
}
#orbit-bar .navbar-inner {
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
}
#orbit-bar .container {
width:100%;
}
#orbit-bar .orbit-logo .brand {
background: url(<%= asset_path "orbit-bar.png" %>) no-repeat -162px top;
text-indent:-9999px;
}
#orbit-bar .orbit-logo .brand:hover {
background-color: rgba(0,157,220,1);
}
#orbit-bar .orbit-logo.open .brand {
background-color: rgba(0,157,220,1);
}
#orbit-bar .orbit-logo .dropdown-menu {
left: -15px;
}
#orbit-bar .nav > li > a:hover {
background-color: rgba(0,157,220,1);
}
#orbit-bar .nav > li > a {
background-image: url(<%= asset_path "orbit-bar.png" %>);
background-repeat:no-repeat;
display: inline-block;
width: 16px;
height: 16px;
text-indent: -9999px;
padding:12px;
}
#orbit-bar .nav > li > a.orbit-bar-home {
background-position: -4px -4px;
}
#orbit-bar .nav > li > a.orbit-bar-desktop {
background-position: -100px -4px;
}
#orbit-bar .nav > li > a.orbit-bar-logout {
background-position: -38px -4px;
margin: 0 10px 0 0;
}
#orbit-bar .nav > li > a.orbit-bar-search {
background-position: -68px -4px;
}
#orbit-bar .log {
margin: 0 10px 0 0;
}
#orbit-bar .log input {
margin: 5px 0 0;
}
#main-sidebar {
background-color: #FFFFFF;
width: 155px;
padding-right: 4px;
border-right: 1px solid rgba(0,0,0,.3);
position:fixed;
top:40px;
z-index: 88;
}
#main-wrap {
margin-left:160px;
padding-top: 40px;
position: relative;
}
#main-wrap > .form-actions {
text-align: center;
padding: 17px 20px 27px;
margin: 0;
}
#main-wrap .subnav {
height: auto;
min-height: 36px;
}
.filter .accordion-heading > a:hover {
text-decoration: none;
}
.filter .accordion-group {
border-bottom: none;
border-top: none;
border-left: 1px solid rgba(0,0,0,0.07);
border-right: none;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
margin-bottom: -1px;
position: relative;
left: 0;
top: 0;
}
.filter .accordion-group:last-child {
border-right: 1px solid rgba(0,0,0,0.07);
}
.filter .accordion-heading .accordion-toggle {
padding: 9px 15px;
}
.accordion-group .accordion-toggle .caret {
border-top-color: #0088CC;
margin-top: 6px;
}
.accordion-group .web-symbol:after {
font-family: 'WebSymbolsRegular';
content: "{";
margin-left: 2px;
margin-top: 8px;
}
.filter .active {
background-color: #0088CC;
}
.filter .active a {
color: #FFF;
}
.filter .active .web-symbol:after {
content: "}";
}
.filters {
background-color: rgba(0,0,0,0.025);
-webkit-box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.2);
-moz-box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.2);
box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.2);
}
.filters .btn {
margin-bottom: 5px;
}
.filters .accordion-inner {
border-top: none;
padding: 9px 15px 4px;
}
.filters .filter-clear {
padding: 5px 5px 0;
border-top: 1px solid rgba(0,0,0,0.1);
background-color: rgba(0,0,0,0.025);
text-align: right;
}
.filters .in {
border-bottom: 1px solid rgba(0,0,0,0.07)
}
/*icons*/
.the-icons i:after {
content: attr(class);
display: block;
font-style: normal;
margin-left: 20px;
width: 140px;
}
.the-icons i {
display: block;
margin-bottom: 5px;
}
[class^="icons-"] {
display: inline-block;
width: 16px;
height: 16px;
vertical-align: text-top;
background-image: url(<%= asset_path "icons_pack.png" %>);
background-position: 16px 16px;
background-repeat: no-repeat;
*margin-right: .3em;
margin-right:10px;
}
[class^="icons-"]:last-child {
*margin-left: 0;
}
.icons-white {
background-image: url(<%= asset_path "icons_pack_white.png" %>);
}
/*1*/
.icons-pencil {
background-position: 0 0;
}
.icons-brush {
background-position: -32px 0;
}
.icons-pen {
background-position: -64px 0;
}
.icons-brush-large {
background-position: -128px 0;
}
.icons-pen-small {
background-position: -96px 0;
}
.icons-bucket {
background-position: -160px 0;
}
.icons-eye {
background-position: -192px 0;
}
.icons-ban {
background-position: -224px 0;
}
.icons-trash {
background-position: -256px 0;
}
.icons-zoom {
background-position: -288px 0;
}
.icons-zoom-out {
background-position: -320px 0;
}
.icons-zoom-in {
background-position: -352px 0;
}
.icons-magic {
background-position: -384px 0;
}
.icons-aim {
background-position: -416px 0;
}
/*2*/
.icons-flag {
background-position: 0 -32px;
}
.icons-paperclip {
background-position: -32px -32px;
}
.icons-share {
background-position: -64px -32px;
}
.icons-link {
background-position: -96px -32px;
}
.icons-tag {
background-position: -128px -32px;
}
.icons-lock {
background-position: -160px -32px;
}
.icons-unlock {
background-position: -192px -32px;
}
/*3*/
.icons-content {
background-position: -160px -66px;
}
.icons-announcement {
background-position: -576px -64px;
}
/*4*/
.icons-contact {
background-position: 0 -96px;
}
.icons-roll {
background-position: -32px -96px;
}
.icons-member {
background-position: -288px -96px;
}
.icons-member-user {
background-position: -64px -96px;
}
.icons-member-admin {
background-position: -96px -96px;
}
.icons-member-manager{
background-position: -128px -96px;
}
.icons-member-plus{
background-position: -160px -96px;
}
.icons-member-minus{
background-position: -192px -96px;
}
.icons-member-blockade{
background-position: -224px -96px;
}
.icons-carte {
background-position: -256px -96px;
}
.icons-building {
background-position: -320px -96px;
}
.icons-calendar {
background-position: -352px -96px;
}
.icons-calendars {
background-position: -384px -96px;
}
/*5*/
.icons-page-blank {
background-position: 0px -128px;
}
.icons-page {
background-position: -32px -128px;
}
.icons-page-copy {
background-position: -64px -128px;
}
.icons- {
background-position: -0px -128px;
}
/*6*/
.icons-structure {
background-position: -352px -160px;
}
/*7*/
.icons-purchase {
background-position: -64px -192px;
}
/*8*/
.icons-dashboard {
background-position: 0 -224px;
}
.icons-cog {
background-position: -32px -224px;
}
.icons-cogs {
background-position: -64px -224px;
}
.icons-tool {
background-position: -96px -224px;
}
.icons-screwdriver {
background-position: -128px -224px;
}
.icons-wrench {
background-position: -160px -224px;
}
.icons-toolbox {
background-position: -192px -224px;
}
.icons-switch {
background-position: -224px -224px;
}
.icons-valve {
background-position: -256px -224px;
}
/*9*/
.icons-picture {
background-position: -256px -256px;
}
.icons-asset {
background-position: -384px -256px;
}
.icons-asset-upload {
background-position: -448px -256px;
}
.icons-asset-download {
background-position: -416px -256px;
}
/*10*/
.icons- {
background-position: -0px -288px;
}
/*11*/
.icons-pie {
background-position: 0px -320px;
}
.icons-histogram {
background-position: -32px -320px;
}
.icons-window {
background-position: -64px -320px;
}
.icons-window-line{
background-position: -96px -320px;
}
.icons-window-command{
background-position: -128px -320px;
}
.icons-window-list{
background-position: -160px -320px;
}
.icons-window-block{
background-position: -192px -320px;
}
.icons-terminal{
background-position: -224px -320px;
}
/*12*/
.icons-star-thin {
background-position: -416px -352px;
}
.icons- {
background-position: -0px -352px;
}
/*13*/
.icons- {
background-position: -0px -384px;
}
/*14*/
.icons- {
background-position: -0px -416px;
}
/*15*/
.icons- {
background-position: -0px -448px;
}
/*16*/
.icons- {
background-position: -0px -480px;
}
/*17*/
.icons- {
background-position: -0px -512px;
}
/*18*/
.icons- {
background-position: -0px -544px;
}
/*19*/
.icons-plus-cube {
background-position: -192px -576px;
}
.icons-plus {
background-position: -288px -576px;
}
/*20*/
.icons- {
background-position: -0px -608px;
}
/*21*/
.icons- {
background-position: -0px -640px;
}
+82
View File
@@ -0,0 +1,82 @@
.widget-size-300 {
width:298px;
}
.widget-box {
background-color: #FFF;
overflow: hidden;
min-width: 300px;
border: 1px solid #DDD;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
margin: 0 0 5px 5px;
position:relative;
}
.widget-box .widget-title {
background: #999;
color: #FFF;
padding-left: 5px;
border-radius: 5px 5px 0 0;
-moz-border-radius: 5px 5px 0 0;
-webkit-border-radius: 5px 5px 0 0;
}
.widget-box .widget-title [class^="icons-"] {
margin: 3px 5px 0 2px;
}
.widget-box .widget-content {
padding: 10px;
}
.widget-box .form-horizontal .control-group > label {
width: 50px;
}
.widget-box .form-horizontal .controls {
margin-left: 60px;
}
.widget-action {
position:absolute;
right:1px;
top:6px;
}
.action {
float: left;
display:inline-block;
margin-right: 5px;
opacity: 0.8;
filter: alpha(opacity=80);
}
.action:hover {
opacity: 1;
filter: alpha(opacity=100);
cursor: pointer;
}
.select-role {
display:none;
overflow:hidden;
}
.file-upload {
position:relative;
}
.file-upload .file-name {
display: inline-block;
margin: 0 0 5px 5px;
white-space: nowrap;
width: 140px;
}
.file-upload .upload {
margin:0;
padding:0;
position:absolute;
top:0;
left:0;
opacity:.0;
filter: alpha(opacity=100);
}
.file-upload .upload:focus {
position:absolute;
}
.upload-picture {
margin-right: 5px;
}
#widget-link table {
margin-bottom:0
}