wazuh-kibana-app/public/less/common.less
2018-03-20 17:16:26 +01:00

365 lines
6.7 KiB
Plaintext

/* -------------------------------------------------------------------------- */
/* ------------------------ 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;
}
.percentage {
font-size: 18px;
text-align: center;
position: relative;
height: 25px;
color: #666666;
background-color: white !important;
}
/* Custom JSON viewer settings */
.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;
}
/* 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 progress linear styles */
.wazuh-loading md-progress-linear {
height: 20px !important;
}
.wazuh-loading md-progress-linear .md-container {
height: 20px !important;
}
.wazuh-loading md-progress-linear .md-container .md-bar {
height: 20px !important;
}
.wazuh-loading md-progress-linear .md-container .md-dashed:before {
height: 20px !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;
}
/* Custom tooltips styles */
.wz-tooltip .md-content {
background-color: rgba(0,0,0,0.87) !important;
color: #FFF;
}
/* Custom Manager/Status styles */
.status {
width: 3%;
}
.status.round {
border-radius: 50%;
height: 15px;
width: 15px;
}
.joinCardsRow {
margin-top: 5px;
}
/* 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;
}
.wz-chip {
font-size: 14px;
color: white;
background-color: #0079a5;
border: 1px solid #D9D9D9;
box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}
/* Custom Manager/Logs styles */
.manager-log-buttonplay {
margin: 20px 7px !important;
margin-top: 20px;
width: 180px;
}
/* Custom buttons styles */
.wazuh-button {
background-color: rgb(0, 85, 113) !important;
color: white !important;
}
.wazuh-button.active,
.wazuh-button:not([disabled]):hover {
background-color: rgb(0, 121, 165) !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: #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;
}
.wz-autocomplete md-autocomplete md-autocomplete-wrap input {
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(.wazuh-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: #e4f2f5 !important;
}
.wz-background-transparent {
background-color: transparent;
}
/* Custom Kibana styles */
.wz-border-none,
.wz-border-none md-select-value {
border: none;
}
.wz-border-0,
.wz-md-navbar .md-nav-bar {
border: 0px;
}
.wz-md-navbar ._md-nav-button-text,
.wz-md-tab .md-tab,
.wz-md-tab .md-active {
color: black !important;
}
.wazuhNavDiscover .euiTab ,
.wazuhNavDiscover .euiText {
font-size: 14px !important;
}
.kuiLocalNav {
margin-top: 15px !important;
border-bottom: none !important;
}
kbn-vis,
visualize,
visualization {
display: flex;
flex: 1 1 100%;
}
kbn-vis visualize,
kbn-vis visualization,
kbn-vis .vis-container {
overflow: hidden;
}
/* Custom md-switch styles */
.wz-md-switch {
margin: 0px !important;
}
/* 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-select-input {
border-radius: 0;
box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1) !important;
border: 1px solid #D9D9D9;
}
/* Unclassified but important Wazuh app component styles */
.cursor-pointer {
cursor: pointer !important;
}
.wz-agent-status-indicator {
width: 100%;
padding: 4px;
color: white;
font-weight: normal;
font-size: 12px;
text-transform: uppercase;
}
.wz-search-bar-size {
padding: 5px;
height: 35px;
margin-top: 0px !important;
margin-right: 0px !important;
}