251 lines
No EOL
3.6 KiB
Text
251 lines
No EOL
3.6 KiB
Text
@import "variables.less";
|
|
@import "mixins.less";
|
|
@import "awesomplete.less";
|
|
@import "datepicker.less";
|
|
@import "quill.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;
|
|
}
|
|
|
|
.frappe-control[data-fieldtype="Data"] .control-input {
|
|
position: relative;
|
|
}
|
|
|
|
.link-btn {
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 4px;
|
|
padding: 3px;
|
|
display: none;
|
|
z-index: 3;
|
|
}
|
|
|
|
.phone-btn {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 8px;
|
|
padding: 3px;
|
|
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 {
|
|
display: inline-block;
|
|
outline: none;
|
|
border: none;
|
|
padding: 0;
|
|
font-size: @text-medium;
|
|
}
|
|
|
|
.table-multiselect .awesomplete {
|
|
display: inline;
|
|
}
|
|
|
|
.tb-selected-value {
|
|
display: inline-block;
|
|
margin-right: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.rating {
|
|
i {
|
|
color: @text-extra-muted;
|
|
}
|
|
.star-hover {
|
|
color: @text-muted;
|
|
}
|
|
.star-click {
|
|
color: @text-light;
|
|
}
|
|
}
|
|
|
|
.multiselect-list {
|
|
.dropdown-menu {
|
|
width: 100%;
|
|
}
|
|
|
|
li {
|
|
padding: 9px 11.8px;
|
|
}
|
|
|
|
.selectable-item {
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.octicon-check {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.selectable-item.selected {
|
|
background-color: @light-yellow;
|
|
|
|
.octicon-check {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.selectable-item:hover, .selectable-item.highlighted {
|
|
background-color: @btn-bg;
|
|
}
|
|
|
|
.selectable-items {
|
|
max-height: 200px;
|
|
overflow: auto;
|
|
}
|
|
}
|
|
|
|
.barcode-scanner {
|
|
position: relative;
|
|
|
|
& > canvas, & > video {
|
|
max-width: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
canvas.drawing, canvas.drawingBuffer {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
}
|
|
|
|
.frappe-control[data-fieldtype="Select"] .control-input {
|
|
position: relative;
|
|
|
|
select {
|
|
/* for Firefox */
|
|
-moz-appearance: none;
|
|
/* for Chrome */
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
.octicon-chevron-down {
|
|
position: absolute;
|
|
top: 8px;
|
|
height: 15px;
|
|
right: 12px;
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
/* duration control */
|
|
|
|
.duration-picker {
|
|
position: absolute;
|
|
z-index: 999;
|
|
|
|
border-radius: 4px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,.15);
|
|
background: #fff;
|
|
border: 1px solid @border-color;
|
|
padding-top: 10px;
|
|
padding-left: 5px;
|
|
|
|
&:after,
|
|
&:before {
|
|
border: solid transparent;
|
|
content: " ";
|
|
height: 0;
|
|
width: 0;
|
|
pointer-events: none;
|
|
position: absolute;
|
|
bottom: 100%;
|
|
left: 30px;
|
|
}
|
|
&:after {
|
|
border-color: rgba(255, 255, 255, 0);
|
|
border-bottom-color: #fff;
|
|
border-width: 8px;
|
|
margin-left: -8px;
|
|
}
|
|
&:before {
|
|
border-color: rgba(221, 221, 221, 0);
|
|
border-bottom-color: @border-color;
|
|
border-width: 9px;
|
|
margin-left: -9px;
|
|
}
|
|
|
|
.row .col {
|
|
// for fixing layout in child table
|
|
padding-left: 0px !important;
|
|
padding-right: 0px !important;
|
|
}
|
|
|
|
.duration-row {
|
|
margin: 7px;
|
|
display: flex;
|
|
}
|
|
|
|
.duration-col {
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.duration-input {
|
|
width: 60px;
|
|
border: 1px solid rgba(0, 0, 0, 0.25) !important;
|
|
}
|
|
|
|
.duration-input:focus {
|
|
outline: None;
|
|
}
|
|
|
|
.duration-label {
|
|
justify-content: center;
|
|
}
|
|
|
|
.picker-row {
|
|
display: flex;
|
|
margin-left: 5px;
|
|
margin-bottom: 3px;
|
|
margin-right: 12px;
|
|
}
|
|
} |