Author: sevein
Date: Tue Sep  6 17:27:34 2011
New Revision: 9682

Log:
Removing unused Drupal CSS code, integration of widgets like password

Modified:
   trunk/plugins/qtTrilliumPlugin/css/less/_drupal.less
   trunk/plugins/qtTrilliumPlugin/css/less/_misc.less

Modified: trunk/plugins/qtTrilliumPlugin/css/less/_drupal.less
==============================================================================
--- trunk/plugins/qtTrilliumPlugin/css/less/_drupal.less        Tue Sep  6 
17:10:47 2011        (r9681)
+++ trunk/plugins/qtTrilliumPlugin/css/less/_drupal.less        Tue Sep  6 
17:27:34 2011        (r9682)
@@ -48,99 +48,6 @@
 
   }
 
-  fieldset.collapsed {
-
-    border-bottom-width: 0;
-    border-left-width: 0;
-    border-right-width: 0;
-    margin-bottom: 0;
-    height: 1em;
-
-    * {
-
-      display: none;
-
-    }
-
-    legend,
-    legend a span.element-invisible {
-
-      display: block;
-      overflow: hidden;
-
-    }
-
-    legend a {
-
-      background-image: 
url(../../../sfDrupalPlugin/vendor/drupal/misc/menu-collapsed.png); /* LTR */
-      background-position: 5px 50%; /* LTR */
-
-    }
-
-    /* Note: IE-only fix due to '* html' (breaks Konqueror otherwise). */
-    legend,
-    legend *,
-    table * {
-      display: inline;
-    }
-
-  }
-
-  fieldset.collapsible {
-
-    position: relative; /* For Safari 2 to prevent collapsible fieldsets 
containing tables from dissapearing due to tableheader.js. */
-
-    legend {
-
-      a {
-
-        display: inline;
-        padding-left: 15px; /* LTR */
-        background: 
url(../../../sfDrupalPlugin/vendor/drupal/misc/menu-expanded.png) 5px 75% 
no-repeat; /* LTR */
-
-      }
-
-      span.summary {
-
-        display: inline;
-        font-size: 0.9em;
-        color: #999;
-        margin-left: 0.5em;
-
-      }
-
-    }
-
-    .fieldset-wrapper {
-
-      overflow: auto; /* Avoid jumping around due to margins collapsing into 
collapsible fieldset border */
-
-    }
-
-  }
-
-}
-
-.resizable-textarea {
-
-  .grippie {
-
-    height: 9px;
-    overflow: hidden;
-    background: #eee 
url(../../../sfDrupalPlugin/vendor/drupal/misc/grippie.png) no-repeat center 
2px;
-    border: 1px solid #ddd;
-    border-top-width: 0;
-    cursor: s-resize;
-
-  }
-
-}
-
-html.js .resizable-textarea textarea {
-
-  margin-bottom: 0;
-  display: block;
-
 }
 
 /**
@@ -186,130 +93,7 @@
   background: url(../../../sfDrupalPlugin/vendor/drupal/misc/tree.png) 
no-repeat -11px center;
 }
 
-/**
- * Progress bar
- */
-.progress {
-  font-weight: bold;
-}
-.progress .bar {
-  border-radius: 3px;
-  -moz-border-radius: 3px;
-  -webkit-border-radius: 3px;
-  background: #ccc;
-  border: 1px solid #666;
-  margin: 0 0.2em;
-}
-.progress .filled {
-  background: #0072b9 
url(../../../sfDrupalPlugin/vendor/drupal/misc/progress.gif);
-  height: 1.5em;
-  width: 5px;
-}
-.progress .percentage {
-  float: right; /* LTR */
-}
-.progress-disabled {
-  float: left; /* LTR */
-}
-.ajax-progress {
-  float: left; /* LTR */
-}
-.ajax-progress .throbber {
-  width: 15px;
-  height: 15px;
-  margin: 2px;
-  background: transparent 
url(../../../sfDrupalPlugin/vendor/drupal/misc/throbber.gif) no-repeat 0px 
-18px;
-  float: left; /* LTR */
-}
-tr .ajax-progress .throbber {
-  margin: 0 2px;
-}
-.ajax-progress-bar {
-  width: 16em;
-}
 
-/**
- * Multiselect form
- */
-dl.multiselect dd, dl.multiselect dd .form-item, dl.multiselect dd select {
-  font-family: inherit;
-  font-size: inherit;
-  width: 14em;
-}
-dl.multiselect dt, dl.multiselect dd {
-  float: left; /* LTR */
-  line-height: 1.75em;
-  padding: 0;
-  margin: 0 1em 0 0; /* LTR */
-}
-dl.multiselect .form-item {
-  height: 1.75em;
-  margin: 0;
-}
-
-/**
- * Password strength indicator
- */
-#password-strength {
-  width: 17em;
-  float: right;  /* LTR */
-  margin-top: 1.4em;
-}
-.password-strength-title {
-  display: inline;
-}
-#password-strength-text {
-  float: right; /* LTR */
-  font-weight: bold;
-}
-#password-indicator {
-  background-color: #C4C4C4;
-  height: 0.3em;
-  width: 100%;
-}
-#password-indicator div {
-  height: 100%;
-  width: 0%;
-  background-color: #47C965;
-}
-input.password-confirm, input.password-field {
-  width: 16em;
-  margin-bottom: 0.4em;
-}
-div.password-confirm {
-  display: inline;
-  padding-left: 1em;
-}
-div.password-suggestions {
-  padding: 0.2em 0.5em;
-  margin: 0.7em 0;
-  width: 38.5em;
-  border: 1px solid #B4B4B4;
-}
-div.password-suggestions ul {
-  margin-bottom: 0;
-}
-.password-parent {
-  margin: 0;
-  width: 34.3em;
-}
-
-/**
- * Password confirmation checker
- */
-.confirm-parent {
-  margin: 0;
-}
-div.password-confirm {
-  visibility: hidden;
-}
-
-/**
- * Inline items (need to override above)
- */
-.container-inline div, .container-inline label {
-  display: inline;
-}
 
 .nowrap {
   white-space: nowrap;

Modified: trunk/plugins/qtTrilliumPlugin/css/less/_misc.less
==============================================================================
--- trunk/plugins/qtTrilliumPlugin/css/less/_misc.less  Tue Sep  6 17:10:47 
2011        (r9681)
+++ trunk/plugins/qtTrilliumPlugin/css/less/_misc.less  Tue Sep  6 17:27:34 
2011        (r9682)
@@ -200,27 +200,6 @@
 
   }
 
-  fieldset {
-
-    margin: 1em 0;
-    padding: 1em;
-    border-top: 1px solid @grayLighter;
-
-    legend {
-
-      .btn();
-      margin-left: 20px;
-
-      a {
-
-        display: block;
-
-      }
-
-    }
-
-  }
-
   .admin-info {
 
     border-top: 1px solid #999;
@@ -402,3 +381,203 @@
   }
 
 }
+
+/*
+ * Autocomplete
+ */ 
+
+/*
+ * Resizable textarea
+ */
+
+.resizable-textarea {
+
+  .grippie {
+
+    height: 9px;
+    overflow: hidden;
+    background: #eee 
url(../../../sfDrupalPlugin/vendor/drupal/misc/grippie.png) no-repeat center 
2px;
+    border: 1px solid #ddd;
+    border-top-width: 0;
+    cursor: s-resize;
+
+  }
+
+}
+
+html.js .resizable-textarea textarea {
+
+  margin-bottom: 0;
+  display: block;
+
+}
+
+/*
+ * Fieldset
+ */
+
+fieldset {
+
+  margin: 1em 0;
+  padding: 1em;
+  border-top: 1px solid @grayLighter;
+
+  legend {
+
+    display: inline-block;
+    margin-left: 20px;
+    padding: 4px 14px;
+    font-size: 13px;
+    line-height: @baseline;
+    border: 1px solid #ccc;
+    border-bottom-color: #bbb;
+    .border-radius(4px);
+    @shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
+    .box-shadow(@shadow);
+
+  }
+
+}
+
+html.js {
+
+  fieldset.collapsed {
+
+    * {
+
+      display: none;
+
+    }
+
+    legend,
+    legend a span.element-invisible {
+
+      display: block;
+      overflow: hidden;
+
+    }
+
+  }
+
+  fieldset.collapsible {
+
+    legend {
+
+      a {
+
+        display: inline;
+
+      }
+
+      span.summary {
+
+        display: inline;
+        font-size: 0.9em;
+        color: #999;
+        margin-left: 0.5em;
+
+      }
+
+    }
+
+    .fieldset-wrapper {
+
+      overflow: auto; /* Avoid jumping around due to margins collapsing into 
collapsible fieldset border */
+
+    }
+
+  }
+
+}
+
+/*
+ *  Password strength indicator
+ */
+
+.password-parent {
+
+  #password-strength {
+
+    width: 17em;
+    float: right;
+    margin-right: 140px;
+
+  }
+
+  #password-indicator {
+
+    background-color: #C4C4C4;
+    height: 1em;
+    width: 100%;
+
+    div {
+
+      height: 100%;
+      width: 0%;
+      background-color: #47C965;
+
+    }
+
+  }
+
+}
+
+.confirm-parent {
+
+  input.password-confirm {
+  
+  }
+
+  div.password-confirm {
+
+    float: right;
+    margin-right: 140px;
+
+    .ok {
+
+      color: @green;
+
+    }
+
+    .error {
+
+      color: @red;
+
+    }
+
+  }
+
+}
+
+.password-strength-title {
+  display: inline;
+}
+#password-strength-text {
+  float: right; /* LTR */
+  font-weight: bold;
+}
+
+input.password-confirm, input.password-field {
+  width: 16em;
+  margin-bottom: 0.4em;
+}
+
+div.password-suggestions {
+  padding: 0.2em 0.5em;
+  margin: 0.7em 0;
+  width: 38.5em;
+  border: 1px solid #B4B4B4;
+}
+div.password-suggestions ul {
+  margin-bottom: 0;
+}
+
+/**
+ * Password confirmation checker
+ */
+.confirm-parent {
+  margin: 0;
+}
+div.password-confirm {
+  visibility: hidden;
+}

-- 
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