fix tagsinput to look like bs5 inputs

This commit is contained in:
Barış Soner Uşaklı
2022-09-29 22:26:10 -04:00
parent 21236fdc37
commit af190ac210
4 changed files with 31 additions and 24 deletions

View File

@@ -75,11 +75,6 @@ body {
background: $primary !important;
}
.user-img {
width:24px;
height:24px;
}
.nodebb-logo {
img {
height: 31px;
@@ -177,6 +172,22 @@ body {
.ui-autocomplete {
z-index: $zindex-popover;
}
.bootstrap-tagsinput {
width: 100%;
border: 0;
box-shadow: none;
padding-left: 0;
input {
width: 100%;
margin-left: 1px;
margin-top: 9px;
border-bottom: 1px dotted #ccc !important;
padding-bottom: 5px;
padding-left: 0;
}
}
}
// Allowing text to the right of an image-type brand

View File

@@ -17,20 +17,4 @@
}
}
}
.bootstrap-tagsinput {
width: 100%;
border: 0;
box-shadow: none;
padding-left: 0;
input {
width: 100%;
margin-left: 1px;
margin-top: 9px;
border-bottom: 1px dotted #ccc !important;
padding-bottom: 5px;
padding-left: 0;
}
}
}

View File

@@ -29,6 +29,18 @@
min-height: 200px;
}
.bootstrap-tagsinput {
background-color: $input-bg;
padding: $input-padding-y $input-padding-x;
width: 100%;
input {
&::placeholder{
color: $input-placeholder-color;
}
color: $input-color;
}
}
.category-list {
padding: 0;

View File

@@ -28,12 +28,12 @@ const buildImports = {
return [
'@import "mixins";',
'@import "fontawesome";',
'@import "@adactive/bootstrap-tagsinput/src/bootstrap-tagsinput";',
boostrapImport(themeData),
'@import "generics";',
'@import "responsive-utilities";',
source,
'@import "jquery-ui";',
'@import "@adactive/bootstrap-tagsinput/src/bootstrap-tagsinput";',
'@import "cropperjs/dist/cropper";',
'@import "client";',
].join('\n');
@@ -45,13 +45,13 @@ const buildImports = {
'@import "bootstrap/scss/bootstrap";',
'@import "bootswatch/dist/materia/bootswatch";',
'@import "mixins";',
'@import "fontawesome";',
'@import "@adactive/bootstrap-tagsinput/src/bootstrap-tagsinput";',
'@import "generics";',
'@import "responsive-utilities";',
'@import "fontawesome";',
'@import "admin/admin";',
source,
'@import "jquery-ui";',
'@import "@adactive/bootstrap-tagsinput/src/bootstrap-tagsinput";',
'@import "../public/vendor/mdl/material";',
].join('\n');
},