Cleanup .add-on CSS

This commit is contained in:
djmaze 2021-04-20 11:27:19 +02:00
parent df00748bf5
commit 3d2f7fb3ef
5 changed files with 10 additions and 39 deletions

View file

@ -235,21 +235,6 @@ select:focus:required:invalid {
z-index: 2;
}
}
.add-on {
display: inline-block;
width: auto;
height: @baseLineHeight;
min-width: 16px;
padding: 4px 5px;
font-size: @baseFontSize;
font-weight: normal;
line-height: @baseLineHeight;
text-align: center;
text-shadow: 0 1px 0 @white;
background-color: @grayLighter;
border: 1px solid #ccc;
}
.add-on,
.btn {
margin-left: -1px;
vertical-align: top;
@ -259,7 +244,6 @@ select:focus:required:invalid {
background-color: lighten(@green, 30);
border-color: @green;
}
.add-on:last-child,
.btn:last-child {
border-radius: 0 @inputBorderRadius @inputBorderRadius 0;
}

View file

@ -63,12 +63,6 @@
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
}
}
// Give a small background color for input-prepend/-append
.input-append .add-on {
color: @textColor;
background-color: @backgroundColor;
border-color: @textColor;
}
}