Update Samba build farm to new web site layout.
[build-farm.git] / web / build_farm.css
index 6b8fb01021f14f8a0610fceb65c264dc199f0b38..7a8e3fd09039cf49e787665eac587d593c5aaab5 100644 (file)
@@ -23,8 +23,9 @@
         * no need to remargin
         * margin: 5px;*/
        padding: 10px;
-       border: 2px solid black;
+       border: 1px solid black;
 }
+/*
 #log div.unit.passed { background-color: rgb(180, 255, 180); }
 #log div.unit.failed { background-color: rgb(255, 180, 180); }
 #log div.unit.skipped {        background-color: rgb(180, 180, 255); }
 #log div.unit.error {  background-color: rgb(255, 180, 180); }
 #log div.unit.mistake {        background-color: rgb(180, 180, 255); }
 #log div.unit.pretest.ok {     background-color: rgb(180, 255, 180); }
-
-#log .unit.failed  .output {   display: block;}
-#log .unit.skipped .output {   display: block;}
-#log .unit.skipped .output {   display: block;}
+*/
+#log .unit.failed  .output {   display: none;}
+#log .unit.skipped .output {   display: none;}
+#log .unit.skipped .output {   display: none;}
 #log .unit.passed  .output {   display: none;}
 #log .unit.error   .output {   display: none;}
 #log .unit.mistake .output {   display: none;}
 #log .unit.errorlog .output {  display: none;}
 #log .unit.pretest  .output {  display: none;}
 #log div.status.errorlog {     display: none;}
-img + div.action.title {margin-left: 0.5em;}
-a + div.action.status {margin-left: 0.5em;}
+img + div.testlinks.title,
+img + div.cc_checker.title,
+img + div.pretest.title,
+img + div.test.title,
+img + div.action.title {
+       margin-left: 0.5em;
+}
+a + div.testlinks.status,
+a + div.cc_checker.status,
+a + div.pretest.status,
+a + div.test.status,
+a + div.action.status {
+       margin-left: 0.5em;
+}
+
 
 #log div.output-stderr-0 {
        display: none;
@@ -64,37 +78,37 @@ a + div.action.status {margin-left: 0.5em;}
 }
 
 /* generically, status correspond to the ok/ok/ok/ok strings */
