<%= @subject %>
<%= link_to @project_url, @project_url%>
+点击链接后,将自动为您注册账号
+您的账号为:<%= @email %>
+密码为: <%= @password %>
+ diff --git a/app/views/memos/new.html.erb b/app/views/memos/new.html.erb index 03a60044a..8bcb77a57 100644 --- a/app/views/memos/new.html.erb +++ b/app/views/memos/new.html.erb @@ -5,7 +5,7 @@ <% @nav_dispaly_forum_label = 1%> <%= javascript_include_tag "ckeditor/ckeditor.js" %> -软件项目托管社区 | @@ -19,7 +19,7 @@<%= link_to request.host()+"/forums", forums_path %> | <%=link_to l(:label_home),home_path %> > <%=link_to '公共贴吧', :controller => 'forums', :action => 'index' %> > <%=link_to @forum.name %> |
<%=l(:label_memo_new)%>
<%= l(:label_news) %>
+
- <%= @subPage_title %> -
+<%= @subPage_title %>
<%=l(:label_project_new)%>
+<%=raw l(:label_project_new_description)%> diff --git a/app/views/projects/settings.html.erb b/app/views/projects/settings.html.erb index 6682ced76..a5ecac20a 100644 --- a/app/views/projects/settings.html.erb +++ b/app/views/projects/settings.html.erb @@ -1,4 +1,6 @@ -
<%=l(:label_settings)%>
+<%=l(:label_settings)%>
+DTS测试
+<%= l(:label_activity) %>
+- <%=h l(:code_reviews) %> -
<% if @all_review_count > 0 %>diff --git a/public/images/new_project/btn.png b/public/images/new_project/btn.png new file mode 100644 index 000000000..85cea7f5c Binary files /dev/null and b/public/images/new_project/btn.png differ diff --git a/public/images/new_project/img_project.png b/public/images/new_project/img_project.png new file mode 100644 index 000000000..b0e5a495f Binary files /dev/null and b/public/images/new_project/img_project.png differ diff --git a/public/images/new_project/inputBg.png b/public/images/new_project/inputBg.png new file mode 100644 index 000000000..243bbf7ec Binary files /dev/null and b/public/images/new_project/inputBg.png differ diff --git a/public/images/new_project/jiantou.jpg b/public/images/new_project/jiantou.jpg new file mode 100644 index 000000000..cd2840988 Binary files /dev/null and b/public/images/new_project/jiantou.jpg differ diff --git a/public/images/new_project/jiantou1.jpg b/public/images/new_project/jiantou1.jpg new file mode 100644 index 000000000..208f44244 Binary files /dev/null and b/public/images/new_project/jiantou1.jpg differ diff --git a/public/images/new_project/logo.jpg b/public/images/new_project/logo.jpg new file mode 100644 index 000000000..273b39c07 Binary files /dev/null and b/public/images/new_project/logo.jpg differ diff --git a/public/images/sidebar_bg.png b/public/images/sidebar_bg.png index e41ea789d..cc57f3870 100644 Binary files a/public/images/sidebar_bg.png and b/public/images/sidebar_bg.png differ diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index cbd383151..c80012f6a 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -7,7 +7,125 @@ h2, .wiki h1 {font-size: 20px;} h3, .wiki h2 {font-size: 15px; padding-left: 5px} h4, .wiki h3 {font-size: 13px;} h4 {border-bottom: 1px dotted #bbb;} -/*huang*/ + +/*20150203项目界面优化样式 By: huangjignquan*/ +.project_new{font-size: 15px; padding: 5px;} +.project_new .description{font-size: 12px; color: #ff7450; margin-bottom: 2px;} + +/*20150205新的项目界面 By: huangjingquan*/ +ol,ul,li{ list-style-type:none} +.cl{ clear:both; overflow:hidden; } +a{ text-decoration:none; } +.ml10{ margin-left:10px;} +.ml20{ margin-left:20px;} +.mr10{ margin-right:10px;} +.mb5{ margin-bottom:5px;} +.mb10{ margin-bottom:10px;} +.fl{ float: left;} +.fr{ float:right;} +.project_h4{ font-size:14px; color:#3b3b3b;} + + +.project_content{ width:940px; margin:10px auto;} +.project_left{ float:left;} +.project_right{ width:670px; float:left;background:#fff; padding:10px;} +/*项目信息*/ +.project_info{ background:#fff; padding:10px 8px 0px 10px; width:222px;} +.pr_info_id{ width:137px; color:#5a5a5a; font-size:14px;} +.pr_info_join{} +.pr_info_join a{ color:#fff; display:block; padding:0 5px; margin-right:10px; float:left; height:22px; background:#64bdd9; text-align:center; } +.pr_info_join a:hover{ background:#41a8c8;} +.pr_info_name{ color:#3e4040; font-size:14px; line-height:1.5;} +.pr_info_name a:hover{ color:#3ca5c6;} +.pr_info_score{ font-size:14px; color:#3e4040; } +.pr_info_score a{ color:#ff7143;} +.pr_info_score a:hover{ color:#64bdd9;} +.img_private{ background:url(../images/new_project/img_project.png) 0 0 no-repeat; width:32px; height:16px; color:#fff; font-size:12px; padding-left:7px; } +a.info_foot_num{ font-weight: bold; color:#3ca5c6; } +.pr_info_foot{ color:#7f7f7f; margin-top:5px; font-size:12px } +a:hover.info_foot_num{ color:#2390b2;} + +/*左侧导航*/ +.subNavBox{width:222px; background:#fff;margin:10px 10px 0 0;} +.subNav{border-bottom:solid 1px #e5e3da;cursor:pointer;font-weight:bold;font-size:14px;color:#3ca5c6;line-height:28px;padding-left:10px;background-color:#fff;} +.subNav_jiantou{background:url(../images/jiantou1.jpg) no-repeat;background-position:95% 50%; background-color:#fff;} +.subNav_jiantou:hover{color:#0781b4; } +.currentDd{color:#0781b4; } +.currentDt{background-color:#fff; } +.navContent{display: none;border-bottom:solid 1px #e5e3da; } +.navContent li a{display:block;width:240px;heigh:28px;text-align:center;font-size:12px;line-height:28px;color:#333} +.navContent li a:hover{color:#fff;background-color:#b3e0ee} +.subnav_num{ font-weight:normal; color:#ff7143; font-size:12px;} +a.subnav_green{ background:#28be6c; color:#fff; font-size:12px; font-weight:normal;height:20px; padding:0px 5px; text-align:center; margin-top:5px; margin-left:82px;} +a.ml95{ margin-left:97px; float: right;} +a.ml105{ margin-left:120px;} +a:hover.subnav_green{ background:#14ad5a;} + +/*简介*/ +.project_intro{ width:220px; padding:10px; background:#fff; padding-top:5px; color:#6d6d6d;} +.lg-foot{ border:1px solid #e8eef2; color: #929598; text-align:center; width:220px; height:23px; cursor:pointer;} +.lg-foot:hover{ color:#787b7e;} +/*右侧内容--动态*/ + +.project_r_h{ height:40px; background:#eaeaea; margin-bottom: 5px;} +.project_h2{ background:#64bdd9; color:#fff; height:30px; width:90px; text-align:center; font-weight:normal; padding-top:3px; font-size:16px; padding-top:9px;} +.project_r_box{ border:1px solid #e2e1e1; width:670px; margin-top:10px;} +.project_h3 { color:#646464; font-size:14px; padding:0 10px; border-bottom:1px solid #e2e1e1;} +a.more{ float:right; font-size:12px; font-weight:normal; color:#a9a9a9; margin-top:3px;} +a:hover.more{ color:#64bdd9;} +.project_box_ul{ padding:0 10px;} +.project_box_list{ padding:10px 0; border-bottom:1px dashed #e2e1e1; padding-left:30px; color:#6f6c6c;} +.img_problem{ background:url(../images/img_project.png) 0 -20px no-repeat;} +.img_talk{ background:url(../images/img_project.png) 0 -62px no-repeat;} +.img_ziyuan{ background:url(../images/img_project.png) 0 -115px no-repeat;} +.img_edition{ background:url(../images/img_project.png) 0 -167px no-repeat;} +.project_name{ color:#058c42;} +.project_name:hover{ color:#016f33;} +.project_txt{ color:#0781b4; width:445px; display:block; float:left; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;} +.project_txt02{ color:#0781b4; width:618px; display:block; float:left; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;} +.project_txt:hover{ color:#066e9a;} +.noline{ border-bottom:none;} + +/*弹框*/ +.floatbox{ width:420px; border:3px solid #15bccf; background:#fff; padding:5px;} +.box_close{ display:block; float:right; width:16px; height:16px; background:url(../images/img_floatbox.png) 0 0 no-repeat;} +.box_close:hover{background:url(../images/img_floatbox.png) -22px 0 no-repeat;} +/*邮件邀请*/ +.box_main{ width:345px; margin:0 auto;padding-left:40px;} +.box_h3{ color:#15bccf; text-align:center; font-size:16px;} +.box_p{ color:#404040; margin-bottom:5px;} +.fb_item{ color:#919191; border:1px solid #919191; height:28px; margin-bottom:10px; padding-left:5px; width:290px;} +.icon_addm{ background:url(../images/img_floatbox.png) 0 -33px no-repeat; width:16px; height:16px; display:block; margin:5px 0 0 5px;} +.icon_addm:hover{background:url(../images/img_floatbox.png) 0 -61px no-repeat; } +.icon_removem{ background:url(../images/img_floatbox.png) -22px -33px no-repeat;width:16px; height:16px; display:block; margin:5px 0 0 5px} +.icon_removem:hover{background:url(../images/img_floatbox.png) -22px -61px no-repeat;} +.btn_free{ background:#ff5722; display:block; width:80px; text-align:center; color:#fff; height:26px; padding-top:3px; margin-bottom:10px;} +.btn_free:hover{ background:#d63502;} +/*成员邀请*/ +.invi_search{ width:295px; margin:0 auto;} +.invi_search_input{ border:1px solid #15bccf; width:180px; height:24px; color:#9b9b9b; padding-left:5px; margin-bottom:10px;} +.invi_search_btn{ background:#15bccf; color:#fff; text-align: center; width:40px; height:22px;border:1px solid #15bccf; padding-top:2px; cursor:pointer;} +.invi_search_btn:hover{ background:#0da1b2; border:1px solid #0da1b2;} +/*问题跟踪*/ +.problem_top{ margin:10px 0 ;} +.problem_search_input{ border:1px solid #64bdd9; width:180px; height:24px; color:#9b9b9b; padding-left:5px; margin-bottom:10px;} +.problem_search_btn{ background:#64bdd9; color:#fff; text-align: center; width:40px; height:22px;border:1px solid #64bdd9; padding-top:2px; cursor:pointer;} +.problem_search_btn:hover{ background:#3da1c1; border:1px solid #3da1c1;} +.problem_new_btn{ margin-left:10px; border:1px solid #ff7143; color:#ff7143; width:60px; height:22px; text-align:center; padding-top:2px;} +.problem_new_btn:hover{ background:#ff7143; color:#fff;} +.problem_p{ color:#535252; margin-right: 8px;} +.problem_p span{ color:#ff3e00;} +.problem_pic{ display:block; width:42px; height:42px; padding:3px; border:1px solid #e3e3e3;} + + +/****标签(和资源库的tag样式一致)***/ +.project_Label{ width:220px; padding:10px; background:#fff; margin-top:0px; padding-top:5px;} +a.yellowBtn{ display:inline-block;color:#0d90c3; height:22px;} +.submit{height:21px;border:0; cursor:pointer; background:url(../images/btn.png) no-repeat 0 0;width:42px; margin-top:2px; margin-left:3px; } +.isTxt{background:#fbfbfb url(../images/inputBg.png) repeat-x left top;height:22px;line-height:22px;border:1px solid #c1c1c1;padding:0 5px;color:#666666;} +.re_tag{ width: auto; padding:0 5px; height:22px; border:1px solid #f8df8c; background:#fffce6; margin-right:10px; } +.re_tag a{ color:#0d90c3;} +.tag_h span,.tag_h a{ margin-bottom:0px;} /*企业版样式*/ .content_syqy{ width:940px; height:400px; border:1px;} .content_syqy .list{ font-size:14px; font-weight:normal; margin-left:10px; font-weight:bold; padding-top:10px} @@ -51,7 +169,7 @@ a.syqy_wenzi{ padding-bottom:10px; border:1px solid red;} width: 940px; line-height: 1.2em; padding-top: 6px; - margin-bottom: 10px; + } div.position-f{ @@ -850,10 +968,7 @@ ul.user_course_sort li{list-style-type:none; } .user_tags{ - padding-top: 5px; - padding-bottom: 5px; - padding-left: 12px; - padding-right: 12px; + padding:0px; } .tool{ @@ -1690,7 +1805,7 @@ div.issue table.attributes td {width:28%;} #issue_tree td.checkbox, #relations td.checkbox {display:none;} #relations td.buttons {padding:0;} -fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; } +fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; margin-top: 5px; } fieldset.collapsible>legend { padding-left: 16px; background:url(../images/arrow_collapsed.png) no-repeat 0% 40%; cursor:pointer; } fieldset.collapsible.collapsed>legend { background-image: url(../images/arrow_expanded.png); } diff --git a/public/stylesheets/project.css b/public/stylesheets/project.css new file mode 100644 index 000000000..2f249f4aa --- /dev/null +++ b/public/stylesheets/project.css @@ -0,0 +1,182 @@ +@charset "utf-8"; +/* CSS Document */ +body{ font-size:12px; font-family:"微软雅黑","宋体"; line-height:1.9; background:#eaebec; font-style:normal;} +div,html,img,ul,li,p,body,h1,h2,h3,h4,p,a,table,tr,td,fieldset,input,span,ol{ margin:0; padding:0;} +div,img,tr,td,table{ border:0;} +table,tr,td{border:0;cellspacing:0; cellpadding:0;} +ol,ul,li{ list-style-type:none} +.cl{ clear:both; overflow:hidden; } +a{ text-decoration:none; cursor:pointer;} +.ml10{ margin-left:10px;} +.ml20{ margin-left:20px;} +.mr10{ margin-right:10px;} +.mb5{ margin-bottom:5px;} +.mb10{ margin-bottom:10px;} +.fl{ float: left;} +.fr{ float:right;} +.project_h4{ font-size:14px; color:#3b3b3b;} + + +.project_content{ width:940px; margin:10px auto;} +.project_left{ float:left;} +.project_right{ width:670px; float:left;background:#fff; padding:10px;} +/*项目信息*/ +.project_info{ background:#fff; padding:10px;width:222px; padding-right:8px;} +.pr_info_id{ width:137px; color:#5a5a5a; font-size:14px;} +.pr_info_join{} +.pr_info_join a{ color:#fff; display:block; padding:0 5px; margin-right:10px; float:left; height:22px; background:#64bdd9; text-align:center; } +.pr_info_join a:hover{ background:#41a8c8;} +a.pr_info_name{ color:#3e4040; font-size:14px; line-height:1.5;} +a:hover.pr_info_name{ color:#3ca5c6;} +.pr_info_score{ font-size:14px; color:#3e4040; } +.pr_info_score a{ color:#ff7143;} +.pr_info_score a:hover{ color:#64bdd9;} +.img_private{ background:url(../images/img_project.png) 0 0 no-repeat; width:32px; height:16px; color:#fff; font-size:12px; padding-left:7px; } +a.info_foot_num{ font-weight: bold; color:#3ca5c6; } +.pr_info_foot{ color:#7f7f7f; margin-top:5px; } +a:hover.info_foot_num{ color:#2390b2;} + +/*左侧导航*/ +.subNavBox{width:240px; background:#fff;margin:10px 10px 0 0;} +.subNav{border-bottom:solid 1px #e5e3da;cursor:pointer;font-weight:bold;font-size:14px;color:#3ca5c6;line-height:28px;padding-left:10px;background-color:#fff;} +.subNav_jiantou{background:url(../images/jiantou1.jpg) no-repeat;background-position:95% 50%; background-color:#fff;} +.subNav_jiantou:hover{color:#0781b4; } +.currentDd{color:#0781b4; } +.currentDt{background-color:#fff; } +.navContent{display: none;border-bottom:solid 1px #e5e3da; } +.navContent li a{display:block;width:240px;heigh:28px;text-align:center;font-size:12px;line-height:28px;color:#333} +.navContent li a:hover{color:#fff;background-color:#b3e0ee} +.subnav_num{ font-weight:normal; color:#ff7143; font-size:12px;} +a.subnav_green{ background:#28be6c; color:#fff; font-size:12px; font-weight:normal;height:20px; padding:0px 5px; text-align:center; margin-top:5px; margin-left:82px;} +a.ml95{ margin-left:97px;} +a.ml105{ margin-left:120px;} +a:hover.subnav_green{ background:#14ad5a;} + +/*简介*/ +.project_intro{ width:220px; padding:10px; background:#fff; margin-top:10px; padding-top:5px; color:#6d6d6d;} +.lg-foot{ border:1px solid #e8eef2; color: #929598; text-align:center; width:220px; height:23px; cursor:pointer;} +.lg-foot:hover{ color:#787b7e;} +/****标签(和资源库的tag样式一致)***/ +.project_Label{ width:220px; padding:10px; background:#fff; margin-top:10px; padding-top:5px;} +a.yellowBtn{ display:inline-block;color:#0d90c3; height:22px;} +.submit{height:21px;border:0; cursor:pointer; background:url(../images/btn.png) no-repeat 0 0;width:42px; margin-top:2px; margin-left:3px; } +.isTxt{background:#fbfbfb url(../images/inputBg.png) repeat-x left top;height:22px;line-height:22px;border:1px solid #c1c1c1;padding:0 5px;color:#666666;} +.re_tag{ width: auto; padding:0 5px; height:22px; border:1px solid #f8df8c; background:#fffce6; margin-right:5px; } +.re_tag a{ color:#0d90c3;} +.tag_h span,.tag_h a{ margin-bottom:5px;} +/*右侧内容--动态*/ +.project_r_h{ width:670px; height:40px; background:#eaeaea;} +.project_h2{ background:#64bdd9; color:#fff; height:37px; width:90px; text-align:center; font-weight:normal; padding-top:3px; font-size:16px;} +.project_r_box{ border:1px solid #e2e1e1; width:670px; margin-top:10px;} +.project_h3 { color:#646464; font-size:14px; padding:0 10px; border-bottom:1px solid #e2e1e1;} +a.more{ float:right; font-size:12px; font-weight:normal; color:#a9a9a9; margin-top:3px;} +a:hover.more{ color:#64bdd9;} +.project_box_ul{ padding:0 10px;} +.project_box_list{ padding:10px 0; border-bottom:1px dashed #e2e1e1; padding-left:30px; color:#6f6c6c;} +.img_problem{ background:url(../images/img_project.png) 0 -20px no-repeat;} +.img_talk{ background:url(../images/img_project.png) 0 -62px no-repeat;} +.img_ziyuan{ background:url(../images/img_project.png) 0 -115px no-repeat;} +.img_edition{ background:url(../images/img_project.png) 0 -167px no-repeat;} +.project_name{ color:#058c42;} +.project_name:hover{ color:#016f33;} +.project_txt{ color:#0781b4; width:445px; display:block; float:left; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;} +.project_txt02{ color:#0781b4; width:618px; display:block; float:left; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;} +.project_txt:hover{ color:#066e9a;} +.noline{ border-bottom:none;} + +/*弹框*/ +.floatbox{ width:420px; border:3px solid #15bccf; background:#fff; padding:5px;} +.box_close{ display:block; float:right; width:16px; height:16px; background:url(../images/img_floatbox.png) 0 0 no-repeat;} +.box_close:hover{background:url(../images/img_floatbox.png) -22px 0 no-repeat;} +/*邮件邀请*/ +.box_main{ width:345px; margin:0 auto;} +.box_h3{ color:#15bccf; text-align:center; font-size:16px;} +.box_p{ color:#404040; margin-bottom:5px;} +.fb_item{ color:#919191; border:1px solid #919191; height:28px; margin-bottom:10px; padding-left:5px; width:290px;} +.icon_addm{ background:url(../images/img_floatbox.png) 0 -33px no-repeat; width:16px; height:16px; display:block; margin:5px 0 0 5px;} +.icon_addm:hover{background:url(../images/img_floatbox.png) 0 -61px no-repeat; } +.icon_removem{ background:url(../images/img_floatbox.png) -22px -33px no-repeat;width:16px; height:16px; display:block; margin:5px 0 0 5px} +.icon_removem:hover{background:url(../images/img_floatbox.png) -22px -61px no-repeat;} +.btn_free{ background:#ff5722; display:block; width:80px; text-align:center; color:#fff; height:26px; padding-top:3px; margin-bottom:10px;} +.btn_free:hover{ background:#d63502;} +/*成员邀请*/ +.invi_search{ width:230px; margin:0 auto;} +.invi_search_input{ border:1px solid #15bccf; width:180px; height:24px; color:#9b9b9b; padding-left:5px; margin-bottom:10px;} +.invi_search_btn{ background:#15bccf; color:#fff; text-align: center; width:40px; height:22px;border:1px solid #15bccf; padding-top:2px; cursor:pointer;} +.invi_search_btn:hover{ background:#0da1b2; border:1px solid #0da1b2;} +/*问题跟踪*/ +.problem_top{ margin:10px 0 ;} +.problem_search_input{ border:1px solid #64bdd9; width:180px; height:24px; color:#9b9b9b; padding-left:5px; margin-bottom:10px;} +.problem_search_btn{ background:#64bdd9; color:#fff; text-align: center; width:40px; height:22px;border:1px solid #64bdd9; padding-top:2px; cursor:pointer;} +.problem_search_btn:hover{ background:#3da1c1; border:1px solid #3da1c1;} +.problem_new_btn{ margin-left:10px; border:1px solid #ff7143; color:#ff7143; width:60px; height:22px; font-size:12px; text-align:center; padding-top:2px;} +.problem_new_btn:hover{ background:#ff7143; color:#fff;} +.problem_p{ color:#535252; margin-top:5px;} +.problem_p span{ color:#ff3e00;} +.problem_pic{ display:block; width:42px; height:42px; padding:3px; border:1px solid #e3e3e3; margin-top:5px;} +.problem_pic:hover{border:1px solid #64bdd9;} +.problem_txt{ width:610px; margin-left:10px; color:#777777;} +.problem_name{ color:#ff5722;} +.problem_name:hover{ color:#d33503;} +.problem_tit{ color:#0781b4; width:430px; display:block; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;} +.problem_tit:hover{ color:#09658c; } +.problem_main{ border-bottom:1px dashed #d4d4d4; padding-bottom:10px; margin-bottom:10px;} +/****翻页***/ +.wlist{} +.wlist a{ float:right; border:1px solid #64bdd9; padding:0 5px; margin-left:3px; color:#64bdd9;} +.wlist a:hover{border:1px solid #64bdd9; background-color:#64bdd9; color:#fff; text-decoration:none;} +.wlist_select a { background-color:#48aac9; color:#fff;} +/****讨论区***/ +.talk_top{ margin:10px 0; font-size:14px; color:#4c4c4c;} +.talk_top span{ color:#ff7143;} +.talk_txt{ width:460px; margin-left:10px; color:#676868;} +.talk_up{ color:#f63c00;} +.talk_pic{width:32px; height:32px; padding:2px;} +.talk_btn{ background:#64bdd9; width:50px; height:22px; color:#fff; text-align:center; margin-top:12px; padding-top:2px;} +.talk_btn:hover{ background:#2a9dc1;} +/****讨论区内页***/ +.mt0{ margin-top:0px;} +.talk_info{ color:#7d7d7d; margin-left:50px; margin-top:10px;} +.talk_edit{ color:#426e9a; margin-right:5px;} +.talk_edit:hover{ color:#ff5722;} +.talk_reply { background:#eeeeee; padding:10px; margin-bottom:10px;} +.talk_text{ border:1px solid #64bdd9; width:600px; color:#7d7d7d; padding:5px; margin:10px 0 10px 50px;} +/****资源库***/ +.f_l{ float:left;} +.f_r{ float:right;} +.resource a{ text-align:center;} +.b_lblue{ background:#64bdd9;} +.b_dblue{ background:#55a1b9; cursor:pointer;} +.f_b{ font-weight: bold;} +.c_blue{ color:#64bdd9;} +.c_grey{ color:#999999;} +.c_grey02{ color:#666666;} +.f_14{ font-size:14px;} +.c_dblue{ color:#3e6d8e;} +.w90{width:90px;} +.ml10{margin-left:10px;} +.resource{ width:670px;} +.re_top{width:660px; height:40px; background:#eaeaea; padding:5px;} +.re_top input{ float:left;} +.re_search{ margin-top:7px; margin-left:5px;} +.re_schbox{ width:240px; height:24px; border:1px solid #64bdd9; color:#666666;} +.re_schbtn{ width:60px; height:26px; color:#fff; margin-right:5px; border:none; margin-left:0px; } +a.re_fabu { display:block; width:90px; height:35px; font-size:14px; color:#fff; text-align:center; padding-top:5px; } +a:hover.re_fabu{background:#55a1b9;} +.re_con{ margin:5px; width:665px;} +.re_con_top{color:#494949; } +.re_con_top span{ color:#999999; font-weight:bold;} +a.re_select{ display:block; width:88px; height:22px; border:1px solid #ff9900; color:#ff9900; margin-left:10px;} +a:hover.re_select{ background:#ff9900; color:#fff; text-decoration:none;} +.re_open{display:block; width:46px; height:22px; border:1px solid #64bdd9; color:#64bdd9; margin-left:10px;} +a:hover.re_open{ background:#64bdd9; color:#fff; text-decoration:none;} +a.re_de{ color:#6883b6; margin-left:15px;} +.re_con_box{ border-bottom:1px dashed #dadada; padding-bottom:10px; margin-bottom:10px;} +/****资源库***/ +.setting{ background:url(../images/setting.jpg) 0 0 no-repeat; width:670px; height:443px;} + + + + + + diff --git a/public/themes/redpenny-master/stylesheets/application.css b/public/themes/redpenny-master/stylesheets/application.css index 31746802e..88506989c 100644 --- a/public/themes/redpenny-master/stylesheets/application.css +++ b/public/themes/redpenny-master/stylesheets/application.css @@ -28,16 +28,16 @@ /*by young*/ #header > h1 { - /*background: url(../images/logo.gif) no-repeat 40px 45%;*/ + /*background: url(../images/logo.gif) no-repeat 40px 45%;*/ padding: 28px 130px; } /*end*/ -@media only screen and (-webkit-min-device-pixel-ratio: 2), +@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) { #header > h1 { /*background-image:ol url(../images/logo-2x.png);*/ - background-size: 43px 30px; + background-size: 43px 30px; } } #body @@ -372,7 +372,7 @@ color: #000000; } #top-menu ul -{ +{ margin-left: 0px; /*add by huang*/ padding-right: 1px; } @@ -382,7 +382,7 @@ color: #000000; /*by young*/ padding-top: 10px; color:#fff; - font-weight: bold; + font-weight: bold; line-height:21px; margin-right:1px } @@ -407,7 +407,7 @@ color: #000000; } #content,#main.nosidebar #content -{ +{ /*by young*/ /* background:#fff; /*主题框架背景yanse*/ /* border-right:1px solid #bbb; @@ -423,14 +423,14 @@ color: #000000; { width:693px; float:right; - background-color: #FFFFFF; + background-color: #FFFFFF; } #content_tag { width:640px; float:right; - background-color: #FFFFFF; + background-color: #FFFFFF; } #content .wiki img @@ -451,10 +451,10 @@ color: #000000; { width:240px; height: auto; - background:#fff; + background:#fff; margin-bottom: 30px; border-right:1px solid #f0c082; - overflow:auto; + overflow:auto; -moz-box-shadow:#C6E9F1 1px 1px 2px; -webkit-box-shadow:2px 2px 0px -2px #C6E9F1; } @@ -479,7 +479,7 @@ color: #000000; font-weight:600 } -/*end*/ +/*end*/ #sidebar { @@ -624,38 +624,38 @@ padding:4px 8px 4px;8*/ /*by young*/ #top-menu li a.home:before { font-family: Fontawesome; - /* content: "\f015 ";*/ + /* content: "\f015 ";*/ } #top-menu li a.my-page:before { font-family: Fontawesome; - /* content: "\f0c9 ";*/ + /* content: "\f0c9 ";*/ } #top-menu li a.projects:before { font-family: Fontawesome; - content: "\f0c2 "; + content: "\f0c2 "; - /* content: "\f0c2 ";*/ + /* content: "\f0c2 ";*/ } #top-menu li a.administration:before { font-family: Fontawesome; - content: "\f11b "; + content: "\f11b "; - /* content: "\f11b ";*/ + /* content: "\f11b ";*/ } #top-menu li a.help:before { font-family: Fontawesome; - content: "\f0e9 "; + content: "\f0e9 "; - /* content: "\f0e9 ";*/ + /* content: "\f0e9 ";*/ } @@ -776,7 +776,7 @@ tr.priority-4 a tr.odd.priority-4 td,tr.even.priority-4 td { - border-color:#ffb4b4 + border-color:#ffb4b4 } tr.odd.priority-3,table.list tbody tr.odd.priority-3:hover @@ -990,7 +990,7 @@ html > body #content /*min-height:auto !important;*/ } -pre,code,.line-code +pre,code,.line-code { font-family:'Source Code Pro' } @@ -1033,7 +1033,7 @@ pre,code,.line-code /* * Added by Nie guanghui. - * + * * Designed for project#index. */ @@ -1276,10 +1276,10 @@ div.project-block img.avatar2 { /* * Added by Nie. - * - * + * + * * Designed for user#index. - */ + */ div.well { color: black; @@ -1428,7 +1428,7 @@ div.pagination_new { font-size: 10px; } -div.pagination_new ul { +div.pagination_new ul { border-radius: 2px 2px 2px 2px; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05); list-style: disc outside none; @@ -1567,7 +1567,7 @@ div.autoscroll li.id a { div.autoscroll li.subject { margin:0px 60px 0px 0px; - font-size: 13px; + font-size: 13px; line-height: 1.3; word-wrap: break-word; } @@ -1699,8 +1699,8 @@ input.enterprise[type="button"] { font-size: 12px; color: #fff; padding: 0px; - background: #15bccf; - border: 1px solid #15bccf; + background: #15bccf; + border: 1px solid #15bccf; } input.enterprise[type="submit"] { padding-bottom: 5px; @@ -1710,8 +1710,8 @@ input.enterprise[type="submit"] { font-size: 12px; color: #fff; padding: 0px; - background: #15bccf; - border: 1px solid #15bccf; + background: #15bccf; + border: 1px solid #15bccf; } /*end*/ @@ -1768,13 +1768,13 @@ a.bid_user { a.bid_course{ vertical-align:middle; - alignment-adjust:middle; + alignment-adjust:middle; color: #FFFFFF; /*width: 60px;*/ border-radius: 3px; background-color: #15bccf; - margin-left: 10px; - font-size: 12px; + margin-left: 10px; + font-size: 12px; } a.bids_user { @@ -1834,8 +1834,8 @@ div.tableline{ background-color: #ACAEB1; } -/* 统一按钮风格 - * +/* 统一按钮风格 + * * @2013-09-27 /*added by bai*/ input[type="submit"], .button_submit { @@ -1846,7 +1846,7 @@ div.tableline{ font-size: 12px; color: #fff; padding: 3px 9px; - background: #15bccf; + background: #15bccf; border-radius: 4px; border: 1px solid #15bccf; box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2), 0px 0px 2px rgb(255, 255, 255) inset; @@ -1866,9 +1866,9 @@ div.tableline{ font-size: 12px; color: #fff; padding: 0px; - background: #15bccf; - border: 1px solid #15bccf; - } + background: #15bccf; + border: 1px solid #15bccf; + } #button_width_auto { padding-bottom: 5px; @@ -1878,7 +1878,7 @@ div.tableline{ font-size: 12px; color: #fff; padding: 0px; - background: #15bccf; + background: #15bccf; border-radius: 4px; border: 1px solid #15bccf; box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2), 0px 0px 2px rgb(255, 255, 255) inset; @@ -1891,8 +1891,8 @@ div.tableline{ /*added by bai*/ a.font-user-color{ color: #FFFFFF; - width:90px; - background-color: #15BCCF; + width:90px; + background-color: #15BCCF; padding: 0px; margin: 0px; border-radius:5px; @@ -1903,8 +1903,8 @@ div.tableline{ a.font-user-after-color{ color: #FFFFFF; - width:90px; - background-color: #15BCCF; + width:90px; + background-color: #15BCCF; border-radius:5px; margin-left:13px; height:25px; @@ -2072,7 +2072,7 @@ span.time{ } .message-notes{ - max-width: 80%; + max-width: 80%; word-wrap: break-word; } @@ -2082,8 +2082,8 @@ ul.messages-for-user-reply li { } .respond-form{ - display: none; - width: 87%; + display: none; + width: 87%; margin: auto; clear: both; } @@ -2118,14 +2118,14 @@ ul.messages-for-user-reply li { .bonus { color: #ed8924; - font-size: 13px; + font-size: 13px; } .bid_description { - width: 90%; - float: left; - margin: 0; - padding: 0; + width: 90%; + float: left; + margin: 0; + padding: 0; } #loggedas ul{ @@ -2145,7 +2145,7 @@ ul.messages-for-user-reply li { cursor: pointer; } #loggedas ul:first-child { - border-top: 1px solid #12A7B8; + border-top: 1px solid #12A7B8; } #loggedas li.last_child { diff --git a/spec/models/phone_app_version_spec.rb b/spec/models/phone_app_version_spec.rb new file mode 100644 index 000000000..312833a42 --- /dev/null +++ b/spec/models/phone_app_version_spec.rb @@ -0,0 +1,5 @@ +require 'spec_helper' + +describe PhoneAppVersion do + pending "add some examples to (or delete) #{__FILE__}" +end