2017-04-13 17:59:37 +01:00
|
|
|
/**
|
|
|
|
* Operation styles
|
|
|
|
*
|
|
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
|
|
* @copyright Crown Copyright 2017
|
|
|
|
* @license Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
.operation {
|
2018-06-19 00:55:08 +01:00
|
|
|
cursor: grab;
|
2017-04-13 17:59:37 +01:00
|
|
|
padding: 10px;
|
|
|
|
list-style-type: none;
|
|
|
|
position: relative;
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
2017-04-23 17:09:12 +01:00
|
|
|
border-top: none;
|
|
|
|
border-left: none;
|
|
|
|
border-right: none;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
2018-06-19 00:55:08 +01:00
|
|
|
#rec-list .operation {
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 14px;
|
|
|
|
}
|
|
|
|
|
2018-06-09 10:43:36 +01:00
|
|
|
.op-title {
|
|
|
|
font-weight: var(--op-title-font-weight);
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
2018-06-19 00:55:08 +01:00
|
|
|
.ingredients {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto auto auto;
|
|
|
|
grid-column-gap: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ingredients > div {
|
|
|
|
grid-column: 1 / span 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ingredients > div.inline {
|
|
|
|
grid-column: unset;
|
|
|
|
}
|
|
|
|
|
2018-06-10 12:03:55 +01:00
|
|
|
.arg {
|
2017-04-24 23:59:35 +01:00
|
|
|
font-family: var(--fixed-width-font-family);
|
2017-07-13 15:11:21 +00:00
|
|
|
text-overflow: ellipsis;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
2018-06-10 12:03:55 +01:00
|
|
|
select.arg {
|
|
|
|
font-family: var(--primary-font-family);
|
|
|
|
min-width: 100px;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
textarea.arg {
|
2018-06-19 00:55:08 +01:00
|
|
|
min-height: 74px;
|
2017-04-13 17:59:37 +01:00
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
|
2018-06-10 12:03:55 +01:00
|
|
|
div.toggle-string {
|
|
|
|
flex: 1;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
2018-06-17 23:52:00 +01:00
|
|
|
.operation [class^='bmd-label'],
|
|
|
|
.operation [class*=' bmd-label'],
|
|
|
|
.operation label {
|
|
|
|
color: #388e3c;
|
|
|
|
}
|
|
|
|
|
|
|
|
.operation .is-focused [class^='bmd-label'],
|
|
|
|
.operation .is-focused [class*=' bmd-label'],
|
|
|
|
.operation .is-focused [class^='bmd-label'],
|
|
|
|
.operation .is-focused [class*=' bmd-label'],
|
2018-06-19 00:55:08 +01:00
|
|
|
.operation .is-focused label,
|
|
|
|
.operation .checkbox label:hover {
|
2018-06-17 23:52:00 +01:00
|
|
|
color: #1976d2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.operation .form-control {
|
|
|
|
background-color: transparent;
|
|
|
|
border-color: var(--primary-border-colour);
|
|
|
|
color: var(--primary-font-colour);
|
|
|
|
}
|
|
|
|
|
2018-06-10 12:03:55 +01:00
|
|
|
.bmd-form-group.is-filled div.toggle-string label.bmd-label-floating,
|
|
|
|
.bmd-form-group.is-focused div.toggle-string label.bmd-label-floating {
|
|
|
|
left: unset;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
2018-06-10 12:03:55 +01:00
|
|
|
.editable-option-menu {
|
|
|
|
height: auto;
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-x: hidden;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
2018-06-10 12:03:55 +01:00
|
|
|
.editable-option-menu .dropdown-item {
|
|
|
|
padding: 0.3rem 1rem 0.3rem 1rem;
|
|
|
|
min-height: 1.6rem;
|
|
|
|
max-width: 20rem;
|
|
|
|
}
|
2017-04-13 17:59:37 +01:00
|
|
|
|
2017-09-28 17:35:52 +00:00
|
|
|
.register-list {
|
|
|
|
background-color: var(--fc-operation-border-colour);
|
|
|
|
font-family: var(--fixed-width-font-family);
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
2017-04-13 17:59:37 +01:00
|
|
|
.op-icon {
|
|
|
|
float: right;
|
2018-06-10 14:55:15 +01:00
|
|
|
color: #f44336;
|
|
|
|
font-size: 18px;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.recip-icons {
|
|
|
|
position: absolute;
|
|
|
|
top: 13px;
|
|
|
|
right: 10px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2018-06-10 14:55:15 +01:00
|
|
|
.recip-icons i {
|
2017-04-13 17:59:37 +01:00
|
|
|
margin-right: 10px;
|
|
|
|
vertical-align: baseline;
|
|
|
|
float: right;
|
2018-06-10 14:55:15 +01:00
|
|
|
font-size: 18px;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.disable-icon {
|
2018-06-10 14:55:15 +01:00
|
|
|
color: #9e9e9e;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.disable-icon-selected {
|
2018-06-10 14:55:15 +01:00
|
|
|
color: #f44336;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.breakpoint {
|
2018-06-10 14:55:15 +01:00
|
|
|
color: #9e9e9e;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.breakpoint-selected {
|
2018-06-10 14:55:15 +01:00
|
|
|
color: #f44336;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.break {
|
2017-04-24 23:59:35 +01:00
|
|
|
color: var(--breakpoint-font-colour) !important;
|
|
|
|
background-color: var(--breakpoint-bg-colour) !important;
|
|
|
|
border-color: var(--breakpoint-border-colour) !important;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
2018-06-10 14:55:15 +01:00
|
|
|
.break .form-group * { color: var(--breakpoint-font-colour) !important; }
|
|
|
|
|
2017-04-13 17:59:37 +01:00
|
|
|
.selected-op {
|
2017-04-24 23:59:35 +01:00
|
|
|
color: var(--selected-operation-font-color) !important;
|
|
|
|
background-color: var(--selected-operation-bg-colour) !important;
|
|
|
|
border-color: var(--selected-operation-border-colour) !important;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
2018-06-10 14:55:15 +01:00
|
|
|
.selected-op .form-group * { color: var(--selected-operation-font-color) !important; }
|
|
|
|
|
2017-04-13 17:59:37 +01:00
|
|
|
.flow-control-op {
|
2017-04-24 23:59:35 +01:00
|
|
|
color: var(--fc-operation-font-colour) !important;
|
|
|
|
background-color: var(--fc-operation-bg-colour) !important;
|
|
|
|
border-color: var(--fc-operation-border-colour) !important;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
2018-06-19 01:03:55 +01:00
|
|
|
.flow-control-op .form-group *:not(.arg) { color: var(--fc-operation-font-colour) !important; }
|
2018-06-10 14:55:15 +01:00
|
|
|
|
2017-04-13 17:59:37 +01:00
|
|
|
.flow-control-op.break {
|
2017-04-24 23:59:35 +01:00
|
|
|
color: var(--fc-breakpoint-operation-font-colour) !important;
|
|
|
|
background-color: var(--fc-breakpoint-operation-bg-colour) !important;
|
|
|
|
border-color: var(--fc-breakpoint-operation-border-colour) !important;
|
2017-04-13 17:59:37 +01:00
|
|
|
}
|
|
|
|
|
2018-06-10 14:55:15 +01:00
|
|
|
.flow-control-op.break .form-group * { color: var(--fc-breakpoint-operation-font-colour) !important; }
|
|
|
|
|
2017-04-13 17:59:37 +01:00
|
|
|
.disabled {
|
2017-04-24 23:59:35 +01:00
|
|
|
color: var(--disabled-font-colour) !important;
|
|
|
|
background-color: var(--disabled-bg-colour) !important;
|
|
|
|
border-color: var(--disabled-border-colour) !important;
|
2017-04-15 20:46:57 +01:00
|
|
|
}
|
2017-09-28 18:39:35 +00:00
|
|
|
|
2018-06-19 01:03:55 +01:00
|
|
|
.disabled .form-group *,
|
|
|
|
.flow-control-op.disabled .form-group * { color: var(--disabled-font-colour) !important; }
|
2018-06-10 14:55:15 +01:00
|
|
|
|
2017-09-28 18:39:35 +00:00
|
|
|
.break .register-list {
|
|
|
|
color: var(--fc-breakpoint-operation-font-colour) !important;
|
|
|
|
background-color: var(--fc-breakpoint-operation-border-colour) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.disabled .register-list {
|
|
|
|
color: var(--disabled-font-colour) !important;
|
|
|
|
background-color: var(--disabled-border-colour) !important;
|
|
|
|
}
|