summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-03-18 06:15:37 +0000
committerChad Kieffer <chad@2tbsp.com>2009-03-18 06:15:37 +0000
commit591403d79453204b537f51b4d213dfef0c9cc270 (patch)
tree1fa07f1ed13b3df6aaa33aad63b2aebbc92530bf
parenta20241f9eab92930827339187d4de66c73e0bffb (diff)
Added rotate cc and ccw icons to themeroller theme and css to default theme, applied to quick pane rotate buttons. Hope that jQuery UI includes rotate icons eventrually so we don't have to maintain this.
-rw-r--r--core/views/quick_pane.html.php4
-rw-r--r--lib/themeroller/images/ui-icons_217bc0_256x240.pngbin4379 -> 7638 bytes
-rw-r--r--lib/themeroller/images/ui-icons_2e83ff_256x240.pngbin4379 -> 7626 bytes
-rw-r--r--lib/themeroller/images/ui-icons_6da8d5_256x240.pngbin4379 -> 8447 bytes
-rw-r--r--themes/default/css/screen.css8
5 files changed, 10 insertions, 2 deletions
diff --git a/core/views/quick_pane.html.php b/core/views/quick_pane.html.php
index b4a9dbf0..45d14251 100644
--- a/core/views/quick_pane.html.php
+++ b/core/views/quick_pane.html.php
@@ -16,14 +16,14 @@
<? if ($item->is_photo() && graphics::can("rotate")): ?>
<a class="gButtonLink ui-corner-all ui-state-default" href="<?= url::site("quick/rotate/$item->id/ccw?csrf=" . access::csrf_token()) ?>"
title="<?= t("Rotate 90 degrees counter clockwise") ?>">
- <span class="ui-icon ui-icon-arrowthick-1-w">
+ <span class="ui-icon ui-icon-rotate-ccw">
<?= t("Rotate 90 degrees counter clockwise") ?>
</span>
</a>
<a class="gButtonLink ui-corner-all ui-state-default" href="<?= url::site("quick/rotate/$item->id/cw?csrf=" . access::csrf_token()) ?>"
title="<?= t("Rotate 90 degrees clockwise") ?>">
- <span class="ui-icon ui-icon-arrowthick-1-e">
+ <span class="ui-icon ui-icon-rotate-cw">
<?= t("Rotate 90 degrees clockwise") ?>
</span>
</a>
diff --git a/lib/themeroller/images/ui-icons_217bc0_256x240.png b/lib/themeroller/images/ui-icons_217bc0_256x240.png
index 9c884583..7719d487 100644
--- a/lib/themeroller/images/ui-icons_217bc0_256x240.png
+++ b/lib/themeroller/images/ui-icons_217bc0_256x240.png
Binary files differ
diff --git a/lib/themeroller/images/ui-icons_2e83ff_256x240.png b/lib/themeroller/images/ui-icons_2e83ff_256x240.png
index b425c446..d9897d25 100644
--- a/lib/themeroller/images/ui-icons_2e83ff_256x240.png
+++ b/lib/themeroller/images/ui-icons_2e83ff_256x240.png
Binary files differ
diff --git a/lib/themeroller/images/ui-icons_6da8d5_256x240.png b/lib/themeroller/images/ui-icons_6da8d5_256x240.png
index 60e20ca1..b3c7d662 100644
--- a/lib/themeroller/images/ui-icons_6da8d5_256x240.png
+++ b/lib/themeroller/images/ui-icons_6da8d5_256x240.png
Binary files differ
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index 72f37f86..5ea424cc 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -847,6 +847,14 @@ form .gError,
margin-left: .2em;
}
+.ui-icon-rotate-ccw {
+ background-position: -192px -64px;
+}
+
+.ui-icon-rotate-cw {
+ background-position: -208px -64px;
+}
+
/* STUFF THAT NEEDS A HOME */
#gMove ul {