From c3ca69b67fc86c6bdd3510959e0a83ef7e3c0a37 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Fri, 27 Mar 2015 07:23:20 +0000 Subject: [PATCH] touched up input form styling --- codepot/src/codepot/views/file_delete.php | 29 +-- codepot/src/codepot/views/file_edit.php | 95 ++++---- codepot/src/codepot/views/issue_delete.php | 37 ++-- codepot/src/codepot/views/issue_edit.php | 114 +++++----- codepot/src/codepot/views/login.php | 90 ++++---- codepot/src/codepot/views/project_delete.php | 29 +-- codepot/src/codepot/views/project_edit.php | 158 +++++++------- codepot/src/codepot/views/site_delete.php | 29 +-- codepot/src/codepot/views/site_edit.php | 72 +++---- codepot/src/codepot/views/user_settings.php | 46 ++-- codepot/src/codepot/views/wiki_delete.php | 37 ++-- codepot/src/codepot/views/wiki_edit.php | 197 +++++++++-------- codepot/src/css/common.css | 215 ++++++++++--------- codepot/src/css/wiki.css | 3 + 14 files changed, 581 insertions(+), 570 deletions(-) diff --git a/codepot/src/codepot/views/file_delete.php b/codepot/src/codepot/views/file_delete.php index f378cf8a..2a9d428a 100644 --- a/codepot/src/codepot/views/file_delete.php +++ b/codepot/src/codepot/views/file_delete.php @@ -42,27 +42,28 @@ $this->load->view ( '.htmlspecialchars($message).''; ?> +
id}/".$this->converter->AsciiToHex($file->name))?> - -
-
- - lang->line('MSG_SURE_TO_DELETE_THIS') ?> - name)?> - -
-
+
- projectid))?> - name))?> + + lang->line('MSG_SURE_TO_DELETE_THIS') ?> - name)?> +
+
-
- lang->line('Delete'))?> -
+
+ projectid))?> + name))?> +
+ +
+ lang->line('Delete'))?> +
- +
diff --git a/codepot/src/codepot/views/file_edit.php b/codepot/src/codepot/views/file_edit.php index af25c330..dc3f32b0 100644 --- a/codepot/src/codepot/views/file_edit.php +++ b/codepot/src/codepot/views/file_edit.php @@ -79,59 +79,60 @@ $this->load->view ( '.htmlspecialchars($message).''; ?> +
id}/" . $this->converter->AsciiToHex($file->name))?> - -
- lang->line('Name').': ', 'file_name')?> - name), $extra); - else - print form_upload('file_name', set_value('file_name', $file->name), $extra); - ?> - -
-
- lang->line('Tag').': ', 'file_tag')?> - - tag), $extra)?> - -
- -
- lang->line('Summary').': ', 'file_summary')?> - -
-
- - summary), $extra)?> -
- -
- lang->line('Description').': ', 'file_description')?> - lang->line('Preview')?> - -
-
- description), 'id=file_edit_mainarea_description')?> -
-
+
+ lang->line('Name').': ', 'file_name')?> + name), $extra); + else + print form_upload('file_name', set_value('file_name', $file->name), $extra); + ?> + +
- - projectid))?> +
+ lang->line('Tag').': ', 'file_tag')?> + + tag), $extra)?> + +
+ +
+ lang->line('Summary').': ', 'file_summary')?> + +
+
+ + summary), $extra)?> +
+ +
+ lang->line('Description').': ', 'file_description')?> + lang->line('Preview')?> + +
+
+ description), 'id=file_edit_mainarea_description')?> +
+
- lang->line('Update'): $this->lang->line('Create'); ?> - + + projectid))?> + + lang->line('Update'): $this->lang->line('Create'); ?> + - +
diff --git a/codepot/src/codepot/views/issue_delete.php b/codepot/src/codepot/views/issue_delete.php index a042313b..4c0da436 100644 --- a/codepot/src/codepot/views/issue_delete.php +++ b/codepot/src/codepot/views/issue_delete.php @@ -21,8 +21,8 @@ load->view ( - 'projectbar', - array ( + 'projectbar', + array ( 'banner' => NULL, 'page' => array ( @@ -31,8 +31,8 @@ $this->load->view ( 'project' => $project, ), - 'ctxmenuitems' => array () - ) + 'ctxmenuitems' => array () + ) ); ?> @@ -42,27 +42,28 @@ $this->load->view ( '.htmlspecialchars($message).''; ?> +
id}/".$this->converter->AsciiToHex($issue->id))?> - -
-
- - lang->line('MSG_SURE_TO_DELETE_THIS')?> - id)?> - -
-
+
- projectid))?> - id))?> + + lang->line('MSG_SURE_TO_DELETE_THIS')?> - id)?> +
+
-
- lang->line('Delete'))?> -
+
+ projectid))?> + id))?> +
+ +
+ lang->line('Delete'))?> +
- +
diff --git a/codepot/src/codepot/views/issue_edit.php b/codepot/src/codepot/views/issue_edit.php index ce3ed63e..cbd4328a 100644 --- a/codepot/src/codepot/views/issue_edit.php +++ b/codepot/src/codepot/views/issue_edit.php @@ -86,71 +86,71 @@ $this->load->view ( } ?> +
id}/".$this->converter->AsciiToHex($issue->id))?> - -
- id))?> - projectid))?> - status))?> - priority))?> - owner))?> -
+
+ id))?> + projectid))?> + status))?> + priority))?> + owner))?> +
-
- type)); - } - else - { - print form_label($this->lang->line('Type').': ', 'issue_type'); - print form_dropdown ( - 'issue_type', - $issue_type_array, - set_value('issue_type', $issue->type), - 'id="issue_edit_mainarea_type"'); - print form_error('issue_type'); - } +
+ type)); + } + else + { + print form_label($this->lang->line('Type').': ', 'issue_type'); + print form_dropdown ( + 'issue_type', + $issue_type_array, + set_value('issue_type', $issue->type), + 'id="issue_edit_mainarea_type"'); + print form_error('issue_type'); + } + ?> +
+ +
+ lang->line('Summary').': ', 'issue_summary')?> + +
+
+ summary), + 'size="80" id="issue_edit_mainarea_summary"') ?> -
+
-
- lang->line('Summary').': ', 'issue_summary')?> - -
-
- summary), - 'size="80" id="issue_edit_mainarea_summary"') - ?> -
- -
- lang->line('Description').': ', 'issue_description')?> - lang->line('Preview')?> - -
-
- 'issue_description', - 'value' => set_value ('issue_description', $issue->description), - 'id' => 'issue_edit_mainarea_description', - 'rows' => 20, - 'cols' => 80 - ); - print form_textarea ($xdata); - ?> -
-
+
+ lang->line('Description').': ', 'issue_description')?> + lang->line('Preview')?> + +
+
+ 'issue_description', + 'value' => set_value ('issue_description', $issue->description), + 'id' => 'issue_edit_mainarea_description', + 'rows' => 20, + 'cols' => 80 + ); + print form_textarea ($xdata); + ?> +
+
- lang->line('Update'): $this->lang->line('Create'); ?> - + lang->line('Update'): $this->lang->line('Create'); ?> + - +
diff --git a/codepot/src/codepot/views/login.php b/codepot/src/codepot/views/login.php index 7299da5f..47bff265 100644 --- a/codepot/src/codepot/views/login.php +++ b/codepot/src/codepot/views/login.php @@ -28,7 +28,7 @@ $this->load->view ( 'projectbar', array ( - 'banner' => NULL, + 'banner' => NULL, 'page' => array ( 'type' => 'login', @@ -45,59 +45,57 @@ $this->load->view ( $message"; ?> +
- + - +
+ - - -
- - - - - +
+ + lang->line('Sign in'), + 'class="button" id="login_signin_button"' + ); + ?> +
+
diff --git a/codepot/src/codepot/views/project_delete.php b/codepot/src/codepot/views/project_delete.php index 6a8de4b1..72167f5f 100644 --- a/codepot/src/codepot/views/project_delete.php +++ b/codepot/src/codepot/views/project_delete.php @@ -41,27 +41,28 @@ $this->load->view ( $message"; ?> +
id)?> - -
-
- - lang->line('MSG_SURE_TO_DELETE_THIS')?> - name)?> - -
-
+
- id))?> - name))?> + + lang->line('MSG_SURE_TO_DELETE_THIS')?> - name)?> +
+
-
- lang->line('Delete'))?> -
+
+ id))?> + name))?> +
+ +
+ lang->line('Delete'))?> +
- +
diff --git a/codepot/src/codepot/views/project_edit.php b/codepot/src/codepot/views/project_edit.php index c2525295..b39906b6 100644 --- a/codepot/src/codepot/views/project_edit.php +++ b/codepot/src/codepot/views/project_edit.php @@ -81,96 +81,96 @@ $this->load->view ( if ($mode == 'update') $formurl .= '/'.$project->id; ?> +
- -
- lang->line('ID').': ', 'project_id')?> - - id), $extra)?> - -
+
+ lang->line('ID').': ', 'project_id')?> + + id), $extra)?> + +
-
- lang->line('Name').': ', 'project_name')?> - -
-
- - name), $extra)?> -
+
+ lang->line('Name').': ', 'project_name')?> + +
+
+ + name), $extra)?> +
-
- lang->line('Summary').': ', 'project_summary')?> - -
-
- - summary), $extra)?> -
+
+ lang->line('Summary').': ', 'project_summary')?> + +
+
+ + summary), $extra)?> +
-
- lang->line('Description').': ', 'project_description')?> - lang->line('Preview')?> - -
-
- 'project_description', - 'value' => set_value ('project_description', $project->description), - 'id' => 'project_edit_mainarea_description', - 'rows' => 20, - 'cols' => 80 - ); - print form_textarea ($xdata); - ?> -
-
+
+ lang->line('Description').': ', 'project_description')?> + lang->line('Preview')?> + +
+
+ 'project_description', + 'value' => set_value ('project_description', $project->description), + 'id' => 'project_edit_mainarea_description', + 'rows' => 20, + 'cols' => 80 + ); + print form_textarea ($xdata); + ?> +
+
-
- lang->line('Commitable').': ', 'project_commitable')?> - commitable, $project->commitable == 'Y'))?> - +
+ lang->line('Commitable').': ', 'project_commitable')?> + commitable, $project->commitable == 'Y'))?> + - lang->line('Public').': ', 'project_public')?> - public, $project->public == 'Y'))?> - -
+ lang->line('Public').': ', 'project_public')?> + public, $project->public == 'Y'))?> + +
-
- lang->line('Members').': ', 'project_members')?> - -
-
- members; - $member_count = count($members); - $member_string = ''; - for ($i = 0; $i < $member_count; $i++) - { - if ($i >= 1) $member_string .= ','; - $member_string .= $members[$i]; - } +
+ lang->line('Members').': ', 'project_members')?> + +
+
+ members; + $member_count = count($members); + $member_string = ''; + for ($i = 0; $i < $member_count; $i++) + { + if ($i >= 1) $member_string .= ','; + $member_string .= $members[$i]; + } - $xdata = array ( - 'name' => 'project_members', - 'value' => set_value ('project_members', $member_string), - 'id' => 'project_edit_mainarea_members', - 'rows' => 2, - 'cols' => 80 - ); - print form_textarea ($xdata); - ?> -
+ $xdata = array ( + 'name' => 'project_members', + 'value' => set_value ('project_members', $member_string), + 'id' => 'project_edit_mainarea_members', + 'rows' => 2, + 'cols' => 80 + ); + print form_textarea ($xdata); + ?> +
- lang->line('Update'): $this->lang->line('Create'); ?> - + lang->line('Update'): $this->lang->line('Create'); ?> + - +
diff --git a/codepot/src/codepot/views/site_delete.php b/codepot/src/codepot/views/site_delete.php index 2f79ab81..24f1384e 100644 --- a/codepot/src/codepot/views/site_delete.php +++ b/codepot/src/codepot/views/site_delete.php @@ -40,27 +40,28 @@ $this->load->view ( $message"; ?> +
id}")?> - -
-
- - lang->line('MSG_SURE_TO_DELETE_THIS')?> - name)?> (id?>) - -
-
+
- id))?> - name))?> + + lang->line('MSG_SURE_TO_DELETE_THIS')?> - name)?> (id?>) +
+
-
- lang->line('Delete'))?> -
+
+ id))?> + name))?> +
+ +
+ lang->line('Delete'))?> +
- +
diff --git a/codepot/src/codepot/views/site_edit.php b/codepot/src/codepot/views/site_edit.php index a9a35a8f..5449da51 100644 --- a/codepot/src/codepot/views/site_edit.php +++ b/codepot/src/codepot/views/site_edit.php @@ -83,49 +83,49 @@ $this->load->view ( if ($mode == 'update') $formurl .= '/'.$site->id; ?> +
- -
- lang->line('Language').': ', 'site_id')?> - +
+ lang->line('Language').': ', 'site_id')?> + - id), - $extra) - ?> - -
+ id), + $extra) + ?> + +
-
- lang->line('Name').': ', 'site_name')?> - name), - 'maxlength="80" size="40" class="name"'); - ?> - -
+
+ lang->line('Name').': ', 'site_name')?> + name), + 'maxlength="80" size="40" class="name"'); + ?> + +
-
- lang->line('Text').': ', 'site_text')?> - lang->line('Preview')?> - -
-
- text), - 'class="text" id="site_edit_mainarea_text"') - ?> -
-
+
+ lang->line('Text').': ', 'site_text')?> + lang->line('Preview')?> + +
+
+ text), + 'class="text" id="site_edit_mainarea_text"') + ?> +
+
- lang->line('Update'): $this->lang->line('Create'); ?> - - + lang->line('Update'): $this->lang->line('Create'); ?> + +
diff --git a/codepot/src/codepot/views/user_settings.php b/codepot/src/codepot/views/user_settings.php index f2904749..0cd659cc 100644 --- a/codepot/src/codepot/views/user_settings.php +++ b/codepot/src/codepot/views/user_settings.php @@ -61,43 +61,35 @@ $this->load->view (
+
- lang->line('Code'))?> + code_hide_line_num == 'Y') + ?> + lang->line('USER_MSG_HIDE_LINE_NUMBER')?> - code_hide_line_num == 'Y') + code_hide_details == 'Y') + ?> + lang->line('USER_MSG_HIDE_DETAILS')?> + +
+ lang->line('Icon').': ', 'icon_img_file_name')?> + - lang->line('USER_MSG_HIDE_LINE_NUMBER')?> - - code_hide_details == 'Y') - ?> - lang->line('USER_MSG_HIDE_DETAILS')?> - -
- lang->line('Icon').': ', 'icon_img_file_name')?> - - - (.png, max. 100x100) -
- - - - + + (.png, max. 100x100) +
lang->line('OK'))?>
- +
diff --git a/codepot/src/codepot/views/wiki_delete.php b/codepot/src/codepot/views/wiki_delete.php index a79c33d2..c50e65b0 100644 --- a/codepot/src/codepot/views/wiki_delete.php +++ b/codepot/src/codepot/views/wiki_delete.php @@ -21,8 +21,8 @@ load->view ( - 'projectbar', - array ( + 'projectbar', + array ( 'banner' => NULL, 'page' => array ( @@ -31,8 +31,8 @@ $this->load->view ( 'project' => $project, ), - 'ctxmenuitems' => array () - ) + 'ctxmenuitems' => array () + ) ); ?> @@ -42,27 +42,28 @@ $this->load->view ( '.htmlspecialchars($message).''; ?> +
id}/".$this->converter->AsciiToHex($wiki->name))?> - -
-
- - lang->line('MSG_SURE_TO_DELETE_THIS')?> - name)?> - -
-
+
- projectid))?> - name))?> + + lang->line('MSG_SURE_TO_DELETE_THIS')?> - name)?> +
+
-
- lang->line('Delete'))?> -
+
+ projectid))?> + name))?> +
+ +
+ lang->line('Delete'))?> +
- +
diff --git a/codepot/src/codepot/views/wiki_edit.php b/codepot/src/codepot/views/wiki_edit.php index 8b5c287b..946fdddb 100644 --- a/codepot/src/codepot/views/wiki_edit.php +++ b/codepot/src/codepot/views/wiki_edit.php @@ -110,113 +110,112 @@ $this->load->view ( '.htmlspecialchars($message).''; ?> -
+
id}/".$this->converter->AsciiToHex($wiki->name))?> - -
- lang->line('Name').': ', 'wiki_name')?> - -
-
- - name), $extra)?> - name)): ''?> -
-
- lang->line('Text').': ', 'wiki_text')?> - lang->line('Preview')?> +
+ lang->line('Name').': ', 'wiki_name')?> + +
+
+ + name), $extra)?> + name)): ''?> +
- 'wiki_columns', - 'id' => 'wiki_edit_mainarea_text_column_count', - 'value' => set_value('wiki_columns', $wiki->columns), - 'size' => '2', - 'min' => '1', - 'max' => '9', - 'type' => 'number'); - print form_input ($attrs); - ?> - - lang->line('Columns')?>(1-9) +
+ lang->line('Text').': ', 'wiki_text')?> + lang->line('Preview')?> - -
-
- 'wiki_text', - 'value' => set_value ('wiki_text', $wiki->text), - 'id' => 'wiki_edit_mainarea_text', - 'rows' => 20, - 'cols' => 80 - ); - print form_textarea ($xdata); - ?> -
-
- - attachments)): ?> -
- lang->line('WIKI_ATTACHMENTS').': ', 'wiki_edit_attachment_list')?> - -
- -
-
    - attachments as $att) - { - $hexattname = - $this->converter->AsciiToHex($att->name) . - '@' . - $this->converter->AsciiToHex($att->encname); - $escattname = htmlspecialchars($att->name); - - print '
  • '; - print ""; - print $escattname; - print '
  • '; - } - ?> -
-
- - -
- lang->line('WIKI_NEW_ATTACHMENTS').': ', 'wiki_edit_new_attachment_list')?> - - lang->line('WIKI_MORE_NEW_ATTACHMENTS')?> - - -
- -
-
    -
  • - - -
  • -
