mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
Fix Css issues [SCI-9003]
This commit is contained in:
parent
a4ea995027
commit
52fc7eb0e8
5 changed files with 10 additions and 15 deletions
|
@ -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>
|
||||
|
|
|
@ -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'));
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1217,6 +1217,10 @@ li.module-hover {
|
|||
.sci-input-container.left-icon {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.sn-icon {
|
||||
top: calc(50% - .75rem);
|
||||
}
|
||||
}
|
||||
|
||||
.cards-wrapper.cards {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue