UNPKG

@illgrenoble/ngx-remote-desktop

Version:

ngx-remote-desktop is an Angular2+ module for connecting to a remote desktop using the guacamole protocol

122 lines (121 loc) 4.53 kB
.ngx-remote-desktop { font-family: inherit; background: #ffffff; width: 100%; height: 100%; max-height: 100%; flex-direction: column; display: flex; overflow: hidden; } .ngx-remote-desktop .ngx-remote-desktop-status-bar-hidden { display: none; } .ngx-remote-desktop .ngx-remote-desktop-status-bar { flex: 0 0 20px; height: 20px; width: 100%; display: flex; background: #272a31; font-weight: normal; font-size: 12px; color: #fff; padding: 0px 5px 0px 5px; border-top: 1px solid #131418; justify-content: space-between; } .ngx-remote-desktop .ngx-remote-desktop-status-bar a, .ngx-remote-desktop .ngx-remote-desktop-status-bar strong { padding-right: 2px; padding-left: 2px; color: white; font-weight: bold; text-decoration: underline; } .ngx-remote-desktop .ngx-remote-desktop-status-bar strong { text-decoration: none; } .ngx-remote-desktop .ngx-remote-desktop-status-bar a { text-decoration: none; outline: none; } .ngx-remote-desktop .ngx-remote-desktop-status-bar .ngx-remote-desktop-status-bar { flex: 1; } .ngx-remote-desktop .ngx-remote-desktop-toolbar { flex: 0 0 35px; height: 35px; width: 100%; display: flex; justify-content: space-between; border-bottom: 1px solid #131418; background: #272a31; font-weight: 700; } .ngx-remote-desktop .ngx-remote-desktop-toolbar.ngx-remote-desktop-toolbar-fullscreen { position: absolute; top: 0px; left: 0; width: 170px; height: 100%; z-index: 1000; flex-flow: column wrap; border-right: 1px solid #131418; border-bottom: none; } .ngx-remote-desktop .ngx-remote-desktop-toolbar.ngx-remote-desktop-toolbar-fullscreen .ngx-remote-desktop-toolbar-items { flex-direction: column; } .ngx-remote-desktop .ngx-remote-desktop-toolbar .ngx-remote-desktop-toolbar-items { display: flex; flex-direction: row; padding-left: 0; margin-bottom: 0; list-style: none; } .ngx-remote-desktop .ngx-remote-desktop-toolbar .ngx-remote-desktop-toolbar-items .ngx-remote-desktop-toolbar-item { line-height: 18px; text-align: center; text-decoration: none; user-select: none; padding: 0.5em 0.5em; color: rgba(255, 255, 255, 0.6); font-weight: 400; } .ngx-remote-desktop .ngx-remote-desktop-toolbar .ngx-remote-desktop-toolbar-items .ngx-remote-desktop-toolbar-item:hover { cursor: pointer; color: white; } .ngx-remote-desktop .ngx-remote-desktop-container { display: flex; flex: 1; flex-direction: column; overflow: hidden; } .ngx-remote-desktop .ngx-remote-desktop-container .ngx-remote-desktop-viewport { border: 1px solid #272a31; position: relative; display: flex; flex: 1; justify-content: center; align-items: center; width: 100%; max-height: 100%; background: #272a31; } .ngx-remote-desktop .ngx-remote-desktop-container .ngx-remote-desktop-message { flex-direction: column; align-items: center; justify-content: center; display: flex; padding: 20px; word-wrap: break-word; } .ngx-remote-desktop .ngx-remote-desktop-container .ngx-remote-desktop-message .ngx-remote-desktop-message-title { margin-bottom: 0.75rem; font-size: 1.25rem; } .ngx-remote-desktop .ngx-remote-desktop-container .ngx-remote-desktop-message .ngx-remote-desktop-message-title-success { color: #28a745; } .ngx-remote-desktop .ngx-remote-desktop-container .ngx-remote-desktop-message .ngx-remote-desktop-message-title-error { color: #dc3545; } .ngx-remote-desktop .ngx-remote-desktop-container .ngx-remote-desktop-message .ngx-remote-desktop-message-body .ngx-remote-desktop-message-body-btn { cursor: pointer; color: #212529; background-color: #e2e6ea; border-color: #dae0e5; display: inline-block; font-weight: 400; text-align: center; white-space: nowrap; vertical-align: middle; user-select: none; border: 1px solid transparent; padding: .375rem .75rem; font-size: 1rem; line-height: 1.5; border-radius: .25rem; transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; }