Browse Source

Nicer looking login form part 2

spaghetti 8 years ago
parent
commit
3c29acc7f9
1 changed files with 11 additions and 4 deletions
  1. 11
    4
      static/styles/public/style.css

+ 11
- 4
static/styles/public/style.css View File

40
   font: 500 14px/29px Helvetica, Arial, sans-serif;
40
   font: 500 14px/29px Helvetica, Arial, sans-serif;
41
   width: 100%;
41
   width: 100%;
42
   box-sizing: border-box;
42
   box-sizing: border-box;
43
-  border-radius: 3px;
44
 }
43
 }
45
 
44
 
46
 input[type="text"]:valid, input[type="password"]:valid, input[type="email"] {
45
 input[type="text"]:valid, input[type="password"]:valid, input[type="email"] {
52
   border-right: 2px solid red;
51
   border-right: 2px solid red;
53
 }
52
 }
54
 
53
 
55
-input[type="submit"] {
54
+#loginform > table {
55
+  border-spacing: 1px;
56
+}
57
+
58
+#loginform #username {
59
+  border-radius: 5px 5px 0 0;
60
+}
61
+
62
+#loginform input[type="submit"] {
56
   width: 100%;
63
   width: 100%;
57
   background-color: white;
64
   background-color: white;
58
   font: 500 14px/29px Helvetica, Arial, sans-serif;
65
   font: 500 14px/29px Helvetica, Arial, sans-serif;
59
   border: none;
66
   border: none;
60
-  border-radius: 3px;
67
+  border-radius: 0 0 5px 5px;
61
   cursor: pointer;
68
   cursor: pointer;
62
 }
69
 }
63
-input[type="submit"]:hover {
70
+#loginform input[type="submit"]:hover {
64
   background-color: #FFF7F7;
71
   background-color: #FFF7F7;
65
 }
72
 }
66
 
73
 

Loading…
Cancel
Save