- -
+ 'wiki_columns', + 'id' => 'wiki_edit_mainarea_text_column_count', + 'value' => set_value('wiki_columns', $wiki->columns), + 'size' => '2', + 'min' => '1', + 'max' => '9', + 'type' => 'number'); + print form_input ($attrs); + ?> -
- projectid))?> -
+ lang->line('Columns')?>(1-9) -
- lang->line('Update'): $this->lang->line('Create'); ?> - -
+ +
+
+ 'wiki_text', + 'value' => set_value ('wiki_text', $wiki->text), + 'id' => 'wiki_edit_mainarea_text', + 'rows' => 20, + 'cols' => 80 + ); + print form_textarea ($xdata); + ?> +
+
+ + attachments)): ?> +
+ lang->line('WIKI_ATTACHMENTS').': ', 'wiki_edit_attachment_list')?> + +
+ +
+
    + attachments as $att) + { + $hexattname = + $this->converter->AsciiToHex($att->name) . + '@' . + $this->converter->AsciiToHex($att->encname); + $escattname = htmlspecialchars($att->name); + + print '
  • '; + print ""; + print $escattname; + print '
  • '; + } + ?> +
+
+ + +
+ lang->line('WIKI_NEW_ATTACHMENTS').': ', 'wiki_edit_new_attachment_list')?> + + lang->line('WIKI_MORE_NEW_ATTACHMENTS')?> + + +
+ +
+
    +
  • + + +
  • +
