From 84ebca58ace0e6caff46f8e018fc21c4b517ffad Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Mon, 22 Oct 2018 18:39:31 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B0931=20TagSet=20:=20FAQ.domains=20is=20no?= =?UTF-8?q?w=20displayes=20in=20the=20portal=20(FAQ=20list=20and=20details?= =?UTF-8?q?=20form)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../datamodel.itop-knownerror-mgmt.xml | 3 +++ .../web/css/bootstrap-theme-combodo.css | 19 ++++++++++--------- .../web/css/bootstrap-theme-combodo.scss | 5 +++++ 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/datamodels/2.x/itop-knownerror-mgmt/datamodel.itop-knownerror-mgmt.xml b/datamodels/2.x/itop-knownerror-mgmt/datamodel.itop-knownerror-mgmt.xml index 77169970a4..205c0448bb 100755 --- a/datamodels/2.x/itop-knownerror-mgmt/datamodel.itop-knownerror-mgmt.xml +++ b/datamodels/2.x/itop-knownerror-mgmt/datamodel.itop-knownerror-mgmt.xml @@ -642,6 +642,7 @@ Class:FAQ + true @@ -673,6 +674,7 @@ + @@ -683,6 +685,7 @@
+
diff --git a/datamodels/2.x/itop-portal-base/portal/web/css/bootstrap-theme-combodo.css b/datamodels/2.x/itop-portal-base/portal/web/css/bootstrap-theme-combodo.css index deff2a0e93..1a92988e01 100644 --- a/datamodels/2.x/itop-portal-base/portal/web/css/bootstrap-theme-combodo.css +++ b/datamodels/2.x/itop-portal-base/portal/web/css/bootstrap-theme-combodo.css @@ -3212,7 +3212,7 @@ textarea.input-group-sm > .form-control, textarea.input-group-sm > .input-group- background-color: #fff; cursor: not-allowed; } -.label { +.label, .attribute-set-item { display: inline-block; padding: 0.2em 0.6em 0.3em; font-size: 75%; @@ -3225,23 +3225,23 @@ textarea.input-group-sm > .form-control, textarea.input-group-sm > .input-group- border-radius: 0px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px 1px #f1f1f1; } -a.label:hover, a.label:focus { +a.label:hover, a.attribute-set-item:hover, a.label:focus, a.attribute-set-item:focus { color: #222; text-decoration: none; cursor: pointer; } -.label:empty { +.label:empty, .attribute-set-item:empty { display: none; } -.btn .label { +.btn .label, .btn .attribute-set-item { position: relative; top: -1px; } -.label-default { +.label-default, .attribute-set-item { color: #222; background-color: #fff; } -.label-default[href]:hover, .label-default[href]:focus { +.label-default[href]:hover, .attribute-set-item[href]:hover, .label-default[href]:focus, .attribute-set-item[href]:focus { background-color: #f9f9f9; } .label-primary { @@ -5047,15 +5047,15 @@ table.dataTable tbody tr.selected a, table.dataTable tbody th.selected a, table. background-color: #fcfcfc; } /* Temp */ -.label { +.label, .attribute-set-item { margin-right: 0.4em; margin-bottom: 0.4em; padding: 0.5em 0.7em 0.5em; - font-size: 85%; + font-size: 90%; font-weight: normal; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px 1px #f1f1f1; } -.label:last-of-type { +.label:last-of-type, .attribute-set-item:last-of-type { margin-right: 0; } .selectize-control.multi .selectize-input .attribute-set-item[data-value] { @@ -5063,6 +5063,7 @@ table.dataTable tbody tr.selected a, table.dataTable tbody th.selected a, table. background-color: #fff; background-image: none; border: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px 1px #f1f1f1; text-shadow: none; color: black; } diff --git a/datamodels/2.x/itop-portal-base/portal/web/css/bootstrap-theme-combodo.scss b/datamodels/2.x/itop-portal-base/portal/web/css/bootstrap-theme-combodo.scss index 5799811d6a..c4acf42879 100644 --- a/datamodels/2.x/itop-portal-base/portal/web/css/bootstrap-theme-combodo.scss +++ b/datamodels/2.x/itop-portal-base/portal/web/css/bootstrap-theme-combodo.scss @@ -6197,4 +6197,9 @@ table.dataTable{ .remove{ border-left: none; } +} + +.attribute-set-item { + @extend .label; + @extend .label-default; } \ No newline at end of file