changeset 2118:2f2695771579 beta

ui
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 09 Mar 2012 22:12:00 +0200
parents d743568f2f57
children 4d076981a7b1
files rhodecode/lib/helpers.py rhodecode/public/css/style.css
diffstat 2 files changed, 32 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/helpers.py	Fri Mar 09 20:28:00 2012 +0200
+++ b/rhodecode/lib/helpers.py	Fri Mar 09 22:12:00 2012 +0200
@@ -760,10 +760,10 @@
     d_v = d if d > 0 else ''
 
     def cgen(l_type):
-        mapping = {'tr': 'top-right-rounded-corner',
-                   'tl': 'top-left-rounded-corner',
-                   'br': 'bottom-right-rounded-corner',
-                   'bl': 'bottom-left-rounded-corner'}
+        mapping = {'tr': 'top-right-rounded-corner-mid',
+                   'tl': 'top-left-rounded-corner-mid',
+                   'br': 'bottom-right-rounded-corner-mid',
+                   'bl': 'bottom-left-rounded-corner-mid'}
         map_getter = lambda x: mapping[x]
 
         if l_type == 'a' and d_v:
--- a/rhodecode/public/css/style.css	Fri Mar 09 20:28:00 2012 +0200
+++ b/rhodecode/public/css/style.css	Fri Mar 09 22:12:00 2012 +0200
@@ -185,6 +185,34 @@
 	border-bottom-right-radius: 8px;
 }
 
+.top-left-rounded-corner-mid {
+    -webkit-border-top-left-radius: 4px;
+    -khtml-border-radius-topleft: 4px;
+    -moz-border-radius-topleft: 4px;
+    border-top-left-radius: 4px;
+}
+
+.top-right-rounded-corner-mid {
+    -webkit-border-top-right-radius: 4px;
+    -khtml-border-radius-topright: 4px;
+    -moz-border-radius-topright: 4px;
+    border-top-right-radius: 4px;
+}
+
+.bottom-left-rounded-corner-mid {
+    -webkit-border-bottom-left-radius: 4px;
+    -khtml-border-radius-bottomleft: 4px;
+    -moz-border-radius-bottomleft: 4px;
+    border-bottom-left-radius: 4px;
+}
+
+.bottom-right-rounded-corner-mid {
+    -webkit-border-bottom-right-radius: 4px;
+    -khtml-border-radius-bottomright: 4px;
+    -moz-border-radius-bottomright: 4px;
+    border-bottom-right-radius: 4px;
+}
+
 .help-block {
     color: #999999;
     display: block;