+ +
+ +
+ projectid))?> +
+ +
+ lang->line('Update'): $this->lang->line('Create'); ?> + +
- -
+
diff --git a/codepot/src/css/common.css b/codepot/src/css/common.css index 14f65882..dbc74c7f 100644 --- a/codepot/src/css/common.css +++ b/codepot/src/css/common.css @@ -135,8 +135,8 @@ body { text-transform: uppercase; white-space: nowrap; - //text-shadow: 2px 8px 6px rgba(0,0,0,0.2), - // 0px -5px 35px rgba(255,255,255,0.3); + /*text-shadow: 2px 8px 6px rgba(0,0,0,0.2), + 0px -5px 35px rgba(255,255,255,0.3); */ text-shadow: 1px 1px 0 #7A7A7A; letter-spacing: 0.1em; } @@ -213,46 +213,108 @@ body { background-color: #BBCCDD; } +.content .mainarea .form_container { + padding: 0.3em 0.5em 0.3em 0.5em; + border: 1px solid #BBCCDD; + line-height: 2.2em; + margin: 0; +} + .content .mainarea form { margin: 0; } -.content .mainarea form fieldset { - margin: 0; - border: 1px solid #BBCCDD; -} - -.content .mainarea form label { - font-style: italic; +.content .mainarea form label +{ font-weight: bold; -} - -.content .mainarea form input[type="text"] { - border: 1px solid #BBCCDD; -} - -.content .mainarea form input[type="password"] { - border: 1px solid #BBCCDD; -} - -.content .mainarea form textarea { - border: 1px solid #BBCCDD; - font-family: consolas, "Andale Mono", monospace; font-size: inherit; } -.content .mainarea .form_input_label { - margin-bottom: 0.2em; +.content .mainarea form input +{ + vertical-align: middle; + border: none; + -moz-box-shadow: 0 2px 4px #bbb inset; + -webkit-box-shadow: 0 2px 4px #BBB inset; + box-shadow: 0 2px 4px #BBB inset; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + + height: 1.8em; + font-size: inherit; + padding-left: 0.2em; + padding-right: 0.2em; } -.content .mainarea .form_input_label .ui-button { +.content .mainarea form input:focus { + background-color: #E1E1E1; + outline: 0; +} + +.content .mainarea form input[type="submit"] +{ + cursor: pointer; + height: 2em; + vertical-align: middle; + padding-left: 5px; + padding-right: 5px; + text-transform: uppercase; + + background: #3498db; + background-image: -webkit-linear-gradient(top, #3498db, #2980b9); + background-image: -moz-linear-gradient(top, #3498db, #2980b9); + background-image: -ms-linear-gradient(top, #3498db, #2980b9); + background-image: -o-linear-gradient(top, #3498db, #2980b9); + background-image: linear-gradient(to bottom, #3498db, #2980b9); + -webkit-border-radius: 28; + -moz-border-radius: 28; + border-radius: 5px; + text-shadow: 1px 1px 3px #666666; + color: #ffffff; + text-decoration: none; + + font-size: 1em; + border: 0 none; +} + +.content .mainarea form input[type="submit"]:hover +{ + background: #3cb0fd; + background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db); + background-image: -moz-linear-gradient(top, #3cb0fd, #3498db); + background-image: -ms-linear-gradient(top, #3cb0fd, #3498db); + background-image: -o-linear-gradient(top, #3cb0fd, #3498db); + background-image: linear-gradient(to bottom, #3cb0fd, #3498db); + text-decoration: none; +} + +.content .mainarea form textarea +{ + vertical-align: middle; + border: 1px solid #B9BDC1; + -moz-box-shadow: 0 2px 4px #bbb inset; + -webkit-box-shadow: 0 2px 4px #BBB inset; + box-shadow: 0 2px 4px #BBB inset; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + + font-family: consolas, "Andale Mono", monospace; + font-size: inherit; + padding: 0.2em 0.2em 0.2em 0.2em; +} + +.content .mainarea form textarea:focus +{ + background-color: #E1E1E1; + outline: 0; +} + +.content .mainarea form .ui-button +{ + /* jquery-ui button inside the form */ font-size: 80%; - font-style: italic; -} - - -.content .mainarea .form_input_field { - margin-bottom: 0.5em; } .content .mainarea .form_input_preview { @@ -260,14 +322,13 @@ body { /*border: 1px solid #DDDDDD;*/ background-color: #FFFFF0; font-size: 90%; + padding: 0.2em 0.2em 0.2em 0.2em; + line-height: 1.2em; } .content .mainarea .form_input_preview pre { - /*background-color: inherit;*/ background-color: #F8F8FA; - padding: 0.3em; - /*background-color: #FDF5D6;*/ - /*border: none;*/ + padding: 0.2em 0.2em 0.2em 0.2em; } .content .mainarea .icon { @@ -732,96 +793,48 @@ pre.prettyprint li.L9 { background: #eee } /* ================ login page =================== */ -#login_user_name { +#login_user_name +{ background: url("images/username.png") no-repeat scroll 0% 0% rgb(234, 231, 231); background-position: 0px 3px !important; padding-left: 24px; height: 2.2em; - vertical-align: middle; - - border: 1px solid #B9BDC1; - -moz-box-shadow: 0 2px 4px #bbb inset; - -webkit-box-shadow: 0 2px 4px #BBB inset; - box-shadow: 0 2px 4px #BBB inset; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - - font-size: 1em; - border: 0 none; } -#login_user_name:focus { - background-color: #E7E8E7; +#login_user_name:focus +{ + background-color: #E1E1E1; outline: 0; } -#login_user_pass { +#login_user_pass +{ background: url("images/password.png") no-repeat scroll 0% 0% rgb(234, 231, 231); background-position: 0px 3px !important; padding-left: 24px; - height: 2.2em; - vertical-align: middle; - - border: 1px solid #B9BDC1; - -moz-box-shadow: 0 2px 4px #bbb inset; - -webkit-box-shadow: 0 2px 4px #BBB inset; - box-shadow: 0 2px 4px #BBB inset; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - - font-size: 1em; - border: 0 none; } -#login_user_pass:focus { - background-color: #E7E8E7; +#login_user_pass:focus +{ + background-color: #E1E1E1; outline: 0; } -#login_signin_button { - cursor: pointer; - height: 2em; - vertical-align: middle; - padding-left: 5px; - padding-right: 5px; - text-transform: uppercase; - - background: #3498db; - background-image: -webkit-linear-gradient(top, #3498db, #2980b9); - background-image: -moz-linear-gradient(top, #3498db, #2980b9); - background-image: -ms-linear-gradient(top, #3498db, #2980b9); - background-image: -o-linear-gradient(top, #3498db, #2980b9); - background-image: linear-gradient(to bottom, #3498db, #2980b9); - -webkit-border-radius: 28; - -moz-border-radius: 28; - border-radius: 5px; - text-shadow: 1px 1px 3px #666666; - color: #ffffff; - text-decoration: none; - - font-size: 1em; - border: 0 none; +#login_signin_button +{ + /* make it higher than the standard submit buttons */ + height: 2.5em; } -#login_signin_button:hover { - background: #3cb0fd; - background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db); - background-image: -moz-linear-gradient(top, #3cb0fd, #3498db); - background-image: -ms-linear-gradient(top, #3cb0fd, #3498db); - background-image: -o-linear-gradient(top, #3cb0fd, #3498db); - background-image: linear-gradient(to bottom, #3cb0fd, #3498db); - text-decoration: none; -} - - -#login_mainarea .login_form_field_div { // keep it similar to taskbar +#login_mainarea .form_container form .form_input_field +{ + /* keep it similar to taskbar and make it higher than normal form */ text-transform: uppercase; padding-top: 0.3em; padding-bottom: 0.3em; vertical-align: middle; font-size: 1em; } + diff --git a/codepot/src/css/wiki.css b/codepot/src/css/wiki.css index c2eb92b2..80b29485 100644 --- a/codepot/src/css/wiki.css +++ b/codepot/src/css/wiki.css @@ -65,3 +65,6 @@ column-gap: 2em; } +#wiki_edit_mainarea_text_column_count { + font-size: 80%; +}