Portal: Small CSS enhancements on ManageBrick.

SVN:trunk[5735]
This commit is contained in:
Guillaume Lajarige
2018-04-24 12:25:54 +00:00
parent 65409373eb
commit d8e3966825
3 changed files with 44 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
{% block pMainContentHolder %}
{% if aGroupingTabsValues|length > 1 %}
<ul class="nav nav-pills">
<ul class="nav nav-pills grouping_tabs">
{% for aGroupingTab in aGroupingTabsValues %}
<li{% if sGroupingTab is defined and sGroupingTab == aGroupingTab.value %} class="active"{% endif %}>
<a href="{{ app.url_generator.generate('p_manage_brick', {'sBrickId': sBrickId, 'sDisplayType': 'default', 'sGroupingTab': aGroupingTab.value}) }}"

View File

@@ -5027,3 +5027,20 @@ table.dataTable tbody tr.selected a, table.dataTable tbody th.selected a, table.
height: 120px !important;
}
}
/* ManageBrick grouping tabs. Should be placed somewhere else? */
.grouping_tabs.nav-pills > li > a {
color: #444;
background-color: #f5f5f5;
}
.grouping_tabs.nav-pills > li > a:hover, .grouping_tabs.nav-pills > li > a:focus {
text-decoration: none;
background-color: #ddd;
}
.grouping_tabs.nav-pills > li > a > .badge {
color: #ea7d1e;
background-color: transparent;
}
.grouping_tabs.nav-pills > li.active > a, .grouping_tabs.nav-pills > li.active > a:hover, .grouping_tabs.nav-pills > li.active > a:focus {
color: #444;
background-color: #fcfcfc;
}

View File

@@ -6137,3 +6137,29 @@ table.dataTable{
}
}
}
/* ManageBrick grouping tabs. Should be placed somewhere else? */
.grouping_tabs{
&.nav-pills > li > a{
color: #444;
background-color: #F5F5F5;
&:hover,
&:focus{
text-decoration: none;
background-color: #DDDDDD;
}
> .badge{
color: #ea7d1e;;
background-color: transparent;
}
}
&.nav-pills > li.active{
> a,
> a:hover,
> a:focus{
color: #444;
background-color: #FCFCFC;
}
}
}