mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Cleanup some bootstrap css
This commit is contained in:
parent
ce4ee3ba3f
commit
e55dc49e34
4 changed files with 12 additions and 86 deletions
1
vendors/bootstrap/less/button-groups.less
vendored
1
vendors/bootstrap/less/button-groups.less
vendored
|
|
@ -37,7 +37,6 @@
|
|||
.btn-group > .btn + .btn {
|
||||
margin-left: -1px;
|
||||
}
|
||||
.btn-group > .btn,
|
||||
.btn-group > .dropdown-menu {
|
||||
font-size: @baseFontSize; // redeclare as part 2 of font-size inline-block hack
|
||||
}
|
||||
|
|
|
|||
11
vendors/bootstrap/less/buttons.less
vendored
11
vendors/bootstrap/less/buttons.less
vendored
|
|
@ -19,11 +19,12 @@
|
|||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
border: 1px solid @btnBorder;
|
||||
border-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25);
|
||||
border-color: rgba(0,0,0,.15) rgba(0,0,0,.15) rgba(0,0,0,.25);
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
||||
color: @grayDark;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
||||
background-color: @btnBackground;
|
||||
text-decoration: none;
|
||||
|
||||
// Hover state
|
||||
&:hover {
|
||||
|
|
@ -47,7 +48,7 @@
|
|||
&.disabled,
|
||||
&[disabled] {
|
||||
cursor: default;
|
||||
opacity: 0.7;
|
||||
opacity: 0.7;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
||||
}
|
||||
|
||||
|
|
@ -102,12 +103,6 @@
|
|||
color: rgba(255,255,255,.75);
|
||||
}
|
||||
|
||||
// Set the backgrounds
|
||||
// -------------------------
|
||||
.btn {
|
||||
// reset here as of 2.0.3 due to Recess property order
|
||||
border-color: rgba(0,0,0,.15) rgba(0,0,0,.15) rgba(0,0,0,.25);
|
||||
}
|
||||
// Warning appears are orange
|
||||
.btn-warning {
|
||||
color: #fff;
|
||||
|
|
|
|||
41
vendors/bootstrap/less/forms.less
vendored
41
vendors/bootstrap/less/forms.less
vendored
|
|
@ -65,20 +65,7 @@ label {
|
|||
// Shared size and type resets
|
||||
select,
|
||||
textarea,
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="datetime"],
|
||||
input[type="datetime-local"],
|
||||
input[type="date"],
|
||||
input[type="month"],
|
||||
input[type="time"],
|
||||
input[type="week"],
|
||||
input[type="number"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
input[type="search"],
|
||||
input[type="tel"],
|
||||
input[type="color"] {
|
||||
input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
|
||||
display: inline-block;
|
||||
height: @baseLineHeight;
|
||||
padding: 4px 6px;
|
||||
|
|
@ -101,20 +88,7 @@ textarea {
|
|||
}
|
||||
// Everything else
|
||||
textarea,
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="datetime"],
|
||||
input[type="datetime-local"],
|
||||
input[type="date"],
|
||||
input[type="month"],
|
||||
input[type="time"],
|
||||
input[type="week"],
|
||||
input[type="number"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
input[type="search"],
|
||||
input[type="tel"],
|
||||
input[type="color"] {
|
||||
input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
|
||||
background-color: @inputBackground;
|
||||
border: 1px solid @inputBorder;
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
|
||||
|
|
@ -122,9 +96,10 @@ input[type="color"] {
|
|||
|
||||
// Focus state
|
||||
&:focus {
|
||||
border-color: rgba(82,168,236,.8);
|
||||
background-color: #fff;
|
||||
border-color: darken(@inputBorder, 20%);
|
||||
box-shadow: none;
|
||||
outline: 0;
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -138,10 +113,6 @@ input[type="checkbox"] {
|
|||
|
||||
// Reset width of input images, buttons, radios, checkboxes
|
||||
input[type="file"],
|
||||
input[type="image"],
|
||||
input[type="submit"],
|
||||
input[type="reset"],
|
||||
input[type="button"],
|
||||
input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
width: auto; // Override of generic input selector
|
||||
|
|
@ -157,7 +128,7 @@ input[type="file"] {
|
|||
// Make select elements obey height by applying a border
|
||||
select {
|
||||
width: 223px; // default input width + 10px of padding that doesn't get applied
|
||||
border: 1px solid #bbb;
|
||||
border: 1px solid @inputBorder;
|
||||
background-color: @inputBackground; // Chrome on Linux and Mobile Safari need background-color
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue