Permalink
Browse files

super picker work

  • Loading branch information...
rauhryan committed Oct 4, 2011
1 parent a802709 commit 4af6cbebc291f29f8829af8ff70174a9105d84d2
View
@@ -44,3 +44,4 @@
@import "lib/dovetail/notifications.less";
@import "lib/dovetail/footer.less";
@import "lib/dovetail/styles.less";
+@import "lib/dovetail/input-widths.less";
@@ -0,0 +1,20 @@
+.span-two-thirds {
+ input[type~=text],select,textarea {
+ width:590px;
+ }
+ .autocomplete-wrapper {
+ input {
+ width:545px;
+ }
+ }
+}
+.span-one-third{
+ input[type~=text],select,textarea {
+ width: 245px;
+ }
+ .autocomplete-wrapper {
+ input {
+ width: 200px;
+ }
+ }
+}
View
@@ -1,6 +1,5 @@
/* Override some defaults */
html, body {
- background-color: #eee;
}
body {
padding-top: 40px; /* 40px to make the container go all the way to the bottom of the topbar */
@@ -61,4 +60,59 @@ li#cog a:hover {
margin-right:5px;
margin-bottom:5px;
+}
+ }
+
+/* Smart autocomplete */
+
+ul.smart_autocomplete_container {
+ background: #FFF;
+ margin:10px 0;
+ border: 2px solid #64A9D2;
+}
+ul.smart_autocomplete_container li {
+ font-size: 0.9em;
+ border-top: 1px solid #BFBFBF;
+ border-bottom: 1px solid #BFBFBF;
+ cursor: pointer;
+ padding:10px;
+ list-style: none;
+}
+ul.smart_autocomplete_container li:nth-child(odd)
+{
+ background:#EEE;
+}
+ul.smart_autocomplete_container li:first-child {
+ border-top: 0;
+}
+ul.smart_autocomplete_container li.smart_autocomplete_highlight{
+ background: #DDD;
+
+}
+
+.autopicker {
+
+ position:relative;
+ .button-add, a.button-add, .button-add span {
+ text-indent:-9999em;
+ background:none;
+ height:16px;
+ width:16px;
+ border:0;
+ position:absolute;
+ right:3px;
+ top:23px;
+ span {
+ background: ~"url(../images/add.png) left top no-repeat";
+ margin:0;
+ padding:0;
+ }
+ }
+ .autocomplete-wrapper {
+ img {
+ position: absolute;
+ top:44px;
+ right:30px;
+ }
+ }
}
@@ -143,6 +143,7 @@
<SubType>Designer</SubType>
</None>
<Content Include="content\favicon.ico" />
+ <Content Include="content\images\dt-logo-32.png" />
<Content Include="content\images\dt-logo-60.png" />
<Content Include="content\images\dt-logo-trans-35.png" />
<Content Include="content\images\dt-logo-trans-40.png" />
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4af6cbe

Please sign in to comment.