diff options
author | Chad Kieffer <ckieffer@gmail.com> | 2009-11-06 21:35:32 -0700 |
---|---|---|
committer | Chad Kieffer <ckieffer@gmail.com> | 2009-11-06 21:35:32 -0700 |
commit | 3e0a81a39490f58840e3144b88d9c963e69f8f79 (patch) | |
tree | 114d087f2452514e84d77d5273e23d561fbe740d | |
parent | da8cabd3e9784af6d2cc696eaa71bac57ccb7c66 (diff) |
Move log viewing and translation CSS from admin_wind to gallery.css. Explicitly set widths on all admin forms to 270px, all work better at a narrower width than the 500px default set by gallery.dialog.js.
-rw-r--r-- | modules/gallery/css/gallery.css | 46 | ||||
-rw-r--r-- | themes/admin_wind/css/screen.css | 39 |
2 files changed, 52 insertions, 33 deletions
diff --git a/modules/gallery/css/gallery.css b/modules/gallery/css/gallery.css index 724c50d3..18d9a522 100644 --- a/modules/gallery/css/gallery.css +++ b/modules/gallery/css/gallery.css @@ -1,3 +1,15 @@ +/** + * Gallery 3 core module styles + * + * Sheet organization: + * 1) End-user + * 2) Admin + */ + +/** ******************************************************************* + * 1) End-user + **********************************************************************/ + /* Permissions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #g-edit-permissions-form { @@ -103,3 +115,37 @@ background-color: #cfc; border: 1px solid #beb; } + +/** ******************************************************************* + * 2) Admin + **********************************************************************/ + +.g-task-log { + border: 1px solid #000; + height: 400px; + margin: .6em 0; + overflow: auto; + padding: .4em +} + +#g-languages-form table { + width: 40%; + margin: 0 3em 1em 0; +} + +#g-languages-form input { + 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; +} diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css index cd83b110..8d49a389 100644 --- a/themes/admin_wind/css/screen.css +++ b/themes/admin_wind/css/screen.css @@ -86,6 +86,12 @@ a:hover, text-decoration: none; } +/* Forms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +#g-dialog form { + width: 270px; +} + /* Tables ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ table { @@ -435,39 +441,6 @@ th { padding: .2em .4em; } -/*************** STUFF THAT NEEDS A HOME ****************/ - -.g-task-log { - border: 1pt solid; - font-size: .9em; - height: 400px; - margin: .5em 0; - overflow: auto; - padding: .5em -} - -#g-languages-form table { - width: 40%; - margin: 0 3em 1em 0; -} - -#g-languages-form input { - 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; -} - /** ******************************************************************* * 7) Right to left styles *********************************************************************/ |