Skip to content

Commit 32011d3

Browse files
committed
fixup! fixup! fixup! scoped styles
1 parent 7bfbb5e commit 32011d3

1 file changed

Lines changed: 71 additions & 0 deletions

File tree

src/openshift/styles/plugin.css

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,86 @@ limitations under the License.
3636
* These rules revert any styles that might be applied outside the .cryostat-app scope.
3737
* This is a safety measure in case styles are accidentally injected globally.
3838
*/
39+
40+
/* Topology layout containers */
3941
:not(.cryostat-app) .pf-topology-content,
4042
:not(.cryostat-app) .pf-topology-container,
4143
:not(.cryostat-app) .pf-topology-container__with-sidebar,
4244
:not(.cryostat-app) .pf-topology-side-bar,
45+
:not(.cryostat-app) .pf-topology-resizable-side-bar,
4346
:not(.cryostat-app) .pf-topology-control-bar,
47+
:not(.cryostat-app) .pf-topology-control-bar__button,
48+
:not(.cryostat-app) .pf-topology-visualization-surface,
49+
:not(.cryostat-app) .pf-topology-visualization-surface__svg {
50+
all: revert !important;
51+
}
52+
53+
/* Topology nodes and edges */
54+
:not(.cryostat-app) .pf-topology__node,
55+
:not(.cryostat-app) .pf-topology__node__action-icon,
56+
:not(.cryostat-app) .pf-topology__node__action-icon__icon,
57+
:not(.cryostat-app) .pf-topology__edge,
58+
:not(.cryostat-app) .pf-topology__edge__link,
59+
:not(.cryostat-app) .pf-topology-connector-arrow,
60+
:not(.cryostat-app) .pf-topology-default-create-connector,
61+
:not(.cryostat-app) .pf-topology-default-create-connector__line,
62+
:not(.cryostat-app) .pf-topology-default-create-connector__arrow,
63+
:not(.cryostat-app) .pf-topology-default-create-connector__create,
64+
:not(.cryostat-app) .pf-topology-default-create-connector__create__bg,
65+
:not(.cryostat-app) .pf-topology-default-create-connector__create__cursor,
66+
:not(.cryostat-app) .pf-topology-area-select-rect {
67+
all: revert !important;
68+
}
69+
70+
/* Topology pipelines (if used by Console) */
71+
:not(.cryostat-app) .pf-topology-pipelines__pill,
72+
:not(.cryostat-app) .pf-topology-pipelines__pill-background,
73+
:not(.cryostat-app) .pf-topology-pipelines__pill-text,
74+
:not(.cryostat-app) .pf-topology-pipelines__pill-status,
75+
:not(.cryostat-app) .pf-topology-pipelines__pill-badge,
76+
:not(.cryostat-app) .pf-topology-pipelines__status-icon,
77+
:not(.cryostat-app) .pf-topology-pipelines__status-icon-background,
78+
:not(.cryostat-app) .pf-topology-pipelines__when-expression-background,
79+
:not(.cryostat-app) .pf-topology-pipelines__when-expression-edge {
80+
all: revert !important;
81+
}
82+
83+
/* Topology context menus */
84+
:not(.cryostat-app) .pf-topology-context-menu__c-dropdown__menu,
85+
:not(.cryostat-app) .pf-topology-context-sub-menu,
86+
:not(.cryostat-app) .pf-topology-context-sub-menu__container,
87+
:not(.cryostat-app) .pf-topology-context-sub-menu__arrow {
88+
all: revert !important;
89+
}
90+
91+
/* Cryostat-specific topology classes */
92+
:not(.cryostat-app) .sample-node-donut__node-wrapper,
93+
:not(.cryostat-app) .sample-node-donut__node-icon,
94+
:not(.cryostat-app) .sample-node-donut__status-indicator,
95+
:not(.cryostat-app) .sample-node-donut__node-label,
96+
:not(.cryostat-app) .sample-node-donut__node-label-badge,
97+
:not(.cryostat-app) .empty-text,
98+
:not(.cryostat-app) .entity-overview,
99+
:not(.cryostat-app) .entity-overview__wrapper,
100+
:not(.cryostat-app) .entity-overview__displayed-keyvalues-wrapper,
101+
:not(.cryostat-app) .entity-overview__displayed-annotations,
102+
:not(.cryostat-app) .entity-overview__entity-title-wrapper,
103+
:not(.cryostat-app) .entity-overview__entity-title-badge,
104+
:not(.cryostat-app) .entity-overview__entity-close-button,
105+
:not(.cryostat-app) .entity-overview__alert-banner,
106+
:not(.cryostat-app) .entity-overview__header,
107+
:not(.cryostat-app) .topology-listview__realm-title,
108+
:not(.cryostat-app) .topology__help-icon,
109+
:not(.cryostat-app) .topology__help-icon-button {
110+
all: revert !important;
111+
}
112+
113+
/* Other Cryostat-specific classes */
44114
:not(.cryostat-app) .cryostat-text,
45115
:not(.cryostat-app) .cryostat-logo,
46116
:not(.cryostat-app) .automated-analysis-card,
47117
:not(.cryostat-app) .dashboard-card,
118+
:not(.cryostat-app) .dashboard-card-preview,
48119
:not(.cryostat-app) .recording-table-outer-container,
49120
:not(.cryostat-app) .archive-table-outer-container,
50121
:not(.cryostat-app) .rules-table-outer-container {

0 commit comments

Comments
 (0)