mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 06:57:03 +03:00
Cleanup bootstrap css
This commit is contained in:
parent
146f76ad9f
commit
f57955443b
10 changed files with 14 additions and 87 deletions
25
vendors/bootstrap/less/button-groups.less
vendored
25
vendors/bootstrap/less/button-groups.less
vendored
|
|
@ -45,9 +45,6 @@
|
|||
.btn-group > .btn-small {
|
||||
font-size: 12px;
|
||||
}
|
||||
.btn-group > .btn-large {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
// 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 {
|
||||
|
|
@ -61,17 +58,6 @@
|
|||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
// Reset corners for large buttons
|
||||
.btn-group > .btn.large:first-child {
|
||||
margin-left: 0;
|
||||
border-top-left-radius: 6px;
|
||||
border-bottom-left-radius: 6px;
|
||||
}
|
||||
.btn-group > .btn.large:last-child,
|
||||
.btn-group > .large.dropdown-toggle {
|
||||
border-top-right-radius: 6px;
|
||||
border-bottom-right-radius: 6px;
|
||||
}
|
||||
|
||||
// On hover/focus/active, bring the proper btn to front
|
||||
.btn-group > .btn:hover,
|
||||
|
|
@ -84,17 +70,6 @@
|
|||
// Split button dropdowns
|
||||
// ----------------------
|
||||
|
||||
// Give the line between buttons some depth
|
||||
.btn-group > .btn + .dropdown-toggle {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
||||
}
|
||||
.btn-group > .btn-large + .dropdown-toggle {
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
.btn-group.open {
|
||||
|
||||
// The clickable button for toggling the menu
|
||||
|
|
|
|||
9
vendors/bootstrap/less/buttons.less
vendored
9
vendors/bootstrap/less/buttons.less
vendored
|
|
@ -65,9 +65,6 @@
|
|||
line-height: normal;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.btn-large [class^="icon-"] {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
// Small
|
||||
.btn-small {
|
||||
|
|
@ -75,9 +72,6 @@
|
|||
font-size: @baseFontSize - 2px;
|
||||
line-height: @baseLineHeight - 2px;
|
||||
}
|
||||
.btn-small [class^="icon-"] {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
// Block button
|
||||
.btn-block {
|
||||
|
|
@ -87,9 +81,6 @@
|
|||
padding-right: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.btn-block + .btn-block {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
|
||||
// Alternate buttons
|
||||
|
|
|
|||
8
vendors/bootstrap/less/dropdowns.less
vendored
8
vendors/bootstrap/less/dropdowns.less
vendored
|
|
@ -92,11 +92,3 @@
|
|||
background-color: transparent;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
// Open state for the dropdown
|
||||
// ---------------------------
|
||||
.open {
|
||||
& > .dropdown-menu {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
vendors/bootstrap/less/forms.less
vendored
6
vendors/bootstrap/less/forms.less
vendored
|
|
@ -29,12 +29,6 @@ legend {
|
|||
color: @grayDark;
|
||||
border: 0;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
|
||||
// Small
|
||||
small {
|
||||
font-size: @baseLineHeight * .75;
|
||||
color: @grayLight;
|
||||
}
|
||||
}
|
||||
|
||||
// Identify controls by their labels
|
||||
|
|
|
|||
3
vendors/bootstrap/less/mixins.less
vendored
3
vendors/bootstrap/less/mixins.less
vendored
|
|
@ -104,9 +104,6 @@
|
|||
vertical-align: top;
|
||||
}
|
||||
|
||||
// Set the container width
|
||||
.container { .span(@gridColumns); }
|
||||
|
||||
// generate .spanX
|
||||
.spanX (@gridColumns);
|
||||
}
|
||||
|
|
|
|||
4
vendors/bootstrap/less/modals.less
vendored
4
vendors/bootstrap/less/modals.less
vendored
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
// Base modal
|
||||
.modal {
|
||||
position: relative;
|
||||
position: absolute;
|
||||
z-index: @zindexModal;
|
||||
overflow: hidden;
|
||||
width: calc(100% - 20px);
|
||||
|
|
@ -17,6 +17,8 @@
|
|||
box-shadow: 0 5px 80px rgba(0,0,0,0.3);
|
||||
background-clip: padding-box;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
|
|
|
|||
6
vendors/bootstrap/less/tables.less
vendored
6
vendors/bootstrap/less/tables.less
vendored
|
|
@ -12,12 +12,6 @@
|
|||
background-color: @tableBackground;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
// BASELINE STYLES
|
||||
// ---------------
|
||||
|
||||
.table {
|
||||
width: 100%;
|
||||
margin-bottom: @baseLineHeight;
|
||||
// Cells
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue