[dw-free] Revamp /update
[commit: http://hg.dwscoalition.org/dw-free/rev/43259175fc2d]
http://bugs.dwscoalition.org/show_bug.cgi?id=2524
Use shadows to provide a bit more depth (with thanks to
stormy
for the suggestion)
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2524
Use shadows to provide a bit more depth (with thanks to
for the suggestion)
Patch by
Files modified:
- htdocs/js/jquery.autocompletewithunknown.js
- htdocs/stc/base-colors-dark.css
- htdocs/stc/base-colors-light.css
- htdocs/stc/jquery.autocompletewithunknown.css
- views/entry/module-crosspost.tt
--------------------------------------------------------------------------------
diff -r 7d0d121da482 -r 43259175fc2d htdocs/js/jquery.autocompletewithunknown.js
--- a/htdocs/js/jquery.autocompletewithunknown.js Tue Dec 06 17:10:13 2011 +0800
+++ b/htdocs/js/jquery.autocompletewithunknown.js Tue Dec 06 17:36:32 2011 +0800
@@ -129,7 +129,7 @@
if (!self.options.id)
self.options.id = "autocomplete_"+self.element.attr("id");
- self.uiAutocomplete = self.element.wrap("<div class='autocomplete_container'></div>").parent().attr("id", self.options.id);
+ self.uiAutocomplete = self.element.wrap("<div class='autocomplete_container'></div>").parent().attr("id", self.options.id).addClass(self.element.attr("class"));
self.uiAutocompletelist = $("<ul class='autocomplete_list'></ul>").appendTo(self.uiAutocomplete).attr( "aria-live", "assertive" );
diff -r 7d0d121da482 -r 43259175fc2d htdocs/stc/base-colors-dark.css
--- a/htdocs/stc/base-colors-dark.css Tue Dec 06 17:10:13 2011 +0800
+++ b/htdocs/stc/base-colors-dark.css Tue Dec 06 17:36:32 2011 +0800
@@ -117,3 +117,9 @@
border-color: #444;
background-color: #4b4b4b;
}
+
+.text:hover {
+ -moz-box-shadow: inset 0 2px 4px #444;
+ -webkit-box-shadow:inset 0 2px 4px #444;
+ box-shadow: inset 0 2px 4px #444;
+}
diff -r 7d0d121da482 -r 43259175fc2d htdocs/stc/base-colors-light.css
--- a/htdocs/stc/base-colors-light.css Tue Dec 06 17:10:13 2011 +0800
+++ b/htdocs/stc/base-colors-light.css Tue Dec 06 17:36:32 2011 +0800
@@ -118,3 +118,9 @@
border-color: #efefef;
background-color: #f2f2f2;
}
+
+.text:hover {
+ -moz-box-shadow: inset 0 1px 2px #999;
+ -webkit-box-shadow:inset 0 1px 2px #999;
+ box-shadow: inset 0 1px 2px #999;
+}
diff -r 7d0d121da482 -r 43259175fc2d htdocs/stc/jquery.autocompletewithunknown.css
--- a/htdocs/stc/jquery.autocompletewithunknown.css Tue Dec 06 17:10:13 2011 +0800
+++ b/htdocs/stc/jquery.autocompletewithunknown.css Tue Dec 06 17:36:32 2011 +0800
@@ -38,6 +38,7 @@
width: 100%;
margin-top: 0.25em;
line-height: 1em;
+ padding: 2px 0 0 2px;
}
.autocomplete_container textarea {
diff -r 7d0d121da482 -r 43259175fc2d views/entry/module-crosspost.tt
--- a/views/entry/module-crosspost.tt Tue Dec 06 17:10:13 2011 +0800
+++ b/views/entry/module-crosspost.tt Tue Dec 06 17:36:32 2011 +0800
@@ -54,7 +54,7 @@
name = "crosspost_password_$account.id"
id = "crosspost_password_$account.id"
- class = "crosspost_password"
+ class = "crosspost_password text"
labelclass="checkboxlabel"
) -%]
--------------------------------------------------------------------------------
