summaryrefslogtreecommitdiffstats
path: root/src/main/resources/bootstrap-fixes.css
diff options
context:
space:
mode:
authorMartin Spielmann <martin.spielmann@pingunaut.com>2016-11-18 22:39:20 +0100
committerGitHub <noreply@github.com>2016-11-18 22:39:20 +0100
commit88a91a87fad8158fc2c5ca2b9002b037894c6e97 (patch)
tree97d9639f68eab409f1db2dbb3cc47693218cb4a7 /src/main/resources/bootstrap-fixes.css
parent77898a14f27c852664bcfb12f3c7322624381d6a (diff)
parentdfa3c3d3f944a91e0af7300df4012df6a5f5ea11 (diff)
downloadgitblit-88a91a87fad8158fc2c5ca2b9002b037894c6e97.tar.gz
gitblit-88a91a87fad8158fc2c5ca2b9002b037894c6e97.zip
Merge pull request #3 from gitblit/master
Get latest stuff from master before move forward with wicket-7
Diffstat (limited to 'src/main/resources/bootstrap-fixes.css')
-rw-r--r--src/main/resources/bootstrap-fixes.css25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/main/resources/bootstrap-fixes.css b/src/main/resources/bootstrap-fixes.css
new file mode 100644
index 00000000..c9b6154b
--- /dev/null
+++ b/src/main/resources/bootstrap-fixes.css
@@ -0,0 +1,25 @@
+/**
+ * Disabled links in a PagerPanel. Bootstrap 2.0.4 only handles <a>, but not <span>. Wicket renders disabled links as spans.
+ * The .pagination rules here are identical to the ones for <a> in bootstrap.css, but for <span>.
+ */
+.pagination span {
+ float: left;
+ padding: 0 14px;
+ line-height: 34px;
+ text-decoration: none;
+ border: 1px solid #ddd;
+ border-left-width: 0;
+}
+
+.pagination li:first-child span {
+ border-left-width: 1px;
+ -webkit-border-radius: 3px 0 0 3px;
+ -moz-border-radius: 3px 0 0 3px;
+ border-radius: 3px 0 0 3px;
+}
+
+.pagination li:last-child span {
+ -webkit-border-radius: 0 3px 3px 0;
+ -moz-border-radius: 0 3px 3px 0;
+ border-radius: 0 3px 3px 0;
+}