mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Cleanup some CSS
This commit is contained in:
parent
5c22933628
commit
88c16f5c40
21 changed files with 17 additions and 60 deletions
12
vendors/bootstrap/less/button-groups.less
vendored
12
vendors/bootstrap/less/button-groups.less
vendored
|
|
@ -6,7 +6,6 @@
|
|||
// Make the div behave like a button
|
||||
.btn-group {
|
||||
position: relative;
|
||||
font-size: 0; // remove as part 1 of font-size inline-block hack
|
||||
white-space: nowrap; // prevent buttons from wrapping when in tight spaces (e.g., the table on the tests page)
|
||||
}
|
||||
|
||||
|
|
@ -16,9 +15,6 @@
|
|||
|
||||
// Optional: Group multiple button groups together for a toolbar
|
||||
.btn-toolbar {
|
||||
font-size: 0; // Hack to remove whitespace that results from using inline-block
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
.btn-group {
|
||||
display: inline-block;
|
||||
}
|
||||
|
|
@ -37,14 +33,6 @@
|
|||
.btn-group > .btn + .btn {
|
||||
margin-left: -1px;
|
||||
}
|
||||
.btn-group > .dropdown-menu {
|
||||
font-size: @baseFontSize; // redeclare as part 2 of font-size inline-block hack
|
||||
}
|
||||
|
||||
// Reset fonts for other sizes
|
||||
.btn-group > .btn-small {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
|
||||
.btn-group > .btn:first-child {
|
||||
|
|
|
|||
7
vendors/bootstrap/less/buttons.less
vendored
7
vendors/bootstrap/less/buttons.less
vendored
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
display: inline-block;
|
||||
padding: 4px 13px;
|
||||
font-size: @baseFontSize;
|
||||
line-height: @baseLineHeight;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
|
|
@ -60,7 +59,7 @@
|
|||
// Large
|
||||
.btn-large {
|
||||
padding: 9px 14px;
|
||||
font-size: @baseFontSize + 3px;
|
||||
font-size: 121%;
|
||||
line-height: normal;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
|
@ -68,8 +67,8 @@
|
|||
// Small
|
||||
.btn-small {
|
||||
padding: 3px 9px;
|
||||
font-size: (@baseFontSize * 0.85);
|
||||
line-height: (@baseLineHeight * 0.85);
|
||||
font-size: 80%;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
// Block button
|
||||
|
|
|
|||
2
vendors/bootstrap/less/close.less
vendored
2
vendors/bootstrap/less/close.less
vendored
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
.close {
|
||||
float: right;
|
||||
font-size: 20px;
|
||||
font-size: 143%;
|
||||
font-weight: bold;
|
||||
line-height: @baseLineHeight;
|
||||
color: inherit;
|
||||
|
|
|
|||
6
vendors/bootstrap/less/code.less
vendored
6
vendors/bootstrap/less/code.less
vendored
|
|
@ -10,10 +10,6 @@ samp,
|
|||
pre {
|
||||
padding: 0 3px 2px;
|
||||
font-family: var(--fontMono);
|
||||
font-size: @baseFontSize;
|
||||
font-weight: normal;
|
||||
line-height: @baseLineHeight;
|
||||
font-size: @baseFontSize - 2;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
|
|
@ -28,8 +24,6 @@ pre {
|
|||
display: block;
|
||||
padding: (@baseLineHeight / 2);
|
||||
margin: 0 0 (@baseLineHeight / 2);
|
||||
font-size: @baseFontSize - 1; // 14px to 13px
|
||||
line-height: @baseLineHeight;
|
||||
white-space: pre-wrap;
|
||||
border: 1px solid rgba(0,0,0,.15);
|
||||
border-radius: 4px;
|
||||
|
|
|
|||
1
vendors/bootstrap/less/forms.less
vendored
1
vendors/bootstrap/less/forms.less
vendored
|
|
@ -14,7 +14,6 @@ form {
|
|||
// Identify controls by their labels
|
||||
label {
|
||||
display: block;
|
||||
font-size: @baseFontSize;
|
||||
font-weight: normal;
|
||||
line-height: @baseLineHeight;
|
||||
margin-bottom: 5px;
|
||||
|
|
|
|||
3
vendors/bootstrap/less/type.less
vendored
3
vendors/bootstrap/less/type.less
vendored
|
|
@ -26,9 +26,6 @@ em {
|
|||
cite {
|
||||
font-style: normal;
|
||||
}
|
||||
.muted {
|
||||
color: @grayLight;
|
||||
}
|
||||
|
||||
|
||||
// Headings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue