/* * Wazuh app - Commons stylesheet * Copyright (C) 2015-2019 Wazuh, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * Find more information about this on the LICENSE file. */ /* -------------------------------------------------------------------------- */ /* ------------------------ Wazuh commons stylesheet ------------------------ */ /* -------------------------------------------------------------------------- */ /* Custom healthcheck and blank screen styles */ .error-notify { font-size: 20px; color: black; padding-bottom: 5px; } .loading-logo-fail { width: 85px; text-align: center; } .loading-logo { position: relative; top: -157px; width: 85px; text-align: center; } .checks { text-align: center; position: relative; top: -100px; } .checks-fail { text-align: center; position: relative; top: 10px; } .healthCheck { padding-top: 200px; background-color: #F5F5F5; } .health-check-error { padding-top: 40px; color: red; text-align: center; } .error-msg{ color: red; padding: 8px; } .small-text{ font-size: 12px; padding: 10px; } .percentage { font-size: 18px; text-align: center; position: relative; height: 25px; color: #666666; background-color: white !important; } /* Custom JSON viewer settings */ .wz-word-wrap { word-wrap: break-word; } .wz-pre { white-space: pre-wrap; word-wrap: break-word; height: 200px; line-height: 20px !important; } .jsonbeauty2 { min-height: 300px; margin: 0px !important; } .json-beautifier { background-color: ghostwhite; border: 1px solid silver; padding: 10px 20px; margin: 20px; } .wz-code-viewer { line-height: 1.5; font-family: monospace; page-break-inside: avoid; background-color: #F9F9F9; border: 1px solid #D9D9D9; border-left: 3px solid rgb(0, 121, 165); height: 100px; max-width: 100%; padding: 1em 1.5em; overflow: auto; word-wrap: break-word; } /* CUstom styles for Configuration items list */ .wz-item-list { overflow: auto; height: 100px; margin-right: 5px; background-color: #F9F9F9; border: 1px solid #D9D9D9; word-break: break-word; } .wz-item-detail { overflow: auto; height: 100px; padding: 10px; margin-left: 5px; border: 1px solid #D9D9D9; } /* Custom styles for all app scroll bars */ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-button { width: 0; height: 0; display: none; } ::-webkit-scrollbar-corner { background-color: transparent; } ::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,0.1); } /* Special fix to make Kibana search bar similar to the rest from the app */ .kuiLocalSearchInput, .kuiLocalSearchInput:focus { box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1) !important; border: 1px solid #D9D9D9 !important; } /* Custom loading ring styles */ div.uil-ring-css { transform: scale(0.8); margin: auto; } .uil-ring-css { background: none; position: relative; width: 200px; height: 200px; } .uil-ring-css>div { position: absolute; display: block; width: 160px; height: 160px; top: 20px; left: 20px; border-radius: 80px; box-shadow: 0 3px 0 0 rgb(0,121,165); -webkit-transform-origin: 80px 81.5px; transform-origin: 80px 81.5px; -webkit-animation: uil-ring-anim 1.5s linear infinite; animation: uil-ring-anim 1.5s linear infinite; } .euiFlexGroup .euiFlexGroup:hover{ background: #fafcfe; } /* Custom Manager/Status styles */ .status { width: 3%; } .status.round { border-radius: 50%; height: 15px; width: 15px; } /* Custom Manager/Ruleset styles */ .manager-ruleset-decoders-top-24 { margin: 0; height: 220px; } .manager-ruleset-rules-top-row { padding: 0px !important; height: 200px; } .manager-ruleset-btn { top: -3px; } /* Custom buttons styles */ .wz-button { color: white !important; transition: none !important; background-color: rgb(0, 85, 113) !important; } .wz-button-flat { transition: none !important; min-height: 30px !important; line-height: 30px !important; } .wz-button.active, .wz-button:not([disabled]):hover, .wz-button-flat:not([disabled]):hover { background-color: rgb(0, 121, 165) !important; color: white !important; } .wz-back-btn-absolute{ position: absolute!important; top: 210px!important; } .btn-as-i{ background: none; border: 0; color: #006BB4; padding: 0; margin: 0; font-size: 20px; } .btn-as-i:hover{ background: none!important; color: #006BB4; } /* Custom reporting button styles */ .wz-report-button:hover { background-color: #006BB4 !important; color: #F5F5F5; border-radius: 0; } .wz-report-refresh-btn { position: absolute !important; right: 0px; } /* Custom grouped button styles */ .wz-button-group { margin: 0 !important; min-width: 100px !important; min-height: 25px !important; line-height: 25px !important; box-shadow: none !important; border: 1px solid rgb(0, 121, 165) !important; } .wz-button-group.left { border-radius: 10px 0 0 10px !important; } .wz-button-group.middle { border-radius: 0; } .wz-button-group.right { border-radius: 0 10px 10px 0 !important; } /* Custom input filter box styles */ .input-filter-box { box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1) !important; border: 1px solid #D9D9D9 !important; font-size: 14px; padding: 0px 15px; margin-top: 18px; border: none; height: 40px; margin-right: 20px; } .input-filter-box:focus { box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1) !important; border: 1px solid #D9D9D9 !important; } /* Custom input container styles */ .wz-input-container label { font-weight: 700 !important; color: rgba(0, 0, 0, 0.38) !important; } .wz-input-container label.md-required:after { color: #006BB4 !important; } .wz-input-container input, .wz-input-container input.md-input-invalid.md-input, .wz-input-container input.ng-invalid.ng-touched { border-color: rgba(0,0,0,0.12) !important; } .wz-autocomplete md-autocomplete-wrap { box-shadow: none !important; } .wz-input-text{ padding: 5px; width: 100%; word-wrap: break-word; font-family: monospace; background-color: #ffffff; border: 1px solid #D9D9D9; -webkit-box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1); } /* Styles to override outline on components but avoid hidden shadow on focus */ /* These are really important fixex and should not be deleted */ :focus:not([class^="eui"]) { box-shadow: none; } :focus:not(.wz-button):not(.input-filter-box):not(.kuiLocalSearchInput) { box-shadow: none !important; } /* Custom colors styles */ .green { background-color: rgb(42, 204, 67); } .teal { background-color: rgb(0, 166, 155); } .red { background-color: rgb(255, 100, 92); } .yellow { background-color: rgb(255, 192, 74); } .blue { background-color: rgb(0, 121, 165); } .grey { background-color: grey; } .wz-metric-color { background-color: #ecf6fb!important; overflow: hidden; margin: 3px 8px; box-shadow: none!important; border: 1px solid #dfeff8; } .wz-background-transparent { background-color: transparent; } .md-subheader{ background: transparent!important; } /* Custom Kibana styles */ .wz-border-none, .wz-border-none md-select-value { border: none !important; } .wz-border-0 { border: 0px; } .wz-md-tab .md-tab, .wz-md-tab .md-active { color: black !important; } .table-hover > tbody > tr:hover { background-color: #f0f0f0; } /* .table > tbody { border-right: 1px solid #D9D9D9; border-left: 1px solid #D9D9D9; } */ .action-btn-td{ font-size: 18px; padding: 2px!important; color: #006BB4; } .wazuhNavDiscover .euiTab , .wazuhNavDiscover .euiText { font-size: 14px !important; } .kuiLocalNav { border-bottom: none !important; } kbn-vis, visualize, visualization { display: flex; flex: 1 1 100%; } kbn-vis visualize, kbn-vis visualization, kbn-vis .vis-container, kbn-vis .visChart__container { overflow: hidden !important; } md-sidenav { width: 250px!important; font-size: 12px; background: transparent!important; } /* Dev tools styles */ .wz-dev-box { margin: 0px !important; } .wz-play-dev-color { color: #70ba56; margin-right: 15px; } .wz-question-dev-color { color: #b4bcc2 } .wz-dev-title { padding-bottom: 10px } .wz-dev-column-separator{ width: 14px; margin-top: 25px; background: #dddddd; float: left; height: calc(~'100vh - 110px'); cursor: ew-resize; text-align: center; display:block!important; } .wz-dev-column-separator:hover { background-color: #cce4ed; } .wz-dev-column-separator span { height: calc(~'100vh - 110px'); display: table-cell; vertical-align: middle; } #wz-dev-left-column{ width: calc(~'30% - 7px'); min-width: calc(~'20% - 7px'); max-width: calc(~'80% - 7px'); float: left; height: calc(~'100vh - 85px'); } #wz-dev-right-column{ width: calc(~'70% - 7px'); min-width: calc(~'20% - 7px'); max-width: calc(~'80% - 7px'); float: left; height: calc(~'100vh - 85px'); } /* Card and select input shadow overriding */ .wz-md-card:not(.wz-metric-color) { box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1) !important; border: 1px solid #D3DAE6 !important; overflow: hidden; } .wz-card-actions { margin: 0 !important; padding: 0 10px !important; border-top: 1px solid #D3DAE6 !important; background-color: rgb(228, 242, 245); } .wz-select-input { border-radius: 0; box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1) !important; border: 1px solid #D3DAE6; } /* Class for responsive images */ .wz-responsive-img { width: 100%; height: auto; } @supports not (-moz-appearance:none) { @media (min-width: 1200px) { .wz-logo{ content: url("/plugins/wazuh/img/new_logo_white.png"); } .wz-logo-container { width: 150px; max-width: 150px; } } @media (max-width: 1199px) { .wz-logo{ content: url("/plugins/wazuh/img/new_logo_white_wolf.png"); max-height: 45px; max-width: 20px; margin-right: 10px; } .wz-logo-container { min-width: 20px!important; max-width: 30px!important; margin-right: 5px!important; } } } @supports (-moz-appearance:none) { @media (min-width: 1200px) { .wz-logo::after{ content: url("/plugins/wazuh/img/new_logo_white.png"); } .wz-logo-container { width: 185px; max-width: 185px; } } @media (max-width: 1199px) { .wz-logo::after{ content: url("/plugins/wazuh/img/new_logo_white_wolf.png"); max-height: 45px; max-width: 20px; margin-right: 10px; } .wz-logo-container { min-width: 20px!important; max-width: 30px!important; margin-right: 5px!important; } } } /* Unclassified but important Wazuh app component styles */ .cursor-pointer { cursor: pointer !important; } .cursor-default { cursor: default !important; } .wz-agent-status-indicator { color: white; padding: 0 6px; border-radius: 2px; text-transform: uppercase; } .wz-timelions { margin-top: -40px; z-index: 2; } #monitoring_dis .kuiLocalNav { min-height: 0px; height: 22px; } #monitoring_dis .kuiLocalDropdown { z-index: 10; } .wz-monitoring-loading { z-index: 50; margin-bottom: 30px; } .wz-always-top, .kuiLocalSearchAssistedInput__assistance { z-index: 9999 !important; } .euiTitle { font-weight: normal !important; } .wzEuiTitle { font-size: 20px !important; } .synopsisIcon{ max-width: 32px; } .legend-value-truncate { overflow-y: hidden !important; } .wz-circle-list { list-style: circle !important; } .wz-word-break { word-break: break-all; } .wz-word-break-rule { word-break: break-all; padding-right: 10px; } .visualization { overflow: hidden !important; } .btn{ box-shadow: 0 2px 2px -1px rgba(152, 162, 179, 0.3); height: 35px; } .btn-info{ border: 1px solid #d9d9d9!important; line-height: 24px; } .btn-info:hover{ background: #ebebeb!important; color: #000!important; } .btn-info:focus{ color: #000!important; } .wz-circle-back-button{ border: 1px solid #d9d9d9!important; margin: 0px 15px 0px 0px!important; background: white!important; line-height: 18px!important; } .wz-circle-back-button:hover{ border-color: #000!important; } .md-padding-top-10{ padding-top: 10px!important; } .md-padding-h { padding: 0px 16px; } .md-margin-h { margin: 0px 16px; } .md-margin-h-0 { margin-left: 0px; margin-right: 0px; } .cursor-wait { cursor: wait !important; } .wz-padding-bottom-14 { padding-bottom: 14px; } .addGroupInput { height: 40px !important; max-width: 181px !important; padding-right: 0 !important; } .addGroupBtn { background-color: #006BB4 !important; height: 40px!important; } .agreeBtn { min-height: 0px !important; height: 25px !important; line-height: inherit !important; color: #ffffff !important; background-color: #006BB4 !important; border-color: #006BB4 !important; } .cancelBtn { color: #000000 !important; background-color: #d9d9d9 !important; border-color: #d9d9d9 !important; min-height: 0px !important; height: 25px !important; line-height: inherit !important; } .agents-prev-btn { margin-top: 20px !important; } .min-height-300 { min-height: 300px; } .nav-bar-white-bg > div{ background: #fff; } /* * https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ * Handling long URLs on error toasts. */ .euiGlobalToastList > .euiToast > .euiToastHeader > .euiToastHeader__title { overflow-wrap: break-word; word-wrap: break-word; -ms-word-break: break-all; word-break: break-all; word-break: break-word; -ms-hyphens: auto; -moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto; } .titleSectionIdentifier{ font-size: 12px; color: #006BB4; text-transform: capitalize; } .confirmEmbedBubble{ background-color: #ecf6fb; border: 1px solid #dfeff8; color: #31708f; padding: 5px 10px; max-width: 275px; } wz-xml-file-editor { height: inherit; }