* feat(control): Add Table MultiSelect control * fix: Use btn-group instead of span * fix: Remove functionality * fix: Add 'Table MultiSelect' to Field doctypes * fix: Replace usage of string 'Table' with array `table_fields` * fix: Use internal array to store values instead of building from HTML elements * fix(style): Add semicolon * fix: Read only mode and click to navigate to form * style: indent * fix: fallback to empty array * fix: Add formatters in js and py * style: missing semicolon * fix: Add docfield validation
79 lines
1.1 KiB
Text
79 lines
1.1 KiB
Text
@import "variables.less";
|
|
@import "mixins.less";
|
|
@import "common.less";
|
|
@import "awesomplete.less";
|
|
@import "datepicker.less";
|
|
|
|
.unit-checkbox {
|
|
color: #36414c;
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
|
|
label {
|
|
position: relative;
|
|
}
|
|
|
|
input[type=checkbox] {
|
|
margin-left: 0;
|
|
}
|
|
|
|
& + .checkbox {
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|
|
|
|
.frappe-control .bulk-select-options {
|
|
margin: 10px 0;
|
|
.select-all {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
|
|
.frappe-control .control-value {
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.link-btn {
|
|
position: absolute;
|
|
top: 3px;
|
|
right: 4px;
|
|
border-radius: 2px;
|
|
padding: 3px;
|
|
display: none;
|
|
z-index: 3;
|
|
}
|
|
|
|
.markdown-preview, .html-preview {
|
|
padding: 12px 15px;
|
|
min-height: 300px;
|
|
max-height: 600px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.markdown-toggle, .html-toggle {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
/* table multiselect */
|
|
.table-multiselect {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
height: auto;
|
|
padding: 10px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.table-multiselect.form-control input {
|
|
outline: none;
|
|
border: none;
|
|
padding: 0;
|
|
font-size: @text-medium;
|
|
}
|
|
|
|
.tb-selected-value {
|
|
display: inline-block;
|
|
margin-right: 5px;
|
|
margin-bottom: 5px;
|
|
}
|