123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044 |
- /**
- * 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.
- */
- .gradient(@color: #FAFAFA, @start: #FFFFFF, @stop: #F2F2F2) {
- background: @color;
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0, @start), color-stop(1, @stop));
- background: -ms-linear-gradient(top, @start, @stop);
- background: -moz-linear-gradient(center top, @start 0%, @stop 100%);
- }
- html, body {
- height: 100%;
- }
- #wrapper {
- min-height: 100%;
- }
- @footer-height: 100px;
- #main {
- overflow: auto;
- padding-bottom: @footer-height;
- }
- footer {
- position: relative;
- border-top: 1px solid #e5e5e5;
- padding: 30px 0;
- background-color: #fff;
- color: #666666;
- margin-top: -1 * @footer-height;
- height: @footer-height - 60px;
- }
- #content {
- padding: 40px 0;
- }
- #top-nav {
- .navbar {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- }
- .navbar .brand {
- color: #666666;
- display: block;
- font-size: 16px;
- font-weight: normal;
- line-height: 1;
- margin-left: 0;
- margin-right: 40px;
- margin-top: 3px;
- padding: 14px 10px;
- }
- /*
- .navbar-inner {
- background: linear-gradient(#FAFAFA, #EAEAEA) repeat scroll 0 0 transparent;
- background: -moz-linear-gradient(#FAFAFA, #EAEAEA) repeat scroll 0 0 transparent;
- background: -webkit-linear-gradient(#FAFAFA, #EAEAEA) repeat scroll 0 0 transparent;
- border-radius: 0;
- border: 1px solid #bbb;
- border-width: 0 0 1px 0;
- }
- */
- .navbar .nav {
- float: none;
- overflow: hidden;
- }
- .navbar .nav .active > a, .navbar .nav .active > a:hover {
- /*background-color: #999999;*/
- color: #FFFFFF;
- text-decoration: none;
- }
- .navbar .nav > li > a {
- border-radius: 8px;
- -webkit-border-radius: 8px;
- -moz-border-radius: 8px;
- font-size: 13px;
- font-weight: bold;
- line-height: 19px;
- margin: 6px 10px 6px 0;
- padding: 8px 14px;
- text-decoration: none;
- text-shadow: none;
- }
- .navbar .nav > li > a:hover {
- background-color: transparent;
- color: #999999;
- text-decoration: none;
- }
- .navbar .brand {
- margin-right: 40px;
- }
- .navbar #logo {
- float: left;
- padding-top: 7px;
- height: 36px;
- }
- .navbar .nav > li.right {
- float: right;
- }
- }
- #main-nav {
- .brand {
- font-size: 17px;
- border-right: 1px solid rgba(0, 0, 0, 0.08);
- }
- li {
- font-size: 15px;
- border-left: 1px solid #fefefe;
- border-right: 1px solid #f0f0f0;
- text-align: center;
- }
- li.span2 {
- padding: 0;
- margin: 0;
- }
- margin-bottom: 40px;
- }
- @green: #69BE28;
- h1 {
- color: @green;
- }
- .login.well.span4 {
- margin: 20px auto;
- padding: 25px;
- float: none;
- }
- .login {
- h2 {
- margin-top: 0;
- margin-bottom: 20px;
- }
- .btn {
- margin-top: 15px;
- }
- }
- #installer {
- h2 {
- margin-top: 0;
- }
- .btn.btn-success {
- /* float: right; */
- }
- .btn-area {
- margin-top: 20px;
- }
- #installer-content {
- padding: 25px;
- background-color: #fff;
- }
- .nav-header {
- font-size: 13px;
- padding-left: 0;
- }
- #installOptions {
- #targetHosts {
- }
- #hostConnectivity {
- margin-top: 20px;
- .control-group {
- margin-bottom: 0;
- }
- }
- #localRepo {
- margin-top: 20px;
- margin-bottom: 30px;
- }
- }
- #confirm-hosts {
- #host-filter {
- h5 {
- margin-right: 8px;
- line-height: 10px;
- }
- }
- }
- #step4, #step6 {
- a.selected {
- color: #333;
- }
- a.deselected {
- }
- }
- #serviceConfig {
- .accordion-heading {
- background-color: #f0f0f0;
- }
- .accordion-group {
- margin-bottom: 20px;
- .control-group {
- margin: 10px 0;
- }
- form {
- margin-bottom: 0;
- }
- }
- .badge {
- margin-left: 4px;
- }
- .slave-component-group-menu {
- float: left;
- .nav{
- margin-bottom: 10px;
- }
- .nav li{
- position: relative;
- a{
- padding-right: 24px;
- }
- i {
- border: 1px solid white;
- position: absolute;
- right: 7px;
- top: 10px;
- z-index: 2;
- }
- i:hover {
- border: 1px solid grey;
- }
- }
- }
- .remove-group-error{
- display: none;
- }
- .add-slave-component-group {
- margin-bottom: 10px;
- }
- .master-host, .master-hosts, .slave-hosts {
- padding-top: 5px;
- line-height: 20px;
- }
- #attention {
- margin: 20px 0;
- }
- .retyped-password {
- margin-left: 14px;
- }
- #slave-hosts-popup {
- ul {
- list-style-type: none;
- }
- }
- }
- #deploy {
- #overallProgress {
- }
- #deploy-status-by-host {
- th.host {
- width: 30%;
- }
- th.status {
- width: 40%;
- }
- th.messgage {
- width: 30%;
- }
- .progress-bar {
- width: 80%;
- .progress {
- margin-bottom: 0;
- }
- }
- .progress-percentage {
- margin-left: 10px;
- width: 20% - 10px;
- }
- }
- }
- }
- a:focus {
- outline: none;
- }
- @status-live-marker: url("/img/health-status-live.png");
- @status-dead-marker: url("/img/health-status-dead.png");
- @status-ok-marker: url("/img/status-ok.jpg");
- @status-corrupt-marker: url("/img/status-corrupt.jpg");
- @arrow-right: url("/img/arrow-right.png");
- /*Rack images*/
- @rack-status-live: url("/img/rack-status-live.png");
- @rack-status-critical: url("/img/rack-status-critical.png");
- @rack-status-dead: url("/img/rack-status-dead.png");
- @rack-state-toggler: url("/img/rack-state-toggler.png");
- @rack-state-plus: url("/img/rack-state-plus.png");
- @rack-state-minus: url("/img/rack-state-minus.png");
- /*****start styles for boxes*****/
- .box {
- border: 1px solid #D4D4D4;
- border-radius: 4px;
- margin-bottom: 20px;
- .box-header {
- border-bottom: 1px solid #D4D4D4;
- border-radius: 4px 4px 0 0;
- }
- .box-header,
- .box-footer {
- padding: 10px;
- /*background: #dedede;*/
- .gradient(#dedede, #ffffff, #dedede)
- }
- .box-header:after,
- .box-footer:after {
- content: "";
- display: table;
- clear: both;
- }
- .box-header {
- .btn-group {
- float: right;
- }
- h4 {
- float: left;
- }
- }
- .box-footer {
- hr {
- margin: 0px;
- }
- }
- }
- /*****end styles for boxes*****/
- /*****start styles for dashboard page*****/
- /*start services summary*/
- .services {
- margin-left: 0;
- margin-top: 0;
- position: relative;
- .tab-marker-position {
- background-position: 6px 5px;
- background-repeat: no-repeat;
- list-style: none;
- min-height: 20px;
- min-width: 20px;
- margin-left: 0;
- }
- .health-status-LIVE {
- .tab-marker-position;
- background-image: @status-live-marker;
- }
- .health-status-DEAD {
- .tab-marker-position;
- background-image: @status-dead-marker;
- }
- dt {
- text-align: left;
- width: 120px;
- }
- dd {
- margin-left: 145px;
- }
- .service {
- position:relative;
- margin-top: 10px;
- border-bottom: 1px solid #b8b8b8;
- padding-left: 10px;
- width: 540px;
- .name {
- line-height: 21px;
- margin-left: 0;
- width: 130px;
- a {
- text-decoration: underline;
- margin-left: 5px
- }
- }
- .summary {
- line-height: 21px;
- }
- table.table {
- margin-top: 14px;
- color: #7b7b7b;
- font-size: 12px;
- width: 410px;
- th, td {
- line-height: 8px !important;
- }
- }
- .chart {
- right: 0;
- top: 5px;
- position: absolute;
- overflow: visible; // for quick links
- text-align: center;
- .chartLabel {
- font-size: 9px;
- color: #7b7b7b;
- }
- }
- }
- }
- #summary-info {
- margin: 10px 0;
- /*
- tr td:first-child {
- font-weight: bold;
- background: #d0d0d0;
- }
- */
- a {
- text-decoration: underline;
- &:hover {
- text-decoration: none;
- }
- }
- }
- .more-stats {
- display: block;
- width: 100%;
- padding: 7px 0;
- text-align: center;
- color: #333333;
- &:hover {
- background-color: #eee;
- color: #333;
- text-decoration: none;
- }
- }
- /*end services summary*/
- /*start alerts summary*/
- .alerts {
- margin: 0px;
- li {
- border-bottom: 1px solid #b7b9bb;
- list-style: none;
- padding: 5px 10px 5px 43px;
- background-position: 14px 9px;
- background-repeat: no-repeat;
- .date-time {
- float: right;
- }
- p {
- margin-bottom: 2px;
- }
- }
- li.status-ok {
- background-image: @status-ok-marker;
- }
- li.status-corrupt {
- background-image: @status-corrupt-marker;
- }
- }
- .go-to {
- float: right;
- background-position: right center;
- background-repeat: no-repeat;
- background-image: @arrow-right;
- padding-right: 40px;
- margin-top: 10px;
- }
- /*end alerts summary*/
- /*****end styles for dashboard page*****/
- /*Services*/
- #services-menu {
- .nav-list {
- .tab-marker-position {
- padding-left: 30px;
- padding-right: 30px;
- background-position: 12px 9px;
- background-repeat: no-repeat;
- }
- .health-status-LIVE {
- .tab-marker-position;
- background-image: @status-live-marker;
- }
- .health-status-DEAD {
- .tab-marker-position;
- background-image: @status-dead-marker;
- }
- li {
- line-height: 24px;
- }
- }
- .add-service-button {
- margin: 20px 20px 10px;
- }
- }
- .nav-pills.move {
- float: right;
- margin-top: -48px;
- }
- /*End Services*/
- /*Hosts*/
- #hosts {
- .health-status-LIVE {
- background-image: @status-live-marker;
- }
- .health-status-DEAD {
- background-image: @status-dead-marker;
- }
- }
- #host-details {
- .health-status-LIVE {
- background-image: @status-live-marker;
- background-repeat: no-repeat;
- background-position: 0px 4px;
- }
- .health-status-DEAD {
- background-image: @status-dead-marker;
- background-repeat: no-repeat;
- background-position: 0px 4px;
- }
- .back {
- display: block;
- width: 105px;
- margin-bottom: 5px;
- }
- .box-header .host-title {
- margin:0;
- padding-left: 17px;
- }
- .box-header .button-section {
- margin-bottom: 5px;
- }
- hr {
- margin-bottom: 0;
- clear: both;
- }
- .content {
- padding: 10px;
- }
- .host-configuration .dl-horizontal dt {
- width: 90px;
- line-height: 20px;
- }
- .host-configuration .dl-horizontal dd {
- margin-left: 100px;
- line-height: 20px;
- }
- .host-components {
- padding: 10px;
- padding-bottom: 0;
- border: 1px solid #DEDEDE;
- border-radius: 4px;
- background: #F5F5F5;
- }
- .host-components .btn-group {
- margin:0 5px 10px 0;
- }
- }
- /*End Hosts*/
- /*assign masters*/
- .assign-masters {
- .select-hosts {
- width: 50%;
- float: left;
- white-space: nowrap;
- }
- .round-corners {
- border-radius: 8px;
- -webkit-border-radius: 8px;
- -moz-border-radius: 8px;
- }
- .host-assignments {
- float: right;
- width: 45%;
- }
- .remaining-hosts {
- padding: 25px;
- border-top: solid 1px #cccccc;
- border-left: solid 1px #cccccc;
- border-right: groove 5px #cccccc;
- border-bottom: groove 5px #cccccc;
- margin-top: 20px;
- background-color: #FCF8E3;
- color: #C09853;
- }
- .host-assignments .mapping-box {
- border: solid 1px #cccccc;
- padding: 8px;
- margin-bottom: 10px;
- background-color: #fafafa;
- }
- .host-assignments .assignedService {
- padding: 2px 8px;
- border: solid 1px #cccccc;
- margin: 2px;
- background-color: @green;
- color: white;
- white-space: nowrap;
- font-size: 0.9em;
- display: inline-block;
- }
- .form-horizontal .controls {
- margin-left: 110px;
- }
- .form-horizontal .control-label {
- width: 100px;
- }
- .form-horizontal .control-group select {
- width: 75%;
- min-width: 100px;
- max-width: 250px;
- }
- .hostString {
- margin-bottom: 5px;
- }
- .controls .badge {
- background-color: @green;
- color: #ffffff;
- cursor: pointer;
- font-weight: bold;
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
- }
- .assign-master .controls .badge:hover {
- background-color: @green;
- }
- .alertFlag {
- font-size: 1.3em;
- color: #B94A48;
- font-weight: bold;
- vertical-align: middle;
- }
- }
- /*end assign masters*/
- /*Dashboard*/
- .alerts-count {
- margin-left: 5px;
- }
- ul.filter {
- background: #ffffff;
- list-style: none;
- position: absolute;
- padding: 10px;
- }
- #main-admin-menu {
- padding: 8px 0;
- ul {
- margin-bottom: 0;
- li {
- line-height: 24px;
- }
- }
- }
- #user-auth-method select {
- width: 320px;
- }
- /*start charts rack*/
- .rack {
- width: 224px;
- display: inline-block;
- vertical-align: top;
- border: 1px solid #D4D4D4;
- border-radius: 5px;
- margin-right: 4px;
- margin-bottom: 10px;
- .rackHeader {
- background-color: #CDCDCD;
- border-top-right-radius: 5px;
- border-top-left-radius: 5px;
- padding: 5px 5px 5px 10px;
- border-bottom: 1px solid #D4D4D4;
- .statusName {
- font-size: 16px;
- color: #006F9F;
- text-shadow: #ffffff 0px 0px 1px;
- font-weight: bold;
- padding-bottom: 8px;
- vertical-align: top;
- }
- .toggler {
- background-repeat: no-repeat;
- background-image: @rack-state-toggler;
- display: block;
- height: 22px;
- position: relative;
- width: 32px;
- float: right;
- span {
- background-repeat: no-repeat;
- background-image: @rack-state-plus;
- display: block;
- height: 17px;
- left: 7px;
- position: absolute;
- top: 3px;
- width: 18px;
- }
- span.isActive {
- background-image: @rack-state-minus !important;
- top: 10px;
- }
- }
- }
- .hostsSummary {
- border-left: 1px solid #CDCDCD;
- border-right: 1px solid #CDCDCD;
- border-bottom: 1px solid #9f9f9f;
- background-color: #f7f8fa;
- font-size: 12px;
- padding: 4px 0 4px 9px;
- .textBlock {
- color: #000000;
- padding-right: 10px;
- div {
- height: 12px;
- margin: 0 3px 0 0;
- width: 12px;
- display: inline-block;
- }
- }
- }
- .indicatorR {
- background-color: #E2001A;
- }
- .indicatorY {
- background-color: #F29400;
- }
- .indicatorG {
- background-color: #88BF67;
- }
- .statusIndicator {
- display: inline-block;
- width: 20px;
- height: 19px;
- margin-right: 10px;
- margin-top: 4px;
- float: left;
- background-repeat: no-repeat;
- }
- .rackName {
- margin-top: 4px;
- float: left;
- }
- .statusIndicator.LIVE {
- background-image: @rack-status-live;
- }
- .statusIndicator.CRITICAL {
- background-image: @rack-status-critical;
- }
- .statusIndicator.DEAD {
- background-image: @rack-status-dead;
- }
- .hosts {
- padding: 4px;
- overflow: hidden;
- display: none;
- .ember-view {
- float: left;
- width: 43px;
- height: 43px;
- .hostBlock {
- margin: 4px;
- width: 35px;
- height: 35px;
- position: relative;
- }
- }
- .hostBlock {
- border-radius: 4px;
- }
- .hostBlock.LIVE {
- background-color: #87BE73;
- }
- .hostBlock.DEAD {
- background-color: #E40024;
- }
- .hostBlock.CRITICAL {
- background: #F39236;
- }
- .ember-view:hover {
- }
- }
- .hosts.isActive {
- display: block;
- }
- }
- .heatmap_host_details {
- font-size: 10px;
- line-height: 1.6em;
- border: 1px solid #006F9F;
- background: #fff;
- width: 73px;
- height: 79px;
- padding: 10px 10px;
- position: absolute;
- z-index: 1000;
- }
- /*Start Heatmap*/
- .heatmap {
- .rack.rack-5-2 {
- .hosts {
- height: 86px;
- }
- }
- .rack.rack-5-4 {
- .hosts {
- height: 172px;
- }
- }
- .rack.rack-5-6 {
- .hosts {
- height: 258px;
- }
- }
- .rack.rack-5-8 {
- .hosts {
- height: 344px;
- }
- }
- .rack.rack-5-10 {
- .hosts {
- height: 430px;
- }
- }
- .heatmap_host_details {
- font-size: 12px;
- line-height: 1.6em;
- border: 1px solid #D9D9D9;
- background: #f9f9f9;
- width: 100px;
- height: 100px;
- padding: 10px 10px;
- position: absolute;
- z-index: 1000;
- }
- }
- /*End Heatmap*/
- .noDisplay {
- display: none !important;
- }
- .display {
- display: block !important;
- }
- .displayInline {
- display: inline-block !important;
- }
- /* CHARTS */
- .chart {
- overflow: hidden;
- padding-bottom: 25px;
- .attributes {
- width: 75px;
- float: left;
- margin: 45px 0 0 0;
- p {
- margin-bottom: 9px;
- }
- }
- .hostName {
- font-weight: bold;
- }
- .horizon {
- border-bottom: 1px solid #000000;
- overflow: hidden;
- position: relative;
- }
- .horizon {
- border-bottom: 1px solid #000000;
- border-top: 1px solid #000000;
- }
- .horizon + .horizon {
- border-top: medium none;
- }
- .horizon canvas {
- display: block;
- }
- .horizon .title, .horizon .value {
- bottom: 0;
- line-height: 30px;
- margin: 0 6px;
- position: absolute;
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
- white-space: nowrap;
- }
- .horizon .title {
- left: 0;
- }
- .horizon .value {
- right: 0;
- }
- .rule {
- display: none;
- width: 30px;
- height: 124px;
- padding-top: 27px;
- position: absolute;
- border-left: 1px dashed #a52a2a;
- .stateValue {
- margin: 15px 0 0 3px;
- line-height: 15px;
- }
- }
- .axis {
- font: 10px sans-serif;
- path {
- display: none;
- }
- line {
- shape-rendering: crispedges;
- stroke: #000000;
- }
- }
- .line {
- background: none repeat scroll 0 0 #000000;
- /* opacity: 0.2; */
- z-index: 2;
- }
- }
- .linear {
- path {
- stroke: steelblue;
- stroke-width: 2;
- fill: none;
- }
- line {
- stroke: black;
- }
- text {
- font-family: Arial;
- font-size: 9pt;
- }
- }
- /* CHARTS END */
- /* UNIVERSAL STYLES */
- .left {
- float: left;
- }
- .no-borders {
- border: none !important;
- }
- ul.noStyle {
- list-style: none;
- }
- ul.inline li {
- display: inline;
- }
- .table.no-borders th, .table.no-borders td {
- border-top: none;
- }
- /* UNIVERSAL STYLES END */
|