wazuh-kibana-app/public/less/common.less

515 lines
9.1 KiB
Plaintext
Raw Normal View History

/*
* Wazuh app - Commons stylesheet
* Copyright (C) 2018 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 {
2018-03-08 10:12:33 +00:00
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;
}
.percentage {
font-size: 18px;
text-align: center;
position: relative;
height: 25px;
color: #666666;
2018-03-06 16:38:58 +00:00
background-color: white !important;
}
2018-03-08 15:02:02 +00:00
/* Custom JSON viewer settings */
2018-06-18 11:06:29 +00:00
.wz-word-wrap {
word-wrap: break-word;
}
2018-03-14 10:45:36 +00:00
.wz-pre {
white-space: pre-wrap;
word-wrap: break-word;
height: 200px;
line-height: 20px !important;
2018-03-14 10:45:36 +00:00
}
.jsonbeauty2 {
min-height: 300px;
margin: 0px !important;
2018-03-14 10:45:36 +00:00
}
.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;
}
2018-09-13 11:54:03 +00:00
/* 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);
}
2018-03-14 10:45:36 +00:00
/* 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;
2017-11-07 11:43:59 +00:00
}
.uil-ring-css {
background: none;
position: relative;
width: 200px;
height: 200px;
2017-11-07 11:43:59 +00:00
}
.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;
}
/* Custom Manager/Status styles */
.status {
width: 3%;
}
.status.round {
border-radius: 50%;
height: 15px;
width: 15px;
}
2018-03-14 10:45:36 +00:00
/* Custom Manager/Ruleset styles */
.manager-ruleset-decoders-top-24 {
margin: 0;
height: 220px;
}
2018-03-14 10:45:36 +00:00
.manager-ruleset-rules-top-row {
padding: 0px !important;
height: 200px;
}
.manager-ruleset-btn {
top: -3px;
2017-11-07 14:13:45 +00:00
}
2018-03-14 10:45:36 +00:00
/* Custom buttons styles */
.wz-button {
2018-03-14 10:45:36 +00:00
color: white !important;
transition: none !important;
background-color: rgb(0, 85, 113) !important;
2018-06-04 14:29:12 +00:00
}
.wz-button-flat {
transition: none !important;
2018-06-05 16:46:17 +00:00
min-height: 30px !important;
line-height: 30px !important;
2018-06-04 14:29:12 +00:00
}
.wz-button.active,
.wz-button:not([disabled]):hover,
2018-06-04 14:29:12 +00:00
.wz-button-flat:not([disabled]):hover {
background-color: rgb(0, 121, 165) !important;
color: white !important;
}
/* Custom reporting button styles */
.wz-report-button:hover {
background-color: #0079a5 !important;
color: #F5F5F5;
border-radius: 0;
}
.wz-report-refresh-btn {
position: absolute !important;
right: 0px;
2018-03-14 10:45:36 +00:00
}
2018-09-06 14:50:58 +00:00
/* 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;
2018-09-06 14:50:58 +00:00
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;
}
2018-03-14 10:45:36 +00:00
/* Custom input filter box styles */
.input-filter-box {
2018-03-05 09:22:37 +00:00
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;
}
2018-03-08 12:07:38 +00:00
.input-filter-box:focus {
2018-03-05 09:22:37 +00:00
box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1) !important;
border: 1px solid #D9D9D9 !important;
}
2018-03-14 10:45:36 +00:00
/* Custom input container styles */
2018-03-08 12:24:39 +00:00
.wz-input-container label {
font-weight: 700 !important;
color: rgba(0, 0, 0, 0.38) !important;
}
.wz-input-container label.md-required:after {
color: #0079a5 !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;
}
2018-04-23 13:05:40 +00:00
.wz-autocomplete md-autocomplete-wrap {
box-shadow: none !important;
2018-03-08 12:07:38 +00:00
}
/* Styles to override outline on components but avoid hidden shadow on focus */
/* These are really important fixex and should not be deleted */
2018-03-02 08:13:28 +00:00
:focus:not([class^="eui"]) {
box-shadow: none;
}
:focus:not(.wz-button):not(.input-filter-box):not(.kuiLocalSearchInput) {
2018-03-01 15:31:28 +00:00
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 {
2018-04-02 11:32:31 +00:00
background-color: rgb(228, 242, 245);
}
.wz-background-transparent {
background-color: transparent;
}
/* Custom Kibana styles */
.wz-border-none,
.wz-border-none md-select-value {
2018-06-15 11:05:06 +00:00
border: none !important;
}
2018-06-14 11:41:20 +00:00
.wz-border-0 {
border: 0px;
}
.wz-md-tab .md-tab,
.wz-md-tab .md-active {
color: black !important;
}
.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 {
2018-08-21 15:25:30 +00:00
overflow: hidden !important;
}
md-sidenav {
width: 250px!important;
font-size: 12px;
}
/* Dev tools styles */
2018-05-04 16:03:35 +00:00
.wz-dev-box {
margin: 0px !important;
}
.wz-play-dev-color {
color: #70ba56
}
.wz-question-dev-color {
color: #b4bcc2
}
.wz-dev-title {
padding-bottom: 10px
}
/* Card and select input shadow overriding */
.wz-md-card {
box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1) !important;
border: 1px solid #D9D9D9 !important;
overflow: hidden;
}
.wz-card-actions {
margin: 0 !important;
padding: 0 10px !important;
border-top: 1px solid #D9D9D9 !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 #D9D9D9;
}
/* Class for responsive images */
.wz-responsive-img {
width: 100%;
height: auto;
}
/* Class for define Wazuh logo width */
.wz-logo-container {
width: 150px;
max-width: 150px;
}
/* Unclassified but important Wazuh app component styles */
.cursor-pointer {
cursor: pointer !important;
}
.cursor-default {
cursor: default !important;
}
.wz-agent-status-indicator {
color: white;
2018-06-07 14:40:15 +00:00
padding: 0 6px;
border-radius: 2px;
text-transform: uppercase;
}
2018-05-22 15:53:07 +00:00
.wz-timelions {
margin-top: -40px;
2018-05-22 15:53:07 +00:00
z-index: 2;
2018-05-24 13:46:00 +00:00
}
#monitoring_dis .kuiLocalNav {
min-height: 0px;
height: 22px;
}
#monitoring_dis .kuiLocalDropdown {
z-index: 10;
2018-05-29 11:40:16 +00:00
}
2018-06-18 14:45:15 +00:00
.wz-monitoring-loading {
z-index: 50;
margin-bottom: 30px;
2018-06-19 10:38:52 +00:00
}
2018-06-20 10:41:49 +00:00
2018-07-23 15:15:46 +00:00
.wz-always-top,
2018-06-29 14:27:15 +00:00
.kuiLocalSearchAssistedInput__assistance {
2018-07-23 15:15:46 +00:00
z-index: 9999 !important;
}
.euiTitle {
font-weight: normal !important;
}
2018-08-27 14:40:31 +00:00
.wzEuiTitle {
font-size: 20px !important;
}
.legend-value-truncate {
overflow-y: hidden !important;
}
.wz-circle-list {
list-style: circle !important;
}
2018-10-03 15:43:11 +00:00
.wz-word-break {
word-break: break-all;
2018-12-13 10:04:48 +00:00
}
2018-11-08 10:31:43 +00:00
.visualization {
overflow: hidden !important;
2018-12-14 16:34:36 +00:00
}
.btn-info{
background: #d9d9d9;
}