mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-16 21:59:00 +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')
|
.removeClass('form-control input-sm')
|
||||||
.css('margin', 0);
|
.css('margin', 0);
|
||||||
$('.dataTables_filter').append(`
|
$('.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')}">
|
title="${I18n.t('repositories.show.button_tooltip.search')}">
|
||||||
<i class="sn-icon sn-icon-search"></i>
|
<i class="sn-icon sn-icon-search"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
|
|
@ -187,6 +187,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function initTeamSharePermission() {
|
function initTeamSharePermission() {
|
||||||
|
$('.team-share-permission')
|
||||||
|
.css('cursor', `${$('.team-share-permission').attr('disabled') ? 'not-allowed' : 'cursor'}`);
|
||||||
function toogleCheckbox() {
|
function toogleCheckbox() {
|
||||||
var checkbox = $('.team-share-permission');
|
var checkbox = $('.team-share-permission');
|
||||||
checkbox.prop('checked', !checkbox.prop('checked'));
|
checkbox.prop('checked', !checkbox.prop('checked'));
|
||||||
|
|
|
||||||
|
|
@ -17,11 +17,8 @@
|
||||||
.search-container {
|
.search-container {
|
||||||
flex-basis: 36px;
|
flex-basis: 36px;
|
||||||
|
|
||||||
.fa-search {
|
.sn-icon {
|
||||||
animation-timing-function: $timing-function-sharp;
|
top: calc(50% - .75rem);
|
||||||
color: $color-alto;
|
|
||||||
transition: .3s;
|
|
||||||
width: 26px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-search-field {
|
.task-search-field {
|
||||||
|
|
@ -36,10 +33,6 @@
|
||||||
border: $border-transparent;
|
border: $border-transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: 36px;
|
width: 36px;
|
||||||
|
|
||||||
+ .fa-search {
|
|
||||||
color: $color-volcano;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
@ -50,10 +43,6 @@
|
||||||
border: $border-focus;
|
border: $border-focus;
|
||||||
cursor: auto;
|
cursor: auto;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
|
|
||||||
+ .fa-search {
|
|
||||||
color: $color-alto;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1217,6 +1217,10 @@ li.module-hover {
|
||||||
.sci-input-container.left-icon {
|
.sci-input-container.left-icon {
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sn-icon {
|
||||||
|
top: calc(50% - .75rem);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.cards-wrapper.cards {
|
.cards-wrapper.cards {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
@layer components {
|
@layer components {
|
||||||
.sci-input-container-v2 {
|
.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 {
|
.sci-input-container-v2.input-sm {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue