diff --git a/app/assets/javascripts/sitewide/datatable_helpers.js b/app/assets/javascripts/sitewide/datatable_helpers.js index b6d86c17c..4313ec462 100644 --- a/app/assets/javascripts/sitewide/datatable_helpers.js +++ b/app/assets/javascripts/sitewide/datatable_helpers.js @@ -30,7 +30,7 @@ var DataTableHelpers = (function() { .removeClass('form-control input-sm') .css('margin', 0); $('.dataTables_filter').append(` - diff --git a/app/assets/javascripts/users/settings/teams/show.js b/app/assets/javascripts/users/settings/teams/show.js index 8d3b65104..65f5b2d70 100644 --- a/app/assets/javascripts/users/settings/teams/show.js +++ b/app/assets/javascripts/users/settings/teams/show.js @@ -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')); diff --git a/app/assets/stylesheets/dashboard/current_tasks.scss b/app/assets/stylesheets/dashboard/current_tasks.scss index b0d5ddfaa..ec2ee3d84 100644 --- a/app/assets/stylesheets/dashboard/current_tasks.scss +++ b/app/assets/stylesheets/dashboard/current_tasks.scss @@ -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; - } } diff --git a/app/assets/stylesheets/projects.scss b/app/assets/stylesheets/projects.scss index 1031a8bcf..676a7ba33 100644 --- a/app/assets/stylesheets/projects.scss +++ b/app/assets/stylesheets/projects.scss @@ -1217,6 +1217,10 @@ li.module-hover { .sci-input-container.left-icon { margin: 1em 0; } + + .sn-icon { + top: calc(50% - .75rem); + } } .cards-wrapper.cards { diff --git a/app/assets/stylesheets/tailwind/inputs.css b/app/assets/stylesheets/tailwind/inputs.css index 27055b4cc..48a658c60 100644 --- a/app/assets/stylesheets/tailwind/inputs.css +++ b/app/assets/stylesheets/tailwind/inputs.css @@ -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 {