aboutsummaryrefslogtreecommitdiffstats
path: root/components/tag-cloud/_tag-cloud.scss
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2018-05-21 20:19:48 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-21 20:19:48 +0000
commit05b37297177e8a342668c15e5d6f738b51f7aedd (patch)
treee236c96df52a13f935292db8aa73e84d0c41ad8a /components/tag-cloud/_tag-cloud.scss
parent884dfb789593d2a3cc319047ab1f0215778aec9f (diff)
parent1994c98063c27a41797dec01f2ca9fcbe33ceab0 (diff)
Merge "init commit onap ui"HEAD2.0.0-ONAPmasterbeijing2.0.0-ONAP
Diffstat (limited to 'components/tag-cloud/_tag-cloud.scss')
-rw-r--r--components/tag-cloud/_tag-cloud.scss116
1 files changed, 116 insertions, 0 deletions
diff --git a/components/tag-cloud/_tag-cloud.scss b/components/tag-cloud/_tag-cloud.scss
new file mode 100644
index 0000000..6a94a10
--- /dev/null
+++ b/components/tag-cloud/_tag-cloud.scss
@@ -0,0 +1,116 @@
+.sdc-tag-cloud-new-item-field{
+ display: flex;
+ align-items: flex-end;
+ sdc-input{
+ flex-grow: 1;
+ .sdc-input{
+ margin-bottom: 0;
+ .sdc-input__input{
+ border-bottom-right-radius: 0;
+ border-top-right-radius: 0;
+ }
+ }
+ }
+ .not-empty{
+ .sdc-input__input {
+ border-color: $blue;
+ }
+
+ }
+ .error{
+ .sdc-input__input {
+ border: solid 1px $red;
+ color: $red;
+ outline: none;
+ }
+ }
+ .add-button{
+ cursor: pointer;
+ height: 36px;
+ width: 36px;
+ text-align: center;
+ background-color: $lighter-blue;
+ border: solid 1px $blue;
+ border-left: none;
+ border-top-right-radius: 2px;
+ &.disabled{
+ cursor: default;
+ background-color: $light-silver;
+ border-color: $light-gray;
+ .plus-icon svg g{
+ fill: $gray;
+ }
+ }
+ .plus-icon{
+ line-height: 46px;
+ svg{
+ height: 20px;
+ width: 20px;
+ g{
+ fill: $blue;
+ }
+ }
+ }
+ }
+
+ &.not-empty{
+ .add-button:hover{
+ background-color: $light-blue;
+ svg{
+ g{
+ fill: $white;
+ }
+ }
+ }
+ }
+}
+
+.sdc-list-container{
+ height: 120px;
+ overflow-y: auto;
+ border: solid 1px $light-gray;
+ border-top: none;
+ border-radius: 2px;
+ background-color: $white;
+ padding: 10px 10px 0 0;
+ .sdc-tag-item{
+ padding: 0 0 10px 10px;
+ display: inline-block;
+ .tag-item{
+ min-width: 100px;
+ background-color: $white;
+ border: solid 1px $light-gray;
+ border-radius: 20px;
+ height: 28px;
+ line-height: 28px;
+ padding: 0 10px;
+ color: $text-black;
+ @include body-3;
+ &.view-only{
+ border-color: $silver;
+ }
+ .delete-item{
+ cursor: pointer;
+ padding-left: 10px;
+ float: right;
+ svg{
+ height: 12px;
+ width: 12px;
+ margin-top: 8px;
+ g{
+ fill: $dark-gray;
+ }
+ }
+ }
+ &:hover:not(.view-only){
+ background-color: $lighter-blue;
+ border-color: $lighter-blue;
+ .delete-item{
+ svg g{
+ fill: $blue;
+ }
+ }
+ }
+ }
+ }
+}