From be08a9afbb54e3a186743265a020963b815ed528 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Wed, 15 Apr 2015 11:42:23 +0800 Subject: [PATCH 1/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9application.css=E4=B8=AD?= =?UTF-8?q?=E9=94=99=E8=AF=AFcss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/stylesheets/application.css | 48 +++++++++++++++--------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 6ff013740..b42efdabd 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -59,7 +59,7 @@ 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{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; } @@ -96,10 +96,10 @@ a.more{ float:right; font-size:12px; font-weight:normal; color:#a9a9a9; margin-t 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;} +.img_problem{ background:url(../images/new_project/img_project.png) 0 -20px no-repeat;} +.img_talk{ background:url(../images/new_project/img_project.png) 0 -62px no-repeat;} +.img_ziyuan{ background:url(../images/new_project/img_project.png) 0 -115px no-repeat;} +.img_edition{ background:url(../images/new_project/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;} @@ -225,7 +225,7 @@ a:hover.upload_btn_grey{background:#8a8a8a;} .upload_btn{width:80px; height:26px;} .upload_check{ margin-top:4px;} /****其他未更新页面***/ -.setting{ background:url(../images/setting.jpg) 0 0 no-repeat; width:670px; height:443px;} +.setting{ /*background:url(../images/setting.jpg) 0 0 no-repeat;*/ width:670px; height:443px;} .newproblem{} @@ -640,8 +640,8 @@ span.forums-avatar-right{ /*added by bai*/ .user_underlinescore{ - margin:1; - padding:1; + margin: 1px; + padding: 1px; width:700px; height:1px; background-color:#15bccf; @@ -889,7 +889,7 @@ ul.tool li{list-style-type:none; font-size: 16px; color: #5c5c5c; text-align: justify; - text-justify: inter-ideograph; + /*text-justify: inter-ideograph; */ } .inf_user_image{ @@ -915,7 +915,7 @@ ul.tool li{list-style-type:none; font-size: 20px; color: #FF0000; text-align: justify; - text-justify: inter-ideograph; + /*text-justify: inter-ideograph; */ } @@ -1105,8 +1105,8 @@ ul.user_course_sort li{list-style-type:none; background-color:#adb6c5; } .user_underline{ - margin:1; - padding:1; + margin:1px; + padding:1px; width:240px; height:1px; background-color:#15bccf; @@ -1116,8 +1116,8 @@ ul.user_course_sort li{list-style-type:none; .user_enterprise_underline{ - margin:1; - padding:1; + margin:1px; + padding:1px; width:240px; height:1px; background-color:#ac344f; @@ -1125,16 +1125,16 @@ ul.user_course_sort li{list-style-type:none; } .user_underline2{ - margin:1; - padding:1; + margin:1px; + padding:1px; width:240px; height:1px; background-color:#c6e9fe; overflow:hidden } .user_underline3{ - margin:1; - padding:1; + margin: 1px; + padding:1px; width:120px; height:1px; background-color:#c6e9fe; @@ -1142,8 +1142,8 @@ ul.user_course_sort li{list-style-type:none; margin-top: 10px; } .homepage_underline{ - margin:1; - padding:1; + margin:1px; + padding:1px; width:240px; height:1px; background-color:#c6e9fe; @@ -1742,7 +1742,7 @@ margin-left:-10px; .table_font{font-size:20px;color:#DD0000} .registerd_box{padding-left: 600px;} -.project_table{margin:0,0,0,0;margin-bottom:10px;background-color:#0ee;height:50px;} +.project_table{margin:0;margin-bottom:10px;background-color:#0ee;height:50px;} .project_header_tag{float:right; color:#000000;} .project_right_tag{margin-top:44%;} @@ -2347,7 +2347,7 @@ p.progress-info {clear: left; font-size: 80%; margin-top:-4px; color:#777;} #roadmap table.progress td { height: 1.2em; } /***** Tabs *****/ #content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;} -#content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; font-family: 14px; width:2000px; border-bottom: 1px solid #15BCCF;} +#content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; width:2000px; border-bottom: 1px solid #15BCCF;} #content .tabs ul li { float:left; list-style-type:none; @@ -3062,8 +3062,8 @@ div.repos_explain{ /* new linchun compitition */ .contest_underline{ - margin:1; - padding:1; + margin:1px; + padding:1px; width:900px; height:0.5px; background-color:#aaa; From e5791576048001155f124ddebb01090c4c0ffc3d Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Wed, 15 Apr 2015 14:29:35 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E6=9B=B4=E6=96=B0public.css=20=E8=AF=BE?= =?UTF-8?q?=E7=A8=8B=E8=AE=A8=E8=AE=BA=E5=8C=BA=E6=96=87=E4=BB=B6=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=92=8Ceditor=E9=9D=A0=E7=9A=84=E5=A4=AA=E8=BF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/messages/_form_course.html.erb | 4 +- public/images/new_project/public_icon.png | Bin 0 -> 4498 bytes public/stylesheets/public.css | 105 ++++++++++++++++++---- 3 files changed, 90 insertions(+), 19 deletions(-) create mode 100644 public/images/new_project/public_icon.png diff --git a/app/views/messages/_form_course.html.erb b/app/views/messages/_form_course.html.erb index 54a62144a..9324ea59e 100644 --- a/app/views/messages/_form_course.html.erb +++ b/app/views/messages/_form_course.html.erb @@ -56,8 +56,8 @@