mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
71 lines
1.3 KiB
SCSS
71 lines
1.3 KiB
SCSS
// IE general hacks
|
|
html.ie {
|
|
// Properly align icons in circle
|
|
table td.actions .no-text.icon-edit {
|
|
padding-top: 3px !important;
|
|
}
|
|
table td.actions .no-text.icon-envelope-alt {
|
|
padding-top: 4px !important;
|
|
}
|
|
|
|
// Fix select2 background gradient. (It uses filter gradients for IE)
|
|
.select2-choice,
|
|
.select2-choice div,
|
|
.select2-container-multi .select2-search-choice,
|
|
.select2-container:hover .select2-choice,
|
|
.select2-container.select2-container-active .select2-choice {
|
|
filter: none;
|
|
}
|
|
.select2-search {
|
|
&:before {
|
|
position: relative;
|
|
z-index: 10000;
|
|
content: "\f002" !important;
|
|
}
|
|
input {
|
|
position: relative;
|
|
z-index: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
// IE8 Hacks
|
|
html.ie8 {
|
|
// Fix italic font
|
|
body {
|
|
font-style: normal;
|
|
}
|
|
|
|
// Fix white border around filter-actions
|
|
.filter-actions {
|
|
margin-bottom: -45px;
|
|
|
|
button,
|
|
.button,
|
|
input[type="submit"],
|
|
input[type="button"],
|
|
span.or {
|
|
border: 15px solid $color-1;
|
|
}
|
|
span.or {
|
|
border-width: 5px;
|
|
margin-left: -10px;
|
|
margin-right: -10px;
|
|
}
|
|
}
|
|
|
|
// Fix legend align center
|
|
legend {
|
|
display: table;
|
|
}
|
|
|
|
// Sidebar align with fieldsets
|
|
#sidebar {
|
|
margin-top: 27px;
|
|
|
|
.sidebar-title span {
|
|
margin-left: 7px;
|
|
}
|
|
}
|
|
}
|