feat: fix items list datatable.

This commit is contained in:
a.bouhuolia
2021-02-08 13:17:11 +02:00
parent adac2386bb
commit 304f0c9ae5
43 changed files with 777 additions and 835 deletions

View File

@@ -1,30 +1,4 @@
.form-group--select-list {
.bp3-popover-target {
.bp3-icon {
position: absolute;
top: 0;
left: 0;
margin: 7px;
+ .bp3-button-text {
padding-left: 20px;
}
}
.bp3-button {
padding-left: 10px;
color: #333;
}
}
}
.form-group--select-list {
.bp3-popover-open {
.bp3-button {
border-color: #80bdff;
}
}
}
.bp3-button {
min-width: 32px;
@@ -41,24 +15,6 @@
font-size: 13px;
min-height: 29px;
}
.form-group--select-list & {
border-radius: 2px;
&,
&:hover {
box-shadow: 0 0 0 transparent;
border: 1px solid #ced4da;
&:not(:disabled) {
background: #fff;
}
}
}
.form-group--select-list.bp3-intent-danger & {
& {
border-color: #db3737;
}
}
}
.bp3-button-group.bp3-minimal .bp3-button {

View File

@@ -167,16 +167,70 @@ label.bp3-label {
}
.form-group--select-list {
.form-group--select-list.bp3-intent-danger & {
& {
border-color: #db3737;
}
}
.#{$ns}-button {
color: #8d8d8d;
position: relative;
padding-right: 25px;
justify-content: start;
&:not([class*="bp3-intent-"]):not(.bp3-minimal){
&,
&:hover {
outline: none;
box-shadow: 0 0 0 transparent;
border: 1px solid #ced4da;
&:not(:disabled) {
background: #fff;
}
}
&:focus{
box-shadow: 0 0 0 1px #116cd0;
border-color: #116cd0;
}
}
}
&.bp3-fill {
width: 100%;
}
.bp3-popover-target.bp3-popover-open{
.#{$ns}-button {
&:not([class*="bp3-intent-"]):not(.bp3-minimal):not(:disabled),
&:not([class*="bp3-intent-"]):not(.bp3-minimal):hover:not(:disabled){
background-color: #fafafa;
}
}
}
.bp3-popover-target {
.bp3-icon {
position: absolute;
top: 0;
left: 0;
margin: 7px;
+ .bp3-button-text {
padding-left: 20px;
}
}
.bp3-button {
padding-left: 10px;
color: #333;
}
}
&.bp3-intent-danger {
.bp3-button:not(.bp3-minimal) {
border-color: #db3737;
@@ -184,6 +238,15 @@ label.bp3-label {
}
}
.select-list--fill-popover {
position: relative;
.bp3-transition-container,
.bp3-popover {
min-width: 100%;
}
}
.select-list--tooltip-items .bp3-popover-target {
display: block;
}