Skip to content

Commit

Permalink
big update
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Jun 4, 2022
1 parent d63d0e1 commit 6e1d28f
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 1 deletion.
79 changes: 79 additions & 0 deletions src/admin/assets/src/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}*/
5 changes: 4 additions & 1 deletion src/admin/assets/src/css/custom-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,8 @@


.btn-default {
background: #efefef;
/*background: #efefef;*/
background: transparent !important;
color: #262626;
border: 1px solid #C2C2C2;
}

0 comments on commit 6e1d28f

Please sign in to comment.