Fix Css issues [SCI-9003]

This commit is contained in:
wandji20 2023-08-11 10:45:51 +01:00
parent a4ea995027
commit 52fc7eb0e8
5 changed files with 10 additions and 15 deletions

View file

@ -30,7 +30,7 @@ var DataTableHelpers = (function() {
.removeClass('form-control input-sm')
.css('margin', 0);
$('.dataTables_filter').append(`
<button class="btn btn-light btn-lg icon-btn search-icon btn-black"
<button class="btn btn-light icon-btn search-icon btn-black"
title="${I18n.t('repositories.show.button_tooltip.search')}">
<i class="sn-icon sn-icon-search"></i>
</button>

View file

@ -187,6 +187,8 @@
}
function initTeamSharePermission() {
$('.team-share-permission')
.css('cursor', `${$('.team-share-permission').attr('disabled') ? 'not-allowed' : 'cursor'}`);
function toogleCheckbox() {
var checkbox = $('.team-share-permission');
checkbox.prop('checked', !checkbox.prop('checked'));

View file

@ -17,11 +17,8 @@
.search-container {
flex-basis: 36px;
.fa-search {
animation-timing-function: $timing-function-sharp;
color: $color-alto;
transition: .3s;
width: 26px;
.sn-icon {
top: calc(50% - .75rem);
}
.task-search-field {
@ -36,10 +33,6 @@
border: $border-transparent;
cursor: pointer;
width: 36px;
+ .fa-search {
color: $color-volcano;
}
}
&:hover {
@ -50,10 +43,6 @@
border: $border-focus;
cursor: auto;
width: 200px;
+ .fa-search {
color: $color-alto;
}
}

View file

@ -1217,6 +1217,10 @@ li.module-hover {
.sci-input-container.left-icon {
margin: 1em 0;
}
.sn-icon {
top: calc(50% - .75rem);
}
}
.cards-wrapper.cards {

View file

@ -1,6 +1,6 @@
@layer components {
.sci-input-container-v2 {
@apply relative h-[2.75rem] flex items-center;
@apply relative h-[2.5rem] flex items-center;
}
.sci-input-container-v2.input-sm {