From 132fb53dfdb6fba790e1af9cd875ba4d257d1d3b Mon Sep 17 00:00:00 2001
From: xkurnx
Date: Fri, 9 May 2014 20:55:27 +0700
Subject: [PATCH 01/21] merging part 1
---
.../config/script-register.json | 57 +-
.../css/challenge-detail-software.css | 2181 +++++++++--------
.../tcs-responsive/css/register-login.css | 11 +-
wp-content/themes/tcs-responsive/footer.php | 12 +-
.../themes/tcs-responsive/js/scripts.js | 56 +-
.../tcs-responsive/page-challenge-details.php | 175 +-
6 files changed, 1307 insertions(+), 1185 deletions(-)
diff --git a/wp-content/themes/tcs-responsive/config/script-register.json b/wp-content/themes/tcs-responsive/config/script-register.json
index 69da07dc..4366bc04 100644
--- a/wp-content/themes/tcs-responsive/config/script-register.json
+++ b/wp-content/themes/tcs-responsive/config/script-register.json
@@ -25,8 +25,7 @@
"moment-timezone.min.js",
"moment-data.js",
"jquery.qtip.min.js",
- "jquery.jqtransform.js",
- "reset-password.js"
+ "jquery.jqtransform.js"
],
"css": [
"blog.css",
@@ -45,9 +44,7 @@
"challenge-detail-software.css",
"challenge-results.css",
"jqtransform.css",
- "challenge-submit.css",
- "password-recovery.css",
- "challenge-tags.css"
+ "challenge-submit.css"
]
},
"challengelanding": {
@@ -83,9 +80,7 @@
"register-login.css",
"blog.css",
"style-challenges.css",
- "jquery.qtip.min.css",
- "chosen.min.css",
- "challenge-tags.css"
+ "jquery.qtip.min.css"
]
},
@@ -186,18 +181,62 @@
"jqtransform.css",
"challenge-submit.css"
]
+ },
+ "challengedetails": {
+ "name": "challengedetails",
+ "js": [
+ "jquery.bxslider.js",
+ "jquery.easing.1.3.js",
+ "jquery.mousewheel.js",
+ "raphael-min.js",
+ "jquery.carousel.js",
+ "jquery.customSelect.min.js",
+ "swipe.js",
+ "jquery.inputhints.js",
+ "scripts.js",
+ "register-login.js",
+ "init-header.js",
+ "challenge-detail-software.js",
+ "challenge-result.js",
+ "jquery.jscrollpane.min.js",
+ "jquery.column-1.0.js",
+ "moment.min.js",
+ "moment-timezone.min.js",
+ "moment-data.js",
+ "jquery.qtip.min.js",
+ "jquery.jqtransform.js",
+ "Selectyze.jquery.js",
+ "jquery-migrate.min.js"
+ ],
+ "css": [
+ "base.css",
+ "style.css",
+ "style-profile.css",
+ "base-responsive.css",
+ "style-responsive.css",
+ "register-login.css",
+ "community-landing.css",
+ "challenge-detail-software.css",
+ "challenge-results.css",
+ "jqtransform.css",
+ "challenge-submit.css",
+ "jquery.jscrollpane.css",
+ "Selectyze.jquery.css"
+ ]
}
},
"templates": {
"page-challenges.php": "challenges",
"page-challenges-active.php": "challengelanding",
+ "page-challenges-bugrace.php": "challengelanding",
+ "page-challenges-data.php": "challengelanding",
"page-challenges-review-details.php": "challengelanding",
"page-challenges-review.php": "challengelanding",
"page-challenges-past.php": "challengelanding",
- "page-challenges-upcoming.php": "challengelanding",
"page-terms-list.php": "challengeterms",
"page-terms-details.php": "challengeterms",
"page-challenge-submit.php": "challengesubmit",
+ "page-challenge-details.php": "challengedetails",
"default": "default"
}
}
diff --git a/wp-content/themes/tcs-responsive/css/challenge-detail-software.css b/wp-content/themes/tcs-responsive/css/challenge-detail-software.css
index 4614089d..7671b936 100644
--- a/wp-content/themes/tcs-responsive/css/challenge-detail-software.css
+++ b/wp-content/themes/tcs-responsive/css/challenge-detail-software.css
@@ -114,8 +114,8 @@
}
.challenge-detail .grid-1-3 {
- float: right;
- width: 282px;
+ float: right;
+ width: 282px;
}
.challenge-detail .currentTab-checkpoints .grid-1-3 {
@@ -126,7 +126,6 @@
position: relative;
width: 283px;
}
-
#stepBox .rightColumn .nextBox .nextBoxContent,
#stepBox .rightColumn .nextBox .allDeadlineNextBoxContent {
background: #01ccff;
@@ -266,24 +265,48 @@
.challenge-detail .tabNav li:first-child {
border-left: 0;
}
+ .challenge-detail .tabNav li:first-child{
+ border-left: 0;
+ }
+ .challenge-detail .tabNav .link{
+ margin: 0 10px;
+ }
+ .challenge-detail .tabNav .link.active,
+ .challenge-detail .tabNav .link.active:hover{
+ color: #666;
+ cursor: default;
+ }
+.firstTabNav ul{
+ width: 236px;
+}
.challenge-detail .tabNav .link {
margin: 0 10px;
}
+.secondTabNav ul{
+ width: 180px;
+}
-.challenge-detail .tabNav .link.active,
-.challenge-detail .tabNav .link.active:hover {
- color: #666;
- cursor: default;
-
+.challenge-detail .tableWrap h1{
+ color: #00aeff;
+ font-size:16px;
+ line-height:22px;
+ font-weight: bold;
+ border-bottom: 1px solid #e7e7e7;
+ margin-bottom:10px;
+ padding-bottom:8px;
}
-.firstTabNav ul {
- width: 236px;
+.challenge-detail.develop .tableWrap h1{
+ color: #228400;
}
-.secondTabNav ul {
- width: 180px;
+.challenge-detail .tableWrap h2{
+ color: #000;
+ font-size:14px;
+ line-height:22px;
+ font-weight: bold;
+ margin-bottom:10px;
}
.challenge-detail .tableWrap h1 {
@@ -296,6 +319,12 @@
padding-bottom: 8px;
}
+.challenge-detail .tableWrap p{
+ color: #797979;
+ font-size:13px;
+ line-height:18px;
+ margin-bottom:15px;
+}
.challenge-detail.develop .tableWrap h1 {
color: #228400;
}
@@ -333,7 +362,6 @@
margin-bottom: 20px;
width: auto;
color: #797979;
- overflow: hidden;
}
.challenge-detail .tableWrap ul li {
@@ -914,6 +942,21 @@
.challenge-detail .currentTab-checkpoints .topRightTitleAlt {
display: none;
}
+ #stepBox .rightColumn{
+ float:right;
+ }
+ #stepBox .middleColumn{
+ display:block;
+ clear:both;
+ margin-top:10px;
+ }
+ #mainContent.splitLayout .sideStream{
+ margin-bottom:20px;
+ width:100%!important;
+ }
+ .scroll-pane{
+ width:100%;
+ }
.challenge-detail .topRightTitle a {
float: none;
@@ -921,16 +964,67 @@
margin: 0 auto;
width: 180px;
}
-
- #stepBox .rightColumn {
- float: right;
- }
-
- #stepBox .middleColumn {
- display: block;
- clear: both;
- margin-top: 10px;
- }
+ #stepBox .leftColumn {
+ width: 128px;
+ }
+ .btnRegisterDeac, .btnSubmit{
+ width: 130px;
+ }
+ #stepBox .rightColumn,
+ #stepBox .rightColumn .nextBox,
+ #stepBox .rightColumn .deadlineBox{
+ width:auto;
+ }
+ #stepBox .rightColumn .nextBox .nextBoxContent,
+ #stepBox .rightColumn .nextBox .allDeadlineNextBoxContent{
+ padding: 5px;
+ }
+ #stepBox .rightColumn .nextBox .icoTime {
+ background: url("../i/ico-time-phone.png") no-repeat 0 10px;
+ height: 43px;
+ padding-left: 35px;
+ padding-top: 10px;
+ }
+ .challenge-detail.develop #stepBox .rightColumn .nextBox .icoTime {
+ background: url("../i/ico-time-develop-phone.png") no-repeat 0 10px;
+ }
+ #stepBox .rightColumn .nextBox .nextDTitle {
+ font-size: 16px;
+ margin-bottom: 0px;
+ }
+
+ #stepBox .rightColumn .nextBox .CEDate {
+ font-size: 14px;
+ margin-bottom: 5px;
+ }
+
+ #stepBox .rightColumn .nextBox .timeLeft {
+ font-size: 20px;
+ line-height: 30px;
+ margin-left: 3px;
+ }
+ #stepBox .rightColumn .deadlineBox .allDeadlinedeadlineBoxContent,
+ #stepBox .rightColumn .deadlineBox .nextDeadlinedeadlineBoxContent {
+ padding: 5px;
+ }
+ #stepBox .rightColumn .nextBox .timeLeft small{
+ margin-right:2px;
+ }
+ #stepBox .rightColumn .deadlineBox .deadlineBoxContent a{
+ font-size:13px;
+ }
+ #stepBox .rightColumn .nextBox .allDeadlineNextBoxContent p {
+ font-size: 10px;
+ line-height:12px;
+ margin-bottom: 10px;
+ }
+ #stepBox .rightColumn .nextBox .allDeadlineNextBoxContent label {
+ display: block;
+ width: 70px;
+ }
+ #mainContent.splitLayout .mainStream{
+ width:100%;
+ }
#mainContent.splitLayout .sideStream {
margin-bottom: 20px;
@@ -1036,6 +1130,11 @@
}
.columnSideBar .slider .bx-controls .bx-pager-item {
+ .columnSideBar .slider .bx-controls {
+ margin: 0 0 10px 0;
+ text-align: center;
+ }
+ .columnSideBar .slider .bx-controls .bx-pager-item{
display: inline;
text-align: center;
overflow: hidden;
@@ -1103,142 +1202,162 @@
background-position: 0 -20px;
}
- .btnRegisterDeac, .btnSubmit {
- font-size: 11px !important;
- width: 118px !important;
- }
-
- .btnRegisterDeac strong,
- .btnSubmit strong {
- width: 72%;
- }
-
- .scroll-pane {
- height: 100px !important;
- width: 100%;
- }
-
- #stepBox .middleColumn table .realibilityPara {
- text-transform: capitalize !important;
- }
-
- #stepBox .middleColumn table .realibilityPara span,
- #stepBox .middleColumn table .drPointsPara span {
- display: block;
- }
-
- #stepBox .rightColumn .nextBox .allDeadlineNextBoxContent {
- width: 155px;
- height: 100px;
- }
-
- #stepBox .rightColumn .nextBox .allDeadlineNextBoxContent p {
- float: left;
- width: 49%;
- padding-right: 1%;
- }
-
- #stepBox .rightColumn .nextBox .allDeadlineNextBoxContent p.moveRight {
- clear: left;
- }
-
- .challenge-detail #viewRegistrant.tableWrap {
- padding-right: 0px;
- }
+ .btnRegisterDeac, .btnSubmit{
+ font-size: 11px!important;
+ width: 118px!important;
+ }
+ .btnRegisterDeac strong,
+ .btnSubmit strong{
+ width: 72%;
+ }
+
+ .scroll-pane {
+ height: 100px!important;
+ width:100%;
+ }
+ #stepBox .middleColumn table .realibilityPara{
+ text-transform: capitalize!important;
+ }
+ #stepBox .middleColumn table .realibilityPara span,
+ #stepBox .middleColumn table .drPointsPara span{
+ display:block;
+ }
+ #stepBox .rightColumn .nextBox .allDeadlineNextBoxContent{
+ width:155px;
+ height:100px;
+ }
+ #stepBox .rightColumn .nextBox .allDeadlineNextBoxContent p{
+ float:left;
+ width:49%;
+ padding-right:1%;
+ }
+
+ #stepBox .rightColumn .nextBox .allDeadlineNextBoxContent p.moveRight{
+ clear:left;
+ }
+
+ .challenge-detail #viewRegistrant.tableWrap{
+ padding-right: 0px;
+ }
+ #stepBox .rightColumn .nextBox .nextBoxContent, #stepBox .rightColumn .nextBox .allDeadlineNextBoxContent {
+ padding-left: 5px;
+ padding-right: 5px;
+ padding-top: 22px;
+ padding-bottom: 22px;
+ }
+
+ /* Hide forum link in mobile view */
+ #rightTitleOnFull{
+ display:none;
+ }
- #stepBox .rightColumn .nextBox .nextBoxContent, #stepBox .rightColumn .nextBox .allDeadlineNextBoxContent {
- padding-left: 5px;
- padding-right: 5px;
- padding-top: 22px;
- padding-bottom: 22px;
- }
}
/*new css for topcoder view checkpoints and view submission */
/*disabled style for tab*/
/* dataChanges */
-#submissions .pager {
+#submissions .pager{
font-size: 16px;
- border-bottom: 1px solid #e7e7e7;
padding-bottom: 10px;
min-height: 20px;
overflow: hidden;
}
-
-#submissions .noBorderPager {
- border-bottom: none;
-}
-
-#submissions .pager .lt {
- float: left;
-}
-
-#submissions .pager .rt {
- float: right;
-
- text-align: right;
- overflow: hidden;
+#submissions .noBorderPager{
+ border-bottom: none;
}
+ #submissions .pager .lt{
+ float: left;
+ }
+ #submissions .pager .rt{
+ float: right;
-#submissions .pager .nextLink {
- display: inline-block;
- padding-right: 20px;
- position: relative;
- padding-left: 40px;
- float: left;
+ text-align: right;
+ overflow: hidden;
}
-
-#submissions .pager .nextLink i {
- top: 2px;
+ #submissions .pager .nextLink{
+ display: inline-block;
+ padding-right: 20px;
+ position: relative;
+ padding-left: 40px;
+ float: left;
}
-
-#submissions .pager .prevLink {
- display: inline-block;
- padding-left: 20px;
- position: relative;
- float: left;
+ #submissions .pager .nextLink i{
+ top: 2px;
+ }
+ #submissions .pager .prevLink{
+ display: inline-block;
+ padding-left: 20px;
+ position: relative;
+ float: left;
}
+ #submissions .pager .prevLink.hide{
+ display: none;
+ }
+ #submissions .pager .prevLink i{
+ top: 2px;
+ }
-#submissions .pager .prevLink.hide {
- display: none;
-}
-#submissions .pager .prevLink i {
- top: 2px;
-}
-.challenge-detail #submissions h1 {
- text-transform: uppercase;
+.challenge-detail #submissions h1{
+ text-transform: uppercase;
}
-
.view-challenge-result.challenge-detail .tabNav ul .disabled,
.view-challenge-result.challenge-detail .tabNav ul .disabled:visited,
-.view-challenge-result.challenge-detail .tabNav ul .disabled:hover {
- color: #e1e1e1;
- cursor: default;
-
-}
-
-.informationView {
- border: 1px solid #e1e1e1;
- border-bottom: none;
- border-top: none;
- background: #f7f7f7;
-
-}
-
-.informationViewAlt {
- border-bottom: 1px solid #e1e1e1;
-}
-
-.basicInfo {
- border-bottom: 1px solid #e1e1e1;
- height: 39px;
- line-height: 39px;
- padding: 0 20px;
- font-size: 15px;
-}
+.view-challenge-result.challenge-detail .tabNav ul .disabled:hover{
+ color: #e1e1e1;
+ cursor: default;
+
+}
+
+.informationView{
+ border: 1px solid #e1e1e1;
+ border-bottom: none;
+ border-top: none;
+ background: #f7f7f7;
+
+}
+.informationViewAlt{
+ border-bottom: 1px solid #e1e1e1;
+}
+ .basicInfo{
+ border-bottom: 1px solid #e1e1e1;
+ height: 39px;
+ line-height: 39px;
+ padding: 0 20px;
+ font-size: 15px;
+ }
+ .informationView .subNum{
+ font-size: 15px;
+ font-weight: bold;
+ color: #00aeff;
+ display: inline-block;
+ padding-right: 25px;
+
+ }
+ .informationView .handle{
+ font-size: 15px;
+ }
+ .informationView .meataAction{
+ float: right;
+ color: #666666;
+ }
+ .informationView .meataAction .metaDate{
+ padding-right: 29px;
+ display: inline-block;
+ }
+ .informationView .meataAction .viewSubmission{
+ color: #333333;
+ }
+ .informationView .meataAction .download{
+ color: #333333;
+ }
+ .viewNum{
+ display: inline-block;
+ padding-right: 29px;
+ color: #333;
+ }
.informationView .subNum {
font-size: 15px;
@@ -1325,7 +1444,40 @@
font-weight: bold;
padding-bottom: 10px;
color: #00aeff;
+ .informationView .commentInfo{
+ float: left;
+ color: #333;
+ width: 505px;
+ padding-right: 45px;
+ }
+ .submissionsR .informationView .commentInfo{
+ padding-bottom: 10px;
+ width: 100%;
+ }
+ .informationView label{
+ color: #333;
+ font-weight: bold;
+ }
+ .informationView .fontInfo{
+ float: left;
+ width: 150px;
+ }
+ .informationView .stockArtInfo{
+ float: left;
+ width: 260px;
+ }
+/*design submission*/
+.submissionShowcase{
+ border: 1px solid #e7e7e7;
+}
+.submissionsR .submissionShowcase{
+ padding-bottom: 15px;
}
+.submissionShowcaseAlt{
+ border-top: none;
+}
+
+
.informationView .commentInfo {
float: left;
@@ -1349,259 +1501,252 @@
width: 150px;
}
-.informationView .stockArtInfo {
- float: left;
- width: 260px;
-}
-
-/*design submission*/
-.submissionShowcase {
- border: 1px solid #e7e7e7;
-}
-
-.submissionsR .submissionShowcase {
- padding-bottom: 15px;
+.submissionShowcase .scrollPane
+{
+ border: none;
+ width: 227px;
+ float: left;
+ height: 680px;
+ padding-top: 18px;
+ overflow: scroll;
+ overflow-x: hidden;
}
-
-.submissionShowcaseAlt {
- border-top: none;
+.submissionsR .submissionShowcase .scrollPane{
+ height: 510px;
}
-
-.submissionShowcase .scrollPane {
- border: none;
- width: 227px;
- float: left;
- height: 680px;
- padding-top: 18px;
- overflow: scroll;
- overflow-x: hidden;
+.jspContainer
+{
+ overflow: hidden;
+ position: relative;
}
-.submissionsR .submissionShowcase .scrollPane {
- height: 510px;
+.jspPane
+{
+ position: absolute;
}
-.jspContainer {
- overflow: hidden;
- position: relative;
+.jspVerticalBar
+{
+ position: absolute;
+ top: 20px;
+ overflow: hidden;
+ right: 0;
+ width: 5px;
+ height: 640px;
}
-
-.jspPane {
- position: absolute;
+.submissionsR .jspVerticalBar{
+ height: 470px;
}
-.jspVerticalBar {
- position: absolute;
- top: 20px;
- overflow: hidden;
- right: 0;
- width: 5px;
- height: 640px;
+.jspCap
+{
+ display: none;
}
-.submissionsR .jspVerticalBar {
- height: 470px;
-}
-.jspCap {
- display: none;
-}
-.jspTrack {
- background: #fff;
- position: relative;
+.jspTrack
+{
+ background: #fff;
+ position: relative;
}
-.jspDrag {
- background: #e1e1e1;
- border-radius: 5px;
- position: relative;
- bottom: 20px;
- left: 0;
- cursor: pointer;
+.jspDrag
+{
+ background: #e1e1e1;
+ border-radius: 5px;
+ position: relative;
+ bottom: 20px;
+ left: 0;
+ cursor: pointer;
}
-
#showSubmission {
- position: absolute;
-}
-
-#showSubmission img {
- display: block;
- max-width: auto;
-}
-
-#showSubmission .content {
- text-align: center;
- padding-top: 37px;
-}
-
-#showSubmission .btnClose {
- top: 9px;
-}
-
-.challenge-detail #submissions .submissionShowcaseList {
- padding-left: 19px;
-}
-
-.challenge-detail #submissions .submissionShowcaseList li {
- padding: 0;
- margin: 0;
- margin: 5px 0;
-}
-
-.challenge-detail #submissions .submissionShowcaseList li a,
-.challenge-detail #submissions .submissionShowcaseList li a:visited {
- width: 201px;
- padding-top: 2px;
- padding-left: 3px;
- display: block;
- margin: 5px 0;
- height: 157px;
-}
-
-.challenge-detail #submissions .submissionShowcaseList li a:hover {
- background: url(../i/thumb-hover.png) no-repeat 0 0;
-}
-
-.challenge-detail #submissions .submissionShowcaseList li a.active,
-.challenge-detail #submissions .submissionShowcaseList li a.active:visited,
-.challenge-detail #submissions .submissionShowcaseList li a.active:hover {
- background: url(../i/thumb-current.png) no-repeat 0 0;
-}
-
-.submissionBig,
-.submissionBigMock {
- width: 740px;
- float: left;
- padding: 22px 20px 10px 20px;
-}
-
-.submissionsR .submissionBig,
-.submissionsR .submissionBigMock {
-
- width: 435px;
-}
+ position: absolute;
+ width:auto;
+ height:auto;
+}
+#showSubmission img{
+ display: block;
+ width:auto;
+ height:auto;
+ max-width: 100%;
+}
+#showSubmission .content{
+ text-align: center;
+ padding-top: 37px;
+}
+#showSubmission .btnClose{
+ top: 9px;
+}
+ .challenge-detail #submissions .submissionSingleView {
+ margin-top:-10px;
+ }
+ .challenge-detail #submissions .submissionShowcaseList{
+ padding-left: 19px;
+ }
+ .challenge-detail #submissions .submissionShowcaseList li{
+ padding: 0;
+ margin: 0;
+ margin: 5px 0;
+ }
+ .challenge-detail #submissions .submissionShowcaseList li a,
+ .challenge-detail #submissions .submissionShowcaseList li a:visited{
+ width: 201px;
+ padding-top:2px;
+ padding-left: 3px;
+ display: block;
+ margin: 5px 0;
+ height: 157px;
+ }
+ .challenge-detail #submissions .submissionShowcaseList li a:hover{
+ background:url(../i/thumb-hover.png) no-repeat 0 0;
+ }
+ .challenge-detail #submissions .submissionShowcaseList li a.active,
+ .challenge-detail #submissions .submissionShowcaseList li a.active:visited,
+ .challenge-detail #submissions .submissionShowcaseList li a.active:hover{
+ background:url(../i/thumb-current.png) no-repeat 0 0;
+ }
+
+ .submissionBig,
+ .submissionBigMock{
+ width: 740px;
+ float: left;
+ padding: 22px 20px 10px 20px;
+ }
+ .submissionsR .submissionBig,
+ .submissionsR .submissionBigMock{
+
+ width: 435px;
+ }
+ .challenge-detail #submissions .fullScreenBtn{
+ width: auto;
+ background-image: url(../i/fullViewIcon.png);
+ background-repeat: no-repeat;
+ background-position: 10px center;
+ padding-right: 20px;
+ padding-left: 40px;
+ }
+ .submissionBig p,
+ .submissionBigMock p{
+ padding-top: 12px;
+ text-align: center;
+ }
-.challenge-detail #submissions .fullScreenBtn {
- width: auto;
- background-image: url(../i/fullViewIcon.png);
- background-repeat: no-repeat;
- background-position: 10px center;
- padding-right: 20px;
- padding-left: 40px;
-}
-.submissionBig p,
-.submissionBigMock p {
- padding-top: 12px;
- text-align: center;
-}
/*design submission not viewable*/
-.notView {
- color: #006cff;
- font-size: 30px;
- padding-top: 160px;
- margin-bottom: 160px;
- margin-top: 160px;
- text-align: center;
- background: url(../i/notViewIcon.png) no-repeat center 0;
-}
-
-.challenge-detail #submissions .notView p {
- font-size: 14px;
- color: #666666;
- padding-top: 15px;
-}
-
-.challenge-detail #submissions ul.submissionList {
- margin-top: 5px;
- float: left;
- margin-bottom: 0;
- display: inline;
-}
-
-.challenge-detail #submissions .submissionList li {
- border: 1px solid #dfe1e1;
- display: inline;
- margin: 0;
- padding: 0;
- width: 225px;
- background: #f7f7f7;
- padding-bottom: 5px;
- height: 280px;
- float: left;
- margin-right: 34px;
- margin-bottom: 25px;
-}
-
-.challenge-detail #submissions.submissionsR .submissionList li {
- margin-right: 9px;
-}
-
-.challenge-detail #submissions .submissionList li.lastItem {
- margin-right: 0;
-}
-
-.challenge-detail #submissions li p {
- text-align: left;
- color: #666666;
- font-size: 12px;
- margin: 0;
- font-weight: bold;
-}
-
-.challenge-detail #submissions li p {
- width: 45%;
- float: left;
- display: inline-block;
- padding: 3px 6px;
- padding-right: 0;
-}
-
-.challenge-detail #submissions li p.submissionInfo {
- width: 50%;
- float: left;
- text-align: right;
- padding-left: 0;
- padding-right: 3px;
-
-}
-
-.challenge-detail #submissions li p .metaDate {
- font-weight: normal;
- font-size: 12px;
- padding-bottom: 5px;
- display: block;
-}
-
-.challenge-detail #submissions li p .subNum {
- display: block;
- padding-bottom: 5px;
-}
-
-.challenge-detail #submissions li p .handle {
- font-size: 12px;
- font-weight: normal;
-}
-
-.challenge-detail #submissions .submissionList li img {
- width: 227px;
- height: 226px;
- display: block;
-}
-
-#submissions .viewSubmission {
- display: inline-block;
- margin-right: 10px;
- font-size: 11px;
- color: #333333;
- height: 23px;
- line-height: 23px;
+.notView{
+ color: #006cff;
+ font-size: 30px;
+ padding-top: 160px;
+ margin-bottom: 160px;
+ margin-top: 160px;
+ text-align: center;
+ background: url(../i/notViewIcon.png) no-repeat center 0;
+}
+.challenge-detail #submissions .notView p{
+ font-size: 14px;
+ color: #666666;
+ padding-top: 15px;
+}
+.notView2{
+ color: #006cff;
+ font-size: 30px;
+ padding-top: 160px;
+ margin-bottom: 160px;
+ text-align: center;
+}
+.challenge-detail #submissions .notView2 p{
+ font-size: 14px;
+ color: #000000;
+ padding-top: 15px;
+}
+.challenge-detail #submissions ul.submissionList{
+ margin-top: 5px;
+ float: left;
+ margin-bottom: 0;
+ display: inline;
+}
+.challenge-detail #submissions .submissionList li{
+ border:1px solid #dfe1e1;
+ display: inline;
+ margin: 0;
+ padding: 0;
+ width: 225px;
+ background: #f7f7f7;
+ padding-bottom: 5px;
+ height: 280px;
+ float: left;
+ margin-right: 34px;
+ margin-bottom: 25px;
+}
+ .challenge-detail #submissions.submissionsR .submissionList li{
+ margin-right: 9px;
+}
+.challenge-detail #submissions .submissionList li.lastItem{
+
+}
+.challenge-detail #submissions .submissionList li:nth-child(4n+4){
+ margin-right: 0;
+}
+.challenge-detail #submissions li p{
+ text-align: left;
+ color: #666666;
+ font-size: 12px;
+ margin: 0;
+ font-weight: bold;
+}
+.challenge-detail #submissions li p{
+ width: 45%;
+ float: left;
+ display: inline-block;
+ padding: 3px 6px;
+ padding-right: 0;
+}
+.challenge-detail #submissions li p.submissionInfo{
+ width: 50%;
+ float: left;
+ text-align: right;
+ padding-left: 0;
+ padding-right: 3px;
+
+}
+.challenge-detail #submissions li p .metaDate{
+ font-weight: normal;
+ font-size: 12px;
+ padding-bottom: 5px;
+ display: block;
+}
+.challenge-detail #submissions li p .subNum{
+ display: block;
+ padding-bottom: 5px;
+}
+.challenge-detail #submissions li p .handle{
+ font-size: 12px;
+ font-weight: normal;
+}
+.challenge-detail #submissions .submissionList li img{
+ width: 225px;
+ height: 226px;
+ display: block;
+}
+#submissions .viewSubmission{
+ display: inline-block;
+ margin-right: 10px;
+ font-size: 11px;
+ color: #333333;
+ height: 23px;
+ line-height: 23px;
}
-
#submissions .viewSubmission a,
+#submissions .viewSubmission a:visited{
+ float: left;
+ background: url(../i/winner-actions.png) no-repeat 0 0;
+ width: 23px;
+ height: 23px;
+ margin-right: 6px;
+ display: inline-block;
#submissions .viewSubmission a:visited {
float: left;
background: url(../i/winner-actions.png) no-repeat 0 0;
@@ -1610,12 +1755,10 @@
margin-right: 6px;
display: inline-block;
}
-
-#submissions .download {
- font-size: 11px;
- display: inline-block;
+#submissions .download{
+ font-size: 11px;
+ display: inline-block;
}
-
#submissions .download a,
#submissions .download a:visited {
background: url(../i/winner-actions.png) no-repeat 0 bottom;
@@ -1641,712 +1784,630 @@
background: #f7f7f7;
height: 45px;
}
-
-.challenge-detail #checkpoints .winnerListEndAlt {
- height: 73px;
+.checkpointMainWrapper {
+ border-top:1px #E7E7E7 solid;
+ padding-top:10px;
}
-.challenge-detail #checkpoints .winnerListAlt li {
+/*design alt checkpoint*/
+.challenge-detail #checkpoints .winnerListAlt{
+ border: 1px solid #e7e7e7;
+ float: left;
+ background: #f7f7f7;
+ height: 45px;
+}
+.challenge-detail #checkpoints .winnerListEndAlt{
+ height: 73px;
+}
+ .challenge-detail #checkpoints .winnerListAlt li{
+ float: left;
+ font-size: 16px;
+ padding: 0;
+ line-height: normal;
+ margin-left: 0;
+ margin-bottom: 10px;
+ }
+ .challenge-detail #checkpoints .winnerListAlt li .box{
+
+ background: #f7f7f7;
+ }
+ .challenge-detail #checkpoints .winnerListAlt li.last{
+ margin-right: 0;
+ }
+
+ .winnerListAlt li .box{
+ height: 45px;
+ text-align: center;
+ width: 201px;
+ font-weight: bold;
+ overflow: hidden;
+ line-height: 45px;
+ display: inline-block;
+ font-size: 18px;
+ color: #00aeff;
+
+ }
+ .winnerListAlt li .boxName{
+ text-align: center;
+ width: 201px;
+ display: block;
+ border-top: none;
+ height: 28px;
+ position: relative;
+ border-top: 1px solid #e7e7e7;
+ background: #fff;
+ top: -1px;
+ line-height: 32px;
+ }
+ .winnerListAlt li .boxName span{
+ background: url(../i/boxArrow.png) no-repeat 0 0;
+ width: 15px;
+ height: 8px;
+ display: block;
+ position: absolute;
+ top: -1px;
+ left: 50%;
+ margin-left: -8px;
+
+ }
+ .winnerList li .box span a{
+ font-size: 13px;
+ }
+
+
+
+/*design normal checkpoint*/
+.challenge-detail #checkpoints .winnerList li {
float: left;
+ margin-right: 15px;
font-size: 16px;
padding: 0;
line-height: normal;
margin-left: 0;
margin-bottom: 10px;
}
+ .develop #checkpoints .winnerList li{
+ margin-right: 23px;
+ }
+ .challenge-detail #checkpoints .winnerList li a{
+ font-size: 13px;
+ }
+ .challenge-detail #checkpoints .winnerList li.last{
+ margin-right: 0;
+ }
+ .winnerList li .box{
+ height: 45px;
+ text-align: center;
+ width: 188px;
+ font-weight: bold;
+ overflow: hidden;
+ line-height: 45px;
+ display: inline-block;
+ font-size: 18px;
+ color: #00aeff;
+ border: 1px solid #e7e7e7;
+ background: #f7f7f7;
+
+ }
+ .checkpointsR .winnerList li .box{
+ width: 127px;
+ }
+ .winnerList li .boxName{
+ text-align: center;
+ width: 188px;
+ display: block;
+ border: 1px solid #e7e7e7;
+ border-top: none;
+ height: 28px;
+ position: relative;
+ top: -1px;
+ line-height: 32px;
+ }
+ .checkpointsR .winnerList li .boxName{
+ width: 127px;
+ }
+ .winnerList li .boxName span{
+ background: url(../i/boxArrow.png) no-repeat 0 0;
+ width: 15px;
+ height: 8px;
+ display: block;
+ position: absolute;
+ top: -1px;
+ left: 50%;
+ margin-left: -8px;
+
+ }
+ .winnerList li .box span a{
+ font-size: 13px;
+ }
+ .challenge-detail #checkpoints .winnerListAlt li a{
+ font-size: 13px;
+ }
+
+ .challenge-detail #checkpoints h1{
+ text-transform: uppercase;
+ }
+
+ .challenge-detail #checkpoints h1.noBorder{
+ border-bottom: none;
+ padding-bottom: 0;
+ padding-top: 0;
+ }
+ .expandCollaspeList{
+ border: 1px solid #e7e7e7;
+ border-top: none;
+ }
+ .challenge-detail #checkpoints ul li{
+ padding: 0;
+
+ }
+ .expandCollaspeList li .bar{
+ padding: 0 10px;
+ font-size: 16px;
+ line-height: 42px;
+ border-bottom: 1px solid #e7e7e7;
+ border-top: 1px solid #e7e7e7;
+ height: 42px;
+ font-weight: bold;
+ background: #eee;
+ color: #666;
+ }
+ .expandCollaspeList li a,
+ .expandCollaspeList li a:visited{
+ float: right;
+ width: 18px;
+ height: 17px;
+ background-repeat: no-repeat;
+ background-image: url(../i/ecIcon.png);
+ position: relative;
+ top: 12px;
+ background-position: 0 0;
+
+ }
+ .expandCollaspeList li a:hover{
+ background-position: 0 -17px;
+
+ }
+ .expandCollaspeList li .collapseIcon,
+ .expandCollaspeList li .collapseIcon:visited{
+ background-position: 0 -34px;
+ }
+ .expandCollaspeList li .collapseIcon:hover{
+ background-position: 0 -51px;
+ }
+ .expandCollaspeList li .feedBackContent{
+ color: #666;
+ padding: 9px 9px 0 9px;
+ }
+ .challenge-detail #checkpoints p{
+ padding-bottom: 23px;
+ line-height: 23px;
+ color: #666;
+ font-size: 15px;
+ margin-bottom: 0;
+ }
+ .challenge-detail #checkpoints p.singleLine{
+ padding-bottom: 10px;
+ }
+ .challenge-detail #checkpoints p.info{
+ padding-bottom: 0;
+ padding: 0 0 20px 0;
+ line-height: normal;
+ }
-.challenge-detail #checkpoints .winnerListAlt li .box {
-
- background: #f7f7f7;
+/*dev checkpoint*/
+.develop .winnerList li{
+ position: relative;
+ margin-right: 20px;
}
-
-.challenge-detail #checkpoints .winnerListAlt li.last {
- margin-right: 0;
-}
-
-.winnerListAlt li .box {
- height: 45px;
- text-align: center;
- width: 201px;
- font-weight: bold;
- overflow: hidden;
- line-height: 45px;
- display: inline-block;
- font-size: 18px;
- color: #00aeff;
-
-}
-
-.winnerListAlt li .boxName {
- text-align: center;
- width: 201px;
- display: block;
- border-top: none;
- height: 28px;
- position: relative;
- border-top: 1px solid #e7e7e7;
- background: #fff;
- top: -1px;
- line-height: 32px;
-}
-
-.winnerListAlt li .boxName span {
- background: url(../i/boxArrow.png) no-repeat 0 0;
- width: 15px;
- height: 8px;
- display: block;
- position: absolute;
- top: -1px;
- left: 50%;
- margin-left: -8px;
-
-}
-
-.winnerList li .box span a {
- font-size: 13px;
-}
-
-/*design normal checkpoint*/
-.challenge-detail #checkpoints .winnerList li {
- float: left;
- margin-right: 15px;
- font-size: 16px;
- padding: 0;
- line-height: normal;
- margin-left: 0;
- margin-bottom: 10px;
-}
-
-.develop #checkpoints .winnerList li {
- margin-right: 23px;
-}
-
-.challenge-detail #checkpoints .winnerList li a {
- font-size: 13px;
-}
-
-.challenge-detail #checkpoints .winnerList li.last {
- margin-right: 0;
-}
-
-.winnerList li .box {
- height: 45px;
- text-align: center;
- width: 188px;
- font-weight: bold;
- overflow: hidden;
- line-height: 45px;
- display: inline-block;
- font-size: 18px;
- color: #00aeff;
- border: 1px solid #e7e7e7;
- background: #f7f7f7;
-
- cursor: pointer;
-}
-
-.checkpointsR .winnerList li .box {
- width: 127px;
-}
-
-.winnerList li .boxName {
- text-align: center;
- width: 188px;
- display: block;
- border: 1px solid #e7e7e7;
- border-top: none;
- height: 28px;
- position: relative;
- top: -1px;
- line-height: 32px;
-}
-
-.checkpointsR .winnerList li .boxName {
- width: 127px;
-}
-
-.winnerList li .boxName span {
- background: url(../i/boxArrow.png) no-repeat 0 0;
- width: 15px;
- height: 8px;
- display: block;
- position: absolute;
- top: -1px;
- left: 50%;
- margin-left: -8px;
-
-}
-
-.winnerList li .box span a {
- font-size: 13px;
-}
-
-.challenge-detail #checkpoints .winnerListAlt li a {
- font-size: 13px;
-}
-
-.challenge-detail #checkpoints h1 {
- text-transform: uppercase;
-}
-
-.challenge-detail #checkpoints h1.noBorder {
- border-bottom: none;
- padding-bottom: 0;
- padding-top: 0;
-}
-
-.expandCollaspeList {
- border: 1px solid #e7e7e7;
- border-top: none;
-}
-
-.challenge-detail #checkpoints ul li {
- padding: 0;
-
-}
-
-.expandCollaspeList li .bar {
- padding: 0 10px;
- font-size: 16px;
- line-height: 42px;
- border-bottom: 1px solid #e7e7e7;
- border-top: 1px solid #e7e7e7;
- height: 42px;
- font-weight: bold;
- background: #f7f7f7;
- color: #666;
-
- cursor: pointer;
-}
-
-.expandCollaspeList li .bar:hover {
- color: #a5a5a5;
- background: #fbfbfb;
-}
-
-.expandCollaspeList li a,
-.expandCollaspeList li a:visited {
- float: right;
- width: 18px;
- height: 17px;
- background-repeat: no-repeat;
- background-image: url(../i/ecIcon.png);
- position: relative;
- top: 12px;
- background-position: 0 0;
-
- -webkit-transition-duration: 0s;
- -moz-transition-duration: 0s;
- transition-duration: 0s;
-}
-
-.expandCollaspeList li .bar:hover a {
- background-position: 0 -17px;
-
-}
-
-.expandCollaspeList li .collapseIcon,
-.expandCollaspeList li .collapseIcon:visited {
- background-position: 0 -34px;
-}
-
-.expandCollaspeList li .bar:hover .collapseIcon {
- background-position: 0 -51px;
-}
-
-.expandCollaspeList li .feedBackContent {
- color: #666;
- padding: 9px 9px 0 9px;
-}
-
-.challenge-detail #checkpoints p {
- padding-bottom: 23px;
- line-height: 23px;
- color: #666;
- font-size: 15px;
- margin-bottom: 0;
-
- white-space: pre-line;
-}
-
-.challenge-detail #checkpoints p.singleLine {
- padding-bottom: 10px;
-}
-
-.challenge-detail #checkpoints p.info {
- padding-bottom: 0;
- padding: 0 0 20px 0;
- line-height: normal;
-}
-
-/*dev checkpoint*/
-.develop .winnerList li {
- position: relative;
- margin-right: 20px;
-}
-
-.develop .winnerList li .box {
- color: #228400;
- width: 490px;
-}
-
-.develop .winnerList li .boxName {
- width: 490px;
+.develop .winnerList li .box{
+ color: #228400;
+ width: 490px;
+}
+.develop .winnerList li .boxName{
+ width: 490px;
}
.develop .checkpointsR .winnerList li .box,
-.develop .checkpointsR .winnerList li .boxName {
- width: 340px;
-}
-
-.develop .prizeIcon {
- position: absolute;
- width: 21px;
- height: 30px;
- display: block;
- top: 0;
- left: 5px;
- background-position: 0 0;
- background-repeat: no-repeat;
-}
-
-.develop .firstPrizeIcon {
- background-image: url(../i/firstPrizeIcon.png);
-}
-
-.develop .secondPrizeIcon {
- background-image: url(../i/secondPrizeIcon.png);
-}
-
-.seeMoreLink {
- font-weight: bold;
-}
-
-@media (max-width: 1019px) {
- /*design alt checkpoint*/
- .challenge-detail #checkpoints .winnerListAlt {
- height: auto;
- width: 100%
- }
-
- .challenge-detail #checkpoints .winnerListAlt li {
- float: none;
- margin-right: 0;
- font-size: 18px;
- padding: 0;
- line-height: normal;
- border-bottom: 1px solid #e7e7e7;
- margin-left: 0;
- margin-bottom: 0;
- width: 100%;
- }
-
- .challenge-detail #checkpoints .winnerListAlt li.last {
- border-bottom: none
- }
-
- .winnerListAlt li .box {
- width: 100%;
- overflow: hidden;
- height: 45px;
- line-height: 45px;
- display: block;
- }
-
- .winnerListEndAlt li .box {
- width: 50%;
- float: left;
- }
-
- .winnerListAlt li .boxName {
- top: 0;
- width: 49%;
- float: left;
- height: 45px;
- line-height: 45px;
- border-top: none;
- border-left: 1px solid #e7e7e7;
- }
-
- .winnerListAlt li .boxName span {
- background: url(../i/boxArrow-m.png) no-repeat 0 0;
- width: 9px;
- height: 13px;
- top: 50%;
- margin-top: -6px;
- left: 7px;
- }
-
- /*design normal checkpoint*/
- .challenge-detail #checkpoints .winnerList li {
- float: none;
- margin-right: 0;
- font-size: 16px;
- padding: 0;
- line-height: normal;
- margin-left: 0;
- margin-bottom: 10px;
- width: 100%;
- }
-
- .challenge-detail #checkpoints .winnerList li a {
- font-size: 13px;
- }
-
- .winnerList li .box {
- width: 100%;
- overflow: hidden;
- height: 45px;
- line-height: 45px;
- display: block;
- }
-
- .checkpointsR .winnerList li .box {
- width: 100%;
- }
-
- .challenge-detail #checkpoints .winnerListEnd li {
- margin-bottom: 5px;
- }
-
- .winnerListEnd li .box {
- width: 50%;
- float: left;
- }
-
- .winnerList li .boxName {
- top: 0;
- width: 49%;
- float: left;
- font-size: 13px;
- height: 45px;
- line-height: 45px;
- border-top: 1px solid #e7e7e7;
- border-left: none;
- }
-
- .winnerList li .boxName span {
- background: url(../i/boxArrow-m.png) no-repeat 0 0;
- width: 9px;
- height: 13px;
- top: 50%;
- margin-top: -6px;
- left: 7px;
- }
-
- .develop .winnerList li .box,
- .develop .checkpointsR .winnerList li .box {
- width: 100%
- }
-
- .challenge-detail #submissions li p {
- display: inline-block;
- padding: 3px 6px;
- padding-right: 0;
- padding-bottom: 0;
- padding-left: 0;
- }
-
- .challenge-detail #submissions li p.submissionInfo {
- text-align: left;
- padding-left: 0;
- padding-top: 0;
- padding-right: 3px;
-
- }
-
- .challenge-detail #submissions li p .subNum {
- padding-bottom: 3px;
- }
-
- .challenge-detail #submissions li p .viewSubmission {
-
- margin-right: 10px;
- }
-
- .challenge-detail #submissions li p .download {
-
- margin-right: 10px;
- }
-
- /*dev checkpoint*/
- .develop .winnerList li {
- margin-right: 13px;
- }
-
- .develop .winnerListEnd li .box {
- width: 50%;
- }
-
- .develop .winnerListEnd li .boxName {
- width: 49%;
- }
-
- /*submission*/
- .challenge-detail #submissions ul.submissionList {
- display: none;
- }
-
- #submissions .bx-controls {
- margin: 10px 0 10px 0;
- text-align: center;
- }
-
- #submissions .bx-controls .bx-pager-item {
- display: inline;
- text-align: center;
- overflow: hidden;
-
- max-width: 21px;
- vertical-align: top;
- height: 11px;
- }
-
- #submissions .bx-controls .bx-pager-item a {
- display: inline-block;
- background: url(../i/orange-dots.png) no-repeat;
- text-indent: -100px;
- background-position: 0 0;
- width: 11px;
- height: 11px;
- margin: 0 5px;
- -moz-transition-duration: 0s;
- -webkit-transition-duration: 0s;
- transition-duration: 0s;
- overflow: hidden;
- }
-
+.develop .checkpointsR .winnerList li .boxName{
+ width: 340px;
+}
+.develop .prizeIcon{
+ position: absolute;
+ width: 21px;
+ height: 30px;
+ display: block;
+ top: 0;
+ left: 5px;
+ background-position: 0 0;
+ background-repeat: no-repeat;
+}
+.develop .firstPrizeIcon{
+ background-image: url(../i/firstPrizeIcon.png);
+}
+.develop .secondPrizeIcon{
+ background-image: url(../i/secondPrizeIcon.png);
+}
+
+.seeMoreLink{
+ font-weight: bold;
+}
+
+
+
+
+
+
+@media (max-width: 1019px){
+ /*design alt checkpoint*/
+.challenge-detail #checkpoints .winnerListAlt{
+ height: auto;
+ width: 100%
+}
+.challenge-detail #checkpoints .winnerListAlt li{
+ float: none;
+ margin-right: 0;
+ font-size: 18px;
+ padding: 0;
+ line-height: normal;
+ border-bottom: 1px solid #e7e7e7;
+ margin-left: 0;
+ margin-bottom: 0;
+ width: 100%;
+ }
+.challenge-detail #checkpoints .winnerListAlt li.last{
+ border-bottom: none
+}
+ .winnerListAlt li .box{
+ width: 100%;
+ overflow: hidden;
+ height: 45px;
+ line-height: 45px;
+ display: block;
+ }
+
+ .winnerListEndAlt li .box{
+ width: 50%;
+ float: left;
+ }
+ .winnerListAlt li .boxName{
+ top: 0;
+ width: 49%;
+ float: left;
+ height: 45px;
+ line-height: 45px;
+ border-top: none;
+ border-left: 1px solid #e7e7e7;
+ }
+ .winnerListAlt li .boxName span{
+ background: url(../i/boxArrow-m.png) no-repeat 0 0;
+ width: 9px;
+ height: 13px;
+ top: 50%;
+ margin-top: -6px;
+ left: 7px;
+ }
+
+
+ /*design normal checkpoint*/
+ .challenge-detail #checkpoints .winnerList li{
+ float: none;
+ margin-right: 0;
+ font-size: 16px;
+ padding: 0;
+ line-height: normal;
+ margin-left: 0;
+ margin-bottom: 10px;
+ width: 100%;
+ }
+ .challenge-detail #checkpoints .winnerList li a{
+ font-size: 13px;
+ }
+ .winnerList li .box{
+ width: 100%;
+ overflow: hidden;
+ height: 45px;
+ line-height: 45px;
+ display: block;
+ }
+
+ .checkpointsR .winnerList li .box{
+ width: 100%;
+ }
+
+ .challenge-detail #checkpoints .winnerListEnd li{
+ margin-bottom: 5px;
+ }
+ .winnerListEnd li .box{
+ width: 50%;
+ float: left;
+ }
+ .winnerList li .boxName{
+ top: 0;
+ width: 49%;
+ float: left;
+ font-size: 13px;
+ height: 45px;
+ line-height: 45px;
+ border-top: 1px solid #e7e7e7;
+ border-left: none;
+ }
+ .winnerList li .boxName span{
+ background: url(../i/boxArrow-m.png) no-repeat 0 0;
+ width: 9px;
+ height: 13px;
+ top: 50%;
+ margin-top: -6px;
+ left: 7px;
+ }
+ .develop .winnerList li .box,
+ .develop .checkpointsR .winnerList li .box{
+ width: 100%
+ }
+
+
+ .challenge-detail #submissions li p{
+ display: inline-block;
+ padding: 3px 6px;
+ padding-right: 0;
+ padding-bottom: 0;
+ padding-left: 0;
+ }
+ .challenge-detail #submissions li p.submissionInfo{
+ text-align: left;
+ padding-left: 0;
+ padding-top: 0;
+ padding-right: 3px;
+
+ }
+ .challenge-detail #submissions li p .subNum{
+ padding-bottom: 3px;
+ }
+ .challenge-detail #submissions li p .viewSubmission {
+
+ margin-right: 10px;
+ }
+ .challenge-detail #submissions li p .download{
+
+ margin-right: 10px;
+ }
+
+
+ /*dev checkpoint*/
+ .develop .winnerList li{
+ margin-right: 13px;
+ }
+
+ .develop .winnerListEnd li .box{
+ width: 50%;
+ }
+ .develop .winnerListEnd li .boxName{
+ width: 49%;
+ }
+
+ /*submission*/
+ .challenge-detail #submissions ul.submissionList{
+ display: none;
+ }
+
+ #submissions .bx-controls {
+ margin: 10px 0 10px 0;
+ text-align: center;
+ }
+ #submissions .bx-controls .bx-pager-item{
+ display: inline;
+ text-align: center;
+ overflow: hidden;
+
+ max-width: 21px;
+ vertical-align: top;
+ height: 11px;
+ }
+ #submissions .bx-controls .bx-pager-item a{
+ display: inline-block;
+ background: url(../i/orange-dots.png) no-repeat;
+ text-indent: -100px;
+ background-position: 0 0;
+ width: 11px;
+ height: 11px;
+ margin: 0 5px;
+ -moz-transition-duration: 0s;
+ -webkit-transition-duration: 0s;
+ transition-duration: 0s;
+ overflow: hidden;
+ }
#submissions .bx-controls .bx-pager-item a.active,
- #submissions .bx-controls .bx-pager-item a:hover {
+ #submissions .bx-controls .bx-pager-item a:hover{
background-position: 0 -20px;
- }
-
- .challenge-detail #submissions .submissionSlider li {
- padding-left: 0;
- width: 100%;
- }
-
- .submissionSlider li div {
- margin-bottom: 10px;
- height: 100px;
- border: 1px solid #e7e7e7;
- }
-
- .submissionSlider li div img {
- width: 100px;
- height: 100px;
- margin-right: 15px;
- float: left;
- display: block;
- }
-
- #submissions .pager {
- display: none;
- }
-
- .challenge-detail #submissions .submissionSingleSlider li {
- padding-left: 0;
- width: 100%;
- }
-
- .submissionSingleSlider li div {
- margin-bottom: 10px;
- height: 239px;
- }
-
- .submissionSingleSlider li div img {
- width: 298px;
- height: 239px;
- margin: 0 auto;
- display: block;
- }
-
- .informationViewSlider {
- border: 1px solid #e1e1e1;
- border-top: none;
- margin-bottom: 12px;
- background: #f7f7f7;
- }
-
- .informationViewSliderAlt {
- border-top: 1px solid #e1e1e1;
- }
-
- .informationViewSlider .basicInfo {
- padding: 0;
- border-bottom: 1px solid #e1e1e1;
- height: auto;
- }
-
- .basicInfoT {
- border-bottom: 1px solid #e1e1e1;
- height: 37px;
- line-height: 37px;
- padding: 0 15px;
- }
-
- .basicInfoB {
- padding: 10px 18px;
- }
-
- .basicInfoB img {
- margin-right: 11px;
- border-radius: 50px;
- width: 61px;
- height: 61px;
- float: left;
- display: inline-block;
- }
-
- .basicInfoB .country {
- display: block;
- line-height: normal;
- color: #666;
- font-size: 12px;
- }
-
- .informationViewSlider .subNum {
- font-size: 14px;
- color: #00aeff;
- display: inline-block;
-
- }
-
- .informationViewSlider .meataAction {
- float: right;
- font-size: 14px;
- color: #666666;
- }
-
- .informationViewSlider .meataAction .metaDate {
- display: inline-block;
- }
-
- .informationViewSlider .meataAction .viewSubmission {
- color: #333333;
- }
-
- .informationViewSlider .meataAction .download {
- color: #333333;
- }
-
- .viewNum {
- display: inline-block;
- padding-right: 29px;
- color: #333;
- }
-
- .informationViewSlider .basicInfo .meataAction {
- float: right;
- }
-
- .informationViewSlider li {
- padding: 13px 20px
- }
-
- #submissions .basicInfoAction .download,
- #submissions .basicInfoAction .download:visited {
- background: url(../i/winner-actions.png) no-repeat 0 bottom;
- padding-left: 36px;
- height: 23px;
- font-size: 15px;
- margin-top: 13px;
- display: block;
- color: #ff8a00;
- line-height: 23px;
- }
-
- #submissions .basicInfoAction .viewNum {
- font-size: 15px;
-
- }
-
- #submissions .basicInfoAction .viewSubmission,
- #submissions .basicInfoAction .viewSubmission:visited {
- background: url(../i/winner-actions.png) no-repeat 0 0;
- width: 23px;
- height: 23px;
- font-size: 15px;
- margin-right: 15px;
- position: relative;
- top: 6px;
- display: inline-block;
- }
-
- .basicInfoAction .download:hover {
- opacity: .6;
- color: #FF8A00;
- }
-
- .basicInfoAction .viewSubmission:hover {
- opacity: .6;
- }
-
- .informationViewSlider h6 {
- font-size: 14px;
- padding-bottom: 10px;
- color: #00aeff;
- }
-
- .informationViewSlider .commentInfo {
- color: #333;
- }
-
- .informationViewSlider label {
- color: #333;
- display: block;
- font-weight: bold;
- }
-
- .informationViewSlider .fontInfo {
- float: left;
- width: 50%;
- }
-
- .informationViewSlider .stockArtInfo {
- float: left;
- width: 50%;
- }
-
- .challenge-detail #submissions .informationViewSlider li p {
- width: 100%;
- }
-
- .challenge-detail #submissions h1 {
- word-spacing: -2px;
- }
-
- .submissionSingleSliderAlt {
- margin-top: 20px;
- }
-
- .challenge-detail #submissions li p {
- padding: 0;
- line-height: normal;
- }
-
- #submissions .bx-controls {
- margin-top: 0;
- }
-
- .challenge-detail #submissions li p a {
- font-weight: normal;
- }
-
- .challenge-detail #checkpoints .winnerListAlt li {
- background: #fff;
- }
-
- .challenge-detail #checkpoints .winnerListAlt {
- float: none;
- }
-
- #showSubmission .content {
- padding-top: 20px;
- }
+ }
+ .challenge-detail #submissions .submissionSlider li{
+ padding-left: 0;
+ width: 100%;
+ }
+
+ .submissionSlider li div{
+ margin-bottom: 10px;
+ height: 100px;
+ border: 1px solid #e7e7e7;
+ }
+ .submissionSlider li div img{
+ width: 100px;
+ height: 100px;
+ margin-right: 15px;
+ float: left;
+ display: block;
+ }
+ #submissions .pager{
+ display: none;
+ }
+
+
+ .challenge-detail #submissions .submissionSingleSlider li{
+ padding-left: 0;
+ width: 100%;
+ }
+
+ .submissionSingleSlider li div{
+ margin-bottom: 10px;
+ height: 239px;
+ }
+ .submissionSingleSlider li div img{
+ width: 298px;
+ height: 239px;
+ margin: 0 auto;
+ display: block;
+ }
+
+ .informationViewSlider{
+ border: 1px solid #e1e1e1;
+ border-top: none;
+ margin-bottom: 12px;
+ background: #f7f7f7;
+ }
+ .informationViewSliderAlt{
+ border-top: 1px solid #e1e1e1;
+ }
+ .informationViewSlider .basicInfo{
+ padding: 0;
+ border-bottom: 1px solid #e1e1e1;
+ height: auto;
+ }
+ .basicInfoT{
+ border-bottom: 1px solid #e1e1e1;
+ height: 37px;
+ line-height: 37px;
+ padding: 0 15px;
+ }
+ .basicInfoB{
+ padding: 10px 18px;
+ }
+ .basicInfoB img{
+ margin-right: 11px;
+ border-radius: 50px;
+ width: 61px;
+ height: 61px;
+ float: left;
+ display: inline-block;
+ }
+ .basicInfoB .country{
+ display: block;
+ line-height: normal;
+ color: #666;
+ font-size: 12px;
+ }
+ .informationViewSlider .subNum{
+ font-size: 14px;
+ color: #00aeff;
+ display: inline-block;
+
+ }
+ .informationViewSlider .meataAction{
+ float: right;
+ font-size: 14px;
+ color: #666666;
+ }
+ .informationViewSlider .meataAction .metaDate{
+ display: inline-block;
+ }
+ .informationViewSlider .meataAction .viewSubmission{
+ color: #333333;
+ }
+ .informationViewSlider .meataAction .download{
+ color: #333333;
+ }
+ .viewNum{
+ display: inline-block;
+ padding-right: 29px;
+ color: #333;
+ }
+
+ .informationViewSlider .basicInfo .meataAction{
+ float: right;
+ }
+ .informationViewSlider li{padding: 13px 20px}
+ #submissions .basicInfoAction .download,
+ #submissions .basicInfoAction .download:visited{
+ background: url(../i/winner-actions.png) no-repeat 0 bottom;
+ padding-left: 36px;
+ height: 23px;
+ font-size: 15px;
+ margin-top: 13px;
+ display: block;
+ color: #ff8a00;
+ line-height: 23px;
+ }
+ #submissions .basicInfoAction .viewNum{
+ font-size: 15px;
+
+ }
+ #submissions .basicInfoAction .viewSubmission,
+ #submissions .basicInfoAction .viewSubmission:visited{
+ background: url(../i/winner-actions.png) no-repeat 0 0;
+ width: 23px;
+ height: 23px;
+ font-size: 15px;
+ margin-right: 15px;
+ position: relative;
+ top: 6px;
+ display: inline-block;
+ }
+ .basicInfoAction .download:hover{
+ opacity: .6;
+ color: #FF8A00;
+ }
+ .basicInfoAction .viewSubmission:hover{
+ opacity: .6;
+ }
+ .informationViewSlider h6{
+ font-size: 14px;
+ padding-bottom: 10px;
+ color: #00aeff;
+ }
+ .informationViewSlider .commentInfo{
+ color: #333;
+ }
+ .informationViewSlider label{
+ color: #333;
+ display: block;
+ font-weight: bold;
+ }
+ .informationViewSlider .fontInfo{
+ float: left;
+ width: 50%;
+ }
+ .informationViewSlider .stockArtInfo{
+ float: left;
+ width: 50%;
+ }
+ .challenge-detail #submissions .informationViewSlider li p{
+ width: 100%;
+ }
+ .challenge-detail #submissions h1{
+ word-spacing: -2px;
+ }
+ .submissionSingleSliderAlt{
+ margin-top: 20px;
+ }
+ .challenge-detail #submissions li p{
+ padding: 0;
+ line-height: normal;
+ }
+ #submissions .bx-controls{
+ margin-top: 0;
+ }
+ .challenge-detail #submissions li p a{
+ font-weight: normal;
+ }
+
+ .challenge-detail #checkpoints .winnerListAlt li{
+ background: #fff;
+ }
+ .challenge-detail #checkpoints .winnerListAlt{
+ float: none;
+ }
+ #showSubmission .content{
+ padding-top: 20px;
+ }
}
-
-
-
diff --git a/wp-content/themes/tcs-responsive/css/register-login.css b/wp-content/themes/tcs-responsive/css/register-login.css
index 93439247..943ac60b 100644
--- a/wp-content/themes/tcs-responsive/css/register-login.css
+++ b/wp-content/themes/tcs-responsive/css/register-login.css
@@ -111,7 +111,7 @@ hover style icons
/*
backgorund modal
*/
-#bgModal {
+#bgModal,#bgOverlapModal,#bgLoadingModal {
position: fixed;
width: 100%;
height: 100%;
@@ -121,6 +121,15 @@ backgorund modal
display: none;
z-index: 999;
}
+#bgLoadingModal span {
+ display:block;
+ position: fixed;
+ width: 100px;
+ height: 100px;
+ top:50%;
+ left:50%;
+ background: transparent url(../i/ajax_loader_gray_256.gif) no-repeat;
+}
/*
common
*/
diff --git a/wp-content/themes/tcs-responsive/footer.php b/wp-content/themes/tcs-responsive/footer.php
index 451988a6..64acd38c 100644
--- a/wp-content/themes/tcs-responsive/footer.php
+++ b/wp-content/themes/tcs-responsive/footer.php
@@ -146,6 +146,8 @@ function FeedBlitz_9feab01d431311e39e69002590771423s(v) {
+
+
@@ -170,6 +172,14 @@ function FeedBlitz_9feab01d431311e39e69002590771423s(v) {
+
+
+
+
+

+
+
+
@@ -493,7 +503,6 @@ class="shareGithubHover animeButtonHover">
Required field
Invalid email address
-
Email already in use
@@ -633,7 +642,6 @@ class="shareGithubHover animeButtonHover">
+
\ No newline at end of file
From 9fbccc56f0cc09297b240de30b8f92156ee36121 Mon Sep 17 00:00:00 2001
From: xkurnx
Date: Sat, 10 May 2014 00:11:48 +0700
Subject: [PATCH 04/21] link handle
---
.../tcs-responsive/page-challenge-details-submission-tab.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wp-content/themes/tcs-responsive/page-challenge-details-submission-tab.php b/wp-content/themes/tcs-responsive/page-challenge-details-submission-tab.php
index e9ca5d42..4b7b8a5d 100644
--- a/wp-content/themes/tcs-responsive/page-challenge-details-submission-tab.php
+++ b/wp-content/themes/tcs-responsive/page-challenge-details-submission-tab.php
@@ -68,12 +68,12 @@
#submissionId;?>
- submitter;?>
+ submitter;?>
- downloadCount;?>
+
From a9705cf760b268900cd162c24e2303a5eb5a29bd Mon Sep 17 00:00:00 2001
From: xkurnx
Date: Sat, 10 May 2014 10:15:24 +0700
Subject: [PATCH 05/21] merge & and cleanup challenge-detail-software.js
---
.../js/challenge-detail-software.js | 739 ++++++++++++++++++
1 file changed, 739 insertions(+)
diff --git a/wp-content/themes/tcs-responsive/js/challenge-detail-software.js b/wp-content/themes/tcs-responsive/js/challenge-detail-software.js
index 9daf5779..01c45337 100644
--- a/wp-content/themes/tcs-responsive/js/challenge-detail-software.js
+++ b/wp-content/themes/tcs-responsive/js/challenge-detail-software.js
@@ -1,8 +1,15 @@
var sliderActive = false;
var prizeSliderActive = false;
+var submissionSliderActive = false;
+var submissionSingleSliderActive = false;
+var informationViewSliderActive = false;
var slider;
var prizeSlider;
+var submissionSlider;
+var submissionSingleSlider;
+var informationViewSlider;
var sliderClone;
+var submissionCurrPage=1;
var tcjwt = getCookie('tcjwt');
if (tcjwt && (typeof challengeId != 'undefined')) {
@@ -50,6 +57,39 @@ function createPrizeSlider() {
});
return true;
}
+function createSubmissionSlider(){
+
+ submissionSlider = $('.submissionSlider > ul:first-child').bxSlider({
+ minSlides: 1,
+ maxSlides: 1,
+ responsive: !ie7,
+ adaptiveHeight: false,
+ swipeThreshold: 40,
+ controls: false ,
+ infiniteLoop: false
+ });
+ return true;
+}
+function createSubmissionSingleSlider(){
+ submissionSingleSlider = $('.submissionSingleSlider > ul:first-child').bxSlider({
+ minSlides: 1,
+ maxSlides: 1,
+ responsive: !ie7,
+ adaptiveHeight: false,
+ swipeThreshold: 40,
+ controls: false ,
+ infiniteLoop: false
+ });
+ return true;
+}
+function createInformationViewSlider(){
+ var informationViewSlider = $('.informationViewSlider ul').bxSlider({
+ adaptiveHeight: false,
+ controls: false,
+ infiniteLoop: false
+ });
+ return true;
+}
function getAnchor(url) {
var index = url.lastIndexOf('#');
@@ -197,6 +237,338 @@ $(window).resize(function () {
$('.registrantsTable').not('.mobile').removeClass('hide');
$('.registrantsTable.mobile').addClass('hide');
}
+$('.tabNav a').on(ev, function() {
+ if($(this).attr('href')=='#submissions'){
+ //$('.submissionAllView').hide();
+ //$('.submissionSingleView').show();
+
+ $('.submissionShowcase').css('display','none');
+ $('.submissionSingleSlider').css('display','block');
+ $('.submissionSingleSlider .bx-viewport').height(493);
+ $('.submissionSingleSlider .bx-viewport').width(300).css('margin','0 auto');
+ $('.submissionSingleSlider .bx-viewport li').css('width','300px');
+ $('.submissionSingleSlider > ul:first-child').bxSlider({
+ minSlides: 1,
+ maxSlides: 1,
+ responsive: !ie7,
+ adaptiveHeight: false,
+ swipeThreshold: 40,
+ controls: false ,
+ infiniteLoop: false
+ });
+
+
+
+ $('.submissionList').css('display','none');
+ $('.submissionSlider').css('display','block');
+ $('.submissionSlider .bx-viewport').height(340);
+ $('.submissionSlider .bx-viewport').width("300").css('margin','0 auto');
+ $('.submissionSlider .bx-viewport li').css('width','300px');
+ $('.submissionSlider > ul:first-child').bxSlider({
+ minSlides: 1,
+ maxSlides: 1,
+ responsive: !ie7,
+ adaptiveHeight: false,
+ swipeThreshold: 40,
+ controls: false ,
+ infiniteLoop: false
+ });
+
+
+
+ $('.informationView').css('display','none');
+ $('.informationViewSlider').css('display','block');
+ //createInformationViewSlider();
+ }
+});
+ $('#submissions .jsViewSubmission').on(ev, function() {
+
+ var handle = $(this).parent().parent().find(".handle").html();
+ var date = $(this).parent().parent().find(".metaDate").html();
+ var submissionId = $(this).parent().parent().find(".subNum").html();
+ var submissionId1 = submissionId.replace("#","");
+ var downloadLink = "http://studio.topcoder.com/?module=DownloadSubmission&sbmid="+submissionId1;
+
+ $('.submissionSingleView .handle').html(handle);
+ $('.submissionSingleView .metaDate').html(date);
+ $('.submissionSingleView .subNum').html(submissionId);
+ $('.submissionSingleView .download').attr('href',downloadLink);
+
+ $('.submissionAllView').hide();
+ $('.submissionSingleView').show();
+
+ $('.submissionShowcase').css('display','none');
+ $('.submissionSingleSlider').css('display','block');
+ $('.submissionSingleSlider .bx-viewport').height(493);
+ $('.submissionSingleSlider .bx-viewport').width(300).css('margin','0 auto');
+ $('.submissionSingleSlider .bx-viewport li').css('width','300px');
+ $('.submissionSingleSlider > ul:first-child').bxSlider({
+ minSlides: 1,
+ maxSlides: 1,
+ responsive: !ie7,
+ adaptiveHeight: false,
+ swipeThreshold: 40,
+ controls: false ,
+ infiniteLoop: false
+ });
+
+ $('.informationView').css('display','none');
+ $('.informationViewSlider').css('display','block');
+ createInformationViewSlider();
+ });
+
+
+
+ $(".design .rightColumn").insertAfter('.leftColumn');
+ $('.grid-1-3').insertBefore('#contest-overview');
+ $('.scroll-pane').jScrollPane({ autoReinitialise: true });
+ $('.scrollPane').jScrollPane({ autoReinitialise: true });
+
+ sliderActive = createSlider();
+
+
+ $('#stepBox .rightColumn .nextBox .allDeadlineNextBoxContent p:nth-child(3)').addClass('moveRight');
+ if($('.studio').length > 0){
+ updateDesignContestMobile();
+ }
+ // Hide deadline boxes on mobile view
+ updateDeadlineBoxMobile();
+
+ $('.registrantsTable').not('.mobile').addClass('hide');
+ $('.registrantsTable.mobile').removeClass('hide');
+ } else {
+
+
+
+ $('#submissions .jsViewSubmission').on(ev, function() {
+ var handle = $(this).parent().parent().find(".handle").html();
+ var date = $(this).parent().parent().find(".metaDate").html();
+ var submissionId = $(this).parent().parent().find(".subNum").html();
+ var submissionId1 = submissionId.replace("#","");
+ var downloadLink = "http://studio.topcoder.com/?module=DownloadSubmission&sbmid="+submissionId1;
+
+ $('.submissionSingleView .handle').html(handle);
+ $('.submissionSingleView .metaDate').html(date);
+ $('.submissionSingleView .subNum').html(submissionId);
+ $('.submissionSingleView .download').attr('href',downloadLink);
+
+ $('.submissionAllView').hide();
+ $('.submissionSingleView').show();
+
+ $('.submissionShowcase').css('display','block');
+ $('.submissionSingleSlider').css('display','none');
+ $('.submissionSingleSlider .bx-viewport').height(493);
+ $('.submissionSingleSlider .bx-viewport').width(300).css('margin','0 auto');
+ $('.submissionSingleSlider .bx-viewport li').css('width','300px');
+ $('.submissionSingleSlider > ul:first-child').bxSlider({
+ minSlides: 1,
+ maxSlides: 1,
+ responsive: !ie7,
+ adaptiveHeight: false,
+ swipeThreshold: 40,
+ controls: false ,
+ infiniteLoop: false
+ });
+
+
+ $('.informationView').css('display','block');
+ $('.informationViewSlider').css('display','none');
+
+ });
+
+ if($('.studio').length > 0){
+ updateDesignContest();
+ }
+ // Show deadline boxes
+ updateDeadlineBox();
+
+ $('.registrantsTable').not('.mobile').removeClass('hide');
+ $('.registrantsTable.mobile').addClass('hide');
+ }
+ $('a[href="' + getAnchor(location.href) + '"]').click();
+
+ $('.showMore .fiveMore').click(function(){
+ $(this).parent().siblings('.winnerRow').removeClass('hide');
+ });
+});
+
+//create/destroy slider based on width
+$(window).resize(function () {
+
+
+ if (window.innerWidth < 1019) {
+ $('.tabNav a').on(ev, function() {
+ if($(this).attr('href')=='#submissions'){
+ $('.submissionSingleSlider').css('display','block');
+ $('.submissionSingleSlider .bx-viewport').height(493);
+ $('.submissionSingleSlider .bx-viewport').width(300).css('margin','0 auto');
+ $('.submissionSingleSlider .bx-viewport li').css('width','300px');
+ $('.submissionSingleSlider > ul:first-child').bxSlider({
+ minSlides: 1,
+ maxSlides: 1,
+ responsive: !ie7,
+ adaptiveHeight: false,
+ swipeThreshold: 40,
+ controls: false ,
+ infiniteLoop: false
+ });
+
+
+ $('.submissionList').css('display','none');
+ $('.submissionSlider').css('display','block');
+ $('.submissionSlider .bx-viewport').height(340);
+ $('.submissionSlider .bx-viewport').width("300").css('margin','0 auto');
+ $('.submissionSlider .bx-viewport li').css('width','300px');
+ $('.submissionSlider > ul:first-child').bxSlider({
+ minSlides: 1,
+ maxSlides: 1,
+ responsive: !ie7,
+ adaptiveHeight: false,
+ swipeThreshold: 40,
+ controls: false ,
+ infiniteLoop: false
+ });
+
+ createInformationViewSlider();
+ }
+ });
+
+ $('.submissionShowcase').css('display','none');
+ $('.submissionSingleSlider').css('display','block');
+ $('.submissionSingleSlider .bx-viewport').height(493);
+ $('.submissionSingleSlider .bx-viewport').width(300).css('margin','0 auto');
+ $('.submissionSingleSlider .bx-viewport li').css('width','300px');
+ $('.submissionSingleSlider > ul:first-child').bxSlider({
+ minSlides: 1,
+ maxSlides: 1,
+ responsive: !ie7,
+ adaptiveHeight: false,
+ swipeThreshold: 40,
+ controls: false ,
+ infiniteLoop: false
+ });
+
+
+ $('.informationView').css('display','none');
+ $('.informationViewSlider').css('display','block');
+
+ createInformationViewSlider();
+
+ $('#submissions .jsViewSubmission').on(ev, function() {
+ $('.submissionAllView').hide();
+ $('.submissionSingleView').show();
+
+ $('.submissionShowcase').css('display','none');
+ $('.submissionSingleSlider').css('display','block');
+ $('.submissionSingleSlider .bx-viewport').height(493);
+ $('.submissionSingleSlider .bx-viewport').width(300).css('margin','0 auto');
+ $('.submissionSingleSlider .bx-viewport li').css('width','300px');
+ $('.submissionSingleSlider > ul:first-child').bxSlider({
+ minSlides: 1,
+ maxSlides: 1,
+ responsive: !ie7,
+ adaptiveHeight: false,
+ swipeThreshold: 40,
+ controls: false ,
+ infiniteLoop: false
+ });
+
+
+
+ });
+
+ if (submissionSingleSliderActive == false) {
+ $('.scrollPane').jScrollPane({ autoReinitialise: true });
+
+ }
+ if (sliderActive == false) {
+ $(".design .rightColumn").insertAfter('.leftColumn');
+ $('.grid-1-3').insertBefore('#contest-overview');
+ $('.scroll-pane').jScrollPane({ autoReinitialise: true });
+ sliderActive = createSlider();
+ }
+ if($('.studio').length > 0){
+ updateDesignContestMobile();
+ }
+ // Hide deadline boxes on mobile view
+ updateDeadlineBoxMobile();
+
+ $('.registrantsTable').not('.mobile').addClass('hide');
+ $('.registrantsTable.mobile').removeClass('hide');
+ }
+
+ if (window.innerWidth > 1019){
+ $('.submissionShowcase').css('display','block');
+ $('.submissionSingleSlider').css('display','none');
+
+ $('.submissionSingleSlider .bx-viewport').height(493);
+ $('.submissionSingleSlider .bx-viewport').width(300).css('margin','0 auto');
+ $('.submissionSingleSlider .bx-viewport li').css('width','300px');
+ $('.submissionSingleSlider > ul:first-child').bxSlider({
+ minSlides: 1,
+ maxSlides: 1,
+ responsive: !ie7,
+ adaptiveHeight: false,
+ swipeThreshold: 40,
+ controls: false ,
+ infiniteLoop: false
+ });
+
+ $('.informationView').css('display','block');
+ $('.informationViewSlider').css('display','none');
+
+ $('#submissions .jsViewSubmission').on(ev, function() {
+ $('.submissionAllView').hide();
+ $('.submissionSingleView').show();
+
+ $('.submissionShowcase').css('display','block');
+ $('.submissionSingleSlider').css('display','none');
+
+ $('.submissionSingleSlider .bx-viewport').height(493);
+ $('.submissionSingleSlider .bx-viewport').width(300).css('margin','0 auto');
+ $('.submissionSingleSlider .bx-viewport li').css('width','300px');
+ $('.submissionSingleSlider > ul:first-child').bxSlider({
+ minSlides: 1,
+ maxSlides: 1,
+ responsive: !ie7,
+ adaptiveHeight: false,
+ swipeThreshold: 40,
+ controls: false ,
+ infiniteLoop: false
+ });
+
+ $('.informationView').css('display','block');
+ $('.informationViewSlider').css('display','none');
+
+ });
+
+
+ if (submissionSingleSliderActive == true) {
+ $('.scrollPane').jScrollPane({ autoReinitialise: true });
+
+ }
+ if (sliderActive == true) {
+ $(".design .rightColumn").insertAfter('.middleColumn');
+ $('.grid-1-3').insertAfter('.rightSplit');
+ $('.scroll-pane').jScrollPane({ autoReinitialise: true });
+
+ if(slider.length > 0){
+ slider.destroySlider();
+ }
+ sliderActive = false;
+ // Replace the destroyed slider with a previously cloned one
+ // Hack for a known bxslider bug: http://stackoverflow.com/questions/16283955/window-resize-with-bxslider-destroyed-breaks-style
+ $('.slider > ul:first-child').replaceWith(sliderClone);
+ }
+ if($('.studio').length > 0){
+ updateDesignContest();
+ }
+ // Show deadline boxes
+ updateDeadlineBox();
+
+ $('.registrantsTable').not('.mobile').removeClass('hide');
+ $('.registrantsTable.mobile').addClass('hide');
+ }
});
$(window).bind('orientationchange', function (event) {
@@ -579,3 +951,370 @@ app.tabNavinit = function () {
}
})
}
+ if(submissionSliderActive == false){
+ $('.submissionList').addClass("hide");
+ $('.submissionSlider').removeClass("hide");
+ submissionSliderActive = createSubmissionSlider();
+ }
+ if(submissionSingleSliderActive == false){
+ $('.submissionShowcase').addClass("hide");
+ $('.submissionSingleSlider').removeClass("hide");
+ submissionSingleSliderActive = createSubmissionSingleSlider();
+ }
+
+
+
+ $('.tabsWrap .tabNav').not('.mobile').addClass('hide');
+ $('.tabsWrap .tabNav.mobile').removeClass('hide');
+
+}
+
+function updateDesignContest(){
+ if(prizeSliderActive == true){
+ $('.prizeTable').removeClass("hide");
+ $('.prizeSlider').addClass("hide");
+ prizeSlider.destroySlider();
+ prizeSliderActive = false;
+ }
+
+ if(submissionSliderActive == true){
+ $('.submissionList').removeClass("hide");
+ $('.submissionSlider').addClass("hide");
+ //submissionSlider.destroySlider();
+ submissionSliderActive = false;
+ }
+ if(submissionSingleSliderActive == true){
+ $('.submissionShowcase').removeClass("hide");
+ $('.submissionSingleSlider').addClass("hide");
+ // submissionSingleSlider.destroySlider();
+ submissionSingleSliderActive = false;
+ }
+
+
+ $('.tabsWrap .tabNav').not('.mobile').removeClass('hide');
+ $('.tabsWrap .tabNav.mobile').addClass('hide');
+
+}
+
+
+$(function(){
+ $('.scroll-pane').jScrollPane();
+ $('.scrollPane').jScrollPane();
+ //switch the view all deadline and view next deadline
+ $(".viewAllDeadLineBtn").click(function(){
+ $(this).parent().addClass('hide').siblings().removeClass('hide');
+// $(".nextDeadlinedeadlineBoxContent").addClass("hide");
+ $(".allDeadlinedeadlineBoxContent").removeClass("hide");
+ $(".nextDeadlineNextBoxContent").addClass("hide");
+ $(".allDeadlineNextBoxContent").removeClass("hide");
+ $(".contestEndedBox").addClass("hide");
+
+ });
+ //switch the view all deadline and view next deadline
+ $(".viewNextDeadLineBtn").click(function(){
+ $(this).parent().addClass('hide').siblings().removeClass('hide');
+ $(".contestEndedBox").addClass("hide");
+// $(".allDeadlinedeadlineBoxContent").addClass("hide");
+ $(".nextDeadlinedeadlineBoxContent").removeClass("hide");
+ $(".allDeadlineNextBoxContent").addClass("hide");
+ $(".nextDeadlineNextBoxContent").removeClass("hide");
+ });
+
+ $(".morePayments.active").click(function(){
+ if($(this).hasClass("closed")){
+ $(".morePayments.active").removeClass("closed");
+ $(".morePayments.active").addClass("open");
+ $(".additionalPrizes").removeClass("hide");
+ } else {
+ $(".morePayments.active").removeClass("open");
+ $(".morePayments.active").addClass("closed");
+ $(".additionalPrizes").addClass("hide");
+ }
+ });
+
+ /*new functions*/
+ var QueryString = function () {
+ // This function is anonymous, is executed immediately and
+ // the return value is assigned to QueryString!
+ var query_string = {};
+ var query = window.location.search.substring(1);
+ var vars = query.split("&");
+ for (var i=0;i= 1003 || $('html').is('.ie6, .ie7, .ie8'))
+ modal.css('margin', -modal.height() / 2 + 'px 0 0 ' + (-modal.width() / 2) + 'px');
+ else {
+ modal.css('margin', '0');
+ }
+ }
+ $('.closePopupModal,#bgOverlapModal').on('click', function () {
+ closePopupModal();
+ });
+ function closePopupModal() {
+ $('.modal,#bgOverlapModal').hide();
+ }
+ if(QueryString.registered === 'success'){
+ showModal('#registerSuccess');
+ setTimeout(function(){
+ $('#Registrants').click();
+ $('#Registrants1').click();
+ },200)
+ }
+
+ $('.jsFullScreenBtn').on(ev, function() {
+ var loading = $('#bgLoadingModal span');
+ loading.css({
+ 'margin-top' : '-' + Math.round(loading.height() / 2) + 'px',
+ 'margin-left' : '-' + Math.round(loading.width() / 2) + 'px',
+ });
+ $('#bgLoadingModal').show();
+ window.setTimeout(
+ function(){
+ if($(window).width() >= 1003 || $('html').is('.ie6, .ie7, .ie8')){
+ showModal('#showSubmission');
+ var showSubmission = $('#showSubmission:visible');
+ showSubmission.css({
+ 'width' : '940px'
+ });
+ showSubmission.css('margin', -showSubmission.height() / 2 + 'px 0 0 ' + '-485px');
+ }else {
+
+ showModal('#showSubmission');
+
+ var modalHeightC = $('#showSubmission .content').height();
+ var showSubmission = $('#showSubmission:visible');
+ //showSubmission.css('margin', '0').css('top',0).css('left',0).css('width','97%').css('height',"auto");
+ showSubmission.css({
+ 'width' : ($(window).width()-20)+'px'
+ });
+ showSubmission.css({
+ 'left' : 'auto',
+ 'margin-top' : '-' + Math.round(showSubmission.height() / 2) + 'px',
+ 'margin-left' : '0px',
+ });
+ }
+ $('#bgLoadingModal').hide();
+ },
+ 3000
+ );
+ });
+
+ /**
+ * Paging Navigation
+ */
+ $(".nextLink").on(ev, function() {
+ var parentDiv = $(this).parent().parent().parent();
+ var submissionPageCount = parentDiv.find(".submissionPageCount").val();
+ if(submissionCurrPage1) {
+ submissionCurrPage--;
+ parentDiv.find(".submissionPage").hide();
+ parentDiv.find(".page"+submissionCurrPage).show();
+ }
+ if(submissionCurrPage==1) {
+ parentDiv.find(".prevLink").hide();
+ }
+ });
+
+ $(".viewAll").on(ev, function() {
+ var parentDiv = $(this).parent().parent().parent();
+ parentDiv.find(".nextLink").hide();
+ parentDiv.find(".prevLink").hide();
+ parentDiv.find(".submissionPage").show();
+ parentDiv.find(".viewAll").hide();
+ });
+
+});
+
+$(function(){
+ $('.expandCollaspeList li a').each(function(){
+ var _this = $(this).parents('li')
+ if(!$(this).hasClass('collapseIcon')){
+ _this.children('.bar').css('border-bottom','1px solid #e7e7e7');
+ }else{
+ _this.children('.bar').css('border-bottom','none');
+ }
+ });
+ $('.expandCollaspeList li a').on(ev, function() {
+ var _this = $(this).parents('li')
+ if(!$(this).hasClass('collapseIcon')){
+ $(this).addClass('collapseIcon');
+ _this.children('.feedBackContent').hide();
+ _this.children('.bar').css('border-bottom','none');
+ }else{
+ $(this).removeClass('collapseIcon')
+ _this.children('.feedBackContent').show();
+ _this.children('.bar').css('border-bottom','1px solid #e7e7e7');
+ }
+ });
+
+ $('#submissions .jsViewSubmission').on(ev, function() {
+ $('.submissionAllView').hide();
+ $('.submissionSingleView').show();
+ });
+
+
+ /* view next */
+ $('#submissions .pager').on(ev, '.nextLink', function(e) {
+ $('#submissions .prevLink').show();
+ return false;
+ });
+ $('#submissions .pager').on(ev, '.prevLink', function(e) {
+ $('#submissions .nextLink').show();
+
+ return false;
+ });
+
+ $('.jsSeeMore').on(ev, function() {
+ $(this).hide();
+ $(this).parents('.stockArtInfo').find('.seeMoreInfo').show();
+ });
+ if($('.scrollPane').length>0){
+ $('.scrollPane').jScrollPane({autoReinitialise: true});
+ }
+
+ $('.challenge-detail #submissions .submissionShowcaseList li a').click(function(){
+ $('.submissionBig').hide();
+ $('.submissionBigMock').hide();
+ if(!$(this).hasClass('mock')){
+ $('.submissionBig').show();
+ $('.submissionBigMock').hide();
+ }else{
+
+ $('.submissionBig').hide();
+ $('.submissionBigMock').show();
+ }
+ $('.challenge-detail #submissions .submissionShowcaseList li a').removeClass('active');
+ $(this).addClass('active');
+ });
+
+ var userAgent = navigator.userAgent.toLowerCase();
+ jQuery.browser = {
+ version: (userAgent.match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [])[1],
+ safari: /webkit/.test( userAgent ),
+ opera: /opera/.test( userAgent ),
+ msie: /msie/.test( userAgent ) && !/opera/.test( userAgent ),
+ mozilla: /mozilla/.test( userAgent ) && !/(compatible|webkit)/.test( userAgent )
+ };
+ if($.browser.msie && $.browser.version == 10){
+ if (window.innerWidth < 1019) {
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','0');
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','auto');
+ }else{
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','-6px');
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','73px');
+ }
+ $(window).resize(function () {
+ if (window.innerWidth < 1019) {
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','0');
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','auto');
+ }else{
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','-6px');
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','73px');
+ }
+ });
+ }
+ if($.browser.mozilla) {
+
+ if (window.innerWidth < 1019) {
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','0');
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','auto');
+ }else{
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','-6px');
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','75px');
+ }
+
+ $(window).resize(function () {
+ if (window.innerWidth < 1019) {
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','0');
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','auto');
+ }else{
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','-6px');
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','75px');
+ }
+ });
+ }
+ if($.browser.safari)
+ {
+ if (window.innerWidth < 1019) {
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','0');
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','auto');
+ }else{
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','74px');
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','-5px');
+ }
+ $(window).resize(function () {
+
+ if (window.innerWidth < 1019) {
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','0');
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','auto');
+ }
+ if (window.innerWidth > 1019) {
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','74px');
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','-5px');
+ }
+ });
+ }
+
+ var Sys = {};
+ var ua = navigator.userAgent.toLowerCase();
+ if(ua.match(/version\/([\d.]+).*safari/)!=null && ua.match(/version\/([\d.]+).*safari/)[1].split('.')[0]>3){
+ if (window.innerWidth < 1019) {
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','0');
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','auto');
+ //$('.winnerListAlt li .boxName').css('width','50%');
+ }else{
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','74px');
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','0px');
+ }
+
+ $(window).resize(function () {
+ if (window.innerWidth < 1019) {
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','0');
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','auto');
+ //$('.winnerListAlt li .boxName').css('width','50%');
+ }else{
+ $('.challenge-detail #checkpoints .winnerListEndAlt').css('height','74px');
+ $('.winnerList li .boxName,.winnerListAlt li .boxName').css('top','0px');
+ }
+ });
+
+ }
+
+});
From 8b72eeda3537b5b0c028a7f0ee45252399a49ce3 Mon Sep 17 00:00:00 2001
From: xkurnx
Date: Sat, 10 May 2014 14:38:09 +0700
Subject: [PATCH 06/21] Hide Checkpoint submission on Submission tabs, old
site also does not show them
http://studio.topcoder.com/?module=ViewSubmissions&ct=30041603
---
.../page-challenge-details-submission-tab.php | 138 +-----------------
1 file changed, 4 insertions(+), 134 deletions(-)
diff --git a/wp-content/themes/tcs-responsive/page-challenge-details-submission-tab.php b/wp-content/themes/tcs-responsive/page-challenge-details-submission-tab.php
index 4b7b8a5d..e3700052 100644
--- a/wp-content/themes/tcs-responsive/page-challenge-details-submission-tab.php
+++ b/wp-content/themes/tcs-responsive/page-challenge-details-submission-tab.php
@@ -68,12 +68,12 @@
#submissionId;?>
- submitter;?>
+ submitter;?>
-
-
+
+ downloadCount;?>
@@ -113,7 +113,7 @@
#submissionId; ?>
- submitter;?>
+ submitter;?>
@@ -156,136 +156,6 @@
-
-
-currentStatus!='Completed'):
-?>
-
-
-
Submissions are not viewable for this challenge
-
-
-isPrivate):
-?>
-
-
- Private Challenge
-
Submissions are not viewable for this challenge
-
-
-
-
-
ROUND 1 (CHEKCPOINT) SUBMISSIONS
-
- $submissionObj ) :
- $submissionGridViewImg = "http://studio.topcoder.com/studio.jpg?module=DownloadSubmission&sbmid=".$submissionObj->submissionId."&sbt=small&sfi=1";
- $submissionDownloadUrl = "http://studio.topcoder.com/?module=DownloadSubmission&sbmid=".$submissionObj->submissionId;
- $dateStr = substr($submissionObj->submissionTime, 0, 10)." ".substr($submissionObj->submissionTime, 11, 5);
- //dateStr format : 2014-04-02 07:10
- $dateObj = DateTime::createFromFormat('Y-m-d H:i', $dateStr);
- $dateFormatted = $dateObj!=null ? $dateObj->format('d.m.Y , H:i')." EST" : "";
- ?>
-
-
-
- -
-
-
- 0 ) {
- echo "";
- $pageCounter++;
- if(($key+1)';
- }
- ?>
-
-
- ";
- echo "";
- ?>
-
-
-
-
- $submissionObj ) :
- $dateStr = substr($submissionObj->submissionDate, 0, 10)." ".substr($submissionObj->submissionDate, 11, 5);
- //dateStr format : 2014-04-02 07:10
- $dateObj = DateTime::createFromFormat('Y-m-d H:i', $dateStr);
- $dateFormatted = $dateObj!=null ? $dateObj->format('d.m.Y , H:i') : "";
- $submissionGridViewImg = "http://studio.topcoder.com/studio.jpg?module=DownloadSubmission&sbmid=".$submissionObj->submissionId."&sbt=small&sfi=1";
- $submissionDownloadUrl = "http://studio.topcoder.com/?module=DownloadSubmission&sbmid=".$submissionObj->submissionId;
- ?>
-
- -
-
-
- 0 ) {
- echo "
";
- if(($key+1)';
- }
- ?>
-
- ";
- ?>
-
-
-
- 1) : ?>
-
-
-
-
-
-