Cleanup unused CSS

This commit is contained in:
djmaze 2021-02-01 22:54:19 +01:00
parent ebe2c0536f
commit b015454b02
21 changed files with 24 additions and 870 deletions

View file

@ -86,13 +86,6 @@
margin-top: 0;
}
// Mini
.btn-mini {
padding: 2px 6px;
font-size: @baseFontSize - 3px;
line-height: @baseLineHeight - 4px;
}
// Block button
.btn-block {
display: block;
@ -110,12 +103,9 @@
// --------------------------------------------------
// Provide *some* extra contrast for those who can get it
.btn-primary.active,
.btn-warning.active,
.btn-danger.active,
.btn-success.active,
.btn-info.active,
.btn-inverse.active {
.btn-success.active {
color: rgba(255,255,255,.75);
}
@ -126,9 +116,6 @@
border-color: #c5c5c5;
border-color: rgba(0,0,0,.15) rgba(0,0,0,.15) rgba(0,0,0,.25);
}
.btn-primary {
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
}
// Warning appears are orange
.btn-warning {
.buttonBackground(@btnWarningBackground, @btnWarningBackgroundHighlight);
@ -141,49 +128,3 @@
.btn-success {
.buttonBackground(@btnSuccessBackground, @btnSuccessBackgroundHighlight);
}
// Info appears as a neutral blue
.btn-info {
.buttonBackground(@btnInfoBackground, @btnInfoBackgroundHighlight);
}
// Inverse appears as dark gray
.btn-inverse {
.buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight);
}
// Cross-browser Jank
// --------------------------------------------------
button.btn,
input[type="submit"].btn {
// Firefox 3.6 only I believe
&::-moz-focus-inner {
padding: 0;
border: 0;
}
}
// Link buttons
// --------------------------------------------------
// Make a button look and behave like a link
.btn-link,
.btn-link:active {
background-color: transparent;
background-image: none;
box-shadow: none;
}
.btn-link {
border-color: transparent;
cursor: pointer;
color: @linkColor;
border-radius: 0;
}
.btn-link:hover {
color: @linkColorHover;
text-decoration: underline;
background-color: transparent;
}