diff options
author | Chad Kieffer <chad@2tbsp.com> | 2009-01-04 00:35:12 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2009-01-04 00:35:12 +0000 |
commit | 85574d7b82f9bf6ea44eb594594ae3bb9f7f8ff4 (patch) | |
tree | e5d0ce7fa6a0a29b1aeb5abf63e5e97675e031ab | |
parent | 2f44c2b2695071f8cad0167d424125193027b2bd (diff) |
CSS/JS formatting and selector updates.
-rw-r--r-- | core/css/debug.css | 3 | ||||
-rw-r--r-- | core/css/quickedit.css | 24 | ||||
-rw-r--r-- | core/js/quickedit.js | 12 |
3 files changed, 19 insertions, 20 deletions
diff --git a/core/css/debug.css b/core/css/debug.css index 82d365aa..c957fd77 100644 --- a/core/css/debug.css +++ b/core/css/debug.css @@ -24,6 +24,5 @@ text-align: left; padding: 4px; font-size: 110%; - -moz-border-radius: 5% 5% 5% 5%; + -moz-border-radius: 5%; } - diff --git a/core/css/quickedit.css b/core/css/quickedit.css index 1ab00de5..62cd0cb6 100644 --- a/core/css/quickedit.css +++ b/core/css/quickedit.css @@ -1,25 +1,25 @@ -div.gQuickEdit { - margin: 0px !important; - padding: 0px !important; +.gQuickEdit { + margin: 0 !important; + padding: 0 !important; border: none !important; } #gQuickEditPane { - background: white; + background: #fff; opacity: 0.8; - border-bottom: 1px dashed black; + border-bottom: 1px dashed #000; } #gQuickEditPane div { - background: red; + background-color: red; float: right; display: inline; cursor: pointer; margin: 8px; } -#gQuickEditPane div.rotate-clockwise { - background: url(../images/arrow_rotate_clockwise.png); +#gQuickEditPane .rotate-clockwise { + background: url('../images/arrow_rotate_clockwise.png'); width: 16px; height: 16px; position: absolute; @@ -27,12 +27,12 @@ div.gQuickEdit { right: 0px; } -#gQuickEditPane div.rotate-clockwise span { +#gQuickEditPane .rotate-clockwise span { display: none; } -#gQuickEditPane div.rotate-counter-clockwise { - background: url(../images/arrow_rotate_anticlockwise.png); +#gQuickEditPane .rotate-counter-clockwise { + background: url('../images/arrow_rotate_anticlockwise.png'); width: 16px; height: 16px; position: absolute; @@ -40,6 +40,6 @@ div.gQuickEdit { left: 0px; } -#gQuickEditPane div.rotate-counter-clockwise span { +#gQuickEditPane .rotate-counter-clockwise span { display: none; } diff --git a/core/js/quickedit.js b/core/js/quickedit.js index d63a0037..307a5f3a 100644 --- a/core/js/quickedit.js +++ b/core/js/quickedit.js @@ -1,5 +1,5 @@ $(document).ready(function() { - $("div.gQuickEdit").hover(show_quickedit, function() { }); + $(".gQuickEdit").hover(show_quickedit, function() {}); }); var show_quickedit = function() { @@ -43,11 +43,11 @@ var quickedit = function(quick_edit, pane, img) { var pos = img.position(); quick_edit.removeClass("gLoadingLarge"); $("#gQuickEditPane").css({ - "position": "absolute", - "top": pos.top, - "left": pos.left, - "width": img.innerWidth() + 1, - "height": 32 + "position": "absolute", + "top": pos.top, + "left": pos.left, + "width": img.innerWidth() + 1, + "height": 32 }); } }); |