From 3b16b35dae6fa8dade2690e3b0252af04628caa5 Mon Sep 17 00:00:00 2001 From: Athou Date: Tue, 2 Jul 2013 15:44:22 +0200 Subject: [PATCH] styling buttons border --- src/main/webapp/sass/generic/_misc.scss | 18 ++++++++++++++++++ src/main/webapp/sass/themes/_ebraminio.scss | 15 --------------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/src/main/webapp/sass/generic/_misc.scss b/src/main/webapp/sass/generic/_misc.scss index f0896564..bd5530d3 100644 --- a/src/main/webapp/sass/generic/_misc.scss +++ b/src/main/webapp/sass/generic/_misc.scss @@ -59,4 +59,22 @@ .favicon { width: 16px; height: 16px; +} + +.btn,.btn-large,.btn-small,.btn-mini { + border-top-left-radius: 2px; + border-top-right-radius: 2px; + border-bottom-left-radius: 2px; + border-bottom-right-radius: 2px; +} + +.btn-group>.btn:first-child,.btn-group>.btn-large:first-child { + border-top-left-radius: 2px; + border-bottom-left-radius: 2px; +} + +.btn-group>.btn:last-child,.btn-group>.btn-large:last-child,.btn-group>.dropdown-toggle + { + border-top-right-radius: 2px; + border-bottom-right-radius: 2px; } \ No newline at end of file diff --git a/src/main/webapp/sass/themes/_ebraminio.scss b/src/main/webapp/sass/themes/_ebraminio.scss index f0ed9ab7..05414082 100644 --- a/src/main/webapp/sass/themes/_ebraminio.scss +++ b/src/main/webapp/sass/themes/_ebraminio.scss @@ -18,21 +18,6 @@ body { pre { background-color: transparent; } -/* I don't like default buttons radius */ -.btn, .btn-large, .btn-small, .btn-mini { - border-top-left-radius: 2px; - border-top-right-radius: 2px; - border-bottom-left-radius: 2px; - border-bottom-right-radius: 2px; -} -.btn-group > .btn:first-child, .btn-group > .btn-large:first-child { - border-top-left-radius: 2px; - border-bottom-left-radius: 2px; -} -.btn-group > .btn:last-child, .btn-group > .btn-large:last-child, .btn-group > .dropdown-toggle { - border-top-right-radius: 2px; - border-bottom-right-radius: 2px; -} /* Better scrollbar*/ ::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.4);