123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388 |
- /**
- * 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 {
- color: @health-status-green;
- }
- .alert-state-WARNING {
- color: @health-status-red;
- }
- .alert-state-CRITICAL {
- color: @health-status-red;
- }
- .alert-state-DISABLED {
- color: #000;
- }
- .alert-state-UNKNOWN {
- color: @health-status-yellow;
- }
- .groups-filter {
- .ui-icon-circle-close {
- display: none;
- }
- }
- .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-definitions-table {
- a {
- &.disabled {
- color: #000;
- }
- }
- .col0,
- td:first-child,
- th:first-child {
- width: 30%;
- }
- .col1,
- td:first-child + td,
- th:first-child + th {
- width: 18%;
- .filter-input-width {
- width: 80%;
- }
- }
- .col2,
- td:first-child + td + td,
- th:first-child + th + th {
- width: 17%;
- .filter-input-width {
- width: 80%;
- }
- }
- .col3,
- td:first-child + td + td + td,
- th:first-child + th + th + th {
- width: 20%;
- .filter-input-width {
- width: 80%;
- }
- }
- .col4,
- td:first-child + td + td + td + td,
- th:first-child + th + th + th + th {
- width: 13%;
- .filter-input-width {
- width: 80%;
- }
- }
- }
- #alert-instances-table {
- .col0,
- td:first-child,
- th:first-child {
- width: 10%;
- }
- .col1,
- td:first-child + td,
- th:first-child + th {
- width: 45%;
- }
- .col2,
- td:first-child + td + td,
- th:first-child + th + th {
- width: 20%;
- }
- .col3,
- td:first-child + td + td + td,
- th:first-child + th + th + th {
- width: 10%
- }
- .col4,
- td:first-child + td + td + td + td,
- th:first-child + th + th + th + th {
- width: 15%;
- }
- }
- #alert-definition-details {
- .definition-details-block {
- margin-top: 30px;
- .multiline-text {
- padding-top: 4px;
- }
- }
- hr {
- margin: 10px 0 0 0;
- }
- .edit-description-button:hover {
- text-decoration: none;
- }
- .service-name {
- margin-bottom: 30px;
- }
- .right-column {
- text-align: right;
- button {
- margin-top: 10px;
- width: 100%;
- }
- .properties-list {
- margin-top: 50px;
- text-align: left;
- }
- }
- .instances-label {
- color: #0088cc;
- }
- .definition-name, .definition-name input {
- font-size: 20px;
- font-weight: bold;
- }
- .definition-name input {
- width: 99%;
- margin-bottom: 0px;
- margin-top: -4px;
- margin-left: -5px;
- }
- .edit-buttons {
- text-align: right;
- margin-bottom: 20px;
- }
- .text-area-edit {
- textarea {
- width: 99%;
- height: 100px;
- margin-left: -5px;
- }
- }
- .edit-link {
- cursor: pointer;
- }
- }
- .alert-configs {
- margin-top: 20px;
- .alert-config-text-area {
- height: 100px;
- }
- .alert-text-input {
- input {
- width: 98%;
- }
- }
- .alert-interval-input {
- input {
- width: 20%;
- }
- }
- .alert-port-input {
- input {
- width: 30%;
- }
- }
- }
- #host-alerts-table {
- a {
- &.disabled {
- color: #000;
- }
- }
- .col0,
- td:first-child,
- th:first-child {
- width: 30%;
- }
- .col1,
- td:first-child + td,
- th:first-child + th {
- width: 10%;
- .filter-input-width {
- width: 90%;
- }
- }
- .col2,
- td:first-child + td + td,
- th:first-child + th + th {
- width: 20%;
- .filter-input-width {
- width: 90%;
- }
- }
- .col3,
- td:first-child + td + td + td,
- th:first-child + th + th + th {
- width: 20%
- }
- .col4,
- td:first-child + td + td + td + td,
- th:first-child + th + th + th + th {
- width: 20%;
- }
- }
- #manage-alert-notifications-error {
- margin-bottom: 20px
- }
- #create-edit-alert-notification {
- .form-horizontal {
- .controls {
- margin-left: 140px;
- }
- }
- label {
- width: 115px;
- &.checkbox {
- width: inherit;
- }
- }
- }
- /*****start styles for alerts popup*****/
- .alerts-popup {
- .modal-body, .modal-footer, .modal-header {
- min-width: 600px;
- }
- #alert-info {
- .log-list-wrap:hover {
- background-color: #e6e6e6;
- }
- }
- }
- .alerts-popup-wrap {
- .top-wrap {
- width: 100%;
- border-bottom: 1px solid #CCC;
- text-align: center;
- font-size: 15px;
- padding: 0 0 20px 0;
- height: 20px;
- .status-top {
- width: 10%;
- padding-left: 20px;
- }
- .name-top {
- width: 40%;
- padding-left: 110px;
- }
- .service-top {
- width: 15%;
- padding-left: 5px;
- }
- .last-triggered-top {
- width: 20%;
- padding-left: 5px;
- }
- .status-top,.name-top,.service-top,.last-triggered-top {
- float: left;
- text-align: left;
- }
- .select-wrap {
- float: right;
- margin-top: -8px;
- select {
- width: 140px;
- }
- }
- }
- #alert-info{
- overflow: auto;
- max-height: 340px;
- width: 100%;
- .alert-list-wrap {
- padding: 10px 10px 10px 20px;
- border-top: 1px solid #CCC;
- border-bottom: 1px solid #CCC;
- }
- .alert-list-line-cursor{
- width: 100%;
- min-height: 20px;
- .status-icon {
- padding-left: 5px;
- float: left;
- width: 10%;
- min-width: 30px;
- }
- .name-text {
- padding-left: 10px;
- width: 40%;
- float: left;
- }
- .service-text {
- padding-left: 5px;
- width: 15%;
- float: left;
- }
- .last-triggered-text {
- padding-left: 5px;
- color: #808080;
- font-size: 12px;
- }
- }
- .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*****/
|