| 1 |
.odoo-editor-editable.odoo-editor-qweb, .o_readonly { |
| 2 |
t, |
| 3 |
[t-if], |
| 4 |
[t-elif], |
| 5 |
[t-else], |
| 6 |
[t-foreach] { |
| 7 |
background-color: rgba(0, 0, 102, 0.1) !important; |
| 8 |
} |
| 9 |
t, |
| 10 |
[t-esc], |
| 11 |
[t-out], |
| 12 |
[t-raw] { |
| 13 |
border-radius: 2px; |
| 14 |
} |
| 15 |
[t-esc], |
| 16 |
[t-out], |
| 17 |
[t-raw] { |
| 18 |
background-color: rgba(36, 154, 255, 0.16) !important; |
| 19 |
} |
| 20 |
[t-esc]:empty::before { |
| 21 |
content: attr(t-esc); |
| 22 |
} |
| 23 |
[t-raw]:empty::before { |
| 24 |
content: attr(t-raw); |
| 25 |
} |
| 26 |
[t-out]:empty::before { |
| 27 |
content: attr(t-out); |
| 28 |
} |
| 29 |
t[t-set] { |
| 30 |
display: none; |
| 31 |
} |
| 32 |
t[data-oe-t-inline] { |
| 33 |
display: inline; |
| 34 |
} |
| 35 |
t:not([data-oe-t-inline]) { |
| 36 |
display: block; |
| 37 |
} |
| 38 |
t[data-oe-t-inline]:not([data-oe-t-group-active]) { |
| 39 |
display: unset; |
| 40 |
} |
| 41 |
[data-oe-t-group]:not([data-oe-t-group-active]) { |
| 42 |
display: none !important; |
| 43 |
} |
| 44 |
[data-oe-t-group][data-oe-t-selectable] { |
| 45 |
outline: 1px dashed rgba(0, 0, 102, 0.4) !important; |
| 46 |
} |
| 47 |
} |
| 48 |
|
| 49 |
.oe-qweb-select { |
| 50 |
position: absolute; |
| 51 |
// Bootstrap sets .modal z-index at 1055. |
| 52 |
// Ensure qweb-select is visible in modals. |
| 53 |
z-index: 1056; |
| 54 |
background-color: white; |
| 55 |
} |