From 4bcee51dc9046538ba32b1ad45b82c560da45969 Mon Sep 17 00:00:00 2001 From: Mark Friedrich Date: Sat, 21 Mar 2020 15:58:43 +0100 Subject: [PATCH] - fixed ugly boxes (Firefox) ============================================================================== +@supports (-moz-appearance:none) { + select { + -moz-appearance: none !important; + background: $gray-dark url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFiIiIAAAA/v9K/QAAAAJ0Uk5T/wDltzBKAAAAHElEQVR42mJggAFGGMUIZjGCGIwMYIIRCgACDAABOwAVoypkGgAAAABJRU5ErkJggg==') right center no-repeat !important; + background-position: calc(100% - 5px) center !important; + padding-right: 16px !important; + } +} // form fields with icons groups (stacked icons) ====================================================================== .input-icon-left:not(.input-icon-right){ diff --git a/sass/layout/_main.scss b/sass/layout/_main.scss index 45790d77..3f04b9d4 100644 --- a/sass/layout/_main.scss +++ b/sass/layout/_main.scss @@ -118,7 +118,12 @@ em, } } -// scroll bar (webkit only) ======================================================================= +// scroll bar ===================================================================================== +html{ + scrollbar-width: thin; // Firefox + scrollbar-color: #717171 #222223; // Firefox +} + ::-webkit-scrollbar { display: none; // hides the scrollbar but is still scrollable width: 16px; @@ -437,8 +442,6 @@ select:active, select:hover { } .select2-results.mCustomScrollbar{ - overflow-y: scroll; - .select2-results__option--load-more{ position: absolute; margin-top: 50px; // margin gets removed on totalScroll -> enables ajax select options to load next page @@ -1971,6 +1974,13 @@ code { border: none; padding: 9px 10px; + .ui-pnotify-icon{ + float: left; + + > span{ + display: block; + } + } .ui-pnotify-title{ margin-bottom: 0; // overwrite default "alert" style } diff --git a/sass/library/custom-scrollbar/_mCustomScrollbar.scss b/sass/library/custom-scrollbar/_mCustomScrollbar.scss index 0b629559..12d4bb78 100644 --- a/sass/library/custom-scrollbar/_mCustomScrollbar.scss +++ b/sass/library/custom-scrollbar/_mCustomScrollbar.scss @@ -1,4 +1,4 @@ -$mCustomScrollbarContentPadding: 20px; +$mCustomScrollbarContentPadding: 16px; /* == malihu jquery custom scrollbar plugin == diff --git a/sass/library/select2/theme/pathfinder/_single.scss b/sass/library/select2/theme/pathfinder/_single.scss index ab401aaa..77e7ee9a 100644 --- a/sass/library/select2/theme/pathfinder/_single.scss +++ b/sass/library/select2/theme/pathfinder/_single.scss @@ -10,7 +10,7 @@ .select2-selection__rendered { color: $gray-lighter; - line-height: 32px; + line-height: 30px; // + 1px border == 32px font-family: 'Oxygen Bold'; padding-left: 15px;