mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 01:05:42 +03:00
Fix widget permission tooltip style rules by applying the naming policy properly (#10916)
This commit is contained in:
parent
ae0fe051b0
commit
7917d973e7
2 changed files with 18 additions and 18 deletions
|
@ -53,25 +53,25 @@ limitations under the License.
|
||||||
mask-image: url("$(res)/img/feather-customised/help-circle.svg");
|
mask-image: url("$(res)/img/feather-customised/help-circle.svg");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.mx_AppPermission_tooltip {
|
.mx_Tooltip.mx_Tooltip--appPermission {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
background-color: $tooltip-timeline-bg-color;
|
background-color: $tooltip-timeline-bg-color;
|
||||||
color: $tooltip-timeline-fg-color;
|
color: $tooltip-timeline-fg-color;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
padding: 6px 8px;
|
padding: 6px 8px;
|
||||||
|
|
||||||
&.mx_AppPermission_tooltip--dark {
|
&.mx_Tooltip--appPermission--dark {
|
||||||
.mx_Tooltip_chevron::after {
|
.mx_Tooltip_chevron::after {
|
||||||
border-right-color: $tooltip-timeline-bg-color;
|
border-right-color: $tooltip-timeline-bg-color;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
|
||||||
list-style-position: inside;
|
|
||||||
padding-left: 2px;
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style-position: inside;
|
||||||
|
padding-left: 2px;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -115,7 +115,7 @@ export default class AppPermission extends React.Component<IProps, IState> {
|
||||||
const warningTooltip = (
|
const warningTooltip = (
|
||||||
<TextWithTooltip
|
<TextWithTooltip
|
||||||
tooltip={warningTooltipText}
|
tooltip={warningTooltipText}
|
||||||
tooltipClass="mx_AppPermission_tooltip mx_AppPermission_tooltip--dark"
|
tooltipClass="mx_Tooltip--appPermission mx_Tooltip--appPermission--dark"
|
||||||
>
|
>
|
||||||
<span className="mx_AppPermission_helpIcon" />
|
<span className="mx_AppPermission_helpIcon" />
|
||||||
</TextWithTooltip>
|
</TextWithTooltip>
|
||||||
|
|
Loading…
Reference in a new issue