Cleanup some css and remove a float

This commit is contained in:
djmaze 2021-02-05 15:56:15 +01:00
parent 5e9941d58f
commit 43c4293330
5 changed files with 11 additions and 17 deletions

View file

@ -9,7 +9,7 @@
// Core
.btn {
display: inline-block;
padding: 4px 14px;
padding: 4px 13px;
margin-bottom: 0; // For input.btn
font-size: @baseFontSize;
line-height: @baseLineHeight;
@ -18,8 +18,7 @@
cursor: pointer;
.buttonBackground(@btnBackground, @btnBackgroundHighlight, @grayDark, 0 1px 1px rgba(255,255,255,.75));
border: 1px solid @btnBorder;
border-bottom-color: darken(@btnBorder, 10%);
border-radius: 4px;
border-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25);
box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
// Hover state
@ -54,8 +53,8 @@
cursor: default;
background-color: darken(@white, 10%);
background-image: none;
opacity: 0.65;
box-shadow: none;
opacity: 0.8;
box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
}