Implement detail page for experiments

This commit is contained in:
Eike Foken
2011-09-14 05:44:20 +02:00
parent 92e45e8033
commit a4f41fd392
6 changed files with 473 additions and 133 deletions

View File

@@ -42,7 +42,7 @@ li {
}
.editable {
background: #fffbcc;
background: #fffbcc;
}
.clear {
@@ -291,10 +291,10 @@ div.error {
}
#content div.title a.share {
background: url(../images/icons/user-share.png) 6px center no-repeat;
padding-left: 28px;
font-size: 12px;
font-weight: normal;
background: url(../images/icons/user-share.png) 6px center no-repeat;
padding-left: 28px;
font-size: 12px;
font-weight: normal;
line-height: 12px;
}
@@ -325,13 +325,13 @@ div.error {
}
.pagination ul li.clickable {
color: #0088cc;
cursor: pointer;
color: #0088cc;
cursor: pointer;
}
.pagination ul li.active {
color: #222;
cursor: default;
color: #222;
cursor: default;
}
/* Footer */
@@ -357,71 +357,88 @@ div.error {
/* Buttons */
.buttons {
float: left;
padding-bottom: 20px;
clear: both;
float: left;
padding-bottom: 20px;
clear: both;
}
a.button {
color: #6e6e6e;
font: bold 12px Helvetica, Arial, sans-serif;
text-decoration: none;
padding: 7px 12px;
position: relative;
display: inline-block;
text-shadow: 0 1px 0 #fff;
-webkit-transition: border-color .218s;
-moz-transition: border .218s;
-o-transition: border-color .218s;
transition: border-color .218s;
background: #f3f3f3;
background: -webkit-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
background: -moz-linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
border: solid 1px #dcdcdc;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
margin-right: 10px;
color: #6e6e6e;
font: bold 12px Helvetica, Arial, sans-serif;
text-decoration: none;
padding: 7px 12px;
position: relative;
display: inline-block;
text-shadow: 0 1px 0 #fff;
-webkit-transition: border-color .218s;
-moz-transition: border .218s;
-o-transition: border-color .218s;
transition: border-color .218s;
background: #f3f3f3;
background: -webkit-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
background: -moz-linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
border: solid 1px #dcdcdc;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
margin-right: 10px;
}
a.button.locked {
color: #333;
border-color: #999;
-moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
color: #333;
border-color: #999;
-moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
a.button.disabled {
color: #6e6e6e;
background-color: #fff;
/*border: 1px solid rgba(0, 0, 0, 0.05);*/
cursor: default;
opacity: 0.4;
filter: alpha(opacity=40);
}
a.button.disabled:hover, a.button.disabled:active {
color: inherit;
border: 1px solid #dcdcdc;
-moz-box-shadow: inherit;
-webkit-box-shadow: inherit;
box-shadow: inherit;
}
a.button:hover {
color: #333;
border-color: #999;
-moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
color: #333;
border-color: #999;
-moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
a.button:active {
color: #000;
border-color: #444;
color: #000;
border-color: #444;
}
a.left {
-webkit-border-top-right-radius: 0;
-moz-border-radius-topright: 0;
border-top-right-radius: 0;
-webkit-border-bottom-right-radius: 0;
-moz-border-radius-bottomright: 0;
border-bottom-right-radius: 0;
margin: 0;
-webkit-border-top-right-radius: 0;
-moz-border-radius-topright: 0;
border-top-right-radius: 0;
-webkit-border-bottom-right-radius: 0;
-moz-border-radius-bottomright: 0;
border-bottom-right-radius: 0;
margin: 0;
}
a.middle {
border-radius: 0;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-left: solid 1px #f3f3f3;
margin: 0;
border-left: solid 1px rgba(255, 255, 255, 0);
border-radius: 0;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-left: solid 1px #f3f3f3;
margin: 0;
border-left: solid 1px rgba(255, 255, 255, 0);
}
a.middle:hover,
@@ -430,107 +447,122 @@ a.right:hover {
}
a.right {
-webkit-border-top-left-radius: 0;
-moz-border-radius-topleft: 0;
border-top-left-radius: 0;
-webkit-border-bottom-left-radius: 0;
-moz-border-radius-bottomleft: 0;
border-bottom-left-radius: 0;
border-left: solid 1px #f3f3f3;
border-left: solid 1px rgba(255, 255, 255, 0);
-webkit-border-top-left-radius: 0;
-moz-border-radius-topleft: 0;
border-top-left-radius: 0;
-webkit-border-bottom-left-radius: 0;
-moz-border-radius-bottomleft: 0;
border-bottom-left-radius: 0;
border-left: solid 1px #f3f3f3;
border-left: solid 1px rgba(255, 255, 255, 0);
}
a.big {
font-size: 16px;
padding: 10px 15px;
font-size: 16px;
padding: 10px 15px;
}
a.supersize {
font-size: 20px;
padding: 15px 20px;
font-size: 20px;
padding: 15px 20px;
}
a.save {
background: url(../images/icons/tick.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
background: url(../images/icons/tick.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
}
a.upload {
background: url(../images/icons/drive-upload.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
background: url(../images/icons/drive-upload.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
}
a.add {
background: url(../images/icons/plus-circle.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
background: url(../images/icons/plus-circle.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
}
a.delete {
background: url(../images/icons/minus-circle.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
background: url(../images/icons/minus-circle.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
}
a.edit {
background: url(../images/icons/pencil.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
background: url(../images/icons/pencil.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
}
a.flag {
background: url(../images/icons/flag.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
background: url(../images/icons/flag.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
}
a.cancel {
background: url(../images/icons/slash.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
background: url(../images/icons/slash.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
}
a.copy {
background: url(../images/icons/document-copy.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
}
a.job_start {
background: url(../images/icons/server--arrow.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
}
a.results {
background: url(../images/icons/blue-folder-open-document-text.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
}
a.up {
background: url(../images/button-sprite.png) 13px -131px no-repeat #f3f3f3;
width: 18px;
background: url(../images/button-sprite.png) 13px -131px no-repeat #f3f3f3;
width: 18px;
}
a.down {
background: url(../images/button-sprite.png) 13px -166px no-repeat #f3f3f3;
width: 18px;
background: url(../images/button-sprite.png) 13px -166px no-repeat #f3f3f3;
width: 18px;
}
a.save-big {
background: url(../images/icons/tick.png) 15px center no-repeat #f3f3f3;
font-size: 16px;
padding: 10px 15px 10px 35px;
background: url(../images/icons/tick.png) 15px center no-repeat #f3f3f3;
font-size: 16px;
padding: 10px 15px 10px 35px;
}
a.add-big {
background: url(../images/icons/plus-circle.png) 15px center no-repeat #f3f3f3;
font-size: 16px;
padding: 10px 15px 10px 35px;
background: url(../images/icons/plus-circle.png) 15px center no-repeat #f3f3f3;
font-size: 16px;
padding: 10px 15px 10px 35px;
}
a.delete-big {
background: url(../images/icons/minus-circle.png) 15px center no-repeat #f3f3f3;
font-size: 16px;
padding: 10px 15px 10px 35px;
background: url(../images/icons/minus-circle.png) 15px center no-repeat #f3f3f3;
font-size: 16px;
padding: 10px 15px 10px 35px;
}
a.flag-big {
background: url(../images/icons/flag.png) 15px center no-repeat #f3f3f3;
font-size: 16px;
padding: 10px 15px 10px 35px;
background: url(../images/icons/flag.png) 15px center no-repeat #f3f3f3;
font-size: 16px;
padding: 10px 15px 10px 35px;
}
a.up-big {
background: url(../images/button-sprite.png) 15px -126px no-repeat #f3f3f3;
width: 18px;
font-size: 16px;
padding: 10px 15px;
background: url(../images/button-sprite.png) 15px -126px no-repeat #f3f3f3;
width: 18px;
font-size: 16px;
padding: 10px 15px;
}
a.down-big {
background: url(../images/button-sprite.png) 15px -161px no-repeat #f3f3f3;
width: 18px;
font-size: 16px;
padding: 10px 15px;
background: url(../images/button-sprite.png) 15px -161px no-repeat #f3f3f3;
width: 18px;
font-size: 16px;
padding: 10px 15px;
}
/* Tabs */
@@ -595,6 +627,119 @@ html ul.tabs li.active a:hover {
padding: 0;
}
/* Progress bar */
div.progress_bar {
position: relative;
margin: 0 0 15px 0;
padding: 1px;
width: 250px;
height: 20px;
border: 1px solid #999;
background: #fff;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
div.progress_bar > span {
display: block;
height: 100%;
background-color: #5b86ac;
background-image: -webkit-gradient(
linear,
left bottom,
left top,
from(#5b86ac),
to(#6891b7)
);
background-image: -moz-linear-gradient(
center bottom,
#5b86ac,
#6891b7
);
background-image: -ms-linear-gradient(
center bottom,
#5b86ac,
#6891b7
);
background-image: -o-linear-gradient(
center bottom,
#5b86ac,
#6891b7
);
position: relative;
overflow: hidden;
}
div.progress_bar > span:after {
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-image: -webkit-gradient(
linear,
0 0,
100% 100%,
color-stop(.25, rgba(255, 255, 255, .08)),
color-stop(.25, transparent),
color-stop(.5, transparent),
color-stop(.5, rgba(255, 255, 255, .08)),
color-stop(.75, rgba(255, 255, 255, .08)),
color-stop(.75, transparent),
to(transparent)
);
background-image: -moz-linear-gradient(
-45deg,
rgba(255, 255, 255, .08) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, .08) 50%,
rgba(255, 255, 255, .08) 75%,
transparent 75%,
transparent
);
background-image: -ms-linear-gradient(
-45deg,
rgba(255, 255, 255, .08) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, .08) 50%,
rgba(255, 255, 255, .08) 75%,
transparent 75%,
transparent
);
background-image: -o-linear-gradient(
-45deg,
rgba(255, 255, 255, .08) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, .08) 50%,
rgba(255, 255, 255, .08) 75%,
transparent 75%,
transparent
);
z-index: 1;
-webkit-background-size: 50px 50px;
-moz-background-size: 50px 50px;
-webkit-animation: move 2s linear infinite;
overflow: hidden;
}
div.progress_bar strong {
color: #111;
position: absolute;
top: 0;
left: 0;
z-index: 2;
width: 100%;
display: block;
line-height: 24px;
text-align: center;
}
/* JTip styles */
.form_info a,
@@ -611,7 +756,7 @@ html ul.tabs li.active a:hover {
left: -11px;
height: 23px;
width: 10px;
top: -3px;
top: -3px;
}
#jt_arrow_right {
@@ -620,7 +765,7 @@ html ul.tabs li.active a:hover {
z-index: 101;
height: 23px;
width: 11px;
top: -2px;
top: -2px;
}
#jt {
@@ -695,11 +840,11 @@ input.inplace_field, textarea.inplace_field {
}
a.inplace_save {
background: url(../images/icons/tick.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
background: url(../images/icons/tick.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
}
a.inplace_cancel {
background: url(../images/icons/slash.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
background: url(../images/icons/slash.png) 10px center no-repeat #f3f3f3;
padding-left: 30px;
}