123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600 |
- /**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- @import 'common.less';
- .alert-state-OK {
- background-color: @health-status-green;
- }
- .alert-state-WARNING {
- background-color: @health-status-orange;
- }
- .alert-state-CRITICAL {
- background-color: @health-status-red;
- }
- .alert-state-DISABLED {
- color: #000;
- }
- .alert-state-UNKNOWN {
- background-color: @health-status-yellow;
- }
- .alert-state-PENDING {
- background-color: #999;
- }
- .alert-state-single-host {
- display: inline-block;
- width: 70px;
- text-align: center;
- }
- .groups-filter {
- .ui-icon-circle-close {
- display: none;
- }
- }
- .alert-definition-enable {
- color: @health-status-green;
- }
- .alert-definition-disable {
- color: gray;
- }
- .alerts-table {
- margin-top: 10px;
- margin-bottom: 10px;
- font-size: 13px \9;
- .filter-row {
- th {
- padding: 0px;
- padding-left: 4px;
- }
- }
- thead {
- background: none repeat scroll 0 0 #F8F8F8;
- th {
- padding: 8px;
- }
- }
- }
- .alert-definition-review {
- height: 400px;
- overflow: scroll;
- }
- #alert-definitions-table {
- a {
- &.disabled {
- color: #000;
- }
- }
- .col0,
- td:first-child,
- th:first-child {
- width: 35%;
- }
- .col1,
- td:first-child + td,
- th:first-child + th {
- width: 15%;
- .filter-input-width {
- width: 80%;
- }
- }
- .col2,
- td:first-child + td + td,
- th:first-child + th + th {
- width: 20%;
- .filter-input-width {
- width: 80%;
- }
- }
- .col3,
- td:first-child + td + td + td,
- th:first-child + th + th + th {
- width: 15%;
- .filter-input-width {
- width: 80%;
- }
- }
- .col4,
- td:first-child + td + td + td + td,
- th:first-child + th + th + th + th {
- width: 15%;
- .filter-input-width {
- width: 80%;
- }
- }
- .col5,
- td:first-child + td + td + td + td + td,
- th:first-child + th + th + th + th + th {
- width: 10%;
- .filter-input-width {
- width: 80%;
- }
- }
- .type-icon {
- margin-right: 5px;
- width: 10px;
- display: inline-block;
- }
- }
- #alert-instances-table {
- .col0,
- td:first-child,
- th:first-child {
- width: 30%;
- }
- .col1,
- td:first-child + td,
- th:first-child + th {
- width: 23%;
- }
- .col2,
- td:first-child + td + td,
- th:first-child + th + th {
- width: 7%
- }
- .col3,
- td:first-child + td + td + td,
- th:first-child + th + th + th {
- width: 40%;
- }
- .alert-text {
- overflow: hidden;
- float: left;
- text-overflow: ellipsis;
- white-space: nowrap;
- width: 100%;
- }
- }
- #alert-definition-details {
- .box {
- .box-header {
- .edit-link {
- margin: 5px;
- }
- }
- margin-top: 20px;
- margin-bottom: 0px;
- }
- .definition-details-block {
- margin-top: 30px;
- .multiline-text {
- padding-top: 4px;
- height: 60px;
- }
- }
- hr {
- margin: 10px 0 0 0;
- }
- .edit-description-button {
- font-size: 14px;
- }
- .edit-description-button:hover {
- text-decoration: none;
- }
- .status {
- margin-bottom: 30px;
- text-align: right;
- .label {
- font-size: 14px;
- padding: 5px 8px;
- }
- }
- .right-column {
- text-align: right;
- button {
- margin-top: 10px;
- width: 100%;
- }
- .properties-list {
- margin-top: 50px;
- text-align: left;
- .property-name {
- font-weight: bold;
- }
- ul {
- list-style: none;
- margin: 0;
- }
- }
- }
- .definition-name, .definition-name input {
- font-size: 20px;
- font-weight: bold;
- }
- .definition-name {
- .name-text-field{
- margin-left: 2px;
- margin-bottom: 0px;
- input {
- width: 99%;
- margin-bottom: 0px;
- margin-top: -4px;
- margin-left: -5px;
- }
- }
- .edit-buttons {
- margin-bottom: 0px;
- margin-top: -4px;
- float: left;
- margin-left: 7px;
- }
- }
- .edit-buttons {
- text-align: right;
- margin-bottom: 10px;
- margin-right: 10px;
- }
- .text-area-edit {
- textarea {
- width: 99%;
- height: 100px;
- margin-left: -5px;
- }
- }
- .edit-link {
- cursor: pointer;
- }
- }
- .alert-configs {
- label.shifted {
- width: 170px;
- }
- .controls.shifted {
- margin-left: 190px;
- }
- margin-top: 20px;
- .alert-config-text-area {
- height: 100px;
- }
- .alert-text-input {
- input {
- width: 98%;
- }
- }
- .input-append {
- padding-right: 13px;
- }
- .alert-interval-input {
- input {
- width: 20%;
- }
- }
- .alert-port-input {
- input {
- width: 30%;
- }
- }
- .badge-container {
- height: 26px;
- .alert-threshold-badge {
- line-height: 26px;
- height: 26px;
- }
- }
- .control-group.error{
- .alert-text-input input{
- color: #555555;
- border-color: #ccc;
- }
- }
- .error-message {
- color: #b94a48;
- }
- }
- #host-alerts-table {
- a {
- &.disabled {
- color: #000;
- }
- }
- .col0,
- td:first-child,
- th:first-child {
- width: 15%;
- .filter-input-width {
- width: 80%;
- }
- }
- .col1,
- td:first-child + td,
- th:first-child + th {
- width: 30%;
- .filter-input-width {
- width: 90%;
- }
- }
- .col2,
- td:first-child + td + td,
- th:first-child + th + th {
- width: 20%;
- .filter-input-width {
- width: inherit;
- }
- }
- .col3,
- td:first-child + td + td + td,
- th:first-child + th + th + th {
- width: 35%;
- }
- .alert-text {
- overflow: hidden;
- float: left;
- text-overflow: ellipsis;
- white-space: nowrap;
- width: 100%;
- }
- }
- #manage-alert-notification-content {
- .notification-info .global-info .global-checkbox {
- margin: 0px;
- }
- .input-label {
- font-weight: bold;
- }
- }
- #manage-alert-notifications-error {
- margin-bottom: 20px
- }
- .notification-description {
- white-space: pre;
- }
- #create-edit-alert-notification {
- .form-horizontal {
- .controls {
- margin-left: 140px;
- }
- .control-label {
- font-weight: bold;
- }
- }
- label {
- width: 115px;
- &.checkbox {
- width: inherit;
- }
- }
- .icon-minus-sign {
- color: #FF4B4B;
- }
- .add-custom-property {
- margin-left: 140px;
- }
- a {
- &.disabled {
- cursor: default;
- color: gray;
- &:hover {
- text-decoration: none;
- }
- }
- }
- }
- .create-edit-alert-notification-popup {
- .modal {
- margin-top: 0px;
- top: 5%;
- width: 600px;
- }
- }
- .service-block .summary-box-header {
- .alerts-count-label,.no-alerts-label {
- padding: 2px 4px;
- margin-right: 5px;
- margin-top: 5px;
- cursor: pointer;
- }
- .alerts-count-label {
- background: #953B39;
- }
- .no-alerts-label {
- background: #006400;
- }
- }
- #summary-alerts-popup {
- .alert-list-wrap {
- padding: 10px 5px;
- .status-icon {
- padding-right: 5px;
- min-width: 20px;
- }
- }
- }
- /*****start styles for manage alerts popup*****/
- .sixty-percent-width-modal.manage-alert-group-popup {
- .modal{
- max-height: 650px;
- }
- .modal-body {
- max-height: 500px;
- }
- .group-select {
- width: 100%;
- height: 250px;
- }
- .btn-toolbar {
- margin-top: 0px;
- }
- .manage-configuration-group-content {
- margin-bottom: 0px;
- }
- .notification-editable-list {
- .title {
- font-weight: bold;
- }
- }
- a {
- i {
- cursor: inherit;
- }
- }
- }
- /*****end styles for manage alerts popup*****/
- /*****start styles for alerts popup*****/
- .alerts-popup {
- .modal-body, .modal-footer, .modal-header {
- min-width: 600px;
- }
- #alert-info {
- .alert-list-wrap:hover {
- background-color: #e6e6e6;
- }
- }
- }
- .service-alerts {
- max-height: 246px;
- }
- .alerts-popup-wrap {
- .top-wrap {
- width: 100%;
- border-bottom: 1px solid #CCC;
- text-align: center;
- font-size: 15px;
- padding: 0px 0px 20px 0px;
- height: 20px;
- .name-top {
- width: 32%;
- padding-left: 10px;
- }
- .service-top {
- width: 31%;
- padding-left: 10px;
- }
- .status-top,.name-top,.service-top,.last-triggered-top {
- float: left;
- text-align: left;
- }
- }
- #alert-info{
- overflow: auto;
- max-height: 340px;
- width: 100%;
- .alert-list-wrap {
- padding: 10px 5px;
- border-top: 1px solid #CCC;
- border-bottom: 1px solid #CCC;
- }
- .alert-list-line-cursor{
- width: 100%;
- min-height: 20px;
- .status-icon {
- padding-right: 5px;
- min-width: 20px;
- }
- .name-text {
- float: left;
- width: 33%;
- }
- .service-text {
- padding-left: 5px;
- width: 33%;
- float: left;
- .na-text {
- color: #808080;
- }
- }
- }
- .alert-list-line-cursor:before,.alert-list-line-cursor:after {
- display: table;
- line-height: 0;
- content: "";
- }
- .alert-list-line-cursor:after {
- clear: both;
- }
- .show-more {
- width: 98.8%;
- min-height: 20px;
- cursor: pointer;
- border-top: 1px solid #CCC;
- text-align: center;
- padding: 10px 10px 10px 0px;
- font-size: 16px;
- }
- }
- }
- /*****end styles for alert popup*****/
- .enable-disable-button::before {
- font-family: FontAwesome;
- content: "\f011";
- }
|