diff --git a/src/admin/assets/src/css/app.css b/src/admin/assets/src/css/app.css index 7bb1da0..01588c4 100644 --- a/src/admin/assets/src/css/app.css +++ b/src/admin/assets/src/css/app.css @@ -896,3 +896,82 @@ form.sx-backend-form { border-color: #dedede; padding: 8px 10px; } + + + + + +/** + * Кастомизация select2 + */ +.select2-container--krajee-bs4.select2-container--open:not(.select2-container--disabled) .select2-selection, .select2-container--krajee-bs4:not(.select2-container--disabled) .select2-selection:focus +{ + box-shadow: none; + border-color: #ced4da; +} + +.select2-container--krajee-bs4:not(.select2-container--disabled) .select2-dropdown { + border-color: #ced4da; + box-shadow: none; +} + +.select2-container--krajee.select2-container--open .select2-selection, .select2-container--krajee .select2-selection:focus { + box-shadow: none; +} + +.select2-container--krajee .select2-dropdown { + box-shadow: none; +} + +.select2-container--krajee .select2-selection--single .select2-selection__arrow { + border: 0px; +} + +.select2-container--krajee-bs4 .select2-results__option { +} +.select2-container--krajee-bs4 .select2-results__option.select2-results__option--selected, .select2-container--krajee-bs4 .select2-results__option[aria-selected=true] { + color: white; + background-color: #0c41ab; + +} + +.select2-container--krajee-bs4 .select2-results__option:hover +{ + color: white; + background-color: #0c41ab; +} + +.select2-container .select2-selection--single { + /*display: flex;*/ + box-shadow: none; +} + +.select2-container--krajee-bs4 .select2-selection--single .select2-selection__rendered { + /*margin: auto 5px;*/ +} +.select2-container--krajee-bs4 .select2-selection--single .select2-selection__arrow { + border-left: 0; +} + +/** + * multi select 2 + */ +.select2-container--krajee .select2-selection { + box-shadow: none; +} + + +.dropdown-menu li { + padding: 5px 10px; + color: #333; +} +.dropdown-menu li a { + color: #333; +} +.dropdown-menu li:hover { + background: #f5f5f5; +} + +/*.btn-group>.btn-group:not(:first-child), .btn-group>.btn:not(:first-child) { + margin-left: -5px; +}*/ diff --git a/src/admin/assets/src/css/custom-theme.css b/src/admin/assets/src/css/custom-theme.css index 97ae2e0..dd43bbf 100644 --- a/src/admin/assets/src/css/custom-theme.css +++ b/src/admin/assets/src/css/custom-theme.css @@ -86,5 +86,8 @@ .btn-default { - background: #efefef; + /*background: #efefef;*/ + background: transparent !important; + color: #262626; + border: 1px solid #C2C2C2; } \ No newline at end of file