From c876ec1f500c605f58c7e70c4d0a3c6f8787df71 Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Fri, 16 Oct 2009 00:00:52 -0600
Subject: Apply g-short-form directly to short forms rather than via JS.
Comment updates in ui.init.js.
---
modules/search/views/search.html.php | 2 +-
modules/search/views/search_link.html.php | 2 +-
modules/tag/helpers/tag.php | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
(limited to 'modules')
diff --git a/modules/search/views/search.html.php b/modules/search/views/search.html.php
index f243ed87..ac9f3c92 100644
--- a/modules/search/views/search.html.php
+++ b/modules/search/views/search.html.php
@@ -1,6 +1,6 @@
// @todo Set hover on AlbumGrid list items ?>
-
");
diff --git a/modules/tag/views/admin_tags.html.php b/modules/tag/views/admin_tags.html.php
index 27813a91..edc466bb 100644
--- a/modules/tag/views/admin_tags.html.php
+++ b/modules/tag/views/admin_tags.html.php
@@ -3,8 +3,8 @@
var TAG_RENAME_URL = = html::js_string(url::site("admin/tags/rename/__ID__")) ?>;
$("document").ready(function() {
// using JS for adding link titles to avoid running t() for each tag
- $("#g-tag-admin .tag-name").attr("title", = t("Click to edit this tag")->for_js() ?>);
- $("#g-tag-admin .delete-link").attr("title", $(".delete-link:first span").html());
+ $("#g-tag-admin .g-tag-name").attr("title", = t("Click to edit this tag")->for_js() ?>);
+ $("#g-tag-admin .g-delete-link").attr("title", $(".g-delete-link:first span").html());
// In-place editing for tag admin
$(".g-editable").bind("click", editInPlace);
@@ -47,10 +47,10 @@
endif ?>
- = html::clean($tag->name) ?>
+ = html::clean($tag->name) ?>
(= $tag->count ?>)
id") ?>"
- class="g-dialog-link delete-link g-button">
+ class="g-dialog-link g-delete-link g-button">
= t("Delete this tag") ?>
diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css
index 331f7f4c..78358e84 100644
--- a/themes/admin_wind/css/screen.css
+++ b/themes/admin_wind/css/screen.css
@@ -582,8 +582,7 @@ li.g-default-group h4, li.g-default-group .g-user {
* 5) Navigation and menus
*********************************************************************/
-#g-site-admin-menu,
-#g-tag-cloud ul {
+#g-site-admin-menu {
font-size: 1.2em;
}
@@ -790,27 +789,6 @@ li.g-default-group h4, li.g-default-group .g-user {
list-style-type: disc;
}
-#g-tag-admin {
- table-layout: fixed;
-}
-
-#g-tag-admin td {
- border: 0;
-}
-
-#g-tag-admin ul {
- padding-bottom: .3em;
-}
-
-#g-tag-admin li {
- padding: .1em 0 .2em .3em;
-}
-
-#g-tag-admin .g-column {
- float: left;
- width: 200px;
-}
-
.g-editable {
padding: .1em .3em .2em .3em;
}
@@ -820,32 +798,6 @@ li.g-default-group h4, li.g-default-group .g-user {
cursor: text;
}
-#g-rename-tag-form input {
- padding: 0 .2em 0 .2em;
- clear: none;
- float: left;
- margin: 0 .2em 0 0;
-}
-
-#g-rename-tag-form input[type="text"].g-error {
- border: 2px solid red;
- background: none;
-}
-
-#g-rename-tag-form input[type="submit"] {
- height: 25px;
-}
-
-#g-rename-tag-form a, #g-rename-tag-form span {
- display: block;
- float: left;
- padding: .2em .2em 0 .1em;
-}
-
-#g-rename-tag-form span {
- float: right;
-}
-
#g-task-log-dialog h1 {
font-size: 1.1em;
}
@@ -964,9 +916,6 @@ li.g-default-group h4, li.g-default-group .g-user {
.rtl .g-available .g-block img,
.rtl #g-content #g-photo-stream .g-item,
.rtl li.g-group,
-.rtl #g-tag-admin .g-column,
-.rtl #g-rename-tag-form input,
-.rtl #g-rename-tag-form a,
.rtl #g-server-add-admin,
.rtl .ui-icon-left .ui-icon {
float: right;
diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css
index cae472be..36231b0d 100644
--- a/themes/wind/css/screen.css
+++ b/themes/wind/css/screen.css
@@ -467,8 +467,7 @@ li.g-error select {
* 5) Navigation and menus
*********************************************************************/
-#g-site-menu,
-#g-tag-cloud ul {
+#g-site-menu {
font-size: 1.2em;
}
@@ -566,73 +565,6 @@ li.g-error select {
background-image: url('../images/ico-print.png');
}
-/* Tags and cloud ~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-#g-tag-cloud ul {
- text-align: justify;
-}
-
-#g-tag-cloud ul li {
- display: inline;
- line-height: 1.5em;
- text-align: justify;
-}
-
-#g-tag-cloud ul li a {
- text-decoration: none;
-}
-
-#g-tag-cloud ul li span {
- display: none;
-}
-
-#g-tag-cloud ul li.size1 a {
- color: #9cf;
- font-size: 80%;
- font-weight: 100;
-}
-
-#g-tag-cloud ul li.size2 a {
- color: #69f;
- font-size: 90%;
- font-weight: 300;
-}
-
-#g-tag-cloud ul li.size3 a {
- color: #69c;
- font-size: 100%;
- font-weight: 500;
-}
-
-#g-tag-cloud ul li.size4 a {
- color: #369;
- font-size: 110%;
- font-weight: 700;
-}
-
-#g-tag-cloud ul li.size5 a {
- color: #0e2b52;
- font-size: 120%;
- font-weight: 900;
-}
-
-#g-tag-cloud ul li.size6 a {
- color: #0e2b52;
- font-size: 130%;
- font-weight: 900;
-}
-
-#g-tag-cloud ul li.size7 a {
- color: #0e2b52;
- font-size: 140%;
- font-weight: 900;
-}
-
-#g-tag-cloud ul li a:hover {
- color: #f30;
- text-decoration: underline;
-}
-
#g-welcome-message p {
padding-bottom: 1em;
}
--
cgit v1.2.3
From b677eeb5ee4f5e408c3edf890a36d3ccbda9ac3b Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Sat, 17 Oct 2009 12:57:34 -0600
Subject: Missed this in last commit.
---
modules/tag/css/tag.css | 114 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 114 insertions(+)
create mode 100644 modules/tag/css/tag.css
(limited to 'modules')
diff --git a/modules/tag/css/tag.css b/modules/tag/css/tag.css
new file mode 100644
index 00000000..b718de05
--- /dev/null
+++ b/modules/tag/css/tag.css
@@ -0,0 +1,114 @@
+#g-tag-cloud ul {
+ font-size: 1.2em;
+ text-align: justify;
+}
+
+#g-tag-cloud ul li {
+ display: inline;
+ line-height: 1.5em;
+ text-align: justify;
+}
+
+#g-tag-cloud ul li a {
+ text-decoration: none;
+}
+
+#g-tag-cloud ul li span {
+ display: none;
+}
+
+#g-tag-cloud ul li.size1 a {
+ color: #9cf;
+ font-size: 80%;
+ font-weight: 100;
+}
+
+#g-tag-cloud ul li.size2 a {
+ color: #69f;
+ font-size: 90%;
+ font-weight: 300;
+}
+
+#g-tag-cloud ul li.size3 a {
+ color: #69c;
+ font-size: 100%;
+ font-weight: 500;
+}
+
+#g-tag-cloud ul li.size4 a {
+ color: #369;
+ font-size: 110%;
+ font-weight: 700;
+}
+
+#g-tag-cloud ul li.size5 a {
+ color: #0e2b52;
+ font-size: 120%;
+ font-weight: 900;
+}
+
+#g-tag-cloud ul li.size6 a {
+ color: #0e2b52;
+ font-size: 130%;
+ font-weight: 900;
+}
+
+#g-tag-cloud ul li.size7 a {
+ color: #0e2b52;
+ font-size: 140%;
+ font-weight: 900;
+}
+
+#g-tag-cloud ul li a:hover {
+ color: #f30;
+ text-decoration: underline;
+}
+
+/* Tag admin ~~~~~~~~~~~~~~ */
+
+#g-tag-admin {
+ table-layout: fixed;
+}
+
+#g-tag-admin td {
+ border: 0;
+}
+
+#g-tag-admin ul {
+ padding-bottom: .3em;
+}
+
+#g-tag-admin li {
+ padding: .1em 0 .2em .3em;
+}
+
+#g-tag-admin .g-column {
+ float: left;
+ width: 200px;
+}
+
+#g-edit-tag-form input {
+ padding: 0 .2em 0 .2em;
+ clear: none;
+ float: left;
+ margin: 0 .2em 0 0;
+}
+
+#g-edit-tag-form input[type="text"].g-error {
+ border: 2px solid red;
+ background: none;
+}
+
+#g-edit-tag-form input[type="submit"] {
+ height: 25px;
+}
+
+#g-edit-tag-form a, #g-edit-tag-form span {
+ display: block;
+ float: left;
+ padding: .2em .2em 0 .1em;
+}
+
+#g-edit-tag-form span {
+ float: right;
+}
--
cgit v1.2.3
From ad0497a8d2956a73d174445a30d9190b1f970caf Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Sat, 17 Oct 2009 12:58:31 -0600
Subject: Drop our g-clearfix in favor of using jQuery UI's ui-helper-clearfix.
---
lib/gallery.common.css | 13 -------------
modules/comment/views/admin_comments.html.php | 2 +-
modules/gallery/views/admin_themes.html.php | 8 ++++----
modules/user/views/admin_users.html.php | 2 +-
themes/admin_wind/css/fix-ie.css | 2 +-
themes/admin_wind/views/admin.html.php | 2 +-
themes/night_wind/css/fix-ie.css | 2 +-
themes/night_wind/views/album.html.php | 2 +-
themes/night_wind/views/page.html.php | 2 +-
themes/night_wind/views/pager.html.php | 2 +-
themes/night_wind/views/photo.html.php | 2 +-
themes/night_wind/views/sidebar.html.php | 2 +-
themes/wind/css/fix-ie.css | 2 +-
themes/wind/views/album.html.php | 2 +-
themes/wind/views/page.html.php | 2 +-
themes/wind/views/pager.html.php | 2 +-
themes/wind/views/photo.html.php | 2 +-
themes/wind/views/sidebar.html.php | 2 +-
18 files changed, 20 insertions(+), 33 deletions(-)
(limited to 'modules')
diff --git a/lib/gallery.common.css b/lib/gallery.common.css
index 23262087..74a9642f 100644
--- a/lib/gallery.common.css
+++ b/lib/gallery.common.css
@@ -7,7 +7,6 @@
* 3) States and interactions
* 4) Positioning and order
* 5) Containers/widgets
- * 6) Browser hacks
*/
/** *******************************************************************
@@ -325,15 +324,3 @@ form .g-error {
#g-dialog .g-cancel {
margin: .4em 1em;
}
-
-/** *******************************************************************
- * 6) Browser hacks
- *********************************************************************/
-
-.g-clearfix:after {
- clear: both;
- content: ".";
- display: block;
- height: 0;
- visibility: hidden;
-}
diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php
index e32a843f..8f719f05 100644
--- a/modules/comment/views/admin_comments.html.php
+++ b/modules/comment/views/admin_comments.html.php
@@ -38,7 +38,7 @@
= t("Manage Comments") ?>
-