]> git.donarmstrong.com Git - biopieces.git/commitdiff
changes to browser
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Fri, 27 Nov 2009 09:46:06 +0000 (09:46 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Fri, 27 Nov 2009 09:46:06 +0000 (09:46 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@781 74ccb610-7750-0410-82ae-013aeee3265d

www/bgb.css
www/index.cgi

index 6f6928a4ab80c525179f3399cf4df3d8f723ca0a..c550c9f298bc5877b567cfed31ffaeddba61da2a 100644 (file)
 /* border-color: red;
 /*
 /*
-/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */
+
+/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> BODY <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */
 
 
+body {
+    background-color:   #d0e4fe;
+}
+
 
 /* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DIV <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */
 
+
 div.navigate {
 
 }
@@ -228,6 +235,7 @@ div.browse {
     text-align:         center;
 }
 
+
 /* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> GENERIC CLASSES <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */
 
 
@@ -237,7 +245,7 @@ div.browse {
 
 
 .italic {
-    font-style:        italic;
+    font-style:         italic;
 }
 
 
@@ -260,6 +268,14 @@ div.browse {
 }
 
 
+/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> IMAGE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */
+
+
+img {
+    border-style:        none;
+}
+
+
 /* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> HEADINGS AND PARAGRAPH <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */
 
 
index 5d0d8dc77c256b5d29050d3da4a3156dbe5fd987..38957c3761bd51aba0e3dc4cf186cb64d1dc2a66 100755 (executable)
@@ -392,6 +392,8 @@ sub page_export
 
     # Returns a list.
 
+    my ( @html );
+
     push @html, section_taxonomy_table( $cookie );
     push @html, section_export( $cookie );
 
@@ -460,7 +462,7 @@ sub section_taxonomy_table
     
     foreach $page ( @{ $cookie->{ 'LIST_PAGES' } } )
     {
-        last if $page eq $cookie->{ 'PAGE' };
+        last if $page eq $cookie->{ 'PAGE' } or $page eq 'browse';
 
         $href = cookie_href( $cookie, $page );
 
@@ -593,6 +595,10 @@ sub section_browse
     $surface = Cairo::ImageSurface->create( 'argb32', $cookie->{ 'IMG_WIDTH' }, $cookie->{ 'TRACK_OFFSET' } );
     $cr      = Cairo::Context->create( $surface );
 
+    $cr->rectangle (0, 0, $cookie->{ 'IMG_WIDTH' },  $cookie->{ 'TRACK_OFFSET' } );
+    $cr->set_source_rgb (1, 1, 1);
+    $cr->fill;
+
     foreach $feat ( @features ) {
         Maasha::BBrowser::Draw::draw_feature( $cr, $feat ) if $feat;
     }