summaryrefslogtreecommitdiffstats
path: root/web/html/css
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2013-08-27 02:07:50 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2013-08-27 02:10:13 +0200
commit3bc951e3d87eaf692a7e47cf16a28d838c7cb2bd (patch)
tree14a13b7f006b23fd034630a1694456a456b7859e /web/html/css
parentbe80aa0f01376897c0d7e1533308523d689ea677 (diff)
downloadaur-3bc951e3d87eaf692a7e47cf16a28d838c7cb2bd.tar.gz
aur-3bc951e3d87eaf692a7e47cf16a28d838c7cb2bd.tar.xz
pkg_details: Convert most action links to forms
Use forms and POST instead of GET for following actions: * Flagging/Unflagging a package out-of-date * Voting for a package and removing votes * Enabling/Disabling notifications Use CSS to make the submit buttons of these forms look like links. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/css')
-rw-r--r--web/html/css/aur.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/web/html/css/aur.css b/web/html/css/aur.css
index bae8e217..a8fb0095 100644
--- a/web/html/css/aur.css
+++ b/web/html/css/aur.css
@@ -14,3 +14,22 @@
#pkg-stats td.stat-desc {
white-space: normal;
}
+
+#actionlist form {
+ margin: 0;
+ padding: 0;
+}
+
+#actionlist .text-button {
+ color: #07b;
+ background: none;
+ border: none;
+ padding: 0;
+ cursor: pointer;
+ font-size: 100%;
+}
+
+#actionlist .text-button:hover {
+ text-decoration: underline;
+ color: #666;
+}