123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621 |
- /**
- * 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';
- /*90% width modal window start*/
- .full-width-modal {
- .modal {
- .modal-body {
- div.error{
- color: #b94a48;
- .help-inline{
- color: #b94a48;
- }
- }
- div.error input{
- border-color: #b94a48;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- }
- .add-cluster-1{
- width: 100%;
- height : 500px;
- margin: 0 auto;
- .each-row{
- margin-top: 10px;
- }
- .add-cluster-1-1{
- width: 100%;
- height : 100%;
- float: left;
- }
- .add-cluster-1-3{
- width: 45%;
- height : 100%;
- float: left;
- }
- .add-cluster-1-2{
- width: 10%;
- height : 100%;
- float: left;
- .add-cluster-1-2-1{
- width: 100%;
- height : 40%;
- }
- .add-cluster-1-2-2{
- width: 100%;
- height : 10%;
- }
- .add-cluster-1-2-3{
- width: 100%;
- height : 50%;
- }
- .middle-line{
- width : 2%;
- margin : 0 auto;
- height : 100%;
- background-color: #000000;
- }
- .add-cluster-center-most-div{
- height : 30%;
- text-align: center;
- position: relative;
- top: 30%;
- }
- }
- }
- }
- }
- .clear {
- clear: both;
- }
- > div > .dataTable {
- border: 1px solid silver;
- th {
- border-top: none;
- }
- }
- .content {
- padding: 0;
- }
- //fix stripped in inner table
- .table-striped tbody tr:nth-child(odd)
- td .table-striped tbody
- tr:nth-child(odd) td,
- tr:nth-child(even) th {
- background-color: transparent;
- }
- }
- /*90% width modal window end*/
- /*700px width modal window start*/
- .modal-690px-width {
- .modal {
- width: 690px;
- margin: 0 0 0 -345px;
- max-height: 544px;
- top: 5%;
- }
- .modal-body {
- max-height: 403px;
- }
- }
- /*700px width modal window end*/
- /*60% width modal window start*/
- .sixty-percent-width-modal.hideCloseLink{
- .modal-header{
- .close{
- display:none
- }
- }
- }
- .sixty-percent-width-modal-edit-widget {
- .modal {
- width: 60%;
- margin: 0 0 0 -30%;
- max-height: 544px;
- top: 5%;
- }
- .modal-header{
- min-width: 650px;
- }
- .modal-footer{
- min-width: 650px;
- }
- .modal-body {
- max-height: 403px;
- min-width: 650px;
- #slider-range {
- margin-top: 40px;
- margin-bottom: 20px;
- margin-left: 38px;
- max-width: 630px;
- max-height: 15px;
- }
- #min-height-limit .span9{
- min-height: 15px;
- }
- #min-height-limit .progress{
- margin-left: 40px;
- .bar-success {
- background-image: linear-gradient(to bottom, @health-status-green, @health-status-green);
- background-repeat: repeat-x;
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#5AB400', endColorstr='#5AB400', GradientType=0);
- }
- .bar-warning {
- background-image: linear-gradient(to bottom,@health-status-orange, @health-status-orange);
- background-repeat: repeat-x;
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#FF8E00', endColorstr='#FF8E00', GradientType=0);
- }
- .bar-danger {
- background-image: linear-gradient(to bottom, @health-status-red, @health-status-red);
- background-repeat: repeat-x;
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff0000', endColorstr='#ff0000', GradientType=0);
- }
- }
- .value-on-slider{
- max-height: 100px;
- margin-bottom: 40px;
- margin-top: 10px;
- text-align: center;
- }
- #slider-value1{
- max-width: 65px;
- }
- #slider-value2{
- max-width: 250px;
- }
- #slider-value3{
- max-width: 250px;
- }
- #slider-value4{
- max-width: 65px;
- }
- .slider-error{
- color: #b94a48;
- .help-inline{
- color: #b94a48;
- }
- }
- .slider-error input{
- border-color: #b94a48;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- }
- }
- }
- .sixty-percent-width-modal {
- .modal {
- width: 60%;
- margin: 0 0 0 -30%;
- max-height: 563px;
- min-width: 590px;
- top: 5%;
- }
- &.modal-full-width {
- .modal {
- width: 90%;
- margin: 0 0 0 -45%;
- max-height: 90%;
- }
- }
- .long-popup-list {
- height: 280px;
- overflow: auto;
- width: 100%;
- }
- .modal-footer {
- #footer-checkbox {
- text-align: left;
- padding-top: 3px;
- margin-left: 22px;
- float: left;
- .checkbox {
- margin: 0;
- }
- }
- }
- .modal-body {
- max-height: 403px;
- .form-horizontal{
- .add-cluster-1{
- width: 100%;
- height : auto;
- min-height : 350px;
- margin: 0 auto;
- .each-row{
- margin-top: 10px;
- }
- .add-cluster-1-1{
- width: 100%;
- height : 100%;
- float: left;
- div.error{
- color: #b94a48;
- .help-inline{
- color: #b94a48;
- }
- }
- div.error input{
- border-color: #b94a48;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- }
- }
- .add-cluster-1-3{
- width: 45%;
- height : 100%;
- float: right;
- }
- .add-cluster-1-2{
- width: 10%;
- height : 100%;
- float: left;
- .add-cluster-1-2-1{
- width: 100%;
- height : 40%;
- }
- .add-cluster-1-2-2{
- width: 100%;
- height : 10%;
- }
- .add-cluster-1-2-3{
- width: 100%;
- height : 50%;
- }
- .middle-line{
- width : 2%;
- margin : 0 auto;
- height : 100%;
- background-color: #000000;
- }
- .add-cluster-center-most-div{
- height : 30%;
- text-align: center;
- position: relative;
- top: 30%;
- }
- }
- }
- .add-cluster-2{
- margin : 0 auto;
- height : auto;
- min-height : 350px;
- table{
- width : 60%;
- margin : 0 20%;
- .spacer{
- height: 20px;
- }
- tr.error{
- color: #b94a48;
- .help-inline{
- color: #b94a48;
- }
- input{
- border-color: #b94a48;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- }
- }
- td {
- width : 50%;
- a.btn-success{
- margin-left: 30%;
- }
- }
- }
- }
- .add-data-set{
- width: 80%;
- margin: 0 auto;
- table{
- width: 100%;
- }
- tr.error{
- color: #b94a48;
- .help-inline{
- color: #b94a48;
- }
- }
- div.error{
- color: #b94a48;
- .help-inline{
- color: #b94a48;
- }
- }
- div.error input{
- border-color: #b94a48;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- }
- td.percent25 {
- width: 25%;
- }
- td.spacer{
- height: 10px;
- }
- td{
- .btn-group{
- display : inline;
- span.caret{
- float : right;
- }
- ul.dropdown-menu{
- margin-top:15px;
- }
- }
- .ember-view{
- display : inline;
- }
- }
- input.hyper-mini{
- width: 20px;
- }
- .targetClusterDD{
- min-width : 170px;
- }
- }
- .each-row{
- margin-top: 10px;
- }
- .each-row.control-label{
- float:left;
- clear:both;
- }
- .override-controls{
- .icon-ok-sign {
- color: #5AB400;
- }
- #filter-dropdown-div {
- .dropdown-menu {
- right: 0;
- left: auto;
- }
- }
- #component-dropdown-div {
- vertical-align: top;
- padding-left: 5px;
- .dropdown-menu {
- right: 0;
- left: auto;
- }
- }
- .input-append{
- input{
- -webkit-border-radius: 4px 0 0 4px;
- -moz-border-radius: 4px 0 0 4px;
- border-radius: 4px 0 0 4px;
- }
- .btn-group{
- display: inline-block;
- margin-left: -1px;
- .btn{
- -webkit-border-radius: 0 4px 4px 0;
- -moz-border-radius: 0 4px 4px 0;
- border-radius: 0 4px 4px 0;
- }
- }
- }
- .hosts-table-container{
- width:100%;
- height: 225px;
- max-height: 225px;
- overflow: auto;
- border: 1px solid #eee;
- }
- table{
- th {
- background-color: #d9edf7;
- }
- margin: 0 auto;
- }
- .message{
- color: #777;
- }
- }
- .control-label{
- width:auto;
- }
- .overrideSelectBox {
- width:100%;
- }
- }
- }
- .clear {
- clear: both;
- }
- > div > .dataTable {
- border: 1px solid silver;
- th {
- border-top: none;
- }
- }
- .content {
- padding: 0;
- }
- //fix stripped in inner table
- .table-striped tbody tr:nth-child(odd)
- td .table-striped tbody
- tr:nth-child(odd) td,
- tr:nth-child(even) th {
- background-color: transparent;
- }
- }
- /*60% width modal window end*/
- /* modal fill screen popup */
- .full-height-modal {
- // padding from the top and bottom for full-height popup of window
- @modal-padding: 40px;
- .modal {
- max-height: 90%;
- &.no-footer {
- .modal-body {
- // height: 100%;
- }
- }
- &.with-footer {
- .modal-body {
- max-height: calc(~"100%" - (@modal-body-padding*2 + @modal-footer-height + @modal-header-height));
- }
- }
- }
- }
- /* modal fill screen popup end */
- #logs-popup {
- .controls-block {
- margin-bottom: 10px;
- a {
- padding: 5px;
- cursor: pointer;
- }
- }
- }
- .modal {
- .modal-body {
- .top-wrap {
- &.top-wrap-header {
- border-bottom: 1px solid #eee;
- margin-bottom: 20px;
- }
- }
- }
- }
- .host-progress-popup {
- .task-detail-info {
- .task-detail-log-info {
- padding-top: 10px;
- }
- &.task-detail-info-tabbed {
- .task-detail-log-info {
- padding-top: 0;
- }
- .task-top-wrap {
- padding: 0;
- border-bottom: none;
- }
- .task-detail-nav {
- padding-top: 10px;
- }
- .log-tail-content {
- width: 100%;
- padding: 15px;
- overflow-y: auto;
- box-sizing: border-box;
- white-space: normal;
- margin: 0;
- position: relative;
- & > div {
- margin: 0;
- padding: 0;
- &:hover {
- background: #ccc;
- }
- }
- .log-tail-spinner-container {
- position: absolute;
- top: 0;
- left: 3px;
- }
- }
- #infinite-scroll-append {
- text-align: center;
- .icon-spinner {
- font-size: 24px;
- }
- }
- }
- }
- }
|