socialforge/public/stylesheets/nyan.css

708 lines
20 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;
}
2014-03-27 10:53:45 +08:00
/*文字不换行*/
.text_nowrap{
word-break:keep-all;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
/*字体 斜体*/
.font_italic{
font-style: italic;
}
/*字体加粗*/
.font_bolder{
font-weight: bolder;
}
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-24 15:35:36 +08:00
.memo-content pre{
white-space: normal;
word-wrap: break-word;
}
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
}
.clearfix {
width: 100%;
height: 0px;
clear: both;
display: block;
}
.hidden {
display: none;
}
2014-04-08 14:53:11 +08:00
.font_color_orange{
color: #E8770D;
}
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;
}
2014-04-08 16:56:53 +08:00
/* 模态窗口
*******************************************************************************/
#lean_overlay{
position: fixed;
z-index: 80;
2014-04-08 16:56:53 +08:00
top: 0;
left: 0;
height: 100%;
width: 100%;
background: #000;
display: none;
}
2014-04-08 16:56:53 +08:00
#OpenWindow {
background: none repeat scroll 0 0 #FFFFFF;
border-radius: 5px 5px 5px 5px;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
display: none;
padding-bottom: 2px;
width: 404px;
z-index: 100;
2014-04-08 16:56:53 +08:00
left: 50%;
margin-left: -202px;
opacity: 1;
position: fixed;
top: 200px;
}
#OpenWindow-header {
background: url("/images/showmodal/hd-bg.png") repeat scroll 0 0 transparent;
border-bottom: 1px solid #CCCCCC;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
padding: 18px 18px 14px;
}
#OpenWindow-content{
-webkit-transition: all 0.2s linear 1s;
-o-transition: all 0.2s linear 1s;
-moz-transition: all 0.2s linear 1s;
transition: all 0.2s linear 1s;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
padding: 18px 18px 14px;
}
2014-04-08 16:56:53 +08:00
.modal_close {
background: url("/images/showmodal/modal_close.png") repeat scroll 0 0 transparent;
display: block;
height: 14px;
position: absolute;
right: 12px;
top: 12px;
width: 14px;
z-index: 2;
}
body {
/*font-size: 13px;*/
}
#OpenWindow .txt-fld {
border-bottom: 1px solid #EEEEEE;
padding: 14px 20px;
position: relative;
text-align: right;
width: 364px;
}
#OpenWindow .txt-fld input {
background: none repeat scroll 0 0 #F7F7F7;
border-color: #CCCCCC #E7E6E6 #E7E6E6 #CCCCCC;
border-radius: 4px 4px 4px 4px;
border-style: solid;
border-width: 1px;
color: #222222;
font-family: "Helvetica Neue";
font-size: 1.2em;
outline: medium none;
padding: 8px;
width: 244px;
}
#OpenWindow .txt-fld input.good_input {
background: url("/images/showmodal/good.png") no-repeat scroll 236px center #DEF5E1;
}
#OpenWindow .btn-fld {
overflow: hidden;
padding: 12px 20px 12px 130px;
width: 254px;
}
2014-04-09 17:23:56 +08:00
#OpenWindow button {
2014-04-08 16:56:53 +08:00
background: none repeat scroll 0 0 #3F9D4A;
border: medium none;
border-radius: 4px 4px 4px 4px;
color: #FFFFFF;
float: right;
font-family: Verdana;
font-size: 13px;
font-weight: bold;
overflow: visible;
padding: 7px 10px;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
width: auto;
}
2013-12-13 14:31:28 +08:00
/* 按钮
*******************************************************************************/
.orangeButton {
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #e87832), color-stop(1, #db6825));
background:-moz-linear-gradient(top, #e87832 5%, #db6825 100%);
background:-webkit-linear-gradient(top, #e87832 5%, #db6825 100%);
background:-o-linear-gradient(top, #e87832 5%, #db6825 100%);
background:-ms-linear-gradient(top, #e87832 5%, #db6825 100%);
background:linear-gradient(to bottom, #e87832 5%, #db6825 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e87832', endColorstr='#db6825',GradientType=0);
background-color:#e87832;
-moz-border-radius:4px;
-webkit-border-radius:4px;
border-radius:4px;
border:1px solid #e87832;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-size:16px;
padding:4px 11px;
text-decoration:none;
text-shadow:0px 1px 0px #754529;
}
.orangeButton:hover {
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #db6825), color-stop(1, #e87832));
background:-moz-linear-gradient(top, #db6825 5%, #e87832 100%);
background:-webkit-linear-gradient(top, #db6825 5%, #e87832 100%);
background:-o-linear-gradient(top, #db6825 5%, #e87832 100%);
background:-ms-linear-gradient(top, #db6825 5%, #e87832 100%);
background:linear-gradient(to bottom, #db6825 5%, #e87832 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#db6825', endColorstr='#e87832',GradientType=0);
background-color:#db6825;
}
.orangeButton:active {
position:relative;
top:1px;
}
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;*/
}
.memo-content img, .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{
2014-03-14 17:39:16 +08:00
margin: 20px -2px 0px 0px;
2014-01-16 15:46:09 +08:00
/*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;
}
.filename {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 247px;
}
2014-03-14 17:29:45 +08:00
.line_block .table1{
display: table;
width: 100%;
border-left: 1px solid #eeeeee;
border-right: 1px solid #eeeeee;
border-bottom: 1px solid #eeeeee;
}
.line_block .table_row1{
height: 38px;
display: table-row;
width: 100%;
}
.line_block .table_cell1{
display: table-cell;
padding: 2px;
border: 1px solid #FFFFFF;
vertical-align: middle;
}
.line_block .filename1{
width: 62%;
padding-left: 8px;
}
.line_block .filedown1{
width: 19%;
text-align: center;
}
.line_block .downicon1{
width: 19%;
text-align: center;
}
2014-01-16 15:52:48 +08:00
.blue-color, .blue-color a{
color: rgb(109,153,178);
}
.gray-color, .gray-color a{
color: rgb(153,153,153);
}
2014-01-16 15:46:09 +08:00
#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;
2014-01-18 10:52:05 +08:00
/*padding-left: 20px;*/
2014-01-16 15:46:09 +08:00
/*width: 50em;*/
}
.r1 .cb {
font-size: 16px;
color: #3333cc;
2014-01-16 15:52:48 +08:00
}
2014-01-24 10:55:25 +08:00
/* course 用户 课程 历史
*******************************************************************************/
.courses_history{
opacity: 0.7;
}
.courses_history a {
color: #666;
}
2014-03-25 14:40:21 +08:00
/* issue div.issues
*******************************************************************************/
div.issue{
background: none repeat scroll 0 0 #FFFFEC;
/*border: none;*/
margin-bottom: 6px;
padding: 10;
border-radius: 3px;
/* -moz-box-shadow: 3px 3px 10px rgba(100,150,205,0.1);
-webkit-box-shadow: 3px 3px 10px rgba(100,150,205,0.1);
box-shadow: 3px 3px 10px rgba(100,150,205,0.1);*/
}