diff --git a/horizon/static/framework/widgets/action-list/action-list.scss b/horizon/static/framework/widgets/action-list/action-list.scss index 5b3fcc487d..c65e28d35a 100644 --- a/horizon/static/framework/widgets/action-list/action-list.scss +++ b/horizon/static/framework/widgets/action-list/action-list.scss @@ -6,7 +6,7 @@ action-list.btn-group { .dropdown-menu > li { &.disabled { - opacity: 0.65; + color: $dropdown-link-disabled-color; } > a.text-danger { @@ -16,50 +16,17 @@ action-list.btn-group { notifications { bottom: -0.5em; - font-size: 1.1em; opacity: 1; position: absolute; right: -0.35em; z-index: 3; - - & + .btn:last-child:not(:first-child):not(.dropdown-toggle), - & + .btn:not(:last-child):not(:first-child):not(.dropdown-toggle), - & + .btn.single-button:not(:first-child), - & + .btn.split-button:not(:first-child):not(:last-child) { - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; - } - } - - &.btn-group-sm { - notifications { - & + .btn:last-child:not(:first-child):not(.dropdown-toggle), - & + .btn:not(:last-child):not(:first-child):not(.dropdown-toggle), - & + .btn.single-button:not(:first-child), - & + .btn.split-button:not(:first-child):not(:last-child) { - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; - } - } - } - - &.btn-group-lg { - notifications { - & + .btn:last-child:not(:first-child):not(.dropdown-toggle), - & + .btn:not(:last-child):not(:first-child):not(.dropdown-toggle), - & + .btn.single-button:not(:first-child), - & + .btn.split-button:not(:first-child):not(:last-child) { - border-top-left-radius: 6px; - border-bottom-left-radius: 6px; - } - } } .invalid { - color: $invalid-color; + color: $brand-warning; } & + .popover a { cursor: pointer; } -} \ No newline at end of file +} diff --git a/horizon/static/framework/widgets/charts/chart-tooltip.scss b/horizon/static/framework/widgets/charts/chart-tooltip.scss index dc9c7f0799..a8330f7cb3 100644 --- a/horizon/static/framework/widgets/charts/chart-tooltip.scss +++ b/horizon/static/framework/widgets/charts/chart-tooltip.scss @@ -1,44 +1,40 @@ .chart-tooltip { - background-color: $tooltip-bg-color; - border: $tooltip-border; - @include box-shadow($tooltip-box-shadow); + background-color: $tooltip-bg; display: none; padding: $tooltip-padding; position: absolute; white-space: nowrap; - z-index: 12000; + z-index: $zindex-popover; &.tooltip-enabled { display: inline-block; } .tooltip-key { - color: $tooltip-key-color; - font-weight: $tooltip-key-weight; - padding: $tooltip-key-padding; + color: $tooltip-color; } .tooltip-value { - color: $tooltip-value-color; + color: $tooltip-color; } span.fa { - background-color: inherit; fill: none; + &.usage { - color: $chart-quota-usage-color; + color: $brand-primary; } &.added { - color: $chart-quota-added-color; + color: lighten($brand-primary, 20%); } &.remaining { - color: $chart-quota-remaining-color; + color: $gray-lighter; } &.danger { - color: $chart-quota-danger-color; + color: $brand-danger; } } } @@ -48,8 +44,8 @@ .chart-tooltip { span.fa { &.added { - color: $chart-quota-danger-color; + color: $brand-danger; } } } -} \ No newline at end of file +} diff --git a/horizon/static/framework/widgets/charts/charts.module.js b/horizon/static/framework/widgets/charts/charts.module.js index c91daf886c..6b1fada174 100644 --- a/horizon/static/framework/widgets/charts/charts.module.js +++ b/horizon/static/framework/widgets/charts/charts.module.js @@ -59,7 +59,7 @@ */ .constant('horizon.framework.widgets.charts.donutChartSettings', { innerRadius: 24, - outerRadius: 30, + outerRadius: 36, titleClass: 'pie-chart-title-medium', showTitle: true, showLabel: true, diff --git a/horizon/static/framework/widgets/charts/pie-chart.html b/horizon/static/framework/widgets/charts/pie-chart.html index b47be287cc..747d7364c8 100644 --- a/horizon/static/framework/widgets/charts/pie-chart.html +++ b/horizon/static/framework/widgets/charts/pie-chart.html @@ -1,8 +1,7 @@ -