Author: sevein
Date: Thu Apr  5 13:34:08 2012
New Revision: 11400

Log:
Add less file for treeview

Added:
   branches/2.0/plugins/qtDominionPlugin/css/less/_treeview.less   (contents, 
props changed)
Modified:
   branches/2.0/plugins/qtDominionPlugin/css/less/_archivaldescription.less
   branches/2.0/plugins/qtDominionPlugin/css/main.less

Modified: 
branches/2.0/plugins/qtDominionPlugin/css/less/_archivaldescription.less
==============================================================================
--- branches/2.0/plugins/qtDominionPlugin/css/less/_archivaldescription.less    
Thu Apr  5 13:32:49 2012        (r11399)
+++ branches/2.0/plugins/qtDominionPlugin/css/less/_archivaldescription.less    
Thu Apr  5 13:34:08 2012        (r11400)
@@ -43,84 +43,13 @@
 
 .tab-content h2 { .hide; }
 
-#holdings {
-  white-space: nowrap;
 
-  ul {
-    li {
-      padding:5px 0 5px 17px;
-      #translucent > .background(@black, .2);
-
-      a {
-        color: @white;
-        font-family: @smallFontFamily;
-
-      }
-
-      &:hover {
-        #translucent > .background(@white, .2);
-        text-decoration: none;
-      }
-
-      .adminbuttons a:hover {
-        color: @black !important;
-      }
-    }
-
-    .expand {
-      padding-left:2px !important;
-    }
-
-    .up {
-      border-bottom: 1px solid @white;
-      padding-left:2px !important;
-      background:none;
-    }
-
-    .back {
-      border-bottom: 1px solid @white;
-      padding-left:2px !important;
-      background:none;
-    }
-
-    .active {
-      background-color: @white;
-
-      a {
-        color: @orange;
-      }
-    }
-  }
-}
 
 #export {
   margin-left: 10px;
   margin-top: 20px;
 }
 
-// Arrow Icons for Tree
-[class^="arrow-"] {
-  display: inline-block;
-  width: 10px;
-  height: 10px;
-  vertical-align: middle;
-  margin-right:3px;
-  background-image: url(../../images/arrow-sprites.png);
-  background-position: 10px 10px;
-  background-repeat: no-repeat;
-  .ie7-restore-right-whitespace();
-}
-
-.arrow-down               { background-position: 0 -10px; }
-.arrow-left               { background-position: -10px -10px; }
-.arrow-right              { background-position: -20px -10px; }
-
-#holdings .active a {
-  .arrow-down               { background-position: 0 0; }
-  .arrow-left               { background-position: -10px 0; }
-  .arrow-right              { background-position: -20px 0; }
-}
-
 #mediadisplay {
   background-color: @black;
   padding:10px;
@@ -363,7 +292,7 @@
     margin: auto 10px !important;
   }
 
-  #holdings {
+  #treeview {
     margin: auto 10px !important;
     white-space: normal;
   }

Added: branches/2.0/plugins/qtDominionPlugin/css/less/_treeview.less
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ branches/2.0/plugins/qtDominionPlugin/css/less/_treeview.less       Thu Apr 
 5 13:34:08 2012        (r11400)
@@ -0,0 +1,94 @@
+#treeview {
+
+  white-space: nowrap;
+
+  ul {
+
+    li {
+
+      padding: 5px 0 5px 17px;
+      #translucent > .background(@black, .2);
+
+      a {
+
+        color: @white;
+        font-family: @smallFontFamily;
+
+      }
+
+      &:hover {
+
+        #translucent > .background(@white, .2);
+        text-decoration: none;
+
+      }
+
+      .adminbuttons a:hover {
+
+        color: @black !important;
+
+      }
+
+      &.expand {
+
+        padding-left: 2px !important;
+
+      }
+
+      &.up {
+
+        border-bottom: 1px solid @white;
+        padding-left: 2px !important;
+        background: none;
+
+      }
+
+      &.back {
+
+        border-bottom: 1px solid @white;
+        padding-left:2px !important;
+        background:none;
+
+      }
+
+      &.active {
+
+        background-color: @white;
+
+        a {
+          color: @orange;
+        }
+
+      }
+
+    }
+
+  }
+
+  [class^="arrow-"] {
+
+    display: inline-block;
+    width: 10px;
+    height: 10px;
+    vertical-align: middle;
+    margin-right: 3px;
+    background-image: url(../../images/arrow-sprites.png);
+    background-position: 10px 10px;
+    background-repeat: no-repeat;
+    .ie7-restore-right-whitespace();
+
+  }
+
+  .arrow-down { background-position: 0 -10px; }
+  .arrow-left { background-position: -10px -10px; }
+  .arrow-right { background-position: -20px -10px; }
+
+  li.active a {
+
+    .arrow-down { background-position: 0 0; }
+    .arrow-left { background-position: -10px 0; }
+    .arrow-right { background-position: -20px 0; }
+
+  }
+
+}

Modified: branches/2.0/plugins/qtDominionPlugin/css/main.less
==============================================================================
--- branches/2.0/plugins/qtDominionPlugin/css/main.less Thu Apr  5 13:32:49 
2012        (r11399)
+++ branches/2.0/plugins/qtDominionPlugin/css/main.less Thu Apr  5 13:34:08 
2012        (r11400)
@@ -33,6 +33,7 @@
 // @import "less/_forms";
 
 // Other stuff
+@import "less/_treeview";
 @import "less/_popovers";
 @import "less/_search";
 @import "less/_advancedsearch";

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to