dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16065
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6001: Button CSS login page
------------------------------------------------------------
revno: 6001
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-02-16 23:55:26 +0100
message:
Button CSS login page
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css 2011-03-24 19:34:13 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css 2012-02-16 22:55:26 +0000
@@ -37,3 +37,22 @@
display: block;
width: 400px;
}
+
+.button {
+ background: -webkit-linear-gradient(top, #f1f1f1, #d1d1d1);
+ background: -moz-linear-gradient(top, #f1f1f1, #d1d1d1);
+ background: -ms-linear-gradient(top, #f1f1f1, #d1d1d1);
+ background: -o-linear-gradient(top, #f1f1f1, #d1d1d1);
+ height: 26px;
+ border: 1px solid #444;
+ border-radius: 3px;
+ color: #222;
+}
+
+.button:hover {
+ background: -webkit-linear-gradient(top, #fafafa, #dadada);
+ background: -moz-linear-gradient(top, #fafafa, #dadada);
+ background: -ms-linear-gradient(top, #fafafa, #dadada);
+ background: -o-linear-gradient(top, #fafafa, #dadada);
+ border: 1px solid #333333;
+}
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm 2011-09-22 09:21:26 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm 2012-02-16 22:55:26 +0000
@@ -15,7 +15,7 @@
});
});
</script>
- <link type="text/css" rel="stylesheet" media="screen" href="../css/login.css">
+ <link type="text/css" rel="stylesheet" href="../css/login.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
@@ -36,8 +36,8 @@
<tr>
<td></td>
<td>
- <input id='submit' type="submit" value="Login" style="width:120px; height:26px;">
- <input id='reset' type="reset" value="Clear" style="width:120px; height:26px;">
+ <input id="submit" class="button" type="submit" value="Login" style="width:120px">
+ <input id="reset" class="button" type="reset" value="Clear" style="width:120px">
</td>
</tr>
</table>