X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2Flaunchpad_card%2Flaunchpad_card.scss;h=38b2887b21fae79ac958bcf393dc926569f5d744;hb=HEAD;hp=01a798ab5dfaf83ecc4ec87b292af6327ca07594;hpb=5887e136dc63a909acba0e529dacf383df9061d7;p=osm%2FUI.git diff --git a/skyquake/plugins/launchpad/src/launchpad_card/launchpad_card.scss b/skyquake/plugins/launchpad/src/launchpad_card/launchpad_card.scss index 01a798ab5..38b2887b2 100644 --- a/skyquake/plugins/launchpad/src/launchpad_card/launchpad_card.scss +++ b/skyquake/plugins/launchpad/src/launchpad_card/launchpad_card.scss @@ -1,6 +1,6 @@ /* - * + * * Copyright 2016 RIFT.IO Inc * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,24 +18,46 @@ */ @import 'style/_colors.scss'; @import '../../node_modules/open-iconic/font/css/open-iconic.css'; +$LaunchpadCardWidth: 693px; .launchpadCard { + display:-ms-flexbox; + display:-webkit-box; display:flex; margin-top: 0.75rem; &-body{ position: relative; } .deletingIndicator { + display: -ms-flexbox; + display: -webkit-box; display: flex; - flex:1; - align-items: center; - justify-content: center; + -ms-flex:1; + -webkit-box-flex:1; + flex:1; + -ms-flex-align: center; + -webkit-box-align: center; + align-items: center; + -ms-flex-pack: center; + -webkit-box-pack: center; + justify-content: center; } &_launch { + display:-ms-flexbox; + display:-webkit-box; display:flex; - flex-direction:column; - flex: 1; - justify-content: center; - align-items: center; + -ms-flex-direction:column; + -webkit-box-orient:vertical; + -webkit-box-direction:normal; + flex-direction:column; + -ms-flex: 1; + -webkit-box-flex: 1; + flex: 1; + -ms-flex-pack: center; + -webkit-box-pack: center; + justify-content: center; + -ms-flex-align: center; + -webkit-box-align: center; + align-items: center; img { width: 88px; padding:1rem; @@ -44,30 +66,48 @@ &_header { color:white; padding-right: 1rem; - min-width: 693px; - max-width: 693px; + width: $LaunchpadCardWidth; &-link, a { + display:-ms-flexbox; + display:-webkit-box; display:flex; - align-items:center; + -ms-flex-align:center; + -webkit-box-align:center; + align-items:center; text-decoration: none; color: inherit; } &-link { margin-left:0.5rem; cursor:pointer; + .title { + overflow: hidden; + text-overflow: ellipsis; + width: 460px; + display: block; + } } .oi { margin:0 0 -0.25rem 0.5rem; } &-title { + display: -ms-flexbox; + display: -webkit-box; display: flex; line-height: 3rem; background-color: $brand-green-light; - //background-color: $primary-header; + /*background-color: $primary-header;*/ position: relative; - flex-direction: row; - align-items: center; - justify-content: flex-start; + -ms-flex-direction: row; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + flex-direction: row; + -ms-flex-align: center; + -webkit-box-align: center; + align-items: center; + -ms-flex-pack: start; + -webkit-box-pack: start; + justify-content: flex-start; padding-right:1rem; &-off { background-color:white; @@ -92,9 +132,15 @@ position:relative; } &-actions { - flex: 1; + -ms-flex: 1; + -webkit-box-flex: 1; + flex: 1; + display: -ms-flexbox; + display: -webkit-box; display: flex; - justify-content: flex-end; + -ms-flex-pack: end; + -webkit-box-pack: end; + justify-content: flex-end; padding-right: 1rem; h3{ padding-right:0.25rem; @@ -104,10 +150,16 @@ } &-status { background-color: $brand-green; + width:$LaunchpadCardWidth; &-current { + display:-ms-flexbox; + display:-webkit-box; display:flex; - justify-content:space-between; + -ms-flex-pack:justify; + -webkit-box-pack:justify; + justify-content:space-between; padding: 0.5rem 0; + width: $LaunchpadCardWidth; span,a { padding: 0 0.25rem; } @@ -121,12 +173,22 @@ } &-operational-status { &_loading { + display:-ms-flexbox; + display:-webkit-box; display:flex; - flex-direction:column; - justify-content: center; + -ms-flex-direction:column; + -webkit-box-orient:vertical; + -webkit-box-direction:normal; + flex-direction:column; + -ms-flex-pack: center; + -webkit-box-pack: center; + justify-content: center; justify-content: center; - align-items: center; + -ms-flex-align: center; + -webkit-box-align: center; + align-items: center; color:$gray-darkest; + width: $LaunchpadCardWidth; } &_open { overflow: hidden; @@ -137,11 +199,22 @@ position: absolute; width: 100%; z-index: 99; + display: -ms-flexbox; + display: -webkit-box; display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - align-content: center; + -ms-flex-direction: column; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + -ms-flex-align: center; + -webkit-box-align: center; + align-items: center; + -ms-flex-pack: center; + -webkit-box-pack: center; + justify-content: center; + -ms-flex-line-pack: center; + align-content: center; + width: $LaunchpadCardWidth; color: black; h2{ padding: 2rem; @@ -174,11 +247,22 @@ &-vnfr_management-links { &_loading { + display:-ms-flexbox; + display:-webkit-box; display:flex; - flex-direction:column; - justify-content: center; - align-items: center; + -ms-flex-direction:column; + -webkit-box-orient:vertical; + -webkit-box-direction:normal; + flex-direction:column; + -ms-flex-pack: center; + -webkit-box-pack: center; + justify-content: center; + -ms-flex-align: center; + -webkit-box-align: center; + align-items: center; color:$gray-darkest; + + } &_open { overflow:hidden; @@ -189,11 +273,19 @@ position:absolute; width:100%; z-index: 99; + display: -ms-flexbox; + display: -webkit-box; display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - align-content: center; + -ms-flex-direction: column; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + -ms-flex-align: center; + -webkit-box-align: center; + align-items: center; + justify-content: flex-start; + -ms-flex-line-pack: center; + align-content: center; color:black; .notice { @@ -215,6 +307,7 @@ } h2 { padding:2rem; + padding-left: 0; } ul,li { margin:0.25rem 1rem 0 0.825rem; @@ -229,7 +322,11 @@ height: inherit; } li { - justify-content: space-between; + -ms-flex-pack: justify; + -webkit-box-pack: justify; + justify-content: space-between; + display: -ms-flexbox; + display: -webkit-box; display: flex; } } @@ -256,31 +353,47 @@ .empty { min-height:50px; max-width: 100%; + display:-ms-flexbox; + display:-webkit-box; display:flex; - justify-content: center; - align-items: center; + -ms-flex-pack: center; + -webkit-box-pack: center; + justify-content: center; + -ms-flex-align: center; + -webkit-box-align: center; + align-items: center; } } &_title { color:$black; background:$secondary-header; padding: 0.5rem; - // margin: 0 0 0.5rem 0; - // border-top:1px solid #666; - // border-bottom:1px solid #666; + /* margin: 0 0 0.5rem 0;*/ + /* border-top:1px solid #666;*/ + /* border-bottom:1px solid #666;*/ border-top:1px solid #f1f1f1; border-bottom:1px solid #f1f1f1; } &_data-list { ul, dl{ + display:-ms-flexbox; + display:-webkit-box; display:flex; - flex-direction:row; - flex-wrap:wrap; - align-items:flex-start; + -ms-flex-direction:row; + -webkit-box-orient:horizontal; + -webkit-box-direction:normal; + flex-direction:row; + -ms-flex-wrap:wrap; + flex-wrap:wrap; + -ms-flex-align:start; + -webkit-box-align:start; + align-items:flex-start; font-size: 0.825rem; li{ - flex:1 1 30%; + -ms-flex:1 1 30%; + -webkit-box-flex:1; + flex:1 1 30%; } } dl { @@ -305,7 +418,7 @@ } } &_data-list.EPA-PARAMS { - // height: 105px; + /* height: 105px;*/ width: 715px; overflow-y: scroll; h1 { @@ -316,10 +429,17 @@ } } &_controls{ + display:-ms-flexbox; + display:-webkit-box; display:flex; - flex-direction:row; + -ms-flex-direction:row; + -webkit-box-orient:horizontal; + -webkit-box-direction:normal; + flex-direction:row; .react-tabs { - flex: auto; + -ms-flex: auto; + -webkit-box-flex: 1; + flex: auto; [role=tab][aria-selected=true] { background:none; border:none; @@ -330,7 +450,8 @@ border:none; &:focus{ outline:none; - box-shadow:none; + -webkit-box-shadow:none; + box-shadow:none; border:none; &:after { background:none; @@ -343,11 +464,17 @@ border:none; margin: 0 0 10px; padding: 0; + display: -ms-flexbox; + display: -webkit-box; display: flex; - justify-content: flex-end; + -ms-flex-pack: end; + -webkit-box-pack: end; + justify-content: flex-end; [role=tab]:first-child { - flex: 1; + -ms-flex: 1; + -webkit-box-flex: 1; + flex: 1; } } @@ -355,7 +482,7 @@ } .slick-initialized.slick-slider { - // min-height:200px; + /* min-height:200px;*/ } .close-btn { @@ -371,4 +498,24 @@ border-radius: 15px; } } + .dataCenterTable { + display: flex; + flex-direction: column; + width: 88%; + &-header { + align-items: flex-end; + font-weight:bold; + } + > div { + display: flex; + + &:not(:first-child) { + margin-top:1rem; + align-items: flex-start; + } + > div { + flex: 1 0 25%; + } + } + } }