styling buttons border

This commit is contained in:
Athou
2013-07-02 15:44:22 +02:00
parent 0a24d51401
commit 3b16b35dae
2 changed files with 18 additions and 15 deletions

View File

@@ -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;
}

View File

@@ -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);