small input 29px

This commit is contained in:
Yuri Kuznetsov
2024-03-22 10:35:59 +02:00
parent 7d90a0c59b
commit ffa8248ac1
3 changed files with 14 additions and 6 deletions

View File

@@ -384,7 +384,7 @@ div.list-expanded > ul > li > div.expanded-row > .cell:first-child {
}
.filter .selectize-input {
min-height: 30px;
min-height: @input-height-small;
}
.btn.active {
@@ -730,7 +730,7 @@ input.global-search-input {
.field .link-container .list-group-item .form-control,
.field .link-container .list-group-item .btn {
margin-top: 1px;
margin-top: 2px;
margin-bottom: 0;
}
@@ -797,6 +797,7 @@ input.global-search-input {
> .list-group-item {
padding-top: 4px;
padding-bottom: 4px;
line-height: @line-height-small-computed;
}
}
.input-group {

View File

@@ -3,14 +3,18 @@
&.multi {
.selectize-input {
font-size: @font-size-small;
padding: 4px 7px 0;
padding: 2px 7px 0;
> .item {
margin: 0 3px 2px 0;
}
}
}
&.single {
.selectize-input {
font-size: @font-size-small;
padding: 4px 19px 3px 10px;
padding: 3px 19px 3px 10px;
min-height: @input-height-small;
}
@@ -101,7 +105,7 @@
.selectize-input {
&.dropdown-active:after,
&:after {
top: 13px;
top: 12px;
}
}
}

View File

@@ -61,6 +61,8 @@
@list-group-active-text-color: var(--main-gray-lighten-40);
@input-height-small: 29px;
@input-color: var(--input-color);
@input-bg: var(--input-bg);
@input-border: var(--input-border);
@@ -108,7 +110,8 @@
.clearfix();
}
@line-height-small-computed: floor((@font-size-base * @line-height-small));
//@line-height-small-computed: floor((@font-size-base * @line-height-small));
@line-height-small-computed: 20px;
@font-size-smaller: 13px;