This repository was archived by the owner on Jul 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +44
-9
lines changed
plugins/plugin-client-common
src/components/spi/Popover/impl
web/scss/components/Popover Expand file tree Collapse file tree 5 files changed +44
-9
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import React from 'react'
18
18
import { Popover } from '@patternfly/react-core'
19
19
20
20
import Props from '../model'
21
- import '../../../../../web/scss/components/Popover/common .scss'
21
+ import '../../../../../web/scss/components/Popover/PatternFly .scss'
22
22
23
23
export default function PatternFlyPopover ( props : Props ) {
24
24
return (
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
@import ' common' ;
18
+ @import ' mixins' ;
18
19
@import ' ~carbon-components/scss/components/tooltip/_tooltip.scss' ;
19
20
20
21
.kui--status-stripe-element-wrapper.bx--tooltip__label {
21
22
align-items : unset ;
22
23
color : var (--color-text-01 );
23
24
}
24
25
25
- .kui--popover.bx--tooltip {
26
- max-width : 40rem ; /* hmm, Carbon doesn't make this easy */
27
- color : var (--color-text-01 );
28
- background : var (--color-base02 );
26
+ @include Popover {
27
+ & .bx--tooltip {
28
+ max-width : 40rem ; /* hmm, Carbon doesn't make this easy */
29
+ color : var (--color-text-01 );
30
+ background : var (--color-base02 );
29
31
30
- a {
31
- color : var (--color-base0C );
32
+ a {
33
+ color : var (--color-base0C );
34
+ }
32
35
}
33
36
}
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
@import ' common' ;
18
+ @import ' mixins' ;
19
+
20
+ @include Popover {
21
+ .pf-c-button {
22
+ padding : 0 ;
23
+ }
24
+ }
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2020 IBM Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ @mixin Popover {
18
+ .kui--popover {
19
+ @content ;
20
+ }
21
+ }
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- body [kui-theme-style ] .kui--popover {
18
- min-width : 5rem ;
17
+ @import ' mixins' ;
18
+
19
+ body [kui-theme-style ] {
20
+ @include Popover {
21
+ min-width : 5rem ;
22
+ }
19
23
}
20
24
21
25
.kui--status-stripe-element-wrapper :hover ,
You can’t perform that action at this time.
0 commit comments