summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjhilden <jakobhilden@gmail.com>2009-11-03 17:40:39 -0500
committerjhilden <jakobhilden@gmail.com>2009-11-03 17:40:39 -0500
commit9a8e9bc7f5deb5108ccc10f27635d66d1ff2b14f (patch)
tree6a4b81a19d3b7a783f8e3d49984c692c7b8ae7c2
parentf9b700e75c682df3c48efb0e69f893c61f06d3bd (diff)
Small CSS fix for language admin
-rw-r--r--modules/gallery/views/admin_languages.html.php6
-rw-r--r--themes/admin_wind/css/screen.css10
2 files changed, 10 insertions, 6 deletions
diff --git a/modules/gallery/views/admin_languages.html.php b/modules/gallery/views/admin_languages.html.php
index 94626b98..07134475 100644
--- a/modules/gallery/views/admin_languages.html.php
+++ b/modules/gallery/views/admin_languages.html.php
@@ -57,7 +57,7 @@
<th> <?= t("Default language") ?> </th>
</tr>
<? endif ?>
- <tr class="<?= (isset($installed_locales[$code])) ? "g-installed" : "" ?><?= ($default_locale == $code) ? " g-default" : "" ?>">
+ <tr class="<?= (isset($installed_locales[$code])) ? "g-available" : "" ?><?= ($default_locale == $code) ? " g-selected" : "" ?>">
<td> <?= form::checkbox("installed_locales[]", $code, isset($installed_locales[$code])) ?> </td>
<td> <?= $display_name ?> </td>
<td>
@@ -89,12 +89,12 @@
<p><?= t("Follow these steps to begin translating Gallery.") ?></p>
- <ul>
+ <ol>
<li><?= t("Make sure the target language is installed and up to date (check above).") ?></li>
<li><?= t("Make sure you have selected the right target language (currently %default_locale).",
array("default_locale" => locales::display_name())) ?></li>
<li><?= t("Start the translation mode and the translation interface will appear at the bottom of each Gallery page.") ?></li>
- </ul>
+ </ol>
<a href="<?= url::site("l10n_client/toggle_l10n_mode?csrf=".access::csrf_token()) ?>"
class="g-button ui-state-default ui-corner-all ui-icon-left">
<span class="ui-icon ui-icon-power"></span>
diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css
index 5ed42391..87879ecb 100644
--- a/themes/admin_wind/css/screen.css
+++ b/themes/admin_wind/css/screen.css
@@ -450,13 +450,17 @@ th {
clear: both;
}
-#g-translations {
- padding: 2em 0 0 0;
- clear: both;
+#g-translations ol {
+ margin: 0 0 1em 2em;
+}
+#g-translations ol li {
+ list-style-type: decimal;
+ line-height: 150%;
}
#g-translations .g-button {
padding: .5em;
+ margin-bottom: 1em;
}
/** *******************************************************************