Skip to content

Commit c080bca

Browse files
committed
improved input styles
1 parent e4d1350 commit c080bca

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

web/templates/admin/add_mail_acc.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
<table class="sub-menu" style="background: white;">
33
<tr>
4-
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding Mail Domain</b></a>
4+
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding Mail Account</b></a>
55
<?php
66
if (!empty($_SESSION['error_msg'])) {
77
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";
@@ -36,7 +36,7 @@
3636
var rnum = Math.floor(Math.random() * chars.length);
3737
randomstring += chars.substring(rnum,rnum+1);
3838
}
39-
document.v_add_user.v_password.value = randomstring;
39+
document.v_add_mail_acc.v_password.value = randomstring;
4040
}
4141
</script>
4242

web/templates/header.html

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,10 @@
499499
height: 120px;
500500
}
501501

502+
.add-textinput:hover {
503+
border: 1px solid #e5a907;
504+
}
505+
502506
.add-textinput:disabled {
503507
background-color: #F1F1F1;
504508
}
@@ -514,21 +518,35 @@
514518
width: 360px;
515519
}
516520

521+
.add-input:hover {
522+
border: 1px solid #e5a907;
523+
}
524+
517525
.add-input:disabled {
518-
background-color: #F1F1F1;
526+
background-color: #f1f1f1;
519527
}
520528

521529
.add-list {
522530
padding: 4px;
523531
font-size: 12pt;
524532
color: #555;
533+
border-radius: 3px 3px 3px 3px;
534+
border: 1px solid #999999;
535+
}
536+
537+
.add-list:hover {
538+
border: 1px solid #e5a907;
525539
}
526540

527541
.add-checkbox {
528542
padding: 4px;
529543
font-size: 12pt;
530544
}
531545

546+
.add-checkbox:hover {
547+
border: 1px solid #e5a907;
548+
}
549+
532550
button {
533551
cursor: pointer;
534552
color: #333;

0 commit comments

Comments
 (0)