UNPKG

@securecall/client-component

Version:

SecureCall Core Web Component

272 lines (232 loc) 5.35 kB
body { font-family: Arial, sans-serif; color: white; margin: 0; background-image: url('../assets/dark_theme_background.jpg'); background-size: cover; background-repeat: no-repeat; display: flex; flex-direction: column; min-height: 100vh; } .right { grid-area: right; } .grid-container { display: grid; grid-template-columns: 1fr 2fr; grid-template-rows: auto auto auto; grid-template-areas: 'header header' 'menu main' 'footer footer'; gap: 10px; /* spacing between grid items */ } .header { grid-area: header; text-align: center; padding: 0 0; font-family: 'Your Chosen Font', Arial, sans-serif; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); color: rgba(255, 255, 255, 0.7); display:grid; grid-template-columns: 2fr 1fr; } .header h2 { font-size: 2.0rem; letter-spacing: 2px; } h4 { color: rgba(255, 255, 255, 0.7); font-size: 1.2rem; letter-spacing: 2px; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); margin-bottom: 5px; margin-top: 5px; } h5 { color: rgba(255, 255, 255, 0.7); font-size: 1rem; letter-spacing: 1px; text-shadow: none; margin-bottom: 0; margin-top: 0; } .disableLabel { color: rgba(255, 255, 255, 0.7); font-size: 1rem; letter-spacing: 1px; text-shadow: none; } .menu { background-color: rgba(255, 255, 255, 0.1); text-align: center; padding: 5px 0; min-width: 150px; border: 3px solid white; margin-left: 40px; } .menu p { margin: 0; } .main { padding: 0 20px 20px 20px; text-align: center; } .footer { text-align: center; padding: 20px 0; position: sticky; bottom: 0; } /* Apply styles to form elements */ .title-group { display: grid; grid-template-columns: 3fr 2fr 2fr; align-items: center; margin-bottom: 10px; } .sub-title-group { display: grid; grid-template-columns: 6fr 1fr; align-items: center; /*margin-bottom: 10px;*/ } .theme-icon { cursor: pointer; } .button-group { display: grid; grid-template-columns: 4fr 2fr 0.5fr 2fr; justify-content: right; border: 1px solid white; } .properties-group { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; justify-content: right; border: 1px solid white; } .methods-group { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; justify-content: right; border: 1px solid white; } .methods-group.div { text-align: right; } .form-group { display: grid; grid-template-columns: 2fr 2fr 1fr 1fr 0.5fr 1fr 1fr; align-items: center; } .form-group label { margin-right: 10px; text-align: right; } form input, form select, form textarea { border: 1px solid white; padding: 5px; flex: 1; max-width: 300px !important; } .login-group { display: grid; grid-template-columns: 2fr 1fr 2fr 2fr 1fr 1fr 1fr 1fr; align-items: center; margin: 0 auto; margin-bottom: 10px; border: 1px solid white; } button, .button { background-color: rgba(255, 255, 255, 0.3); border: 2px solid rgba(255, 255, 255, 0.5); color: white; padding: 10px 20px; border-radius: 5px; cursor: pointer; transition: background-color 0.3s, border-color 0.3s; margin-top: 10px; margin-bottom: 10px; } /* Change button style on hover */ button:hover, .button:hover { background-color: rgba(255, 255, 255, 0.4); border-color: rgba(255, 255, 255, 0.6); } button:disabled, .button.disabled { background-color: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.3); cursor: not-allowed; color: rgba(255, 255, 255, 0.2); } .validity { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-arrow-counterclockwise' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2v1z'/%3E%3Cpath d='M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466z'/%3E%3C/svg%3E"); height: 2.0rem; width: 2.0rem; filter: invert(100%); stroke-width: 4; margin: 10px; } .validity.valid { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-check-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z'/%3E%3C/svg%3E"); height: 2.0rem; width: 2.0rem; filter: invert(100%); stroke-width: 4; margin: 10px; } .button-link { background: none; border: none; padding: 0; } .custom-link { font-size: 12px; color: grey; text-decoration: none; } .custom-link:hover { color: lightgray; text-decoration: underline; } .spacer { margin-top: 0; margin-bottom: 0; } .configProperties { border: 1px solid white; } .form-column p { line-height: 1.5; display: inline-block; vertical-align: middle; } .method-column { text-align: right; } .method-column p { line-height: 1.5; display: inline-block; vertical-align: middle; } #web-component { border: 1px solid white; padding: 5px; height: 70%; margin: 10px; } #event-log { border: 1px solid white; padding: 5px; margin: 10px; overflow-y: auto; max-height: 25%; }