浏览代码

! couple of minor consistency / alignment things

Spuds 13 年之前
父节点
当前提交
39c901c148
共有 2 个文件被更改,包括 10 次插入6 次删除
  1. 1 1
      Themes/default/Login.template.php
  2. 9 5
      Themes/default/css/index.css

+ 1 - 1
Themes/default/Login.template.php

@@ -226,7 +226,7 @@ function template_admin_login()
 	echo '
 			<strong>', $txt['password'], ':</strong>
 			<input type="password" name="', $context['sessionCheckType'], '_pass" size="24" class="input_password" />
-			<a href="', $scripturl, '?action=helpadmin;help=securityDisable_why" onclick="return reqWin(this.href);" class="help"><img src="', $settings['images_url'], '/helptopics.png" alt="', $txt['help'], '" /></a><br />
+			<a href="', $scripturl, '?action=helpadmin;help=securityDisable_why" onclick="return reqWin(this.href);" class="help"><img class="icon" src="', $settings['images_url'], '/helptopics.png" alt="', $txt['help'], '" /></a><br />
 			<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
 			<input type="hidden" name="', $context['admin-login_token_var'], '" value="', $context['admin-login_token'], '" />
 			<input type="submit" style="margin-top: 1em;" value="', $txt['login'], '" class="button_submit" />';

+ 9 - 5
Themes/default/css/index.css

@@ -94,7 +94,7 @@ select
 /* Add some padding to the options instead. */
 select option
 {
-	padding: 1px;
+	padding: 2px;
 }
 
 /* The font size of textareas should be just a little bit larger. */
@@ -140,7 +140,7 @@ input, select, textarea, textarea.editor
 	outline: none !important;
 	border: 1px solid #bbb;
 	vertical-align: top;
-	border-radius: 3px;
+	border-radius: 4px;
 	box-shadow: 0 2px 5px rgba(0,0,0,0.05) inset;
 }
 input:hover, select:hover, textarea:hover, textarea.editor:hover 
@@ -160,7 +160,7 @@ input:focus, select:focus, textarea:focus, textarea.editor:focus
 }
 select option 
 {
-	padding: 0.1em 0.3em 0.1em 0.3em;
+	padding: 0.1em 0.3em;
 }
 /* End lotsa new stuff */
 
@@ -173,7 +173,7 @@ select option
 	cursor: pointer;
 	font-weight: normal;
 	float: right;
-	border-radius: 3px;
+	border-radius: 4px;
 }
 a.button_link
 { 
@@ -1167,7 +1167,7 @@ span.lowerframe span
 {
 	position: absolute;
 	visibility: hidden;
-	border-radius: 3px;
+	border-radius: 4px;
 	outline: none !important;
 	border: 1px solid #bbb;
 }
@@ -2724,6 +2724,10 @@ tr.titlebg td
 {
 	padding: 0 0 1em 0;
 }
+#admin_login .centertext a.help img
+{
+	vertical-align: middle;
+}
 
 /* Styles for sidebar menus.
 ------------------------------------------------------- */