This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/assets/stylesheets/rulingorbit.css

382 lines
7.0 KiB
CSS
Raw Normal View History

2012-12-05 05:46:10 +00:00
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
body {
font-family: Lato, 微軟正黑體, 新細明體, sans-serif;
font-size: 80%;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
.wrapper {
width: 980px;
margin: 0 auto;
}
#main-menu ul, #item-list ul, .item-extra-info, .user-list, .option-list {
margin: 0;
padding: 0;
list-style: none;
}
header {
background-color: #e0e0e0;
background-position: center 60px;
background-repeat: no-repeat;
height: 200px;
}
#orbit-logo {
margin: 0;
height: 62px;
}
#orbit-logo a {
display: inline-block;
width: 150px;
height: 32px;
overflow: hidden;
text-indent: -9999px;
background: url(../image/logo.png) 0 0 no-repeat;
margin-top: 14px;
}
#orbit-logo span {
font-size: 10px;
color: #cdcdcd;
font-weight: normal;
display: inline-block;
vertical-align: middle;
margin: -4px 0 0 16px;
-webkit-text-size-adjust: none;
}
#main-menu {
background: url(../image/topnav_bg.png) 0 0 repeat-x;
}
#main-menu ul {
float: right;
}
#main-menu li {
float: left;
margin-left: 24px;
line-height: 62px;
}
#main-menu li a {
display: inline-block;
line-height: normal;
color: #b2b2b2;
font-size: 14px;
text-transform: uppercase;
text-decoration: none;
}
#main-menu li a:hover, #main-menu li a.active {
color: #fff;
}
#main-menu .demo a {
background-color: #c51c09;
color: #fff;
border: solid 2px #ea311d;
border-radius: 5px;
padding: 4px 8px;
font-weight: normal;
}
#page-title {
margin: 0;
padding: 36px 0 0 16px;
font-size: 3em;
text-shadow: 0 2px 0 #fff;
}
#page-title .sub {
font-weight: 300;
color: #b2b2b2;
}
#search-form {
float: right;
margin: 50px 16px 0 0;
}
#search-form input {
display: block;
margin: 0;
padding: 7px 12px;
outline: 0;
border: 0;
width: 230px;
height: 16px;
line-height: 16px;
color: #333;
font-family: inherit;
box-shadow: inset 0 1px 0 #999, inset 0 -1px 0 #eee;
border-radius: 15px;
background-color: #cecece;
}
#toolbar {
margin: -25px 0 35px 0;
height: 50px;
background-color: #fff;
background-repeat: repeat-x;
border: solid 1px #e0e0e0;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #c9c9c9;
position: relative;
z-index: 99;
}
.ui {
background: #F2F2F2 url(../image/ui_bg.png) left center repeat-x;
height: 28px;
line-height: 28px;
border: solid 1px #e0e0e0;
border-radius: 3px;
cursor: pointer;
}
.controller, .btn {
padding: 0 8px;
text-decoration: none;
display: block;
height: 28px;
line-height: 28px;
color: #333;
}
.controller:hover, .btn:hover {
background: none;
background-color: #fff;
position: relative;
z-index: 99;
}
.fn {
display: inline-block;
vertical-align: top;
font-size: 14px;
margin: 10px 0 10px 16px;
}
.fn .label {
display: inline-block;
vertical-align: top;
line-height: 28px;
color: #999;
margin-right: 8px;
}
.option-default {
font-weight: bold;
}
.option-list {
/*display: none;*/
position: absolute;
top: 28px;
left: -1px;
background-color: #fff;
border: solid 1px #e0e0e0;
width: 180px;
}
.option-list li {
border-top: solid 1px #eee;
}
.option-list li:first-child {
border-top: 0;
}
.option-list a {
color: #666;
text-decoration: none;
}
.option-list a:hover {
color: #333;
background-color: #f6f6f6;
}
.drop-menu {
position: relative;
display: inline-block;
}
.drop-menu:after {
display: table;
width: 100%;
content: '';
}
.drop-menu .arrow {
display: inline-block;
background: url(../image/dropdown_ad.png) 0 0 no-repeat;
width: 16px;
height: 18px;
vertical-align: top;
margin: 5px 0 0 8px;
}
.drop-menu:hover {
border-radius: 3px 3px 0 0;
}
.drop-menu:hover .controller {
border-bottom: solid 1px #fff;
background-color: #fff;
position: relative;
z-index: 99;
}
.drop-menu:hover .option-list {
display: block;
border-radius: 0 4px 4px 4px;
}
.drop-menu .option-list {
display: none;
}
.drop-menu .option-list li a {
display: block;
line-height: normal;
padding: 8px;
}
.drop-menu .option-default {
display: inline-block;
}
.select {
display: inline-block;
}
.select .option-list {
position: static;
display: inline-block;
border: 0;
width: auto;
background-color: transparent;
}
.select .option-list li {
display: inline-block;
border-top: 0;
vertical-align: top;
}
.select .option-list li a {
display: block;
text-decoration: none;
color: #333;
}
#item-list ul {}
#item-list li {
float: left;
}
#item-list li a {
display: block;
overflow: hidden;
position: relative;
}
#item-list li a:hover {}
.item-thumb {
display: block;
background: #ccc url(../image/thumb_default.png) center center no-repeat;
}
#item-list .item-info {
position: relative;
display: block;
}
#item-list .item-name {
font-size: 1.25em;
font-weight: normal;
}
#item-list .item-price {
position: absolute;
right: 0;
bottom: 0;
background-color: #c51c09;
height: 24px;
line-height: 24px;
color: #fff;
padding: 0 8px;
}
/* content page */
#content h3 {
font-size: 1.5em;
text-transform: capitalize;
}
#content .side, #content .main {
padding: 0 20px;
}
#content .side {
float: left;
}
#content .main {
float: right;
width: 680px;
}
#item-info .item-thumb {
width: 210px;
height: 210px;
border: solid 5px #fff;
}
#item-info .item-name {
font-size: 2.16em;
text-shadow: 0 2px 0 #fff;
}
#item-info .item-extra-info {
margin: 20px 0;
}
#item-info .item-extra-info li {
border-top: solid 1px #E0E0E0;
padding-top: 12px;
margin-top: 12px;
}
#item-info .item-extra-info li:first-child {
border-top: 0;
padding: 0;
margin: 0;
}
#item-info .item-extra-info .title {
color: #666;
display: inline-block;
/*width: 70px;*/
margin-right: 12px;
}
#item-info .item-extra-info .count {
font-size: 1.5em;
color: #000;
}
#screen-shot {
padding: 5px;
background-color: #fff;
}
#screen-shot .holder {
overflow: hidden;
height: 450px;
}
#screen-shot .preview {
width: 670px;
height: 450px;
}
#scr-nav {
text-align: center;
height: 30px;
line-height: 30px;
}
#scr-nav a {
display: inline-block;
width: 12px;
height: 12px;
margin: 0 6px;
overflow: hidden;
text-indent: -999px;
background-color: #aaa;
border-radius: 6px;
box-shadow: inset 0 1px 0 rgba(0,0,0,0.4);
}
#scr-nav a.activeSlide, #scr-nav a:hover {
background-color: #e7230d;
}
#download {
display: block;
text-align: center;
text-decoration: none;
text-transform: capitalize;
font-size: 1.5em;
color: #fff;
line-height: 2.2em;
text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
border-radius: 5px;
box-shadow: inset 0 -2px 0 rgba(0,0,0,0.2);
background: #dd200b;
background: -moz-linear-gradient(top, #dd200b 0%, #c51c09 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dd200b), color-stop(100%,#c51c09));
background: -webkit-linear-gradient(top, #dd200b 0%,#c51c09 100%);
background: -o-linear-gradient(top, #dd200b 0%,#c51c09 100%);
background: -ms-linear-gradient(top, #dd200b 0%,#c51c09 100%);
background: linear-gradient(to bottom, #dd200b 0%,#c51c09 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dd200b', endColorstr='#c51c09',GradientType=0 );
}
footer {
background-color: #fff;
text-align: center;
font-size: 12px;
color: #999;
padding: 16px 0;
margin-top: 35px;
}
footer p {
margin: 0;
}