-.status.passed { 
+.status.passed {
         color: rgb(0, 128, 0);
 }
 
-.status.failed { 
+.status.failed {
         color: rgb(255, 0, 0);
 }
 
-.status.panic { 
+.status.panic {
         color: rgb(255, 0, 0);
         font-weight: bold;
 }
-.status.checker { 
+.status.checker {
         color: rgb(255, 127, 0);
 }
-.status.unknown { 
+.status.unknown {
         color: rgb(0, 0, 255);
 }
 
-.summary td.status { 
+.summary td.status {
         text-align: center;
 }
 
-.summary .tree { 
+.summary .tree {
         font-weight: bold;
 }
 
-.summary .age { 
+.summary .age {
         text-align: right;
 }
-.age .old { 
+.age .old {
         color: rgb(210, 0, 0);
 }
 .preformated {
@@ -105,17 +119,17 @@ a + div.action.status {margin-left: 0.5em;}
 div.host.summary {
         float: left;
 }
-div.host.summary h3 { 
+div.host.summary h3 {
         margin-bottom: 2px;
 }
-div.summary { 
+div.summary {
         margin: 4px;
 }
-div.build-section { 
+div.build-section {
         clear: both;
         width: 100%;
 }
-#logo>.build_logo { 
+#logo>.build_logo {
         background-image:url(build_logo.png);
         background-position:center;
         background-repeat:no-repeat;
@@ -126,7 +140,7 @@ div.build-section {
         height:208px;
         margin-top:-42px;
         margin-left:1px;
-        z-index:1;      
+        z-index:1;
 }
 
 #banner {
@@ -151,14 +165,14 @@ div.build-section {
        border-bottom:2px solid #575756;
 }
 
-#build-menu { 
+#build-menu {
         position: absolute;
         top: 0;
         left: 250px;
         margin-top: 5px;
         z-index: 10;
 }
-#build-menu input { 
+#build-menu input {
         margin: 20px 10px 0px 0px;
 }
 
@@ -169,7 +183,7 @@ div.build-section {
        left:175px;
        margin:0;
 }
-.center { 
+.center {
         margin:100px 10px 0 175px;
        padding-top:30px;
        padding-left:35px;
@@ -208,14 +222,19 @@ div.build-section {
         color: green;
 }
 
-.history_row { 
-        background-color: #E5E9F5;
-        margin-bottom: 10px;
+.history_row {
+        margin-bottom: 30px;
         padding: 2px;
+        line-height: 160%;
 }
 
 .history_row .label {
-        font-style: italic;
+        font-weight: bold;
+       color: #c90000;
+}
+
+.history_row .date{
+       color: #c90000;
 }
 
 .history_row .date,
@@ -225,3 +244,214 @@ div.build-section {
 .reason {
        font-weight: bold;
 }
+
+
+
+/*css for new samba look*/
+table.newtable{
+       margin-left: auto;
+       margin-right: auto;
+}
+
+table.newtable,
+table.newtable th,
+table.newtable td {
+        border: 1px solid black;
+        padding: 5px;
+        text-align: center;
+        vertical-align: center;
+}
+
+table.newtable th{
+        color: #c90000;
+        font-weight: bold;
+}
+
+table.buildtable{
+       margin-left: auto;
+       margin-right: auto;
+}
+
+table.buildtable td{
+        border: 0px;
+        padding: 10px;
+        text-align: left;
+        vertical-align: center;
+}
+
+/*center box includes sitemap*/
+.newcontent{
+    position: absolute;
+    top: 166px;
+    left: 166px;
+    right: 266px;
+    float: left;
+    text-align: justify;
+}
+
+.newcontent pre{
+    overflow-x: auto;
+    overflow-y: hidden;
+    font-size: 15px;
+    font-weight: normal;
+    font-family:"Times New Roman", Times, serif;
+    line-height: 22px;
+}
+
+pre::-webkit-scrollbar-track
+{
+       -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
+       border-radius: 10px;
+       background-color: #F5F5F5;
+}
+
+pre::-webkit-scrollbar
+{
+       width: 12px;
+       background-color: #F5F5F5;
+}
+
+pre::-webkit-scrollbar-thumb
+{
+       border-radius: 10px;
+       -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
+       background-color: #D62929;
+}
+
+/*sitemap*/
+#bd #newsitemap {
+       float: left;
+       width: 100%;
+       margin: 21px 0 25px;
+}
+
+/*removes width applicable for entire page*/
+#page,
+#newpagestart {
+       background-image: url(https://www.samba.org/samba/style/2010/grey/bg.jpg);
+       background-position: 0 0;
+       background-repeat: no-repeat;
+}
+
+
+#newpagestart h1 {
+       color: #c90000;
+       font-size: 46px;
+       font-weight: normal;
+       font-family: Georgia, serif;
+       line-height: 58px;
+       margin: 0;
+       padding: 0;
+}
+
+#newpagestart h2 {
+       color: #c90000;
+       font-size: 24px;
+       font-weight: normal;
+       line-height: 32px;
+       margin: 0 0 16px;
+}
+
+
+#newpagestart h3 {
+       color: #c90000;
+       font-size: 24px;
+       font-weight: normal;
+       line-height: 28px;
+       margin: 0;
+}
+
+/*new banner*/
+#hd #newbannerstart {
+       background-image: url("https://www.samba.org/samba/style/2010/grey/bgHeader.png");
+       background-size: 100% 139px;
+       background-position: 0px 0px;
+       float: right;
+       height: 139px;
+       width: 100%;
+       background-repeat: no-repeat;
+}
+
+/*form*/
+#newbuildmenu{
+       position: absolute;
+        left: 15px;
+        top: 590px;
+       z-index: 10;
+        font-size: 13px;
+        line-height: 70%;
+}
+
+#newbuildmenu select{
+       width: 110px;
+
+       margin: 0;
+       -webkit-border-radius:4px;
+       -moz-border-radius:4px;
+       border-radius:4px;
+       -webkit-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
+       -moz-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
+       box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
+       background: #d9d9d9;
+       color:#333333;
+       border:none;
+       outline:none;
+       display: inline-block;
+       -webkit-appearance:none;
+       -moz-appearance:none;
+       appearance:none;
+       cursor:pointer;
+}
+
+.newform button,
+.newform input,
+#newbuildmenu input{
+       border: 1px solid #df0909; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;font-size:12px;font-family:arial, helvetica, sans-serif; padding: 0px 2px 0px 2px; text-decoration:none; display:inline-block;text-shadow: -1px -1px 0 rgba(0,0,0,0.3);font-weight:bold; color: #FFFFFF;
+       background-color: #f62b2b; background-image: -webkit-gradient(linear, left top, left bottom, from(#f62b2b), to(#d20202));
+       background-image: -webkit-linear-gradient(top, #f62b2b, #d20202);
+       background-image: -moz-linear-gradient(top, #f62b2b, #d20202);
+       background-image: -ms-linear-gradient(top, #f62b2b, #d20202);
+       background-image: -o-linear-gradient(top, #f62b2b, #d20202);
+       background-image: linear-gradient(to bottom, #f62b2b, #d20202);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#f62b2b, endColorstr=#d20202);
+}
+
+.newform button:hover,
+.newform input:hover,
+#newbuildmenu input:hover{
+       border: 1px solid #b30808;
+       background-color: #e40a0a; background-image: -webkit-gradient(linear, left top, left bottom, from(#e40a0a), to(#9f0202));
+       background-image: -webkit-linear-gradient(top, #e40a0a, #9f0202);
+       background-image: -moz-linear-gradient(top, #e40a0a, #9f0202);
+       background-image: -ms-linear-gradient(top, #e40a0a, #9f0202);
+       background-image: -o-linear-gradient(top, #e40a0a, #9f0202);
+       background-image: linear-gradient(to bottom, #e40a0a, #9f0202);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#e40a0a, endColorstr=#9f0202);      
+}
+
+.relatedLeft{
+       position: absolute;
+       top: 540px;
+       left: 2px;
+       width: 140px;
+       background-image: url("https://www.samba.org/samba/style/2010/grey/bgBoxSpecial.gif");
+        background-size: 140px auto;
+}
+
+.relatedLeftContent h4{
+       color: #c90000;
+       font-size: 18px;
+       font-weight: normal;
+       font-family: Georgia, serif;
+       line-height: 20px;
+        position: relative;
+        left: 30px;
+        top: 20px;
+        margin: 0 0 16px;
+}
+
+.relatedLeftBottom{
+       position: absolute;
+       width: 140px;
+       height: 16px;
+        background-image: url("https://www.samba.org/samba/style/2010/grey/bgBoxSpecialBottom.gif");
+        background-size: 140px 16px;
+}