/* The darken/lighten is not giving accurate results for the toasters so specific vars for them below. - Red background: #c23848 you can get this colour roughly from using the red variable and with HSL lower lightness by 20. - Blue background: #377ebd you can get this colour roughly from using the blue variable and with HSL lower lightness by 20. - Orange background: #ff9933 - The text colour on all of these, could they please be #E2E2E2, except from warning which remains with black text. */ /*is not being used anywhere; the same as @redAlert*/ :host { position: relative; } .popup-remarks-notes-container { display: none; position: absolute; width: 241px; padding: 3px; z-index: 2; border: 3px solid #4A4A52; background-color: #1f1f1f; outline: 1px solid #000; grid-template-rows: 1fr 21px; /* fix for IE11 */ -ms-grid-rows: 1fr 21px; -ms-grid-columns: 1fr; } .popup-remarks-notes-container.show-popup { display: grid; /* fix for IE11 */ display: -ms-grid; } .popup-remarks-notes-container.top.left:before { content: ''; display: block; width: 0; height: 0; position: absolute; border-color: transparent transparent #4A4A52 transparent; border-width: 6px; border-style: solid; left: 28px; top: -14px; z-index: 1; } .popup-remarks-notes-container.top.left:after { content: ''; display: block; width: 0; height: 0; position: absolute; left: 28px; top: -15px; border-color: transparent transparent #000 transparent; border-width: 6px; border-style: solid; } .popup-remarks-notes-container.top.right:before { content: ''; display: block; width: 0; height: 0; position: absolute; border-color: transparent transparent #4A4A52 transparent; border-width: 6px; border-style: solid; right: 28px; top: -14px; z-index: 1; } .popup-remarks-notes-container.top.right:after { content: ''; display: block; width: 0; height: 0; position: absolute; right: 28px; top: -15px; border-color: transparent transparent #000 transparent; border-width: 6px; border-style: solid; } .popup-remarks-notes-container.bottom.right:before { content: ''; display: block; width: 0; height: 0; position: absolute; right: 28px; z-index: 1; bottom: -14px; border-color: #4A4A52 transparent transparent transparent; border-width: 6px; border-style: solid; } .popup-remarks-notes-container.bottom.right:after { content: ''; display: block; width: 0; height: 0; position: absolute; right: 28px; bottom: -15px; border-color: #000 transparent transparent transparent; border-width: 6px; border-style: solid; } .popup-remarks-notes-container.bottom.left:before { content: ''; display: block; width: 0; height: 0; position: absolute; left: 28px; z-index: 1; bottom: -14px; border-color: #4A4A52 transparent transparent transparent; border-width: 6px; border-style: solid; } .popup-remarks-notes-container.bottom.left:after { content: ''; display: block; width: 0; height: 0; position: absolute; left: 28px; bottom: -15px; border-color: #000 transparent transparent transparent; border-width: 6px; border-style: solid; } .popup-remarks-notes-container.top { top: 22px; } .popup-remarks-notes-container.left { left: 0; } .popup-remarks-notes-container.right { right: 0; } .popup-remarks-notes-container.bottom { bottom: 27px; } .popup-remarks-notes-container .remarks-detail-row, .popup-remarks-notes-container .notes-detail-row, .popup-remarks-notes-container .button-row { display: grid; grid-template-columns: 106px 1fr; grid-gap: 0 1.5px; position: relative; height: 21px; /* fix for IE11 */ display: -ms-grid; -ms-grid-columns: 106px 1fr; } .popup-remarks-notes-container .remarks-detail-row, .popup-remarks-notes-container .notes-detail-row { -ms-grid-row: 1; } .popup-remarks-notes-container .remarks-detail-row .detail-label, .popup-remarks-notes-container .notes-detail-row .detail-label { -ms-grid-column: 1; display: inline-block; } .popup-remarks-notes-container .remarks-detail-row .detail-textbox, .popup-remarks-notes-container .notes-detail-row .detail-textbox { -ms-grid-column: 2; display: inline-block; } .popup-remarks-notes-container .notes-detail-row { padding-top: 10px; } .popup-remarks-notes-container .button-row { -ms-grid-row: 2; } .popup-remarks-notes-container .button-row .popup-cancel-btn { -ms-grid-column: 1; } .popup-remarks-notes-container .button-row .popup-save-btn { -ms-grid-column: 2; }