# HG changeset patch # User Marcin Kuzminski # Date 1331323920 -7200 # Node ID 2f2695771579324b75e6906aba55caa24f279ed4 # Parent d743568f2f57007e35d073c38fa7bd0f18af713d ui diff -r d743568f2f57 -r 2f2695771579 rhodecode/lib/helpers.py --- 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: diff -r d743568f2f57 -r 2f2695771579 rhodecode/public/css/style.css --- 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;