socialforge/public/stylesheets/nyan.css

490 lines
14 KiB
CSS
Raw Normal View History

2013-12-13 14:31:28 +08:00
/* TODO: base/common/page 准备封装一些基本样式组合调用 参考YUI
*******************************************************************************/
2014-01-11 09:08:15 +08:00
.border_box {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-box-sizing: border-box;
}
2013-12-16 14:50:46 +08:00
.text_center{
text-align: center;
}
2014-01-09 09:15:58 +08:00
.ph10_5{ /*padding horizontal 10% 5%*/
padding: 0px 5% 0px 10%;
}
.clear_both{
clear: both;
}
2014-01-16 15:46:09 +08:00
.highlight {
background-color: #fff34d;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.7);
-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.7);
box-shadow: 0px 1px 2px rgba(0,0,0,0.7);
color: #cc0033;
/*padding: 1px 3px;*/
/*margin: 0 -4px;*/
filter: alpha(opacity=70);
-moz-opacity: 0.7;
-webkit-opacity: 0.7;
opacity: 0.7;
2014-01-15 17:28:53 +08:00
}
2014-01-16 15:46:09 +08:00
2013-12-20 17:16:06 +08:00
* {
font-family: Helvetica, Tahoma, Arial, "Microsoft YaHei", "微软雅黑", SimSun, "宋体", STXihei, "华文细黑", Heiti, "黑体", sans-serif;
}
2013-12-13 14:31:28 +08:00
/* 按钮
*******************************************************************************/
input[class~='whiteButton'], .whiteButton {
2013-10-25 15:46:14 +08:00
-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
box-shadow:inset 0px 1px 0px 0px #ffffff;
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6));
background:-moz-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
background:-webkit-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
background:-o-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
background:-ms-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0);
background-color:#ffffff;
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px;
border:1px solid #dcdcdc;
display:inline-block;
color:#666666;
color: #116699;
2013-10-25 15:46:14 +08:00
font-family:arial;
font-size:15px;
font-weight:bold;
padding:6px 24px;
/*padding:3px 10px;*/
2013-10-25 15:46:14 +08:00
text-decoration:none;
text-shadow:0px 1px 0px #ffffff;
}
input[class~='whiteButton']:hover, .whiteButton:hover {
color: #c61a1a;
2013-10-25 15:46:14 +08:00
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff));
background:-moz-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
background:-webkit-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
background:-o-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
background:-ms-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
background:linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff',GradientType=0);
text-decoration: none;
2013-10-25 15:46:14 +08:00
background-color:#f6f6f6;
}
input[class~='whiteButton']:active, .whiteButton:active {
position:relative;
top:1px;
text-decoration: none;
}
input[class~='m3p10'], .m3p10 {
margin: 0;
padding: 3px 10px;
height: 20px;
display: inline-block;
}
input[class~='h30'], .h30{
height: 30px;
}
2013-11-02 13:41:46 +08:00
/* minimal
*******************************************************************************/
input[class='nyan-minimal'], .nyan-minimal {
2013-11-02 13:41:46 +08:00
background: #e3e3e3;
border: 1px solid #bbb;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: inset 0 0 1px 1px #f6f6f6;
-moz-box-shadow: inset 0 0 1px 1px #f6f6f6;
box-shadow: inset 0 0 1px 1px #f6f6f6;
color: #333;
font: bold 12px "helvetica neue", helvetica, arial, sans-serif;
line-height: 1;
padding: 8px 0 9px;
text-align: center;
text-shadow: 0 1px 0 #fff;
padding-left:10px;
padding-right:10px;
2013-11-02 13:41:46 +08:00
}
input[class='nyan-minimal'], .nyan-minimal:hover {
2013-11-02 13:41:46 +08:00
background: #d9d9d9;
-webkit-box-shadow: inset 0 0 1px 1px #eaeaea;
-moz-box-shadow: inset 0 0 1px 1px #eaeaea;
box-shadow: inset 0 0 1px 1px #eaeaea;
color: #222;
cursor: pointer;
}
input[class='nyan-minimal'], .nyan-minimal:active {
2013-11-02 13:41:46 +08:00
background: #d0d0d0;
-webkit-box-shadow: inset 0 0 1px 1px #e3e3e3;
-moz-box-shadow: inset 0 0 1px 1px #e3e3e3;
box-shadow: inset 0 0 1px 1px #e3e3e3;
color: #000;
}
/* clean gray
*******************************************************************************/
input[class='nyan-clean-gray'], .nyan-clean-gray {
2013-11-02 13:41:46 +08:00
background-color: #eeeeee;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #cccccc));
background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
background-image: linear-gradient(top, #eeeeee, #cccccc);
border: 1px solid #ccc;
border-bottom: 1px solid #bbb;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
color: #333;
font: bold 11px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
line-height: 1;
padding: 8px 0;
text-align: center;
text-shadow: 0 1px 0 #eee;
padding-left:10px;
padding-right:10px;
2013-11-02 13:41:46 +08:00
}
input[class='nyan-clean-gray']:hover, .nyan-clean-gray:hover {
2013-11-02 13:41:46 +08:00
background-color: #dddddd;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #dddddd), color-stop(100%, #bbbbbb));
background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
background-image: linear-gradient(top, #dddddd, #bbbbbb);
border: 1px solid #bbb;
border-bottom: 1px solid #999;
cursor: pointer;
text-shadow: 0 1px 0 #ddd;
}
input[class='nyan-clean-gray']:active, .nyan-clean-gray:active {
2013-11-02 13:41:46 +08:00
border: 1px solid #aaa;
border-bottom: 1px solid #888;
-webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
-moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
}
2013-10-25 15:46:14 +08:00
#share_label {
line-height: 1.4em
}
2013-12-13 14:31:28 +08:00
/* 项目左侧siderbar下面工具集的样式
*******************************************************************************/
.tools a:link{
color: #116699;
text-decoration:none;
width:100px;
padding:3px 5px 0px 5px;
}
.tools a:visited{
color: #116699;
text-decoration:none;
padding:3px 5px 0px 5px;
width:100px;
}
.tools a:hover{
color:white;
padding:3px 3px 0px 20px;
width:88px;
text-decoration:none;
background-color:#539D26;
}
.tools a:active{
color:white;
padding:3px 3px 0px 20px;
width:88px;
text-decoration:none;
background-color:#BD06B4;
}
.tools ul{
list-style-type: none;
margin: 0px 0px 0px 10% ;
padding: 0;
}
.tools li{
background: url("/images/sidebar/tool_tag_alpha.png") 10px 30% no-repeat transparent;
color: #3e3e3e;
font-weight: 400;
line-height: 1.5em;
margin: 0px 0px 10px;
padding: 0px 0px 0px 30px;
font-size: 1.0em;
/*border-bottom: 1px solid #CCC;*/
}
.tools li:last-child{
border: none;
}
2013-12-13 14:31:28 +08:00
/* 贴吧 forum memo
*******************************************************************************/
2014-01-11 09:08:15 +08:00
2014-01-02 14:48:01 +08:00
div.actions input[type="text"]{
padding: 3px;
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-box-sizing: border-box;
}
.lz {
position:relative;
min-height: 200px;
margin: 10px 2px;
border-radius: 5px;
box-shadow: 1px 1px 6px #97EBF4;
border: 1px solid #F1F1F1;
}
.lz-left{
float: left;
margin: 2%;
padding: 0;
}
.memo-section{
width: auto;
margin-left: 15%;
padding-top: 1%;
border-left: 2px dotted #EEE;
}
.memo-title{
margin: 1em 0;
padding-left: 1%;
padding-bottom: 1%;
font-weight: bold;
border-bottom: 1px dashed rgb(204, 204, 204);
}
.memo-content{
padding: 1%;
margin: 1%;
margin-bottom: 40px;
background-color: #F8F8F8;
border-radius: 3px;
}
.memo-timestamp{
position: absolute;
bottom: 0px;
right: 0;
margin: 20px;
}
.replies{
overflow:hidden;
max-width: 100%;
float: right;
/*max-width: 90%;*/
}
.reply-box{
float: right;
width: 640px;
padding: 3%;
/*border: 2px solid #C6F3F9;*/
border-top: 2px double #C6F3F9;
/*border-radius: 10px;*/
}
.comments img {
overflow:hidden;
/*width: 100%;*/
max-width: 500px;
height: auto !important;
width:expression(this.width > 500 ? "500px" : this.width+"px");
}
table.content-text-list tbody tr td.sticky, div.memo-section .sticky{
background: url(../images/zding.gif) no-repeat 0 1px; padding-left: 35px;
/*background: url(../images/2uparrow.png) no-repeat 0 1px; padding-left: 20px;*/
font-weight: bold;
margin-left: 5px;
}
table.content-text-list tbody tr td.locked, div.memo-section .locked{
background: url(../images/locked.png) no-repeat 0 1px;
padding-left: 20px;
margin-left: 5px;
2013-12-13 14:31:28 +08:00
}
/* 问题列表
*******************************************************************************/
.query_form {
}
.content-title-top {
padding-bottom: 10px;
}
.custom_query {
max-width : 95%;
margin : 3px auto;
border-bottom : solid 1px #;
-o-box-shadow :inset 0px 1px 1px 0px #FAFAFA;
-moz-box-shadow :inset 0px 1px 1px 0px #FAFAFA;
-webkit-box-shadow:inset 0px 1px 1px 0px #FAFAFA;
box-shadow :inset 0px 1px 1px 0px #FAFAFA;
}
.custom_query>span {
display : block;
max-width : 100%;
line-height : 1.8em;
font-size : 14px;
text-align : center;
border-radius : 3px;
background-color: #DBEBEE;
}
.custom_query > .hide-when-print {
max-width : 97%;
2013-12-13 15:19:01 +08:00
padding : 1px 3px 6px;
2013-12-13 14:31:28 +08:00
margin : 0 auto;
background-color: #F7F7F7;
border-bottom-left-radius : 10px;
border-bottom-right-radius: 10px;
}
/* 项目新闻栏
*******************************************************************************/
.add_frame {
position:relative;
margin: 5px 10px 2px 0px;
padding: 10px 10px;
border-radius: 5px;
/*box-shadow: 1px 1px 6px rgb(241,241,241);*/
/*border: 1px solid #F1F1F1;*/
}
.add_frame_header{
background: linear-gradient(#fbfbfb, #f8f8f8) repeat scroll 0% 0% transparent;
border-bottom: 1px solid rgb(226,226,226);
box-shadow: 0px 1px 0px white, 0px, -1px 0px rgb(245,245,245);
height: 39px;
font-size: 15px;
line-height: 26px;
height: 30px;
font-size: 1.5em;
padding-left: 4%;
}
/* xx动态框
*******************************************************************************/
.project_acts *{border:1px solid #000000;}
.project_acts{
height: 250px;
}
.project_acts .project_acts_left{
float: left;
height: 100%;
width: 61%;
}
.project_acts .project_acts_right{
height: 100%;
margin-left: 61%;
2014-01-15 17:28:53 +08:00
}
/* stores 资源库
*******************************************************************************/
2014-01-16 15:46:09 +08:00
.line_block {
2014-01-15 17:28:53 +08:00
display: inline-block;
width: 49%;
margin: 10px auto;
vertical-align: top;
padding: 0px 2%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-box-sizing: border-box;
2014-01-16 15:46:09 +08:00
}
.resource_sum{
height: auto;
}
.line_block p{
margin: 1em 0px auto;
/*background: linear-gradient(#ffffff, #e5e5e5) repeat scroll 0% 0% transparent;*/
border-bottom: 1px solid rgb(226,226,226);
border-top-left-radius : 6px;
border-top-right-radius : 6px;
box-shadow: 0px 1px 0px white, 0px, -1px 0px rgb(245,245,245);
height: 39px;
font-size: 15px;
line-height: 26px;
height: 30px;
font-size: 1.5em;
padding-left: 4%;
border-bottom: 1px solid rgb(21, 165, 200);
}
.resource_sum, .line_blo{
border: 1px solid #eeeeee;
}
.line_block table{
border: 1px solid #eeeeee;
}
.line_block table thead tr{
/*background-color: #d1d1d1;*/
text-align: center;
}
.line_block table td{
height: 2em;
}
.filename {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 247px;
}
#top_field {
max-width: 100%;
margin: 20px auto;
}
.blueinputbar{
-o-transform-origin: 138px 46.5px;
-o-transition: background 0.2s cubic-bezier(0, 0, 1, 1);
-webkit-border-bottom-left-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
-webkit-border-radius: 3px;
-webkit-border-top-left-radius: 3px;
-webkit-border-top-right-radius: 3px;
-webkit-transform-origin: 138px 46.5px;
-webkit-transition: background 0.2s cubic-bezier(0, 0, 1, 1);
-webkit-transition-delay: 0;
-webkit-transition-duration: 0.2s;
-webkit-transition-property: background;
-webkit-transition-timing-function: cubic-bezier(0, 0, 1, 1);
align-content: stretch;
align-items: stretch;
align-self: stretch;
background: #FFFFFF;
border-bottom: 1px solid #56B4EF;
border-left: 1px solid #56B4EF;
border-radius: 3px;
border-right: 1px solid #56B4EF;
border-top: 1px solid #56B4EF;
color: #333333;
justify-content: flex-start;
margin: 0px;
order: 0;
outline: #333333 0px;
overflow-wrap: break-word;
resize: none;
text-shadow: none;
transform-origin: 138px 46.5px;
transition: background 0.2s cubic-bezier(0, 0, 1, 1);
unicode-bidi: embed;
vertical-align: top;
word-wrap: break-word;
}
input.blueinputbar:focus {
box-shadow: rgba(0, 0, 0, 0.047) 0px 1px 3px 0px inset, rgba(82, 168, 236, 0.600) 0px 0px 5px 0px;
border-bottom: 1px solid #56B4EF;
border-left: 1px solid #56B4EF;
border-radius: 3px;
border-right: 1px solid #56B4EF;
border-top: 1px solid #56B4EF;
}
.r1 {
font-size:13px;
line-height: 1.7em;
overflow-wrap: break-word;
padding-bottom: 20px;
padding-left: 20px;
/*width: 50em;*/
}
.r1 .cb {
font-size: 16px;
color: #3333cc;
}