add is_significant attribute to relationships. Closes #33
[scpubgit/stemmaweb.git] / root / css / style.css
index af418e5..5d55a48 100644 (file)
-<style type="text/css" media="screen">
-
 /* General site-wide layout */
 body { 
     margin: 0; 
-    padding: 20px; 
-    font: 1em Arial, Helvetica, sans-serif; 
+    font: 1em "Open Sans", Arial, Helvetica, sans-serif; 
     font-size: 85%; 
-    color: #666;
-}
+    background: #EDF1FA;
+    color: #444;
+}
+.clearfix:after { 
+       content: "\00A0"; 
+       display: block; 
+       clear: both; 
+       visibility: hidden; 
+       line-height: 0; 
+       height: 0;
+}  
+.clearfix{ 
+       display: inline-block;
+}  
+html[xmlns] .clearfix { 
+       display: block;
+}  
+* html .clearfix{ 
+       height: 1%;
+}  
+.clearfix {
+       display: block
+}  
+
 h1 {
     border-bottom: 1px solid #488dd2;
     color: #488dd2;
-    font-size: 24px;
-    font-weight: 100;
-    margin: 0 0 17px;
-    padding: 0;
-    width: 650px;
+    font-size: 18pt;
 }
 h2 {
-    margin-top: 0px;
+    margin-top: 10px;
+    color: #488dd2;
+    font-size: 18px;
 } 
-
-/* Index page components */
-
-#directory {
-       float: left;
-       width: 300px;
-       height: 450px;
-       border: 1px #c6dcf1 solid;
-}
-.traditionname {
-       text-decoration: underline;
-}
-.selected {
+h3 {
+       color: #488dd2;
+       font-size: 14px;
        font-style: italic;
 }
+
+div.button {
+  background: transparent url('../images/b_button_a.png') no-repeat scroll top right;
+  color: #fff;
+  display: block;
+  float: left;
+  font: normal 12px Times, Times New Roman, Serif; /* arial, sans-serif; */
+  height: 24px;
+  margin-right: 6px;
+  padding-right: 18px; /* sliding doors padding */
+  text-decoration: none;
+}
+div.button.reset {
+  background: transparent url('../images/c_button_a.png') no-repeat scroll top right;
+}
+div.button span {
+  background: transparent url('../images/b_button_span.png') no-repeat;
+  display: block;
+  line-height: 14px;
+  padding: 5px 0 5px 18px;
+}
+div.button.reset span {
+  background: transparent url('../images/c_button_span.png') no-repeat;
+}
+div.button:hover {
+  background-position: bottom right;
+  color: #444;
+  outline: none; /* hide dotted outline in Firefox */
+}
+div.button:hover span {
+  background-position: bottom left;
+}
+#stemma_pager_buttons {
+    height: 28px;
+}
+div.pager_left_button {
+  width: 28px;
+  height: 28px;
+  float: left;
+  background: transparent url('../images/button_left_28.png') no-repeat left bottom;    
+}
+div.pager_left_button:hover {
+    background: transparent url('../images/button_left_28.png') no-repeat center bottom;    
+}
+div.pager_right_button:hover {
+    background: transparent url('../images/button_right_28.png') no-repeat center bottom;    
+}
+div.pager_right_button {
+  width: 28px;
+  height: 28px;
+  float: left;
+  margin-left: 10px;
+  background: transparent url('../images/button_right_28.png') no-repeat left bottom;
+}
+div.pager_right_button.greyed_out, div.pager_right_button.greyed_out:hover {
+    opacity: 0.5;
+    background: url("../images/button_right_28.png") no-repeat scroll right bottom transparent;
+}
+div.pager_left_button.greyed_out, div.pager_left_button.greyed_out:hover {
+    opacity: 0.5;
+    background: url("../images/button_left_28.png") no-repeat scroll right bottom transparent;
+}
+#main_page {
+    background: transparent url('../images/logo_001.png') no-repeat scroll -200px -100px;
+    background-size: 600px;
+    background-color: #ffffff;
+    box-shadow: 0 3px 10px rgba(100, 100, 100, 0.3);
+    width: 1124px;
+    padding-bottom: 30px;
+       margin: 48px auto 48px;    
+}
+#topbanner {
+       padding: 30px;
+}
+#bannerinfo {
+       float: right;
+       margin-right: 12%;
+       margin-top: 15px;
+}
+#docco {
+       padding: 30px;
+}
 .mainnav {
-       position: absolute;
-       top: 10px;
-       right: 80px;
        font-size: 14px;
        font-weight: 100;
-       color: #488dd2;
-}
-.mainnav a {
-       color: #488dd2;
-}
-#variant_graph {
-       clear: both;
-       /* width: 900px; */
-       height: 400px;
-       border: 1px #c6dcf1 solid;
-       overflow: auto; 
-       text-align: center;
+       background-color: #488dd2;
+       color: #ffffff;
+       padding: 5px;
+       float: right;
 }
-#variant_graph img {
-       margin-top: expression(( 400 - this.height ) / 2);
-}
-#stemma_graph {
-    float: left;
-    width: 500px;
-    height: 450px;
-    border: 1px #c6dcf1 solid;
-    text-align: center;
-    margin-left: 50px;
-}
-#stemma_graph img {
-       margin-top: expression(( 450 - this.height ) / 2);
-}
-/* Additional components for the stexaminer */
-#variants_table {
-    float: left;
-    width: 450px;
-    height: 550px;
-    border-right: 1px #c6dcf1 solid;
-    margin-left: 20px;
-    overflow: auto;
-}
-#statistics {
-    font-style: italic;
-    margin-bottom: 25px;
-    position: relative;
-    top: -15px;
-}
-.genealogical {
-    background: #88ffaa;
-}
-.coincidental {
-    background: #fff;
-}
-.conflict {
-    background: #ff6666;
-}
-.active_variant_row {
-    background: #c6dcf1;
-    font-style: italic;
-}
-.active_variant_cell {
-    background: #e8f1fe;
-}
-.cellb0 {
-    border-right: 20px solid #ffeeaa;
-}
-.cellb1 {
-    border-right: 20px solid #afc6e9;
-}
-.cellb2 {
-    border-right: 20px solid #d5fff6;
-}
-.cellb3 {
-    border-right: 20px solid #ffccaa;
-}
-.cellb4 {
-    border-right: 20px solid #ffaaaa;
-}
-.cellb5 {
-    border-right: 20px solid #e5ff80;
+.navlink {
+       color: #ffffff;
+       text-decoration: underline;
 }
-.cellb6 {
-    border-right: 20px solid #e5d5ff;
+.error {
+    font-weight: bold;
+    color: #ff3333;
 }
-.cellb7 {
-    border-right: 20px solid #ffd5e5;
+.notification {
+       font-weight: bold;
+       color: #33ff33;
 }
-</style>
\ No newline at end of file